Add regression test for issue #1323.

This commit is contained in:
Martin Whitaker 2026-04-15 16:44:35 +01:00
parent eed88fc61f
commit ca756322a7
4 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,10 @@
module br_gh1323_lib #(parameter `typ(X) = 0) ();
initial begin
if (X == 1)
$display("PASSED");
else
$display("FAILED");
end
endmodule

View File

@ -0,0 +1,7 @@
`define typ(n) n
module br_gh1323_top #(parameter `typ(X) = 1) ();
br_gh1323_lib #(X) u0();
endmodule

View File

@ -69,6 +69,7 @@ br_gh1256b vvp_tests/br_gh1256b.json
br_gh1258a vvp_tests/br_gh1258a.json
br_gh1258b vvp_tests/br_gh1258b.json
br_gh1286 vvp_tests/br_gh1286.json
br_gh1323 vvp_tests/br_gh1323.json
ca_time_real vvp_tests/ca_time_real.json
case1 vvp_tests/case1.json
case2 vvp_tests/case2.json

View File

@ -0,0 +1,5 @@
{
"type" : "normal",
"source" : "br_gh1323_top.v",
"iverilog-args" : [ "-yivltests" ]
}