From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, FROM_STARTS_WITH_NUMS autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,ab3fadb7cac7363c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!newsfeed.kamp.net!newsfeed0.kamp.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Vinzent Hoefler" <0439279208b62c95f1880bf0f8776eeb@t-domaingrabbing.de> Newsgroups: comp.lang.ada Subject: Re: using `use' : what is the best practice ? Date: Wed, 08 Jun 2011 18:45:10 +0200 Message-ID: References: <57e75a35-058c-4172-9a3d-e11e7c5f7697@l2g2000prg.googlegroups.com> <15kaiizx7r3pu$.3bgefr92z5i7$.dlg@40tude.net> <1ofcb8g6dasre.uvhg77u842n6$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: individual.net ZRabq6+9a3oSZIJw/FZpfQ+nJqjXGtBSl7qTpt2VOTeFQHV0U+ Cancel-Lock: sha1:0KhDuF3vuOOAonscJvpJ8Te3FBU= User-Agent: Opera Mail/11.11 (Win32) Xref: g2news2.google.com comp.lang.ada:20672 Date: 2011-06-08T18:45:10+02:00 List-Id: Stefan Lucks wrote: [with/use] >> Agreed. VHDL does not need this redundancy. > > Do you mean, in VHDL you can write "use P;" without "with P"? (Or what > kind of Syntax VHDL uses for Ada's "with Name" and "use Name" ...) It's a couple of years already, so I may not remember correctly, but AFAIR you can: library IEEE; use IEEE.Std_Logic_1164; use IEEE.Std_Logic_Arith; And thus, directly use child packages. > Or do you mean you can write "P.Some_Procedure(...)" or "P.Some_Type" > without any "with" or "use" before? No. Vinzent. -- f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng.