mirror of
https://github.com/openhwgroup/cve2.git
synced 2025-04-20 03:57:25 -04:00
[syn] Fix synthesis script
* prim_assert now an include so add appropriate include dir * remove FPGA reg file from synthesised files
This commit is contained in:
parent
24cbc32249
commit
8e28ba0b9e
1 changed files with 3 additions and 2 deletions
|
@ -31,7 +31,7 @@ for file in ../rtl/*.sv; do
|
|||
sv2v \
|
||||
--define=SYNTHESIS \
|
||||
../rtl/*_pkg.sv \
|
||||
../shared/rtl/prim_assert.sv \
|
||||
-I../shared/rtl \
|
||||
$file \
|
||||
> $LR_SYNTH_OUT_DIR/generated/${module}.v
|
||||
|
||||
|
@ -48,9 +48,10 @@ rm -f $LR_SYNTH_OUT_DIR/generated/*_pkg.v
|
|||
# remove tracer (not needed for synthesis)
|
||||
rm -f $LR_SYNTH_OUT_DIR/generated/ibex_tracer.v
|
||||
|
||||
# remove the latch-based register file (because we will use the
|
||||
# remove the FPGA & latch-based register file (because we will use the
|
||||
# flop-based one instead)
|
||||
rm -f $LR_SYNTH_OUT_DIR/generated/ibex_register_file_latch.v
|
||||
rm -f $LR_SYNTH_OUT_DIR/generated/ibex_register_file_fpga.v
|
||||
|
||||
yosys -c ./tcl/yosys_run_synth.tcl | tee ./$LR_SYNTH_OUT_DIR/log/syn.log
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue