in the following code the automatic wire contains a wrong width definition. See ISSUE.
(fyi. This worked in a previous version from ~1-2years, found after updating to the latest code here).
Please also find attached a minimum example.
parameter WIDTH = 16;
// ISSUE: in autowire below [WIDTH*0-1:0] should have been [WIDTH*2/8-1:0]
/*AUTOWIRE*/
// Beginning of automatic wires (for undeclared instantiated-module outputs)
wire [WIDTH*0-1:0] signal; // From subtestout of subtestout.v
// End of automatics
subtestin #(.WIDTH(WIDTH)) subtestin
(/*AUTOINST*/
// Inputs
.signal (signal[WIDTH*2/8-1:0]));
Hello,
in the following code the automatic wire contains a wrong width definition. See ISSUE. (fyi. This worked in a previous version from ~1-2years, found after updating to the latest code here). Please also find attached a minimum example.
BR, Joachim
parameter_auto_wire.tar.gz