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.4.0.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spatk-1.4.0-py3-none-any.whl (42.6 kB view details)

Uploaded Python 3

File details

Details for the file spatk-1.4.0.tar.gz.

File metadata

  • Download URL: spatk-1.4.0.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for spatk-1.4.0.tar.gz
Algorithm Hash digest
SHA256 9b9e0b177fa6f852ced7c8caa07482331cd59350efa533d5a85e5fdc74e78dc6
MD5 3806fb4a3790125294f6322d3d2181c3
BLAKE2b-256 85a6650f10cd6d8c767b14fbab5b0e01cd5155ae678eb30477f0877fee671870

See more details on using hashes here.

File details

Details for the file spatk-1.4.0-py3-none-any.whl.

File metadata

  • Download URL: spatk-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 42.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for spatk-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c3184166986c26134352f8c90f64adf36b6348b35b73c575f1eddd427fe5e79
MD5 ec0f185be18a73dffde350b91f03043b
BLAKE2b-256 6d30327f78e4a64885561629b8bc69dac9379ce1e5d77d48ae05d26f7abf20cf

See more details on using hashes here.

Supported by

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