D
DW
Guest
Hello,
Can anyone confirm that the Verilog language definition rules out a repeat
concatenation of 0. i.e.
{0{1'b1}} is NOT allowed.
Modelsim Altera v5.7e seems to let this pass and produces invalid code.
Quartus II version 3.0 seems to reject the use of this, although I have been
informed that a later release (version 4.0 I believe) allows it (when it
apparently should not).
Although the example given is simplistic, I had used a combination of
defparam'd parameters which produced the 0 repeat. I do not have a complete
language reference (could be a good investment).
Thankyou,
DW.
Can anyone confirm that the Verilog language definition rules out a repeat
concatenation of 0. i.e.
{0{1'b1}} is NOT allowed.
Modelsim Altera v5.7e seems to let this pass and produces invalid code.
Quartus II version 3.0 seems to reject the use of this, although I have been
informed that a later release (version 4.0 I believe) allows it (when it
apparently should not).
Although the example given is simplistic, I had used a combination of
defparam'd parameters which produced the 0 repeat. I do not have a complete
language reference (could be a good investment).
Thankyou,
DW.