Subject: [sv-bc] Erratum and PROPOSAL (BNF) -- wire declaration assignments with unpacked dimensions
From: Brad Pierce (Brad.Pierce@synopsys.com)
Date: Tue Nov 04 2003 - 11:22:42 PST
The following code is illegal according to the current BNF,
because the wire declaration assignment contains unpacked
dimensions.
module m (input [7:0] i [1:0], output [7:0] o [1:0]);
wire [7:0] t [1:0] = i; /* <-- a syntax error ??? */
assign o = t;
endmodule
However, if t were a variable instead of a wire, then a
declaration assignment with unpacked dimensions would be
legal.
Attached is a proposal to fix this bug in the BNF.
-- Brad
This archive was generated by hypermail 2b28 : Tue Nov 04 2003 - 11:25:32 PST