You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Default values for for top-level ports do not seem to work.
MWE:
$ iverilog -g2012 test.sv
$ ./a.out
x=z,a=z
test.sv:5: $finish called at 2 (1s)
$ cat test.sv
module test (input a = 0, input b = 0, output x);
assign x = a;
initial begin
#1 $monitor("x=%d,a=%d",x,a);
#1 $finish();
end
endmodule
The text was updated successfully, but these errors were encountered:
Default values for for top-level ports do not seem to work.
MWE:
The text was updated successfully, but these errors were encountered: