open_pdks icon indicating copy to clipboard operation
open_pdks copied to clipboard

sky130_fd_pr__pnp_05v5_W3p40L3p40 not included in corner mc

Open Li-Yueting opened this issue 4 years ago • 2 comments

I was trying to do a monte carlo simulation so I selected corner mc, while I found sky130_fd_pr__pnp_05v5_W3p40L3p40 is not included. Below is my .spice codes.

*Title: test mc include sky130_fd_pr__pnp_05v5_W3p40L3p40 or not
.lib " OPEN_PDKS_PATH/sky130A/libs.tech/ngspice/sky130.lib.spice" mc
XQ1 GND GND vbneg sky130_fd_pr__pnp_05v5_W3p40L3p40 m=39

I got error like this: image

Li-Yueting avatar Mar 31 '22 01:03 Li-Yueting

Noted. There are several devices missing from parameters/montecarlo.spice. I had written a script to fix all.spice, which also had some devices missing (curiously, the list of missing devices isn't the same for the two files), so it's easy to adapt. I am testing a fix now.

RTimothyEdwards avatar Mar 31 '22 12:03 RTimothyEdwards

Fixed and updated on opencircuitdesign.com. It appears that while the fix will keep the simulator from failing, there are no monte carlo parameters defined for that specific PNP device in the file, so the simulation may still fail either due to missing parameters, or else will show no monte carlo variation.

RTimothyEdwards avatar Mar 31 '22 13:03 RTimothyEdwards