Mitch Bailey
01/17/2022, 12:05 AMTim Edwards
01/17/2022, 2:36 AMMitch Bailey
01/17/2022, 4:50 AMUnless you're specifically simulating latch-up, or have wells not connected to a rail voltage,Or have the wells connected to the wrong voltage (which CVC checks if the diodes are in the netlist). Related to the question in the other thread about INTERACT, in the past, I've extracted diodes by using layers calculations like
ndiode = (ndiff NOT INTERACT poly) and pwell
without the need for a recognition layer. Is there some way in magic to select the ndiff
that is not part of transistors? I feel that using a recognition layer for diodes may be dangerous because there may be diodes in the layout that aren't extracted. Using a recognition layer for bipolar devices (to distinguish from plain diodes) may be necessary, though.
I've gotten the hvc
pads in caravel's chip_io
to pass LVS, but the lvc
pad diodes are not extracting as expected. The nwell taps surrounded by DIODE
appear to be extracted as sky130_fd_pr__diode_pw2nd_05v5
and I can't figure out why (the presence of NWEL should prevent this).Mitch Bailey
01/17/2022, 3:41 PMsky130_fd_io__gnd2gnd_120x2_lv_isosub
cell is completely surrounded by the DIODE
recognition layer. In magic, this appears to treat all the diffusion as diodes (including the nwell taps!). As such, after reading the gds into magic, you can see pwell
generated under the nwell
, (possibly because it sees the ntap
as an ndiode
) when I think they're supposed to be mutually exclusive. Here's a screen shot of the magic view. The gds only has nwell
. I'm going to try to cut the recognition layer so that it only covers the actual diodes.Tim Edwards
01/17/2022, 4:17 PMtemplayer fet_diff
bloat-all allfets alldiff
Then for diodes, do an AND-NOT with fet_diff
to exclude all diffusion belonging to FET devices. I'm not sure how that works in practice. Technically, I would say that dropping the DIODE
ID layer on top of transistors is just an error.Mitch Bailey
01/18/2022, 3:33 AMsky130_fd_io__gnd2gnd_120x2_lv_isosub
(and not the nwell tap), the layout extracted as expected. However, it did not pass LVS. The sky130_ef_io.spice
file has
*--------------------------------------------------------------------------
* sky130_ef_io__vssd_lvc_clamped_pad
* sky130_ef_io__vssd_lvc_pad with LV clamp connections to VCCD and VSSD,
* and back-to-back diodes connecting VSSD to VSSIO
*--------------------------------------------------------------------------
but it appears that the back-to-back pd-nwell diodes are VSSA
to VSSIO
. The surrounding psubstrate is VSSD
, however. Checking the other lvc
power pads now.Mitch Bailey
01/18/2022, 3:36 AMsky130_fd_io.spice
is missing the sky130_fd_io__gnd2gnd_120x2_lv_isosub
subckt definition, so I added it. It contains the back-to-back pd-nwell diodes.Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.
Powered by