Skip to main content

Tools for the Vlsir IC Design Schema

Project description

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 :white_check_mark: :white_check_mark: :white_check_mark:
Dc :white_check_mark: :white_check_mark:
Tran :white_check_mark: :white_check_mark: :white_check_mark:
Ac :white_check_mark: :white_check_mark: :white_check_mark:
Noise :white_check_mark:
Sweep
Monte Carlo
Custom

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vlsirtools-6.0.0.tar.gz (50.9 kB view details)

Uploaded Source

File details

Details for the file vlsirtools-6.0.0.tar.gz.

File metadata

  • Download URL: vlsirtools-6.0.0.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.11.9

File hashes

Hashes for vlsirtools-6.0.0.tar.gz
Algorithm Hash digest
SHA256 08731be650eaba483f41396ca50c09040ce5f4b5de8d91ec134dcc4f14762ab3
MD5 56a961f79907310d5750af29e020ebb5
BLAKE2b-256 5a9623c6bcae83f3e89d46503a6ab0483a88e03d6f7361cc7dca12878283377b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page