diff options
Diffstat (limited to 'tests/bram')
-rw-r--r-- | tests/bram/run-single.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/bram/run-single.sh b/tests/bram/run-single.sh index 19a235c7a..a1d1ec908 100644 --- a/tests/bram/run-single.sh +++ b/tests/bram/run-single.sh @@ -1,7 +1,9 @@ #!/bin/bash set -e -../../yosys -qq -p "proc; opt; memory -nomap -bram temp/brams_${2}.txt; opt -fast -full" \ - -l temp/synth_${1}_${2}.log -o temp/synth_${1}_${2}.v temp/brams_${1}.v +../../yosys -qq -p "proc; opt; memory -nomap -bram temp/brams_${2}.txt; opt -fast -full; write_verilog temp/synth_${1}_${2}_stage0.v" \ + -l temp/synth_${1}_${2}_stage0.log temp/brams_${1}.v +../../yosys -qq -p "proc; opt; memory -nomap; opt -fast -full; write_verilog -nomem temp/synth_${1}_${2}.v" \ + -l temp/synth_${1}_${2}.log temp/synth_${1}_${2}_stage0.v iverilog -Dvcd_file=\"temp/tb_${1}_${2}.vcd\" -DSIMLIB_MEMDELAY=1ns -o temp/tb_${1}_${2}.tb temp/brams_${1}_tb.v \ temp/brams_${1}_ref.v temp/synth_${1}_${2}.v temp/brams_${2}.v ../../techlibs/common/simlib.v temp/tb_${1}_${2}.tb > temp/tb_${1}_${2}.txt |