Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Python-based tools and utilites for working with the Vlsir IC design schema.
FIXME! Details here.
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.SimInput
s 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.
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 |
FAQs
Tools for the Vlsir IC Design Schema
We found that vlsirtools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.