Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change to release with source files #68

Merged
merged 2 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ prune .github
prune scripts
prune docs
prune tests
prune lambdalib/padring/
prune lambdalib/*lib/
2 changes: 1 addition & 1 deletion lambdalib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __get_lambdalib_dir(la_lib):
path_assert = Chip('lambdalib')
_common.register_data_source(path_assert)
lambdalib_path = sc_package.path(path_assert, 'lambdalib')
return f'{lambdalib_path}/lambdalib/{la_lib}/rtl'
return f'{lambdalib_path}/{la_lib}/rtl'


def check(outputpath, la_lib='stdlib'):
Expand Down
13 changes: 2 additions & 11 deletions lambdalib/_common.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
import siliconcompiler.package as sc_package


_version = "0.2.8"
_version = "0.2.9"


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="..")
chip.register_source("lambdalib", "python://lambdalib")
2 changes: 1 addition & 1 deletion lambdalib/auxlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def setup(chip):
lib = Library(chip, 'lambdalib_auxlib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/auxlib/rtl")
lib.add('option', 'ydir', "auxlib/rtl")

lib.use(stdlib)

Expand Down
2 changes: 1 addition & 1 deletion lambdalib/fpgalib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def setup(chip):
lib = Library(chip, 'lambdalib_fpgalib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/fpgalib/rtl")
lib.add('option', 'ydir', "fpgalib/rtl")

return lib
2 changes: 1 addition & 1 deletion lambdalib/iolib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def setup(chip):
lib = Library(chip, 'lambdalib_iolib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/iolib/rtl")
lib.add('option', 'ydir', "iolib/rtl")

return lib
4 changes: 2 additions & 2 deletions lambdalib/padring/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def setup(chip):
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")
lib.add('option', 'idir', "padring/rtl")
lib.add('option', 'ydir', "padring/rtl")

lib.use(iolib)

Expand Down
2 changes: 1 addition & 1 deletion lambdalib/ramlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def setup(chip):
lib = Library(chip, 'lambdalib_ramlib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/ramlib/rtl")
lib.add('option', 'ydir', "ramlib/rtl")

lib.use(auxlib)

Expand Down
2 changes: 1 addition & 1 deletion lambdalib/stdlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def setup(chip):
lib = Library(chip, 'lambdalib_stdlib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/stdlib/rtl")
lib.add('option', 'ydir', "stdlib/rtl")

return lib
2 changes: 1 addition & 1 deletion lambdalib/syslib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ def setup(chip):
lib = Library(chip, 'lambdalib_syslib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/syslib/rtl")
lib.add('option', 'ydir', "syslib/rtl")

return lib
2 changes: 1 addition & 1 deletion lambdalib/vectorlib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def setup(chip):
lib = Library(chip, 'lambdalib_vectorlib', package='lambdalib', auto_enable=True)
register_data_source(lib)

lib.add('option', 'ydir', "lambdalib/vectorlib/rtl")
lib.add('option', 'ydir', "vectorlib/rtl")

lib.use(stdlib)

Expand Down