mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 21:07:34 -04:00
Fix a couple of synthesis bugs
1. Missing prim_assert in ibex_top.sv (more of an rtl bug but only found in running synthesis scripts) 2. Write out the pre-mapped netlist before mapping latches Relates to #1335 Signed-off-by: Tom Roberts <tomroberts@lowrisc.org>
This commit is contained in:
parent
69e715b287
commit
07c04bc3f1
2 changed files with 4 additions and 2 deletions
|
@ -7,6 +7,8 @@
|
|||
`define RVFI
|
||||
`endif
|
||||
|
||||
`include "prim_assert.sv"
|
||||
|
||||
/**
|
||||
* Top level module of the ibex RISC-V core
|
||||
*/
|
||||
|
|
|
@ -33,11 +33,11 @@ yosys "chparam -set RegFile $lr_synth_ibex_regfile $lr_synth_top_module"
|
|||
yosys "synth $flatten_opt -top $lr_synth_top_module"
|
||||
yosys "opt -purge"
|
||||
|
||||
yosys "write_verilog $lr_synth_pre_map_out"
|
||||
|
||||
# Map latch primitives onto latch cells
|
||||
yosys "techmap -map rtl/latch_map.v"
|
||||
|
||||
yosys "write_verilog $lr_synth_pre_map_out"
|
||||
|
||||
yosys "dfflibmap -liberty $lr_synth_cell_library_path"
|
||||
yosys "opt"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue