Re: [sv-bc] $bits question

From: Steven Sharp <sharp_at_.....>
Date: Mon Jan 23 2006 - 13:09:13 PST
>From: Greg Jaxon <Greg.Jaxon@synopsys.com>

>    So would you favor eliminating the assignment "=" from the syntax
>of parameter type altogether?

Not at this stage of the language development.  It is a major change to
the syntax in the standard, not just a restriction or relaxation of it.



>Notice the similarity, then, between a "parameter type" and a "typedef".
>To me this argues for replacing the keyword "type" here and using "typedef".
>The keyword "parameter" becomes just a modifier indicating that this
>typedef can be overridden at elaborate-time.

I had also noticed the functional overlap between type parameters
(or at least type localparams) and typedefs.  In a more elegant and
consistent language design, only one such construct would exist.  It
would be general enough to provide the functionality of both.  I had
not actually thought much about what it should look like, since it
is too late to do anything about it.


Steven Sharp
sharp@cadence.com
Received on Mon Jan 23 13:09:20 2006

This archive was generated by hypermail 2.1.8 : Mon Jan 23 2006 - 13:11:25 PST