Add regression test for issue #1323.
This commit is contained in:
parent
eed88fc61f
commit
ca756322a7
|
|
@ -0,0 +1,10 @@
|
|||
module br_gh1323_lib #(parameter `typ(X) = 0) ();
|
||||
|
||||
initial begin
|
||||
if (X == 1)
|
||||
$display("PASSED");
|
||||
else
|
||||
$display("FAILED");
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
`define typ(n) n
|
||||
|
||||
module br_gh1323_top #(parameter `typ(X) = 1) ();
|
||||
|
||||
br_gh1323_lib #(X) u0();
|
||||
|
||||
endmodule
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"type" : "normal",
|
||||
"source" : "br_gh1323_top.v",
|
||||
"iverilog-args" : [ "-yivltests" ]
|
||||
}
|
||||
Loading…
Reference in New Issue