From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Mon Dec 23 2002 - 11:03:04 PST
Precedence: bulk
>Number: 226
>Category: errata
>Originator: "Brad Pierce" <Brad.Pierce@synopsys.com>
>Environment:
>Description:
According to the V2K BNF, the following module is illegal --
module m_illegal ;
parameter p = 1:2:3;
endmodule
and the following module is legal --
module m_legal ;
parameter p = (1:2:3);
endmodule
Was that the intent? Tools seem to be just as happy with
m_illegal as with m_legal.
If m_illegal is indeed illegal, how about adding an example?
Likewise, according to the BNF, the following parameter assignments
are illegal
#(.p(1:2:3))
#(1:2:3)
and the following are legal
#(.p((1:2:3))
#((1:2:3))
but the tools seem to be just as happy with the illegal versions.
-- Brad
This archive was generated by hypermail 2.1.4
: Mon Dec 23 2002 - 11:11:01 PST
and
sponsored by Boyd Technology, Inc.