Jean-Pierre Rosen a �crit dans le message <8dkjcq$skf$1@wanadoo.fr>... >??? You can instantiate anything in a package spec. And yes, it will have >the effect of putting a body inside a spec. For example, try to instantiate >in a spec a generic package whose body has statements, like Put_Line; the >body will be executed when it is elaborated, i.e. from the middle of the >specification. > >When you are a user, you can think that a spec cannot contain a body; those >who have approached a compiler would not make such a statement ;-) You are right but my point was that this was not possible with the *supplied code* sample. But as you point it is always possible to have this working but here the Program_DMA generic unit must be moved to the spec (or another spec package). But here you have a side effect. The generic unit is now visible to users ! Maybe there is a nice way to handle that with some child libraries... Pascal. --|------------------------------------------------------ --| Pascal Obry Team-Ada Member --| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE --|------------------------------------------------------ --| http://perso.wanadoo.fr/pascal.obry --| --| "The best way to travel is by means of imagination"