Commit dc6dc6d
committed
dpl: fix topological sort cycle with multi-height cells in shift legalizer
Multi-height cells appear in segments across multiple rows. When a
single-height cell sits inside the row span of two multi-height cells,
the ordering differs per row, creating a cycle in the topological sort
which triggers DPL-0400.
Fix: only add dependency edges when both cells' bottom Y matches the
current segment's row bottom, ensuring each multi-height cell
contributes edges only from its primary (bottom) row.
Fixes #9932
Signed-off-by: Divinesoumyadip <soumyacode7@gmail.com>1 parent 45a537e commit dc6dc6d
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
123 | 125 | | |
124 | 126 | | |
125 | 127 | | |
126 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
127 | 135 | | |
128 | 136 | | |
129 | 137 | | |
| |||
0 commit comments