Skip to content

Commit

Permalink
Merge pull request #51 from siliconcompiler/fix-hier
Browse files Browse the repository at this point in the history
fix run
  • Loading branch information
gadfort authored Aug 29, 2024
2 parents 29b5f14 + 1d33b05 commit 1177659
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions make.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

# Libraries
from lambdapdk.sky130.libs import sky130sram, sky130io
from siliconcompiler.targets import skywater130_demo
from siliconcompiler.targets import skywater130_demo, fpgaflow_demo

from siliconcompiler.tools.openroad import openroad
from siliconcompiler.tools._common import get_tool_tasks as _get_tool_tasks
Expand Down Expand Up @@ -50,7 +50,7 @@ def build_fpga():
chip = siliconcompiler.Chip('top_icebreaker')

chip.set('fpga', 'partname', 'ice40up5k-sg48')
chip.load_target('fpgaflow_demo')
chip.use(fpgaflow_demo, partname='ice40up5k-sg48')

chip.use(zerosoc_core)

Expand All @@ -67,7 +67,7 @@ def _setup_core():
chip = siliconcompiler.Chip('zerosoc_core')
chip.set('option', 'entrypoint', 'asic_core')

chip.load_target(skywater130_demo)
chip.use(skywater130_demo)

chip.add('option', 'define', 'SYNTHESIS')
chip.use(zerosoc_core)
Expand Down Expand Up @@ -146,7 +146,7 @@ def _setup_top_flat():
chip = siliconcompiler.Chip('zerosoc')
chip.set('option', 'entrypoint', 'asic_top')

chip.load_target(skywater130_demo)
chip.use(skywater130_demo)
chip.set('option', 'flow', 'asicflow')

chip.add('option', 'define', 'SYNTHESIS')
Expand Down Expand Up @@ -186,14 +186,14 @@ def _setup_top_hier(core_chip):
if not os.path.exists(ASIC_CORE_CFG):
print(f"'{ASIC_CORE_CFG}' has not been generated.", file=sys.stderr)
return
core_chip = siliconcompiler.Library(chip, 'zerosoc_core')
core_chip = siliconcompiler.Library('zerosoc_core')
core_chip.read_manifest(ASIC_CORE_CFG)
core_chip.set('design', 'asic_zerosoc_core')
core_chip.set('design', 'asic_zerosoc_core')

chip = siliconcompiler.Chip('zerosoc_top')
chip.set('option', 'entrypoint', 'asic_top')

chip.load_target(skywater130_demo)
chip.use(skywater130_demo)
chip.set('option', 'flow', 'asicflow')

chip.use(core_chip)
Expand Down

0 comments on commit 1177659

Please sign in to comment.