From: Steven Sharp (sharp@cadence.com)
Date: Thu Oct 14 2004 - 11:42:35 PDT
>Jonathan Bradford's proposal, at the end of
>
> http://www.eda.org/sv-bc/hm/1910.html
>
>seems like one reasonable approach to consider. The idea is to
>allow a packed type identifier, enclosed in angle braces < >,
>to be used in net declarations where now only signing and packed
>dimensions are allowed.
I don't believe that the angle braces are necessary. I don't think
there is an ambiguity that requires them. There may need to be some
additional lookahead in parsing, to determine whether an identifier
is a type name or the net name, but I think this problem already
exists in SV. It is syntactically very similar to a parameter
declaration, which also starts with a keyword followed by an optional
type and then the parameter name(s). If you can parse parameter
declarations without angle braces, then I think you can parse net
declarations pretty much the same way.
Steven Sharp
sharp@cadence.com
This archive was generated by hypermail 2.1.4
: Thu Oct 14 2004 - 11:33:06 PDT
and
sponsored by Boyd Technology, Inc.