Skip to content

Commit

Permalink
Merge pull request #50 from siliconcompiler/simplify-libs
Browse files Browse the repository at this point in the history
Simplify libs
  • Loading branch information
gadfort authored Aug 28, 2024
2 parents 41a7179 + dd6f3c8 commit 29b5f14
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions opentitan.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from siliconcompiler import Library


def setup(chip):
lib = Library(chip, "opentitan", package='opentitan', auto_enable=True)
def setup():
lib = Library("opentitan", package='opentitan', auto_enable=True)
lib.register_source(
name='opentitan',
path='git+https://github.com/lowRISC/opentitan.git',
Expand Down
2 changes: 1 addition & 1 deletion python-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
bin2coe
hjson
mako
siliconcompiler >= 0.26.2
siliconcompiler >= 0.27.0
lambdapdk >= 0.1.26
lambdalib >= 0.2.7
4 changes: 2 additions & 2 deletions zerosoc_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
from lambdalib import ramlib


def setup(chip):
lib = Library(chip, "zerosoc_core", package='zerosoc', auto_enable=True)
def setup():
lib = Library("zerosoc_core", package='zerosoc', auto_enable=True)
lib.register_source(
name='zerosoc',
path=os.path.abspath(os.path.dirname(__file__)))
Expand Down
4 changes: 2 additions & 2 deletions zerosoc_top.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import zerosoc_core


def setup(chip):
lib = Library(chip, 'zerosoc_top', package='zerosoc', auto_enable=True)
def setup():
lib = Library('zerosoc_top', package='zerosoc', auto_enable=True)
lib.register_source(
name='zerosoc',
path=os.path.abspath(os.path.dirname(__file__)))
Expand Down

0 comments on commit 29b5f14

Please sign in to comment.