-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split into seperate importable modules
- Loading branch information
Showing
13 changed files
with
218 additions
and
52 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import siliconcompiler.package as sc_package | ||
|
||
|
||
_version = "0.2.7" | ||
|
||
|
||
def register_data_source(chip): | ||
sc_package.register_python_data_source( | ||
chip, | ||
"lambdalib", | ||
"lambdalib", | ||
"git+https://github.com/siliconcompiler/lambdalib.git", | ||
alternative_ref=f"v{_version}", | ||
python_module_path_append="..") |
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,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib auxlib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_auxlib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/auxlib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib fpgalib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_fpgalib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/fpgalib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib iolib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_iolib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/iolib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib pandring | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_padring', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'idir', "lambdalib/padring/rtl") | ||
lib.add('option', 'ydir', "lambdalib/padring/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib ramlib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_ramlib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/ramlib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib stdlib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_stdlib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/stdlib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib syslib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_syslib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/syslib/rtl") | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from siliconcompiler import Library | ||
from lambdalib._common import register_data_source | ||
|
||
|
||
######################## | ||
# SiliconCompiler Setup | ||
######################## | ||
def setup(chip): | ||
''' | ||
Lambdalib vectorlib | ||
''' | ||
|
||
lib = Library(chip, 'lambdalib_vectorlib', package='lambdalib', auto_enable=True) | ||
register_data_source(lib) | ||
|
||
lib.add('option', 'ydir', "lambdalib/vectorlib/rtl") | ||
|
||
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