Skip to content

Commit

Permalink
Merge pull request #68 from siliconcompiler/fix
Browse files Browse the repository at this point in the history
change to release with source files
  • Loading branch information
gadfort authored Jul 30, 2024
2 parents c0aae8d + 84b8434 commit 86660f9
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 23 deletions.
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

0 comments on commit 86660f9

Please sign in to comment.