Skip to content

Commit

Permalink
Fixes out of memory error with larger RTL blocks
Browse files Browse the repository at this point in the history
The autoname pass seems to cause issues with larger rtl blocks. Since the autoname
pass really only assits with net names, and to be honest not that much. We can just remove
it for now.

Signed-off-by: Ethan Mahintorabi <[email protected]>
  • Loading branch information
QuantamHD committed Jul 25, 2024
1 parent 72906cc commit 60b5cda
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions synthesis/synth.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ yosys delete {*/t:$print}
# useful names. At this stage it is mainly flipflops created by the `proc`
# pass.
yosys opt_clean -purge
yosys autoname

yosys synth -top $top

Expand All @@ -70,7 +69,6 @@ yosys synth -top $top
# This should be done before techmapping where things can be converted
# dramatically and having useful names is helpful for debugging.
yosys opt_clean -purge
yosys autoname

# Technology mapping of adders
if {[info exists ::env(ADDER_MAPPING)] && [file isfile $::env(ADDER_MAPPING)]} {
Expand Down Expand Up @@ -115,7 +113,6 @@ if {[info exists ::env(TIEHI_CELL_AND_PORT)] && [info exists ::env(TIELO_CELL_AN
# useful names. At this stage it is anything generated by the techmapping
# passes.
yosys opt_clean -purge
yosys autoname

# write synthesized design
set output $::env(OUTPUT)
Expand Down

0 comments on commit 60b5cda

Please sign in to comment.