Boris Murmann
04/28/2024, 6:18 AM.SUBCKT dantenna
D1 net1 GND dantenna w=780.00n l=780.00n a=608.400f p=3.12u m=1
D2 net2 GND dantenna w=800.00n l=780.00n a=624.000f p=3.16u m=1
D3 net3 GND dantenna w=780.00n l=700.00n a=546.000f p=2.96u m=1
D4 net4 GND dantenna w=780.00n l=780.00n a=608.400f p=3.12u m=2
D5 net5 GND dantenna w=780.00n l=780.00n a=608.400f p=3.12u m=4
.ENDS
These diodes are pieces of n+ in the common p- substrate. The common node (GND) must be the anode (p-) for this structure to pass LVS. But, the spice diode format is the opposite of the above: "D anode cathode."
I found this while running LVS on the IHP pad cells. They only pass when I reverse the diodes (and thereby make the netlist incompatible with standard spice).Amro Tork
04/28/2024, 7:25 AMFarag Elsayed
04/28/2024, 7:51 AManode cathode
order. @Krzysztof HermanKrzysztof Herman
04/30/2024, 7:00 AManode cathode
pin order. The spice models implemented in diodes.lib
also do.Farag Elsayed
04/30/2024, 7:17 AM