Stefan Schippers
05/06/2022, 3:10 PMsky130_fd_pr/
library called `corner.sym`: this symbol takes a process corner (tt
, ss
, sf
, ...) as a '`corner`' attribute. When netlisting only the includes relevant to the specified corner are dumped into the netlist, this speeds up ngspice pdk parsing considerably (5x). Considering example in below picture the following lines are printed into the netlist (actual paths are generated depending on the SKYWATER_MODELS variable):
.param mc_mm_switch=0
.param mc_pr_switch=0
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/corners/tt.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/r+c/res_typical__cap_typical.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/r+c/res_typical__cap_typical__lin.spice
.include /home/schippes/share/pdk/sky130A/libs.tech/ngspice/corners/tt/specialized_cells.spice