Re: [sv-bc] Keywords

From: Steven Sharp <sharp_at_.....>
Date: Tue Apr 26 2005 - 19:52:50 PDT
Dennis Brophy wrote:
>Maybe instead of config-endconfig we could have beginconfig-endconfig.
>That might reduce the name collisions. 

Brad Pierce replied:
>How about 'configuration', as in VHDL?

I guess I have been assuming that changing the keyword was not a viable
option.  If it were, we could avoid the keyword conflict problem.  If
we did that, I would propose changing the keyword for "cell" also, since
it makes up the other 1/3 of the conflicts I have seen.  I think that
would be better than the hybrid solution of changing only "config" and
then requiring context-sensitive lexing.

So, is this a viable solution?

It would allow putting configurations in Verilog source files without
causing significant keyword conflicts, which was the biggest problem.

It means that any ModelSim customers using configurations would need to
change their syntax (though ModelSim could continue to accept the old
keyword for backward compatibility).  They could continue to use the
same methodology.

If this was considered an acceptable solution, I would be willing to
support it.

BTW, I think the issue with "configuration" matching VHDL is a minor one.
I don't think we have any tools that try to look at the first token in
a file and decide whether it is a VHDL or Verilog config file.

Steven Sharp
sharp@cadence.com
Received on Tue Apr 26 19:52:59 2005

This archive was generated by hypermail 2.1.8 : Tue Apr 26 2005 - 19:53:20 PDT