Skip to main content

Module for handling and analyzing spice netlists

Project description

SPATK - Spice Analysis ToolKit

Tools for handling and analyzing Spice netlists

  • Provides an easy interface to netlist manipulation.
  • Uses Python standard library only.
  • Easy to extend.

Example

* mynetlist.spice
C1 vdd vss 1n
R1 net1 net2 1k
XM1 out in vdd vdd pmos_3p3 L=1u W=1u nf=1
XM2 out in vss vss nmos_3p3 L=1u W=1u nf=1
import spatk

cir = spatk.Circuit("mynetlist.spice")

for mos in cir.mosfets:
    print(mos.model, mos.args.w)
pmos_3p3 1u
nmos_3p3 1u

Installation

pip intall spatk

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

spatk-1.1.1.tar.gz (49.9 kB view hashes)

Uploaded Source

Built Distribution

spatk-1.1.1-py3-none-any.whl (41.2 kB view hashes)

Uploaded Python 3

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