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

Uploaded Source

Built Distribution

spatk-1.3.0-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for spatk-1.3.0.tar.gz
Algorithm Hash digest
SHA256 aa525b95862ca57688fb0538a37eb9814daffe0c56365317ae3076dad3e47ecc
MD5 1fe06f78cdf619ed0a44726f53c5d521
BLAKE2b-256 f0e0aee8eddcef0afdff06cae2aa71f1ebb46a44fda07810915ad918fed8c855

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for spatk-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7308ace261cbff0c300fe8faeef3ba4e487be915fd23e4e9fc06cbb58b9fc1c1
MD5 7df5176362c77749a21d64c7a7c436fe
BLAKE2b-256 6d0ee43377999405b8e7443978c3cf15858babd078ce9dedbe7762ecf5266f5b

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