Post processing the ngspice simulation outputs using Python

  • make sure you have installed the python package PyLTSpice

    • pip install PyLTSpice

  • make sure the simulation raw files are in binary format

Python notebook


Pyplot_inv_sky130_a.ipynb

If you have jupyter installed, you can download the notebook here, and then open it and run it yourself:

cd ~/ihome/ngs406/xSchems
jupyter notebook
Transient analysis
trise:  106.1708 ps
tfall:  89.7288 ps
tdelay:  24.7059 ps
VTC analysis
Vsw:  0.8675 V
Vih:  0.9803 V
Voh:  1.7484 V
Vil:  0.7439 V
Vol:  0.0677 V
The max DC gain is 12.8833(V/V) at VIN=0.8490(V)