Skip to content

Commit 0de60c8

Browse files
committed
Optimize ASIC routing config to prevent CI timeout
- Reduce GRT_OVERFLOW_ITERS 200→30 for faster global routing - Add DRT_OPT_ITERS 24 (was default 64) for faster detailed routing - Lower PL_TARGET_DENSITY 0.70→0.65, increase DIE_AREA 700→750 - Increase routing workflow timeout 120→180 min Made-with: Cursor
1 parent d491e70 commit 0de60c8

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/asic-5-routing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
routing:
1212
name: ASIC Routing
1313
runs-on: ubuntu-latest
14-
timeout-minutes: 120
14+
timeout-minutes: 180
1515

1616
env:
1717
PDK_ROOT: ${{ github.workspace }}/pdks

asic/config.tcl

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,17 @@ set ::env(CLOCK_PERIOD) "20.0"
2020
set ::env(CLOCK_PORT) "clk"
2121
set ::env(FP_SIZING) "absolute"
2222
# Relax floorplan to reduce congestion / DPL failures.
23-
set ::env(DIE_AREA) "0 0 700 700"
24-
set ::env(PL_TARGET_DENSITY) 0.70
23+
set ::env(DIE_AREA) "0 0 750 750"
24+
set ::env(PL_TARGET_DENSITY) 0.65
2525
set ::env(IO_PCT) "0.70"
2626
set ::env(PDK) "sky130A"
2727
set ::env(STD_CELL_LIBRARY) "sky130_fd_sc_hd"
2828
set ::env(SYNTH_STRATEGY) "AREA 0"
2929
set ::env(MAX_FANOUT_CONSTRAINT) 6
30-
# Global routing: reduce pessimism and allow more overflow cleanup iterations.
31-
# Defaults (as seen in CI resolved config): GRT_ADJUSTMENT=0.3, GRT_OVERFLOW_ITERS=50.
30+
# Global routing: fewer overflow iters to avoid CI timeout (was 200).
3231
set ::env(GRT_ADJUSTMENT) 0.20
33-
set ::env(GRT_OVERFLOW_ITERS) 200
32+
set ::env(GRT_OVERFLOW_ITERS) 30
33+
# Detailed routing: fewer opt iters (default 64) to stay within 2h CI limit.
34+
set ::env(DRT_OPT_ITERS) 24
3435
# Skip linter (path/module resolution issues + warnings as errors)
3536
set ::env(RUN_LINTER) 0

0 commit comments

Comments
 (0)