For the `skywater-pdk-libs-sky130_fd_sc_hd` cells ...
# analog-design
r
For the
skywater-pdk-libs-sky130_fd_sc_hd
cells the
sky130_fd_sc_hd__diode_2.spice
model makes reference a SPICE diode card called
sky130_fd_pr__diode_pw2nd
from the
skywater-pdk-libs-sky130_fd_pr
primitives. On searching the primitives I find a few variants on
sky130_fd_pr__diode_pw2nd
(e.g.
sky130_fd_pr__diode_pw2nd_05v5
,
sky130_fd_pr__diode_11v0
, etc.) Should
sky130_fd_sc_hd__diode_2.spice
be calling one of those in particular?
t
The
open_pdks
installer corrects this error to the
05v5
device.
r
Gotcha,
skywater-pdk-libs-sky130_fd_sc_hd
 also seems to think
sky130_fd_pr__diode_pw2nd_05v5
should be exposed as a subcircuit instead of the model card provided by
skywater-pdk-libs-sky130_fd_pr
how does the open_pdks installer resolve this?
t
open_pdks also changes the record from X to D.
r
No need to get any fancier?
t
They're just parasitic diodes. They don't seem to have any particularly special models for them other than the basic SPICE diode model.