Attribute names


Subject: Attribute names
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Mon Nov 18 2002 - 19:02:41 PST


Which space do attribute names live in?

In V2K, they have their own namespace. In SystemVerilog, however, according
to section 12.9, there is only one namespace, not 7 namespaces as in V2K.
But that section makes no specific mention of attributes.

Also, why is there no way to declare attributes and their types? Wouldn't a
design project be employing some limited set of project-standard attributes,
not inventing new attributes all over the place as they go along. If so, it
might make more sense to declare these standard attributes in $root.
Likewise, a tool could provide a header file that declares (and documents)
the set of attributes it understands.

It might also be useful to enable declarations that restrict the kind of
objects to which a particular attribute can be attached. Maybe one
attribute only makes sense for interfaces and another only for functions.
It would be convenient if this could be declared as part of their type.

-- Brad



This archive was generated by hypermail 2b28 : Mon Nov 18 2002 - 19:03:14 PST