From: Stephen Williams (steve@icarus.com)
Date: Tue Mar 04 2003 - 14:40:01 PST
Precedence: bulk
The following reply was made to PR errata/292; it has been noted by GNATS.
From: Stephen Williams <steve@icarus.com>
To: "Brad Pierce" <Brad.Pierce@synopsys.com>
Cc: etf-bugs@boyd.com
Subject: Re: errata/292: 12.3.3 : net declaration before port declaration
Date: Tue, 04 Mar 2003 14:35:40 -0800
Brad.Pierce@synopsys.com said:
> Is the following example legal?
module m(x);
wire x;
input x;
endmodule
Why would it not be? Nothing in the BNF for the module contents
imposes any sort of order on the module_item items, and I can
find no prose that implies any sort of order. So far as I can
tell, you can put the port direction declaration anywhere in the
module, before or after any data type declarations for the port.
The only requirement I can see is that range specifiers must
match.
--
Steve Williams "The woods are lovely, dark and deep.
steve at icarus.com But I have promises to keep,
steve at picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep."
This archive was generated by hypermail 2.1.4
: Tue Mar 04 2003 - 14:40:35 PST
and
sponsored by Boyd Technology, Inc.