| *------------------------------------------------------------------- |
| * Threshold test for POR circuit |
| * Determine gate voltage at which the HV NFET draws 240nA nominal |
| *------------------------------------------------------------------- |
| .lib /home/tim/projects/efabless/tech/SW/sky130A/libs.tech/ngspice/sky130.lib.spice tt |
| *---------------------------- |
| *---------------------------- |
| Xm1 mir1 vin vss vss sky130_fd_pr__nfet_g5v0d10v5 w=2 l=0.8 |
| *---------------------------- |
| *---------------------------- |
| * DC sweep from 0.7 to 0.8V |
| wrdata test.data Vpwr#branch vin |