mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +00:00
Bug fix in $mem verilog backend + changed tests/bram flow of make test.
This commit is contained in:
parent
08f9b38a9c
commit
a8fe040906
2 changed files with 20 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue