Skip to content

christoph-weiser/spatk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A SPICE Analysis Toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published