Commit e72d372d by Zachary Snow

omit reference file for verilog-compatible test inputs

parent 2081f6a3
`include "attr.sv"
// Reference file is already plain Verilog
`include "else_prec.sv"
// iverilog supports multi-dimensional packed arrays
`include "flatten.sv"
// iverilog supports multi-dimensional packed arrays
`include "flatten_three.sv"
// This test is for parser coverge only.
`include "gate.sv"
// iverilog has support for packed arrays and functions
`include "packed_array_shadow.sv"
`include "shift.sv"
`include "stmt_task.sv"
`include "typeof_op.sv"
// use iverilog as reference
`include "cond.sv"
// use iverilog as reference
`include "file_line.sv"
`include "macro_boundary.sv"
// use iverilog as reference
`include "macro_iv.sv"
`include "macro_string.sv"
`include "macro_whitespace.sv"
`include "no_newline.vh"
module top;
`ifdef A
initial $display("A is defined!");
`endif
endmodule
`include "number.sv"
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment