Vlsir Tools
Python-based tools and utilites for working with the Vlsir IC design schema.
Netlisting
FIXME! Details here.
Spice-Class Simulation
VlsirTools includes drivers and result-parsers for popular spice-class simulation engines including:
class SupportedSimulators(Enum):
"""Enumerated, Internally-Defined Spice-Class Simulators"""
SPECTRE = "spectre"
XYCE = "xyce"
NGSPICE = "ngspice"
The primary entry-point for simulation is vlsirtools.spice.sim. By default, sim runs your chosen simulator in parallel over the list of SimInputs provided as inp.
def sim(
inp: OneOrMore[vsp.SimInput], opts: Optional[SimOptions] = None
) -> OneOrMore[SimResultUnion]:
The sim function takes as input one or more vlsir.spice.SimInputs and a set of simulation options (vlsirtools.spice.SimOptions), and returns one of two result-types depending on its input options.
class ResultFormat(Enum):
"""Enumerated Result Formats"""
SIM_DATA = "sim_data"
VLSIR_PROTO = "vlsir_proto"
The VLSIR_PROTO result-format returns a vlsir.spice.SimResult object, which is a protobuf-encoded representation of the simulation results. The SIM_DATA format instead uses the types defined in vlsirtools.spice.sim_data, a python-native combination of dataclasses and numpy arrays. The former is generally more convenient for sharing with other programs, and the latter for further in-Python processing.
Simulator and Analysis Support
Each spice-class simulator includes its own netlist syntax and opinions about the specification for analyses.
The vlsir.spice schema
| Analysis | Spectre | Xyce | NgSpice |
|---|---|---|---|
| Op | ✅ | ✅ | ✅ |
| Dc | ✅ | ✅ | |
| Tran | ✅ | ✅ | ✅ |
| Ac | ✅ | ✅ | ✅ |
| Noise | ✅ | ||
| Sweep | |||
| Monte Carlo | |||
| Custom |
Metadata
Release files for vlsirtools 7.0.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 |
|---|---|---|---|---|
| vlsirtools-7.0.0.tar.gz | 50.8 kB | Without provenance | Details for vlsirtools-7.0.0.tar.gz |
Release files / vlsirtools-7.0.0.tar.gz
| Download URL | vlsirtools-7.0.0.tar.gz |
|---|---|
| Size | 50.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c7df5597a47754f7f0d469cc0b541b16e619030dae648d41231895ce67314d6
|
|
BLAKE2b-256 checksum How to use checksums |
942413b7dd8058db6a4baf82f52db44199703cf8761e67aa3ad1f3fa9840d045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for vlsirtools 7.0.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.