Hi,
This is not defined in the LRM.
Brad Pierce opened Mantis 1213 on this long ago (http://www.eda-stds.org/mantis/view.php?id=1213).
I guess tools are treating it as an independent name space.
Shalom
> -----Original Message-----
> From: owner-sv-bc@eda.org [mailto:owner-sv-bc@eda.org] On Behalf Of
> Surya Pratik Saha
> Sent: Wednesday, December 15, 2010 2:38 PM
> To: sv-bc@eda.org
> Subject: [sv-bc] What is the name space of config
>
> Hi,
> I could not find any reference in the SV 2009 LRM regarding the name
> space where a config belongs to. Section 33 where config is described
> just mentioned that config exists in the SystemVerilog name space. But
> section 3.13 (Name spaces) does not mention config in any name space.
> If
> I assume that config belongs to 'definition name space' where module,
> program etc belong to then it means a config with same name of a module
> can not exist. But most of the tools pass the following case:
>
> config cfg;
> design cfg;
> endconfig
> module cfg;
> endmodule
>
> Am I missing anything?
>
> --
> Regards
> Surya
---------------------------------------------------------------------
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 Wed Dec 15 04:48:42 2010
This archive was generated by hypermail 2.1.8 : Wed Dec 15 2010 - 04:49:41 PST