keyword as attribute?

From: Paul Graham (pgraham@cadence.com)
Date: Fri Oct 19 2001 - 10:39:15 PDT


Precedence: bulk

I'm not clear on whether a verilog keyword may be used as an attribute name:

    (* case=full *) case (x) ...

The grammar says that an attr_name is an identifier, which I believe
excludes keywords. On the one hand, some keywords, such as 'case' or
'function', might be useful as attribute names. On the other hand, it is
probably easier in the parser to disallow a keyword as an attr_name.

Paul



This archive was generated by hypermail 2.1.4 : Mon Jul 08 2002 - 12:54:47 PDT and
sponsored by Boyd Technology, Inc.