mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 19:51:23 +00:00
Support for SystemVerilog interfaces as a port in the top level module + test case
This commit is contained in:
parent
d9a4381012
commit
397dfccb30
9 changed files with 561 additions and 10 deletions
|
@ -22,11 +22,14 @@ iverilog -g2012 ${TESTNAME}_syn.v
|
|||
iverilog -g2012 ${TESTNAME}_ref_syn.v
|
||||
|
||||
set +e
|
||||
|
||||
iverilog -g2012 ${TESTNAME}_tb.v ${TESTNAME}_ref_syn.v
|
||||
./a.out
|
||||
mv output.txt reference_result.txt
|
||||
iverilog -g2012 ${TESTNAME}_tb.v ${TESTNAME}_syn.v
|
||||
if [ -f ${TESTNAME}_wrapper.v ] ; then
|
||||
iverilog -g2012 ${TESTNAME}_tb_wrapper.v ${TESTNAME}_syn.v
|
||||
else
|
||||
iverilog -g2012 ${TESTNAME}_tb.v ${TESTNAME}_syn.v
|
||||
fi
|
||||
./a.out
|
||||
mv output.txt dut_result.txt
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue