Hi <@U016EM8L91B> <@U01819B63HP>, I am facing a weird issue. In my design I am using PNP transistor,...
n
Hi @Tim Edwards @Stefan Schippers, I am facing a weird issue. In my design I am using PNP transistor,
pnp_05v5_W3p40L3p40
for PTAT circuit. I am using model file from
/libs.tech/combined/sky130.lib.spice
for simulation. When I run simulation on the schematic directly (without symbol or test bench) everything works fine. But when I create a test bench using the symbol of the same schematic, the PNP transistors are not recognized. I get the following error : attached the image. I need to run monte carlo on the PEX netlist which requires using a symbol and test bench but that is not working with PNP transistors present in the design. Can you please help me with the issue? I have attached a schematic and test bench for reference as well.
s
@naina singhal I have tested your example and I get the same error. Using the old binned models (
.../ngspice/sky130.lib.spice tt
, instead of
.../combined/sky130.lib.spice tt
) works, so there seem to be a difference in the models.
@naina singhal see this thread. I am updating open_pdks and will see if the definition for the PNP BJT has been fixed. https://open-source-silicon.slack.com/archives/C016UL7AQ73/p1709521927719829
@naina singhal After updating magic from git://opencircuitdesign.com/magic and open_pdks from here your testbench works fine.
@naina singhal also be careful, some components in your bandgap are off grid and unconnected. Select the whole circuit, do
Tools->Align to grid
, and verify everything is properly connected. Do also a
Tools->Join/Trim wires
to remove overlapping wire segments.
🙌 1
n
@Stefan Schippers It is working now. Thank you so much for your help. 🙂