Skip to content

Commit

Permalink
Merge pull request #112 from siliconcompiler/entrypoint
Browse files Browse the repository at this point in the history
switch to use step, index on entrypoint access
  • Loading branch information
gadfort authored Jul 24, 2024
2 parents 07488f6 + e3481f5 commit 988df20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scgallery/gallery.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import fnmatch

import siliconcompiler
from siliconcompiler import Schema
from siliconcompiler.utils import default_credentials_file
from siliconcompiler.targets import \
asap7_demo, \
Expand Down Expand Up @@ -483,7 +484,7 @@ def __setup_run_chip(self, chip, name, jobsuffix=None):
chip.set('option', 'credentials', self.__remote)
chip.set('option', 'remote', True)

if not chip.get('option', 'entrypoint'):
if not chip.get('option', 'entrypoint', step=Schema.GLOBAL_KEY, index=Schema.GLOBAL_KEY):
chip.set('option', 'entrypoint', chip.design)
chip.set('design', name)

Expand Down

0 comments on commit 988df20

Please sign in to comment.