Commit 217bf3b
committed
rsz: skip ensureWireParasitic in repair_design hot path
Pass a local load_cap computed from BufferedNet wire RC to
resizeToTargetSlew as a hint. When supplied, the hint skips the
expensive ensureWireParasitic + STA loadCap query that triggers an
incremental FastRoute setup per buffer in the repair_design driver
loop.
For repairNetWire, the hint reflects the wire that the buffer actually
drives (buf_dist x wire_cap + ref_cap), not the full Steiner edge.
repairNetJunc passes cap_left / cap_right since the buffer is placed
at the junction location.
Profiling on a large customer design (497k inst) showed
ensureWireParasitic accounting for 96% of repair_design wall time
(5,860 calls x ~390ms FastRoute setup each).
See private issue The-OpenROAD-Project-private/OpenROAD-flow-scripts#1676.
Signed-off-by: Minju Kim <mkim@precisioninno.com>1 parent d088e22 commit 217bf3b
4 files changed
Lines changed: 40 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
644 | | - | |
| 644 | + | |
| 645 | + | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1592 | 1592 | | |
1593 | 1593 | | |
1594 | 1594 | | |
| 1595 | + | |
| 1596 | + | |
| 1597 | + | |
| 1598 | + | |
| 1599 | + | |
| 1600 | + | |
1595 | 1601 | | |
1596 | 1602 | | |
1597 | 1603 | | |
| |||
1601 | 1607 | | |
1602 | 1608 | | |
1603 | 1609 | | |
1604 | | - | |
| 1610 | + | |
| 1611 | + | |
1605 | 1612 | | |
1606 | 1613 | | |
1607 | 1614 | | |
| |||
1796 | 1803 | | |
1797 | 1804 | | |
1798 | 1805 | | |
1799 | | - | |
| 1806 | + | |
| 1807 | + | |
1800 | 1808 | | |
1801 | 1809 | | |
1802 | 1810 | | |
| |||
1808 | 1816 | | |
1809 | 1817 | | |
1810 | 1818 | | |
1811 | | - | |
| 1819 | + | |
| 1820 | + | |
1812 | 1821 | | |
1813 | 1822 | | |
1814 | 1823 | | |
| |||
2121 | 2130 | | |
2122 | 2131 | | |
2123 | 2132 | | |
2124 | | - | |
| 2133 | + | |
| 2134 | + | |
2125 | 2135 | | |
2126 | 2136 | | |
2127 | 2137 | | |
| |||
2137 | 2147 | | |
2138 | 2148 | | |
2139 | 2149 | | |
2140 | | - | |
| 2150 | + | |
| 2151 | + | |
2141 | 2152 | | |
2142 | 2153 | | |
2143 | 2154 | | |
| |||
2172 | 2183 | | |
2173 | 2184 | | |
2174 | 2185 | | |
2175 | | - | |
| 2186 | + | |
| 2187 | + | |
2176 | 2188 | | |
2177 | 2189 | | |
2178 | 2190 | | |
| |||
2212 | 2224 | | |
2213 | 2225 | | |
2214 | 2226 | | |
2215 | | - | |
| 2227 | + | |
2216 | 2228 | | |
2217 | 2229 | | |
2218 | 2230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
233 | | - | |
| 234 | + | |
| 235 | + | |
234 | 236 | | |
235 | 237 | | |
236 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2533 | 2533 | | |
2534 | 2534 | | |
2535 | 2535 | | |
2536 | | - | |
| 2536 | + | |
| 2537 | + | |
2537 | 2538 | | |
2538 | 2539 | | |
2539 | 2540 | | |
| |||
2550 | 2551 | | |
2551 | 2552 | | |
2552 | 2553 | | |
2553 | | - | |
2554 | | - | |
2555 | | - | |
2556 | | - | |
| 2554 | + | |
| 2555 | + | |
| 2556 | + | |
| 2557 | + | |
| 2558 | + | |
| 2559 | + | |
| 2560 | + | |
| 2561 | + | |
| 2562 | + | |
| 2563 | + | |
| 2564 | + | |
| 2565 | + | |
| 2566 | + | |
2557 | 2567 | | |
2558 | 2568 | | |
2559 | 2569 | | |
| |||
0 commit comments