omit reference file for verilog-compatible test inputs

This commit is contained in:
Zachary Snow 2020-12-08 11:39:17 -07:00
parent 2081f6a32a
commit e72d372d73
19 changed files with 8 additions and 32 deletions

View File

@ -1 +0,0 @@
`include "attr.sv"

View File

@ -1 +0,0 @@
`include "div.sv"

View File

@ -1,2 +0,0 @@
// Reference file is already plain Verilog
`include "else_prec.sv"

View File

@ -1,2 +0,0 @@
// iverilog supports multi-dimensional packed arrays
`include "flatten.sv"

View File

@ -1,2 +0,0 @@
// iverilog supports multi-dimensional packed arrays
`include "flatten_three.sv"

View File

@ -1,2 +0,0 @@
// This test is for parser coverge only.
`include "gate.sv"

View File

@ -1,2 +0,0 @@
// iverilog has support for packed arrays and functions
`include "packed_array_shadow.sv"

View File

@ -1 +0,0 @@
`include "shift.sv"

View File

@ -1 +0,0 @@
`include "stmt_task.sv"

View File

@ -1 +0,0 @@
`include "typeof_op.sv"

View File

@ -1,2 +0,0 @@
// use iverilog as reference
`include "cond.sv"

View File

@ -1,2 +0,0 @@
// use iverilog as reference
`include "file_line.sv"

View File

@ -1 +0,0 @@
`include "macro_boundary.sv"

View File

@ -1,2 +0,0 @@
// use iverilog as reference
`include "macro_iv.sv"

View File

@ -1 +0,0 @@
`include "macro_string.sv"

View File

@ -1 +0,0 @@
`include "macro_whitespace.sv"

View File

@ -1,6 +0,0 @@
`include "no_newline.vh"
module top;
`ifdef A
initial $display("A is defined!");
`endif
endmodule

View File

@ -1 +0,0 @@
`include "number.sv"

View File

@ -85,7 +85,14 @@ simpleTest() {
tb=$3
assertConverts $sv
assertConverts $ve
# some tests use inputs compatible with iverilog directly and so omit the
# reference manually converted file
if [ ! -f $ve ]; then
ve=$sv
else
assertConverts $ve
fi
# some tests don't have a separate testbench, instead having the top-level
# module defined in both of the input files