Attribute names can/ cannot be redefined


Subject: Attribute names can/ cannot be redefined
From: Michael McNamara (mac@verisity.com)
Date: Thu Nov 21 2002 - 09:39:05 PST


Sounds like an errata; please send these to etf-bugs@boyd.com

Brad Pierce writes:
> Peter,
>
> In Verilog 2001, one of the 5 local namespaces is for attributes.
> See section 3.12 of the LRM. According to this section "Once a
> name is defined within one of the five names spaces, it shall not
> be defined again in that space (with the same or a different type)."
>
> This contrasts, however, with section 2.8 of the same LRM, which
> states that an attribute can be "defined more than once for the
> same language element" and "the last attribute value shall be used
> and a tool can give a warning that a duplicate attribute specification
> has occurred".
>
> -- Brad
>
>
>
>
>
>



This archive was generated by hypermail 2b28 : Thu Nov 21 2002 - 09:40:32 PST