mirror of https://github.com/YosysHQ/yosys.git
fail svinterfaces testcases on yosys error exit
This commit is contained in:
parent
98925f6c4b
commit
98ffe5fb00
|
@ -11,13 +11,13 @@ echo "" > $STDERRFILE
|
||||||
|
|
||||||
echo -n "Test: ${TESTNAME} -> "
|
echo -n "Test: ${TESTNAME} -> "
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
$PWD/../../yosys -p "read_verilog -sv ${TESTNAME}.sv ; hierarchy -check -top TopModule ; synth ; write_verilog ${TESTNAME}_syn.v" >> $STDOUTFILE >> $STDERRFILE
|
$PWD/../../yosys -p "read_verilog -sv ${TESTNAME}.sv ; hierarchy -check -top TopModule ; synth ; write_verilog ${TESTNAME}_syn.v" >> $STDOUTFILE >> $STDERRFILE
|
||||||
$PWD/../../yosys -p "read_verilog -sv ${TESTNAME}_ref.v ; hierarchy -check -top TopModule ; synth ; write_verilog ${TESTNAME}_ref_syn.v" >> $STDOUTFILE >> $STDERRFILE
|
$PWD/../../yosys -p "read_verilog -sv ${TESTNAME}_ref.v ; hierarchy -check -top TopModule ; synth ; write_verilog ${TESTNAME}_ref_syn.v" >> $STDOUTFILE >> $STDERRFILE
|
||||||
|
|
||||||
rm -f a.out reference_result.txt dut_result.txt
|
rm -f a.out reference_result.txt dut_result.txt
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
iverilog -g2012 ${TESTNAME}_syn.v
|
iverilog -g2012 ${TESTNAME}_syn.v
|
||||||
iverilog -g2012 ${TESTNAME}_ref_syn.v
|
iverilog -g2012 ${TESTNAME}_ref_syn.v
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue