Re: Reasonable example of declarations excluded by BNF.

From: Anders Nordstrom (andersn@nortelnetworks.com)
Date: Thu Oct 05 2000 - 06:10:19 PDT


Adam,

I tried to run the code through a couple of tools and they all
say it is a syntax error.
Verilog-XL, VCS, SYSTEMSIM, DesignCompiler and VeriLint
all report an error.
I don't see any particular value in allowing the syntax in line 5
since it will require many tools to change to be compatible with
the standard.

Regards,

        Anders

<p>Adam Krolnik wrote:

> Good afternoon Cliff;
>
> I just found an interesting example of a combination of declarations
> that are not allowed by the current BNF.
>
> Doubt it is worth changing, but an interesting thing.
>
> %cat -n /tmp/a.v
> 1 module testwire;
> 2
> 3 wire a, b, c;
> 4 wire d = 0, e = 0, f = 0;
> 5 wire g, h = 0, i;
> 6
> 7 endmodule
>
> VCS and XL say line 4 has an error - no mixing of net declarations
> with net declaration assignments.
>
> Surelint says (reasonably) this is okay.
>
> Adam Krolnik
> Verification Mgr.
> LSI Logic Corp.
> Plano TX. 75074

Attachment Converted: "C:\Documents and Settings\stefen\Application Data\Qualcomm\Eudora\andersn35.vcf"



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