mirror of https://github.com/zachjs/sv2v.git
omit reference file for verilog-compatible test inputs
This commit is contained in:
parent
2081f6a32a
commit
e72d372d73
|
|
@ -1 +0,0 @@
|
|||
`include "attr.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "div.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// Reference file is already plain Verilog
|
||||
`include "else_prec.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// iverilog supports multi-dimensional packed arrays
|
||||
`include "flatten.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// iverilog supports multi-dimensional packed arrays
|
||||
`include "flatten_three.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// This test is for parser coverge only.
|
||||
`include "gate.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// iverilog has support for packed arrays and functions
|
||||
`include "packed_array_shadow.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "shift.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "stmt_task.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "typeof_op.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// use iverilog as reference
|
||||
`include "cond.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// use iverilog as reference
|
||||
`include "file_line.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "macro_boundary.sv"
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
// use iverilog as reference
|
||||
`include "macro_iv.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "macro_string.sv"
|
||||
|
|
@ -1 +0,0 @@
|
|||
`include "macro_whitespace.sv"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
`include "no_newline.vh"
|
||||
module top;
|
||||
`ifdef A
|
||||
initial $display("A is defined!");
|
||||
`endif
|
||||
endmodule
|
||||
|
|
@ -1 +0,0 @@
|
|||
`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
|
||||
|
|
|
|||
Loading…
Reference in New Issue