#578 Incorrect diode perimeter
New issue created by
stevvik
The SPICE view in sky130A PDK for sky130_fd_sc_hd stdcells library (sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice) contains diode description with incorrect perimeter value. This results in incorrect LVS in OpenLane, where this diode is used as antenna diode.
In sky130_fd_sc_hd.spice file:
.subckt sky130_fd_sc_hd__diode_2 DIODE VGND VNB VPB VPWR
D0 VNB DIODE sky130_fd_pr__diode_pw2nd_05v5 pj=5.36e+06u area=4.347e+11p
.ends
But in layout (sky130_fd_sc_hd.gds) the diode perimeter is 0.63_2+0.69_2=2.64.
So PJ parameter must be fixed to pj=2.64e+06u.
I fixed this in my local PDK copy and LVS passes correctly.
I haven't checked, but this error can be in other libraries as well.
The-OpenROAD-Project/OpenLane