Yes, unless the whole design is a single compilation unit. Then $unit is a global scope. Some users may continue to work this way. If you are doing separate compilation, then only packages can be globally accessed from anywhere in the design. > -----Original Message----- > From: Bresticker, Shalom [mailto:shalom.bresticker@intel.com] > Sent: Tuesday, November 06, 2007 10:18 AM > To: Mark Hartoog > Cc: sv-ec@eda.org > Subject: RE: [sv-ec] $root vs $unit > > But $unit still refers only to the local compilation-unit > scope. It is not possible to reference something which is > declared in another compilation-unit scope's $unit. There is > no longer a concept of a truly global declaration scope. > > Shalom > > > Tools may currently have backwards compatibility modes with > SV 3.0/3.1 > > where they are still accepting $root.<typeName>, but this is now > > illegal and should be changed to $unit::<typeName>. > --------------------------------------------------------------------- > Intel Israel (74) Limited > > This e-mail and any attachments may contain confidential > material for the sole use of the intended recipient(s). Any > review or distribution by others is strictly prohibited. If > you are not the intended recipient, please contact the sender > and delete all copies. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Nov 6 10:26:45 2007
This archive was generated by hypermail 2.1.8 : Tue Nov 06 2007 - 10:26:58 PST