Gian
08/23/2021, 9:46 AMLuis Henrique Rodovalho
08/23/2021, 1:11 PMTim Edwards
08/23/2021, 1:48 PMsky130.lib.spice
with the .lib
statement in SPICE (e.g., ngspice) followed by a process corner; e.g., .lib /usr/local/share/pdk/sky130A/libs.tech/ngspice/sky130.lib.spice tt
. If you are using ngspice then you should also copy the file /usr/local/share/pdk/sky130A/libs.tech/ngspice/spinit
to the simulation directory an rename it `.spiceinit`; otherwise ngspice is very slow reading the binned device models.Gian
08/23/2021, 2:12 PMLuis Henrique Rodovalho
08/23/2021, 4:20 PMRahul Bharadwaj
08/24/2021, 5:11 PMLuis Henrique Rodovalho
08/24/2021, 5:57 PM.model sky130_fd_pr__nfet_01v8__model.2 nmos
* Model Flag Parameters
+ lmin = 4.0e-06 lmax = 8.0e-06 wmin = 7.0e-06 wmax = 0.0001
+ level = 54.0
In this case, if you use any nfet_01v8 with a 4u < L < 8u and 7e-6 < W < 100, it will use the bin model.2.Rahul Bharadwaj
08/24/2021, 6:00 PMLuis Henrique Rodovalho
08/24/2021, 6:06 PMRahul Bharadwaj
08/25/2021, 2:20 AM