<#3 missing model for `sg13_lv_nmos`> Issue create...
# ihp-sg13g2
g
#3 missing model for `sg13_lv_nmos` Issue created by proppy Trying to run the following ngspice simulation:
Copy code
.title sg13g2_inv_1
.lib /content/IHP-Open-PDK/ihp-sg13g2/libs.tech/ngspice/models/SG13G2_hbt_woStatistics.hsp.lib
.include /content/IHP-Open-PDK/ihp-sg13g2/libs.ref/sg13g2_stdcell/spice/sg13g2_stdcell.spice

X1 GATE DRAIN VPWR 0 0 VGND sg13g2_inv_1

Vgnd  VGND  0     0
Vdd   VPWR  VGND  5.0
R     VPWR  DRAIN 50k
Vin   GATE  VGND  DC    0V
.op
.option post nomod
.end

.control
save all GATE DRAIN
dc Vin 0 5.0 0.01
display
wrdata output.txt GATE DRAIN
.endc
will result in the following error:
Copy code
Error: unknown subckt: x1.xx1 vpwr gate 0 vpwr x1.sg13_lv_nmos x1.w=740.00n x1.l=130.00n <http://x1.ng|x1.ng>=1 <http://x1.ad|x1.ad>=0 <http://x1.as|x1.as>=0 x1.pd=0 <http://x1.ps|x1.ps>=0 m=1
    Simulation interrupted due to error!
See the following notebook which reproduce the issue: https://colab.research.google.com/gist/proppy/5582eeae8d2e2eccb48cd591b904185f/ihp-pdk-playground.ipynb IHP-GmbH/IHP-Open-PDK