GitHub
03/17/2022, 11:54 AM.include "../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__npn_05v5_W1p00L1p00.model.spice"
.include "../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__npn_05v5_W1p00L2p00.model.spice"
Depending on npn model I try to use use I now get the following error from ngspice:
• 1x1µm² device: Undefined number [dkisnpn1x1]
• 1x2µm² device: Undefined number [dkisnpn1x2]
The parameters are present in the source files, e.g. sources/sky130-pdk/libraries/sky130_fd_pr/latest/cells/npn_05v5/sky130_fd_pr__npn_05v5__t.corner.spice
but apparently are not transferred during conversion.
Adding to the following to my spice file before including all.spice enables to perform simulations using typical values:
.param
+ dkisnpn1x1=8.7913e-01 dkbfnpn1x1=9.8501e-01
+ dkisnpn1x2=9.0950e-01 dkbfnpn1x2=9.6759e-01
+ dkisnpnpolyhv=1.0 dkbfnpnpolyhv=1.0
It would be great if the npn transistor models would be available for ngspice.
RTimothyEdwards/open_pdks