From 19e4ab85bf0714d81c7e910c7e50f7a5dc86d8ec Mon Sep 17 00:00:00 2001 From: Peter Gadfort Date: Tue, 27 Aug 2024 21:24:02 -0400 Subject: [PATCH 1/3] simplify libs --- umi/__init__.py | 6 +++--- umi/lumi/__init__.py | 5 ++--- umi/sumi/__init__.py | 5 ++--- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/umi/__init__.py b/umi/__init__.py index a7e19e9d..80834402 100644 --- a/umi/__init__.py +++ b/umi/__init__.py @@ -4,8 +4,8 @@ __version__ = "0.1.3" -def setup(chip): +def setup(): return [ - sumi.setup(chip), - lumi.setup(chip) + sumi.setup(), + lumi.setup() ] diff --git a/umi/lumi/__init__.py b/umi/lumi/__init__.py index 72361f79..10393fdb 100644 --- a/umi/lumi/__init__.py +++ b/umi/lumi/__init__.py @@ -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") diff --git a/umi/sumi/__init__.py b/umi/sumi/__init__.py index b158ec9a..97262621 100644 --- a/umi/sumi/__init__.py +++ b/umi/sumi/__init__.py @@ -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") From a6952949c18609726745d7f867a2261dab4f7ce3 Mon Sep 17 00:00:00 2001 From: Peter Gadfort Date: Wed, 28 Aug 2024 16:08:42 -0400 Subject: [PATCH 2/3] update sc --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 00fca461..1651886a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" From 4b92fb336b56eda9bb65a6403ddf6f7d59874eac Mon Sep 17 00:00:00 2001 From: Peter <46405338+gadfort@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:33:29 -0400 Subject: [PATCH 3/3] version 0.1.4 --- umi/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umi/__init__.py b/umi/__init__.py index 80834402..939c0b13 100644 --- a/umi/__init__.py +++ b/umi/__init__.py @@ -1,7 +1,7 @@ from umi import sumi, lumi -__version__ = "0.1.3" +__version__ = "0.1.4" def setup():