Skip to content

Commit

Permalink
Merge branch 'main' of github.com:zeroasiccorp/umi
Browse files Browse the repository at this point in the history
  • Loading branch information
aolofsson committed Aug 29, 2024
2 parents b208419 + 4b92fb3 commit e4dd8cf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ urls = {Homepage = "https://github.com/zeroasiccorp/umi"}
requires-python = ">= 3.8"
license = {file = "LICENSE"}
dependencies = [
"siliconcompiler>=0.26.0",
"lambdalib>=0.2.9, <0.2.10"
"siliconcompiler>=0.27.0",
"lambdalib>=0.2.10, <0.2.11"
]
dynamic = [
"version"
Expand Down
8 changes: 4 additions & 4 deletions umi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from umi import sumi, lumi


__version__ = "0.1.3"
__version__ = "0.1.4"


def setup(chip):
def setup():
return [
sumi.setup(chip),
lumi.setup(chip)
sumi.setup(),
lumi.setup()
]
5 changes: 2 additions & 3 deletions umi/lumi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
from lambdalib import auxlib, ramlib


def setup(chip):
lib = Library(chip, "lumi", package="umi", auto_enable=True)
lib.register_source("umi", "python://umi")
def setup():
lib = Library("lumi", package=("umi", "python://umi"), auto_enable=True)

lib.add("option", "idir", "lumi/rtl")
lib.add("option", "ydir", "lumi/rtl")
Expand Down
5 changes: 2 additions & 3 deletions umi/sumi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
from lambdalib import auxlib, ramlib, vectorlib


def setup(chip):
lib = Library(chip, "sumi", package="umi", auto_enable=True)
lib.register_source("umi", "python://umi")
def setup():
lib = Library("sumi", package=("umi", "python://umi"), auto_enable=True)

lib.add("option", "idir", "sumi/rtl")
lib.add("option", "ydir", "sumi/rtl")
Expand Down

0 comments on commit e4dd8cf

Please sign in to comment.