Add regression tests for suppressed VCD/LXT/LXT2 warnings (issue #710)

This commit is contained in:
Martin Whitaker 2024-01-07 20:34:45 +00:00
parent 96df251c95
commit 7b99cd25ca
8 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,2 @@
VCD info: dumpfile dump.vcd opened for output.
VCD warning: $dumpvars: Package (p2::) is not dumpable with VCD.

View File

@ -0,0 +1,2 @@
LXT info: dumpfile dump.lxt opened for output.
LXT warning: $dumpvars: Package (p2::) is not dumpable with LXT.

View File

@ -0,0 +1,2 @@
LXT2 info: dumpfile dump.lx2 opened for output.
LXT2 warning: $dumpvars: Package (p2::) is not dumpable with LXT2.

View File

@ -0,0 +1,15 @@
package p1;
endpackage
package p2;
logic x;
endpackage
module m;
initial $dumpvars;
endmodule

View File

@ -24,6 +24,9 @@ br_gh383c vvp_tests/br_gh383c.json
br_gh383d vvp_tests/br_gh383d.json
br_gh440 vvp_tests/br_gh440.json
br_gh687 vvp_tests/br_gh687.json
br_gh710a vvp_tests/br_gh710a.json
br_gh710b vvp_tests/br_gh710b.json
br_gh710c vvp_tests/br_gh710c.json
br_gh939 vvp_tests/br_gh939.json
br_gh1018 vvp_tests/br_gh1018.json
br_gh1029 vvp_tests/br_gh1029.json

View File

@ -0,0 +1,7 @@
{
"type" : "normal",
"source" : "br_gh710.v",
"gold" : "br_gh710a",
"iverilog-args" : [ "-g2009" ],
"vvp-args-extended" : [ "-vcd" ]
}

View File

@ -0,0 +1,7 @@
{
"type" : "normal",
"source" : "br_gh710.v",
"gold" : "br_gh710b",
"iverilog-args" : [ "-g2009" ],
"vvp-args-extended" : [ "-lxt" ]
}

View File

@ -0,0 +1,7 @@
{
"type" : "normal",
"source" : "br_gh710.v",
"gold" : "br_gh710c",
"iverilog-args" : [ "-g2009" ],
"vvp-args-extended" : [ "-lxt2" ]
}