Repository navigation
Commit ac25735
committed
flow: move eliminate_dead_logic from floorplan.tcl into synth_odb.tcl
Run eliminate_dead_logic just before write_db in synth_odb.tcl so that
1_synth.odb already reflects the live design and the synthesis-stage
report doesn't show a surprising endpoint drop versus 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
can eliminate vast quantities of debug logic — for MegaBoom it has
historically removed ~50% of the design.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>1 parent 52b6f9d commit ac25735
2 files changed
Lines changed: 11 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 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
8 | 19 | | |
9 | 20 | | |
10 | 21 | | |
| |||
0 commit comments