KLayout-PEX
KLayout-PEX is a parasitic extraction tool for KLayout. There a multiple engines supported:
- FasterCap (requires FasterCap installation)
- MAGIC wrapper (requires MAGIC installation)
- 2.5D engine (under development)
Check out the documentation website for more information.
Install
pip install klayout-pex
After that, you should be able to run kpex --help.
Port labels
kpex extract --port-labels auto uses top-level labels for ports when the top cell has a label on a pin shape.
Otherwise, it retains ports from labels in child cells. --port-labels top always uses top-level labels.
Both preserve existing ports named by top-level text labels without pin shapes, and the substrate port.
Labels in child cells still name internal nets and ports of excluded device models.
The default is auto. Supply --gds alongside --lvsdb to identify top-level labels: the LVS database has
flattened them. With --lvsdb alone, auto retains hierarchical labels, and top reports an error.
VACASK conversion
netlist convert --to vacask circuit.spice writes two files:
circuit.inccontains the circuit, with instance parameters unchangedcircuit.options.incsets the global geometry scale from.optionor.options scale
Include the circuit at the top level and its options inside the testbench's existing control block:
include "circuit.inc"
control
include "circuit.options.inc"
analysis op1 op
endc
The scale applies to the entire simulation through compatible models, including those inside external
X wrappers. A later options scale command overrides it. Do not combine fragments requiring different
scales without first normalizing their model interfaces. The companion is rewritten even at the default
scale=1, so reconversion cannot leave an earlier scale active.
--out-netlist derives the companion name from the chosen output path. kpex --netlist-format vacask
also writes and reports both files. Numeric SPICE suffixes are converted to plain numbers because the
simulators interpret some suffixes differently. Parameter expressions and model libraries remain outside
the converter's supported input.
Acknowledgements
This project is funded by the JKU/SAL IWS Lab, a collaboration of Johannes Kepler University and Silicon Austria Labs.
This project had been further funded by the German project FMD-QNC (16ME0831).
This project is further funded by the European project ODE4EC-AMS, which has received funding from the Chips Joint Undertaking (Chips JU) under Grant Agreement No 101252962. Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or the Chips Joint Undertaking. Neither the European Union nor the granting authority can be held responsible for them.
Metadata
Release files for klayout-pex 0.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| klayout_pex-0.9.0.tar.gz | 560.3 kB | Without provenance | Details for klayout_pex-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| klayout_pex-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for klayout_pex-0.9.0-py3-none-any.whl |
Total release size: 1.4 MB
Release files / klayout_pex-0.9.0.tar.gz
| Download URL | klayout_pex-0.9.0.tar.gz |
|---|---|
| Size | 560.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e6e2a1646b2ee6e54e23b43d9524c9892c34d4c04e6efe926daddf465eb89cf
|
|
BLAKE2b-256 checksum How to use checksums |
954da8aa6bde2e0dd07bf185b37d4dc818a49aa1b0a338b4218b4e931c2e808d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / klayout_pex-0.9.0-py3-none-any.whl
| Download URL | klayout_pex-0.9.0-py3-none-any.whl |
|---|---|
| Size | 801.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da5ae4c7b79e5b26da169ebc562fdedd7eb2725d590d6f323be73f6a4de0e144
|
|
BLAKE2b-256 checksum How to use checksums |
fb1be9884d55590d2b29ce3096e3fb9f4e399c61c0a56353efcc02e63646a718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for klayout-pex 0.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.