Skip to content

Commit

Permalink
Merge pull request #29 from siliconcompiler/psm-fix
Browse files Browse the repository at this point in the history
psm: add nets to ignore for PSM
  • Loading branch information
gadfort authored Jul 19, 2023
2 parents 450ae7e + 87254b6 commit b701168
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
from siliconcompiler.libs import sky130io
import libs.sky130sram

from siliconcompiler.tools.openroad import openroad

from floorplan import generate_core_floorplan, generate_top_floorplan, generate_top_flat_floorplan

ASIC_CORE_CFG = 'zerosoc_core.pkg.json'
Expand Down Expand Up @@ -272,6 +274,9 @@ def configure_top_flat_chip(resume=False):

# OpenROAD settings
chip.set('tool', 'openroad', 'task', 'route', 'var', 'grt_macro_extension', '0')
for task in chip._get_tool_tasks(openroad):
chip.add('tool', 'openroad', 'task', task, 'var', 'psm_skip_nets', 'padring.*')
chip.add('tool', 'openroad', 'task', task, 'var', 'psm_skip_nets', 'v*io')

chip.clock(r'padring.we_pads\[0\].i0.padio\[5\].i0.gpio/IN', period=CORE_CLK)

Expand Down Expand Up @@ -320,6 +325,10 @@ def configure_top_chip(core_chip=None, resume=False):
# OpenROAD settings
chip.set('tool', 'openroad', 'task', 'route', 'var', 'grt_macro_extension', '0')

for task in chip._get_tool_tasks(openroad):
chip.add('tool', 'openroad', 'task', task, 'var', 'psm_skip_nets', 'padring.*')
chip.add('tool', 'openroad', 'task', task, 'var', 'psm_skip_nets', 'v*io')

return chip


Expand Down

0 comments on commit b701168

Please sign in to comment.