Skip to content

Commit

Permalink
Merge pull request #114 from siliconcompiler/relaxted-rules
Browse files Browse the repository at this point in the history
add relaxed routing rules to asap7
  • Loading branch information
gadfort authored Nov 28, 2024
2 parents 9a81d92 + a5a9dab commit 6082e9d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lambdapdk/asap7/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ def setup():
pdk.set('pdk', process, 'pexmodel', 'openroad-openrcx', stackup, 'typical',
pdkdir + '/pex/openroad/typical.rules')

# Relaxed routing rules
pdk.set('pdk', process, 'file', 'openroad', 'relax_routing_rules', stackup,
pdkdir + '/apr/openroad_relaxed_rules.tcl')

# Hide the DIEAREA layer 235/*.
pdk.add('pdk', process, 'var', 'klayout', 'hide_layers', stackup, '235/0')
pdk.add('pdk', process, 'var', 'klayout', 'hide_layers', stackup, '235/5')
Expand Down
11 changes: 11 additions & 0 deletions lambdapdk/asap7/base/apr/openroad_relaxed_rules.tcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
utl::warn FLW 1 "Relaxed technology routing rules loaded for ASAP7,\
this should only be used for trial routing"

utl::info FLW 1 "Removing right way on grid only rules"
[[ord::get_db_tech] findLayer M1] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M2] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M3] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M4] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M5] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M6] setRightWayOnGridOnly 0
[[ord::get_db_tech] findLayer M7] setRightWayOnGridOnly 0

0 comments on commit 6082e9d

Please sign in to comment.