https://open-source-silicon.dev logo
r

Robert Rogers

07/02/2021, 9:44 PM
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

Tim Edwards

07/03/2021, 1:59 AM
The
open_pdks
installer corrects this error to the
05v5
device.
r

Robert Rogers

07/05/2021, 5:54 PM
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

Tim Edwards

07/06/2021, 3:08 PM
open_pdks also changes the record from X to D.
r

Robert Rogers

07/06/2021, 3:12 PM
No need to get any fancier?
t

Tim Edwards

07/06/2021, 3:13 PM
They're just parasitic diodes. They don't seem to have any particularly special models for them other than the basic SPICE diode model.