Stephen
03/04/2024, 3:12 AMBilal Gabula
03/04/2024, 8:19 AMset SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/ngspice
#set SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/combined
Stefan Schippers
03/04/2024, 2:13 PMc, b, e
) to a 4 pin device (c, b, e, s
) If you manually edit the netlist and find the XQ
device instances, add a '`0`' (ground) as 4th pin, simulation should run. I will wait for @Tim Edwards advice for this. If we plan to move on 4 pin bjt for pnp I will update the symbol and add the substrate pin.
Old binned models:
.subckt sky130_fd_pr__pnp_05v5_W0p68L0p68 Collector Base Emitter mult = 1.0
New 'combined models:
.subckt sky130_fd_pr__pnp_05v5_W3p40L3p40 c b e s mult=1
Tim Edwards
03/04/2024, 2:39 PMc b e c
instead of c b e s
).Stefan Schippers
03/04/2024, 3:24 PMStephen
03/04/2024, 6:25 PMTim Edwards
03/09/2024, 2:51 AMsky130_fd_pr
library. This (I hope) fixes the bipolar problem by removing the substrate terminal from the two PNP devices.
I also made an update to the older models to add subcircuit definitions for the diodes so that they become forwards-compatible with the continuous models, which only have the subcircuit definitions.
Now I only need to figure out what needs to be done about the subthreshold parameters for the pFET devices. . .