[sv-bc] top-level package item declarations

From: Paul Graham <pgraham@cadence.com>
Date: Fri Apr 23 2004 - 13:14:52 PDT

I notice that a package item is allowed as a declaration outside of
any module, interface, or package. This means that, according to
the bnf, the following file would be a legal sv description, or should
I say, three legal sv descriptions:

foo.v:
    parameter p = 3;
    ;
    wire x;

What's the point of allowing these miscellaneous declarations outside
of a containing package? Is this a leftover from the old $root
implicit package?

Paul
Received on Fri Apr 23 13:15:24 2004

This archive was generated by hypermail 2.1.8 : Fri Apr 23 2004 - 13:15:45 PDT