lambdapdk 0.1.43__tar.gz → 0.1.45__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lambdapdk-0.1.43/lambdapdk.egg-info → lambdapdk-0.1.45}/PKG-INFO +3 -3
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/__init__.py +63 -1
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/ihp130/libs/sg13g2_stdcell.py +2 -2
- {lambdapdk-0.1.43 → lambdapdk-0.1.45/lambdapdk.egg-info}/PKG-INFO +3 -3
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk.egg-info/SOURCES.txt +1 -0
- lambdapdk-0.1.45/lambdapdk.egg-info/entry_points.txt +4 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk.egg-info/requires.txt +1 -1
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/pyproject.toml +6 -1
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/tests/test_getters.py +19 -8
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/LICENSE +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/MANIFEST.in +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/README.md +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/asap7/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/asap7/libs/asap7sc7p5t.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/asap7/libs/fakeio7.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/asap7/libs/fakeram7.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/freepdk45/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/freepdk45/libs/fakeram45.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/freepdk45/libs/nangate45.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/gf180/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/gf180/libs/gf180io.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/gf180/libs/gf180mcu.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/gf180/libs/gf180sram.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/ihp130/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/ihp130/libs/sg13g2_sram.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/interposer/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/interposer/_generator.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/interposer/libs/bumps.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/sky130/__init__.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/sky130/libs/sky130io.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/sky130/libs/sky130sc.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk/sky130/libs/sky130sram.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk.egg-info/dependency_links.txt +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/lambdapdk.egg-info/top_level.txt +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/setup.cfg +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/tests/test_lambda.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/tests/test_local_detect.py +0 -0
- {lambdapdk-0.1.43 → lambdapdk-0.1.45}/tests/test_paths.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: lambdapdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.45
|
|
4
4
|
Summary: Library of open source Process Design Kits
|
|
5
5
|
Author: Zero ASIC
|
|
6
6
|
License: Apache License
|
|
@@ -206,7 +206,7 @@ Requires-Dist: pytest-timeout==2.3.1; extra == "test"
|
|
|
206
206
|
Requires-Dist: tclint==0.5.0; extra == "test"
|
|
207
207
|
Requires-Dist: lambdalib==0.3.2; extra == "test"
|
|
208
208
|
Requires-Dist: sc-leflib==0.4.0; extra == "test"
|
|
209
|
-
Requires-Dist: Jinja2==3.1.
|
|
209
|
+
Requires-Dist: Jinja2==3.1.5; extra == "test"
|
|
210
210
|
|
|
211
211
|
# Lambdapdk Introduction
|
|
212
212
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import os.path
|
|
1
2
|
import siliconcompiler.package as sc_package
|
|
2
3
|
|
|
3
4
|
|
|
4
|
-
__version__ = "0.1.
|
|
5
|
+
__version__ = "0.1.45"
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
def register_data_source(chip):
|
|
@@ -95,3 +96,64 @@ def get_libs():
|
|
|
95
96
|
all_libs.append(lib.design)
|
|
96
97
|
|
|
97
98
|
return set(all_libs)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def get_docs_codeurl(file=None):
|
|
102
|
+
base_url = f"https://github.com/siliconcompiler/lambdapdk/blob/v{__version__}"
|
|
103
|
+
|
|
104
|
+
if not file:
|
|
105
|
+
return base_url
|
|
106
|
+
|
|
107
|
+
root = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
108
|
+
|
|
109
|
+
def relpath(file):
|
|
110
|
+
file = os.path.abspath(file)
|
|
111
|
+
if file.startswith(root):
|
|
112
|
+
return os.path.relpath(file, root)
|
|
113
|
+
return None
|
|
114
|
+
|
|
115
|
+
if os.path.isabs(file):
|
|
116
|
+
file = relpath(file)
|
|
117
|
+
if not file:
|
|
118
|
+
return None
|
|
119
|
+
|
|
120
|
+
return f"{base_url}/{file}"
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
def get_docs_pdks():
|
|
124
|
+
from lambdapdk import asap7, freepdk45, sky130, gf180, ihp130, interposer
|
|
125
|
+
|
|
126
|
+
return [
|
|
127
|
+
(asap7, "asap7"),
|
|
128
|
+
(freepdk45, "freepdk45"),
|
|
129
|
+
(sky130, "skywater130"),
|
|
130
|
+
(gf180, "gf180"),
|
|
131
|
+
(ihp130, "ihp130"),
|
|
132
|
+
(interposer, "interposer")
|
|
133
|
+
]
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def get_docs_libraries():
|
|
137
|
+
from lambdapdk.asap7.libs import asap7sc7p5t, fakeram7, fakeio7
|
|
138
|
+
from lambdapdk.freepdk45.libs import nangate45, fakeram45
|
|
139
|
+
from lambdapdk.sky130.libs import sky130sc, sky130io, sky130sram
|
|
140
|
+
from lambdapdk.gf180.libs import gf180mcu, gf180io, gf180sram
|
|
141
|
+
from lambdapdk.ihp130.libs import sg13g2_stdcell, sg13g2_sram
|
|
142
|
+
from lambdapdk.interposer.libs import bumps as interposer_bumps
|
|
143
|
+
|
|
144
|
+
return [
|
|
145
|
+
(asap7sc7p5t, "asap7sc7p5t"),
|
|
146
|
+
(fakeram7, "fakeram7"),
|
|
147
|
+
(fakeio7, "fakeio7"),
|
|
148
|
+
(nangate45, "nangate45"),
|
|
149
|
+
(fakeram45, "fakeram45"),
|
|
150
|
+
(sky130sc, "sky130sc"),
|
|
151
|
+
(sky130io, "sky130io"),
|
|
152
|
+
(sky130sram, "sky130sram"),
|
|
153
|
+
(gf180mcu, "gf180mcu"),
|
|
154
|
+
(gf180io, "gf180io"),
|
|
155
|
+
(gf180sram, "gf180sram"),
|
|
156
|
+
(sg13g2_stdcell, "sg13g2_stdcell"),
|
|
157
|
+
(sg13g2_sram, "sg13g2_sram"),
|
|
158
|
+
(interposer_bumps, "interposer_bumps")
|
|
159
|
+
]
|
|
@@ -57,8 +57,8 @@ def setup():
|
|
|
57
57
|
'ihp-sg13g2/libs.ref/sg13g2_stdcell/verilog/sg13g2_stdcell.v')
|
|
58
58
|
|
|
59
59
|
# tie cells
|
|
60
|
-
lib.add('asic', 'cells', 'tie', ["
|
|
61
|
-
"
|
|
60
|
+
lib.add('asic', 'cells', 'tie', ["sg13g2_tiehi",
|
|
61
|
+
"sg13g2_tielo"])
|
|
62
62
|
|
|
63
63
|
# hold cells
|
|
64
64
|
lib.add('asic', 'cells', 'hold', ["sg13g2_dlygate4sd1_1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: lambdapdk
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.45
|
|
4
4
|
Summary: Library of open source Process Design Kits
|
|
5
5
|
Author: Zero ASIC
|
|
6
6
|
License: Apache License
|
|
@@ -206,7 +206,7 @@ Requires-Dist: pytest-timeout==2.3.1; extra == "test"
|
|
|
206
206
|
Requires-Dist: tclint==0.5.0; extra == "test"
|
|
207
207
|
Requires-Dist: lambdalib==0.3.2; extra == "test"
|
|
208
208
|
Requires-Dist: sc-leflib==0.4.0; extra == "test"
|
|
209
|
-
Requires-Dist: Jinja2==3.1.
|
|
209
|
+
Requires-Dist: Jinja2==3.1.5; extra == "test"
|
|
210
210
|
|
|
211
211
|
# Lambdapdk Introduction
|
|
212
212
|
|
|
@@ -20,6 +20,11 @@ dynamic = ['version']
|
|
|
20
20
|
[tool.setuptools.dynamic]
|
|
21
21
|
version = {attr = "lambdapdk.__version__"}
|
|
22
22
|
|
|
23
|
+
[project.entry-points."siliconcompiler.docs"]
|
|
24
|
+
linkcode = "lambdapdk:get_docs_codeurl"
|
|
25
|
+
libs = "lambdapdk:get_docs_libraries"
|
|
26
|
+
pdks = "lambdapdk:get_docs_pdks"
|
|
27
|
+
|
|
23
28
|
[tool.pytest.ini_options]
|
|
24
29
|
testpaths = "tests"
|
|
25
30
|
timeout = "180"
|
|
@@ -33,7 +38,7 @@ test = [
|
|
|
33
38
|
"tclint == 0.5.0",
|
|
34
39
|
"lambdalib == 0.3.2",
|
|
35
40
|
"sc-leflib == 0.4.0",
|
|
36
|
-
"Jinja2 == 3.1.
|
|
41
|
+
"Jinja2 == 3.1.5"
|
|
37
42
|
]
|
|
38
43
|
|
|
39
44
|
[tool.tclint]
|
|
@@ -11,6 +11,16 @@ from lambdapdk.ihp130.libs import sg13g2_stdcell, sg13g2_sram
|
|
|
11
11
|
from lambdapdk.interposer.libs import bumps as interposer_bumps
|
|
12
12
|
|
|
13
13
|
|
|
14
|
+
all_libs = [
|
|
15
|
+
asap7sc7p5t, fakeram7, fakeio7, # asap7
|
|
16
|
+
nangate45, fakeram45, # freepdk45
|
|
17
|
+
sky130sc, sky130io, sky130sram, # sky130
|
|
18
|
+
gf180mcu, gf180io, gf180sram, # gf180
|
|
19
|
+
sg13g2_stdcell, sg13g2_sram, # ihp130
|
|
20
|
+
interposer_bumps # interposer
|
|
21
|
+
]
|
|
22
|
+
|
|
23
|
+
|
|
14
24
|
@pytest.mark.parametrize('pdk', [asap7, freepdk45, sky130, gf180, ihp130, interposer])
|
|
15
25
|
def test_pdk(pdk):
|
|
16
26
|
chip = Chip('<pdk>')
|
|
@@ -20,17 +30,18 @@ def test_pdk(pdk):
|
|
|
20
30
|
assert pdk in pdks, f'{pdk} not in getter list'
|
|
21
31
|
|
|
22
32
|
|
|
23
|
-
@pytest.mark.parametrize('lib',
|
|
24
|
-
asap7sc7p5t, fakeram7, fakeio7, # asap7
|
|
25
|
-
nangate45, fakeram45, # freepdk45
|
|
26
|
-
sky130sc, sky130io, sky130sram, # sky130
|
|
27
|
-
gf180mcu, gf180io, gf180sram, # gf180
|
|
28
|
-
sg13g2_stdcell, sg13g2_sram, # ihp130
|
|
29
|
-
interposer_bumps # interposer
|
|
30
|
-
])
|
|
33
|
+
@pytest.mark.parametrize('lib', all_libs)
|
|
31
34
|
def test_lib(lib):
|
|
32
35
|
chip = Chip('<lib>')
|
|
33
36
|
chip.use(lib)
|
|
34
37
|
libs = lambdapdk.get_libs()
|
|
35
38
|
for lib in chip.getkeys('library'):
|
|
36
39
|
assert lib in libs, f'{lib} not in getter list'
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def test_get_docs_pdks():
|
|
43
|
+
assert len(lambdapdk.get_pdks()) == len(lambdapdk.get_docs_pdks())
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def test_get_docs_libraries():
|
|
47
|
+
assert len(all_libs) == len(lambdapdk.get_docs_libraries())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|