-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from zeroasiccorp/update-sc
update to new SC
- Loading branch information
Showing
22 changed files
with
72 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,11 @@ | ||
from siliconcompiler import Library | ||
import lambdalib | ||
from umi import umi, lumi | ||
|
||
|
||
__version__ = "0.1.1" | ||
|
||
|
||
def _register_umi(lib): | ||
lib.register_source("umi", "python://umi") | ||
|
||
|
||
def setup(chip): | ||
libs = [] | ||
|
||
for name in ('umi', 'lumi'): | ||
lib = Library(chip, name, package="umi") | ||
_register_umi(lib) | ||
lib.use(lambdalib) | ||
|
||
lib.add("option", "idir", f"{name}/rtl") | ||
lib.add("option", "ydir", f"{name}/rtl") | ||
|
||
lib.add("option", "idir", "utils/rtl") | ||
lib.add("option", "ydir", "utils/rtl") | ||
|
||
libs.append(lib) | ||
|
||
return libs | ||
return [ | ||
umi.setup(chip), | ||
lumi.setup(chip) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from siliconcompiler import Library | ||
from umi import umi | ||
from lambdalib import auxlib, ramlib | ||
|
||
|
||
def setup(chip): | ||
lib = Library(chip, "lumi", package="umi", auto_enable=True) | ||
lib.register_source("umi", "python://umi") | ||
|
||
lib.add("option", "idir", "lumi/rtl") | ||
lib.add("option", "ydir", "lumi/rtl") | ||
|
||
lib.add("option", "idir", "utils/rtl") | ||
lib.add("option", "ydir", "utils/rtl") | ||
|
||
lib.use(umi) | ||
|
||
lib.use(auxlib) | ||
lib.use(ramlib) | ||
|
||
return lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from siliconcompiler import Library | ||
from lambdalib import auxlib, ramlib, vectorlib | ||
|
||
|
||
def setup(chip): | ||
lib = Library(chip, "umi", package="umi", auto_enable=True) | ||
lib.register_source("umi", "python://umi") | ||
|
||
lib.add("option", "idir", "umi/rtl") | ||
lib.add("option", "ydir", "umi/rtl") | ||
|
||
lib.add("option", "idir", "utils/rtl") | ||
lib.add("option", "ydir", "utils/rtl") | ||
|
||
lib.use(auxlib) | ||
lib.use(ramlib) | ||
lib.use(vectorlib) | ||
|
||
return lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.