Repository navigation
Commit 2e90d42
committed
flow: move eliminate_dead_logic into synth_odb.tcl
eliminate_dead_logic is a pure netlist transform: it does not need a
die area, bterm placement or routing layers. Running it in synth_odb.tcl
means 1_synth.odb already reflects the live design instead of dropping
its instance count between synth and floorplan.
This matters for parallel synthesis flows (e.g., MegaBoom) where yosys
only sees a slice of the design at a time and cannot prune logic that
is dead only when looking at the whole design. In those flows this
step has historically eliminated ~50% of the design.
Add a docstring above the remaining synthesis-looking transforms in
floorplan.tcl (repair_tie_fanout, replace_arith_modules, remove_buffers,
repair_timing_helper) explaining why they cannot follow:
initialize_floorplan and set_routing_layers above set up the bterm
boundary placement and the routing layer stack that timing-aware
optimization relies on for parasitic estimation. Moving these calls
into synth_odb.tcl was tried in PR #4187 and regressed setup TNS by
1.7-46x on I/O-heavy designs (asap7/aes-block 2.5x, asap7/jpeg_lvt 37x,
asap7/swerv_wrapper 46x finish-hold-TNS, nangate45/ariane133 1.7x);
internal-logic-dominated designs like asap7/ibex were unaffected once
the tie-fanout ordering was preserved, but the I/O-heavy regressions
made the broader move untenable.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 52b6f9d commit 2e90d42
2 files changed
Lines changed: 36 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 35 | | |
40 | 36 | | |
41 | 37 | | |
| |||
116 | 112 | | |
117 | 113 | | |
118 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
119 | 131 | | |
120 | 132 | | |
121 | 133 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
7 | 27 | | |
8 | 28 | | |
9 | 29 | | |
| |||
0 commit comments