[Script] Solved the problem on BRAM mapping in the yosys script supporting both DSP and BRAMs
This commit is contained in:
parent
cc10b10703
commit
7fd345a616
|
@ -40,6 +40,9 @@ opt_clean
|
|||
# Map multipliers
|
||||
# Inspired from synth_xilinx.cc
|
||||
#########################
|
||||
# Avoid merging any registers into DSP, reserve memory port registers first
|
||||
memory_dff
|
||||
wreduce t:$mul
|
||||
techmap -map +/mul2dsp.v -map ${YOSYS_DSP_MAP_VERILOG} ${YOSYS_DSP_MAP_PARAMETERS}
|
||||
select a:mul2dsp
|
||||
setattr -unset mul2dsp
|
||||
|
|
Loading…
Reference in New Issue