Reasonable example of declarations excluded by BNF.

From: Adam Krolnik (krolnik@lsil.com)
Date: Wed Oct 04 2000 - 09:31:19 PDT


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



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