<#237 Unexpected extraction> Issue created by <Jak...
# openlane-development
g
#237 Unexpected extraction Issue created by JakobRat I extracted the netlist for two parallel sky130_fd_pr__pfet_01v8 connected as diodes.

image

This produces the following netlist:
Copy code
.subckt diode VP VN
X0 VP VP VP VN sky130_fd_pr__pfet_01v8 ad=0.68 pd=6.66 as=0.223 ps=2.21 w=0.84 l=0.15
X1 VP VP VP VN sky130_fd_pr__pfet_01v8 ad=0.118 pd=1.12 as=0 ps=0 w=0.84 l=0.15
.ends
The unexpected behavior lies in the ad/as/pd/ps parameters, since the ad/pd or as/ps of the two transistors should be the same. diode.zip RTimothyEdwards/magic