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.0.1.tar.gz
(49.6 kB
view hashes)
Built Distribution
spatk-1.0.1-py3-none-any.whl
(41.0 kB
view hashes)