pdksetup 0.3.1__tar.gz → 0.3.2__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.
- {pdksetup-0.3.1 → pdksetup-0.3.2}/PKG-INFO +13 -20
- {pdksetup-0.3.1 → pdksetup-0.3.2}/README.md +12 -19
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/cli.py +1 -1
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/registry.py +0 -13
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/PKG-INFO +13 -20
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pyproject.toml +1 -1
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_cli.py +2 -4
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_registry.py +7 -2
- {pdksetup-0.3.1 → pdksetup-0.3.2}/LICENSE +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/__init__.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/config.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/installers/__init__.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/installers/base.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/installers/custom.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/installers/iic.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/installers/volare.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/state.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup/updater.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/SOURCES.txt +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/dependency_links.txt +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/entry_points.txt +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/requires.txt +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/pdksetup.egg-info/top_level.txt +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/setup.cfg +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_config.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_scan_release.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_state.py +0 -0
- {pdksetup-0.3.1 → pdksetup-0.3.2}/tests/test_updater.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pdksetup
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: CLI for installing and managing open-source Process Design Kits (PDKs) for IC design
|
|
5
5
|
Author-email: Levant Labs <info@levant-labs.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -35,7 +35,7 @@ Dynamic: license-file
|
|
|
35
35
|
|
|
36
36
|
# PDK Setup
|
|
37
37
|
|
|
38
|
-
A CLI tool for installing and managing
|
|
38
|
+
A CLI tool for installing and managing 9 open-source Process Design Kits (PDKs): 7 fabricatable PDKs (which can produce real silicon) plus 2 simulation-only / predictive PDKs (for flow development, PPA studies, and education).
|
|
39
39
|
|
|
40
40
|
## Quick Start
|
|
41
41
|
|
|
@@ -50,7 +50,7 @@ pdk install --all
|
|
|
50
50
|
|
|
51
51
|
**Development:** clone the repo, then run `pip install -e ".[dev]"` and `pytest`.
|
|
52
52
|
|
|
53
|
-
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all
|
|
53
|
+
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all nine (seven fabricatable plus two simulation-only).
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
@@ -187,13 +187,6 @@ These are flagged `SIMULATION` in `pdk status`. They're **excluded** from `pdk i
|
|
|
187
187
|
<a id="asap7-licences"></a>
|
|
188
188
|
**ASAP7 licences.** ASAP7 PDK and cell libraries: BSD-3-Clause (© 2020 L. T. Clark, V. Vashishtha, Arizona State University). IIC-OSIC-TOOLS recipe and overlay: Apache-2.0 (H. Pretl, JKU). ASAP7_for_KLayout: BSD-2-Clause. OpenROAD-flow-scripts files: see `libs.tech/librelane/common/LICENSE.orfs`. **BSIM-CMG 107.0.0** (compiled on your machine from CedarEDA/CMC.jl): © 2012 Regents of the University of California, royalty-free with conditions. No charge for the UC code itself. Acknowledge UC in documentation of products based on it. Obey U.S. export rules. Reproduce its copyright notices. The full text is in `$PDK_ROOT/asap7/libs.tech/verilog-a/bsimcmg/`. BSIM-CMG was developed by the BSIM Group at the University of California, Berkeley (Prof. Chenming Hu). This summary is not legal advice.
|
|
189
189
|
|
|
190
|
-
#### ASAP5 — 5nm FinFET predictive 🧪 SIMULATION
|
|
191
|
-
- **Source:** https://github.com/The-OpenROAD-Project-Attic/ASAP5
|
|
192
|
-
- **Maintainer:** Arizona State University
|
|
193
|
-
- **Runtime tools:** klayout, openroad, yosys
|
|
194
|
-
- **License:** BSD-3-Clause
|
|
195
|
-
- **Notes:** Follow-on to ASAP7 at 5nm. Less broadly used than ASAP7; "attic" repo status.
|
|
196
|
-
|
|
197
190
|
#### FreePDK45 — 45nm Bulk CMOS predictive 🧪 SIMULATION
|
|
198
191
|
- **Source:** https://github.com/mflowgen/freepdk-45nm
|
|
199
192
|
- **Maintainer:** mflowgen repackage of NCSU FreePDK45
|
|
@@ -223,7 +216,7 @@ Install a PDK, or install many with `--all`.
|
|
|
223
216
|
|
|
224
217
|
| Option | Description |
|
|
225
218
|
|---|---|
|
|
226
|
-
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7,
|
|
219
|
+
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7, FreePDK45) are excluded unless `--include-simulation` is also passed |
|
|
227
220
|
| `--skip-experimental` | With `--all`, skip SKY90FD and ICsprout 55nm |
|
|
228
221
|
| `--include-simulation` | With `--all`, also install simulation-only PDKs |
|
|
229
222
|
| `--version TEXT` | Pin a specific version: a volare version for sky130/gf180mcu, or an IIC-OSIC-TOOLS commit or branch for asap7. Errors if combined with any other PDK |
|
|
@@ -236,7 +229,7 @@ pdk install sky130 --version 0.0.486 # pin a version (volare)
|
|
|
236
229
|
pdk install asap7 --version next_release # asap7 from the IIC branch head
|
|
237
230
|
pdk install --all # all fabricatable PDKs (7 total)
|
|
238
231
|
pdk install --all --skip-experimental # stable fabricatable only
|
|
239
|
-
pdk install --all --include-simulation # fabricatable + ASAP7/
|
|
232
|
+
pdk install --all --include-simulation # fabricatable + ASAP7/FreePDK45
|
|
240
233
|
pdk install --all --skip-experimental --include-simulation # stable fab + simulation
|
|
241
234
|
pdk install sky130 --pdk-root /opt/pdks # install into a different root
|
|
242
235
|
```
|
|
@@ -257,7 +250,7 @@ Volare-managed PDKs (sky130, gf180mcu) are refused — volare owns those files;
|
|
|
257
250
|
Show installation status for every known PDK, or for one specific PDK. Experimental PDKs are flagged in a separate column.
|
|
258
251
|
|
|
259
252
|
```bash
|
|
260
|
-
pdk status # table of all
|
|
253
|
+
pdk status # table of all 9 PDKs (fabricatable + simulation)
|
|
261
254
|
pdk status sky130 # just one row
|
|
262
255
|
```
|
|
263
256
|
|
|
@@ -390,13 +383,13 @@ Fabricatable PDKs:
|
|
|
390
383
|
|
|
391
384
|
Simulation-only PDKs:
|
|
392
385
|
|
|
393
|
-
| Tool | asap7 |
|
|
394
|
-
|
|
395
|
-
| KLayout | ✓ | ✓ |
|
|
396
|
-
| ngspice | ✓ (≥ 44) |
|
|
397
|
-
| Xyce | ✓ | — |
|
|
398
|
-
| OpenROAD | ✓ (primary) | ✓
|
|
399
|
-
| Yosys | ✓ | ✓ |
|
|
386
|
+
| Tool | asap7 | freepdk45 |
|
|
387
|
+
|---|---|---|
|
|
388
|
+
| KLayout | ✓ | ✓ |
|
|
389
|
+
| ngspice | ✓ (≥ 44) | ✓ |
|
|
390
|
+
| Xyce | ✓ | — |
|
|
391
|
+
| OpenROAD | ✓ (primary) | ✓ |
|
|
392
|
+
| Yosys | ✓ | ✓ |
|
|
400
393
|
|
|
401
394
|
---
|
|
402
395
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# PDK Setup
|
|
2
2
|
|
|
3
|
-
A CLI tool for installing and managing
|
|
3
|
+
A CLI tool for installing and managing 9 open-source Process Design Kits (PDKs): 7 fabricatable PDKs (which can produce real silicon) plus 2 simulation-only / predictive PDKs (for flow development, PPA studies, and education).
|
|
4
4
|
|
|
5
5
|
## Quick Start
|
|
6
6
|
|
|
@@ -15,7 +15,7 @@ pdk install --all
|
|
|
15
15
|
|
|
16
16
|
**Development:** clone the repo, then run `pip install -e ".[dev]"` and `pytest`.
|
|
17
17
|
|
|
18
|
-
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all
|
|
18
|
+
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all nine (seven fabricatable plus two simulation-only).
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -152,13 +152,6 @@ These are flagged `SIMULATION` in `pdk status`. They're **excluded** from `pdk i
|
|
|
152
152
|
<a id="asap7-licences"></a>
|
|
153
153
|
**ASAP7 licences.** ASAP7 PDK and cell libraries: BSD-3-Clause (© 2020 L. T. Clark, V. Vashishtha, Arizona State University). IIC-OSIC-TOOLS recipe and overlay: Apache-2.0 (H. Pretl, JKU). ASAP7_for_KLayout: BSD-2-Clause. OpenROAD-flow-scripts files: see `libs.tech/librelane/common/LICENSE.orfs`. **BSIM-CMG 107.0.0** (compiled on your machine from CedarEDA/CMC.jl): © 2012 Regents of the University of California, royalty-free with conditions. No charge for the UC code itself. Acknowledge UC in documentation of products based on it. Obey U.S. export rules. Reproduce its copyright notices. The full text is in `$PDK_ROOT/asap7/libs.tech/verilog-a/bsimcmg/`. BSIM-CMG was developed by the BSIM Group at the University of California, Berkeley (Prof. Chenming Hu). This summary is not legal advice.
|
|
154
154
|
|
|
155
|
-
#### ASAP5 — 5nm FinFET predictive 🧪 SIMULATION
|
|
156
|
-
- **Source:** https://github.com/The-OpenROAD-Project-Attic/ASAP5
|
|
157
|
-
- **Maintainer:** Arizona State University
|
|
158
|
-
- **Runtime tools:** klayout, openroad, yosys
|
|
159
|
-
- **License:** BSD-3-Clause
|
|
160
|
-
- **Notes:** Follow-on to ASAP7 at 5nm. Less broadly used than ASAP7; "attic" repo status.
|
|
161
|
-
|
|
162
155
|
#### FreePDK45 — 45nm Bulk CMOS predictive 🧪 SIMULATION
|
|
163
156
|
- **Source:** https://github.com/mflowgen/freepdk-45nm
|
|
164
157
|
- **Maintainer:** mflowgen repackage of NCSU FreePDK45
|
|
@@ -188,7 +181,7 @@ Install a PDK, or install many with `--all`.
|
|
|
188
181
|
|
|
189
182
|
| Option | Description |
|
|
190
183
|
|---|---|
|
|
191
|
-
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7,
|
|
184
|
+
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7, FreePDK45) are excluded unless `--include-simulation` is also passed |
|
|
192
185
|
| `--skip-experimental` | With `--all`, skip SKY90FD and ICsprout 55nm |
|
|
193
186
|
| `--include-simulation` | With `--all`, also install simulation-only PDKs |
|
|
194
187
|
| `--version TEXT` | Pin a specific version: a volare version for sky130/gf180mcu, or an IIC-OSIC-TOOLS commit or branch for asap7. Errors if combined with any other PDK |
|
|
@@ -201,7 +194,7 @@ pdk install sky130 --version 0.0.486 # pin a version (volare)
|
|
|
201
194
|
pdk install asap7 --version next_release # asap7 from the IIC branch head
|
|
202
195
|
pdk install --all # all fabricatable PDKs (7 total)
|
|
203
196
|
pdk install --all --skip-experimental # stable fabricatable only
|
|
204
|
-
pdk install --all --include-simulation # fabricatable + ASAP7/
|
|
197
|
+
pdk install --all --include-simulation # fabricatable + ASAP7/FreePDK45
|
|
205
198
|
pdk install --all --skip-experimental --include-simulation # stable fab + simulation
|
|
206
199
|
pdk install sky130 --pdk-root /opt/pdks # install into a different root
|
|
207
200
|
```
|
|
@@ -222,7 +215,7 @@ Volare-managed PDKs (sky130, gf180mcu) are refused — volare owns those files;
|
|
|
222
215
|
Show installation status for every known PDK, or for one specific PDK. Experimental PDKs are flagged in a separate column.
|
|
223
216
|
|
|
224
217
|
```bash
|
|
225
|
-
pdk status # table of all
|
|
218
|
+
pdk status # table of all 9 PDKs (fabricatable + simulation)
|
|
226
219
|
pdk status sky130 # just one row
|
|
227
220
|
```
|
|
228
221
|
|
|
@@ -355,13 +348,13 @@ Fabricatable PDKs:
|
|
|
355
348
|
|
|
356
349
|
Simulation-only PDKs:
|
|
357
350
|
|
|
358
|
-
| Tool | asap7 |
|
|
359
|
-
|
|
360
|
-
| KLayout | ✓ | ✓ |
|
|
361
|
-
| ngspice | ✓ (≥ 44) |
|
|
362
|
-
| Xyce | ✓ | — |
|
|
363
|
-
| OpenROAD | ✓ (primary) | ✓
|
|
364
|
-
| Yosys | ✓ | ✓ |
|
|
351
|
+
| Tool | asap7 | freepdk45 |
|
|
352
|
+
|---|---|---|
|
|
353
|
+
| KLayout | ✓ | ✓ |
|
|
354
|
+
| ngspice | ✓ (≥ 44) | ✓ |
|
|
355
|
+
| Xyce | ✓ | — |
|
|
356
|
+
| OpenROAD | ✓ (primary) | ✓ |
|
|
357
|
+
| Yosys | ✓ | ✓ |
|
|
365
358
|
|
|
366
359
|
---
|
|
367
360
|
|
|
@@ -335,7 +335,7 @@ def main(ctx: click.Context, pdk_root: str | None, config_path: str | None) -> N
|
|
|
335
335
|
@click.option(
|
|
336
336
|
"--include-simulation",
|
|
337
337
|
is_flag=True,
|
|
338
|
-
help="Include simulation-only PDKs (ASAP7,
|
|
338
|
+
help="Include simulation-only PDKs (ASAP7, FreePDK45) when using --all.",
|
|
339
339
|
)
|
|
340
340
|
@click.option(
|
|
341
341
|
"--version",
|
|
@@ -288,19 +288,6 @@ REGISTRY: list[PDKEntry] = [
|
|
|
288
288
|
post_install_ready_note=ASAP7_SIM_READY_NOTE,
|
|
289
289
|
runtime_tool_min_versions=(NGSPICE_OSDI_MIN,),
|
|
290
290
|
),
|
|
291
|
-
PDKEntry(
|
|
292
|
-
name="asap5",
|
|
293
|
-
display_name="ASAP5 (predictive)",
|
|
294
|
-
node="5nm",
|
|
295
|
-
technology="FinFET predictive",
|
|
296
|
-
foundry="Arizona State University (academic)",
|
|
297
|
-
install_strategy="custom",
|
|
298
|
-
source_url="https://github.com/The-OpenROAD-Project-Attic/ASAP5",
|
|
299
|
-
license="BSD-3-Clause",
|
|
300
|
-
runtime_tools=("klayout", "openroad", "yosys"),
|
|
301
|
-
version_source="github_commit",
|
|
302
|
-
fabricatable=False,
|
|
303
|
-
),
|
|
304
291
|
PDKEntry(
|
|
305
292
|
name="freepdk45",
|
|
306
293
|
display_name="FreePDK45 (predictive)",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pdksetup
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: CLI for installing and managing open-source Process Design Kits (PDKs) for IC design
|
|
5
5
|
Author-email: Levant Labs <info@levant-labs.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -35,7 +35,7 @@ Dynamic: license-file
|
|
|
35
35
|
|
|
36
36
|
# PDK Setup
|
|
37
37
|
|
|
38
|
-
A CLI tool for installing and managing
|
|
38
|
+
A CLI tool for installing and managing 9 open-source Process Design Kits (PDKs): 7 fabricatable PDKs (which can produce real silicon) plus 2 simulation-only / predictive PDKs (for flow development, PPA studies, and education).
|
|
39
39
|
|
|
40
40
|
## Quick Start
|
|
41
41
|
|
|
@@ -50,7 +50,7 @@ pdk install --all
|
|
|
50
50
|
|
|
51
51
|
**Development:** clone the repo, then run `pip install -e ".[dev]"` and `pytest`.
|
|
52
52
|
|
|
53
|
-
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all
|
|
53
|
+
**Recommended for SKY130, GF180MCU, and IHP SG13G2:** Use [IIC-OSIC-TOOLS](https://github.com/iic-jku/IIC-OSIC-TOOLS), a Docker image that ships all three with their full EDA tool stacks pre-installed. This tool complements it by covering the remaining PDKs and providing unified status/update commands across all nine (seven fabricatable plus two simulation-only).
|
|
54
54
|
|
|
55
55
|
---
|
|
56
56
|
|
|
@@ -187,13 +187,6 @@ These are flagged `SIMULATION` in `pdk status`. They're **excluded** from `pdk i
|
|
|
187
187
|
<a id="asap7-licences"></a>
|
|
188
188
|
**ASAP7 licences.** ASAP7 PDK and cell libraries: BSD-3-Clause (© 2020 L. T. Clark, V. Vashishtha, Arizona State University). IIC-OSIC-TOOLS recipe and overlay: Apache-2.0 (H. Pretl, JKU). ASAP7_for_KLayout: BSD-2-Clause. OpenROAD-flow-scripts files: see `libs.tech/librelane/common/LICENSE.orfs`. **BSIM-CMG 107.0.0** (compiled on your machine from CedarEDA/CMC.jl): © 2012 Regents of the University of California, royalty-free with conditions. No charge for the UC code itself. Acknowledge UC in documentation of products based on it. Obey U.S. export rules. Reproduce its copyright notices. The full text is in `$PDK_ROOT/asap7/libs.tech/verilog-a/bsimcmg/`. BSIM-CMG was developed by the BSIM Group at the University of California, Berkeley (Prof. Chenming Hu). This summary is not legal advice.
|
|
189
189
|
|
|
190
|
-
#### ASAP5 — 5nm FinFET predictive 🧪 SIMULATION
|
|
191
|
-
- **Source:** https://github.com/The-OpenROAD-Project-Attic/ASAP5
|
|
192
|
-
- **Maintainer:** Arizona State University
|
|
193
|
-
- **Runtime tools:** klayout, openroad, yosys
|
|
194
|
-
- **License:** BSD-3-Clause
|
|
195
|
-
- **Notes:** Follow-on to ASAP7 at 5nm. Less broadly used than ASAP7; "attic" repo status.
|
|
196
|
-
|
|
197
190
|
#### FreePDK45 — 45nm Bulk CMOS predictive 🧪 SIMULATION
|
|
198
191
|
- **Source:** https://github.com/mflowgen/freepdk-45nm
|
|
199
192
|
- **Maintainer:** mflowgen repackage of NCSU FreePDK45
|
|
@@ -223,7 +216,7 @@ Install a PDK, or install many with `--all`.
|
|
|
223
216
|
|
|
224
217
|
| Option | Description |
|
|
225
218
|
|---|---|
|
|
226
|
-
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7,
|
|
219
|
+
| `--all` | Install every **fabricatable** PDK in the registry. Simulation-only PDKs (ASAP7, FreePDK45) are excluded unless `--include-simulation` is also passed |
|
|
227
220
|
| `--skip-experimental` | With `--all`, skip SKY90FD and ICsprout 55nm |
|
|
228
221
|
| `--include-simulation` | With `--all`, also install simulation-only PDKs |
|
|
229
222
|
| `--version TEXT` | Pin a specific version: a volare version for sky130/gf180mcu, or an IIC-OSIC-TOOLS commit or branch for asap7. Errors if combined with any other PDK |
|
|
@@ -236,7 +229,7 @@ pdk install sky130 --version 0.0.486 # pin a version (volare)
|
|
|
236
229
|
pdk install asap7 --version next_release # asap7 from the IIC branch head
|
|
237
230
|
pdk install --all # all fabricatable PDKs (7 total)
|
|
238
231
|
pdk install --all --skip-experimental # stable fabricatable only
|
|
239
|
-
pdk install --all --include-simulation # fabricatable + ASAP7/
|
|
232
|
+
pdk install --all --include-simulation # fabricatable + ASAP7/FreePDK45
|
|
240
233
|
pdk install --all --skip-experimental --include-simulation # stable fab + simulation
|
|
241
234
|
pdk install sky130 --pdk-root /opt/pdks # install into a different root
|
|
242
235
|
```
|
|
@@ -257,7 +250,7 @@ Volare-managed PDKs (sky130, gf180mcu) are refused — volare owns those files;
|
|
|
257
250
|
Show installation status for every known PDK, or for one specific PDK. Experimental PDKs are flagged in a separate column.
|
|
258
251
|
|
|
259
252
|
```bash
|
|
260
|
-
pdk status # table of all
|
|
253
|
+
pdk status # table of all 9 PDKs (fabricatable + simulation)
|
|
261
254
|
pdk status sky130 # just one row
|
|
262
255
|
```
|
|
263
256
|
|
|
@@ -390,13 +383,13 @@ Fabricatable PDKs:
|
|
|
390
383
|
|
|
391
384
|
Simulation-only PDKs:
|
|
392
385
|
|
|
393
|
-
| Tool | asap7 |
|
|
394
|
-
|
|
395
|
-
| KLayout | ✓ | ✓ |
|
|
396
|
-
| ngspice | ✓ (≥ 44) |
|
|
397
|
-
| Xyce | ✓ | — |
|
|
398
|
-
| OpenROAD | ✓ (primary) | ✓
|
|
399
|
-
| Yosys | ✓ | ✓ |
|
|
386
|
+
| Tool | asap7 | freepdk45 |
|
|
387
|
+
|---|---|---|
|
|
388
|
+
| KLayout | ✓ | ✓ |
|
|
389
|
+
| ngspice | ✓ (≥ 44) | ✓ |
|
|
390
|
+
| Xyce | ✓ | — |
|
|
391
|
+
| OpenROAD | ✓ (primary) | ✓ |
|
|
392
|
+
| Yosys | ✓ | ✓ |
|
|
400
393
|
|
|
401
394
|
---
|
|
402
395
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "pdksetup"
|
|
7
|
-
version = "0.3.
|
|
7
|
+
version = "0.3.2"
|
|
8
8
|
description = "CLI for installing and managing open-source Process Design Kits (PDKs) for IC design"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -802,7 +802,6 @@ def test_install_all_excludes_simulation_by_default(mocker, tmp_path):
|
|
|
802
802
|
c.args[0] for c in mock_custom.return_value.install.call_args_list
|
|
803
803
|
]
|
|
804
804
|
assert "asap7" not in installed_custom
|
|
805
|
-
assert "asap5" not in installed_custom
|
|
806
805
|
assert "freepdk45" not in installed_custom
|
|
807
806
|
# fabricatable customs still go through
|
|
808
807
|
assert "icps_minifab" in installed_custom
|
|
@@ -827,7 +826,6 @@ def test_install_all_with_include_simulation_includes_sim_pdks(mocker, tmp_path)
|
|
|
827
826
|
]
|
|
828
827
|
installed_iic = [c.args[0] for c in mock_iic.return_value.install.call_args_list]
|
|
829
828
|
assert "asap7" in installed_iic
|
|
830
|
-
assert "asap5" in installed_custom
|
|
831
829
|
assert "freepdk45" in installed_custom
|
|
832
830
|
|
|
833
831
|
|
|
@@ -843,7 +841,7 @@ def test_status_flags_simulation_pdks(mocker, tmp_path):
|
|
|
843
841
|
|
|
844
842
|
|
|
845
843
|
def test_install_single_simulation_pdk_works_without_flag(mocker, tmp_path):
|
|
846
|
-
"""`pdk install
|
|
844
|
+
"""`pdk install freepdk45` (single arg) should work — the flag only gates --all."""
|
|
847
845
|
mocker.patch(
|
|
848
846
|
"pdksetup.cli.Config.load",
|
|
849
847
|
return_value=mocker.Mock(pdk_root=tmp_path, volare_root=tmp_path / ".volare"),
|
|
@@ -851,7 +849,7 @@ def test_install_single_simulation_pdk_works_without_flag(mocker, tmp_path):
|
|
|
851
849
|
mock_custom = mocker.patch("pdksetup.cli.CustomInstaller")
|
|
852
850
|
mocker.patch("pdksetup.cli.State")
|
|
853
851
|
mock_custom.return_value.install.return_value = "sha"
|
|
854
|
-
result = CliRunner().invoke(main, ["install", "
|
|
852
|
+
result = CliRunner().invoke(main, ["install", "freepdk45"])
|
|
855
853
|
assert result.exit_code == 0, result.output
|
|
856
854
|
assert mock_custom.return_value.install.called
|
|
857
855
|
|
|
@@ -5,7 +5,7 @@ FABRICATABLE = {
|
|
|
5
5
|
"sky130", "gf180mcu", "ihp_sg13g2",
|
|
6
6
|
"sky90fd", "icsprout55", "icps_minifab", "siepic_ebeam",
|
|
7
7
|
}
|
|
8
|
-
SIMULATION_ONLY = {"asap7", "
|
|
8
|
+
SIMULATION_ONLY = {"asap7", "freepdk45"}
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def test_registry_has_all_fabricatable_pdks():
|
|
@@ -49,7 +49,6 @@ def test_install_strategies():
|
|
|
49
49
|
"icsprout55",
|
|
50
50
|
"icps_minifab",
|
|
51
51
|
"siepic_ebeam",
|
|
52
|
-
"asap5",
|
|
53
52
|
"freepdk45",
|
|
54
53
|
):
|
|
55
54
|
assert by_name[name].install_strategy == "custom"
|
|
@@ -200,3 +199,9 @@ def test_osdi_pdks_require_ngspice_44():
|
|
|
200
199
|
for name in ("ihp_sg13g2", "asap7"):
|
|
201
200
|
mins = {tool: v for tool, v, _ in by_name[name].runtime_tool_min_versions}
|
|
202
201
|
assert mins.get("ngspice") == 44, name
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
def test_asap5_is_not_offered():
|
|
205
|
+
"""Removed in 0.3.2: its upstream is unmaintained, it has no open layout
|
|
206
|
+
views, and the registry URL never existed (so no install could succeed)."""
|
|
207
|
+
assert "asap5" not in {p.name for p in REGISTRY}
|
|
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
|