magic icon indicating copy to clipboard operation
magic copied to clipboard

Magic flags drc errors which cannot be seen in Kalyout

Open lulu9312 opened this issue 3 years ago • 3 comments

I ran Magic drc as well as Klayout drc on a block. Magic flags a lot of errors which cannot be seen in Klayout. Magic flags three different kind of errors. The LV to MV Diffusion spacing < 0.27um (diff/tap.3) error is most prominent one.

Here's a screenshot of Klayout drc: vref_klayout_drc

I also checked the spacing in Klayout for diff/tap.3 and it seems correct to me.Here's the screenshot for same: vref_drc_klayout

Attaching zip file which contains drc reports, gds for the block. drc_gds_file.zip

lulu9312 avatar Nov 14 '22 08:11 lulu9312

@lulu9312 Need more information to debug. Can you provide a link to your gds?

d-m-bailey avatar Nov 23 '22 13:11 d-m-bailey

@d-m-bailey The zip file contains the gds for the block. Here is the link https://github.com/lulu9312/OpenFASOC/blob/main/openfasoc/generators/ldo-gen/blocks/sky130hvl/gds/vref_gen_nmos_with_trim.gds

lulu9312 avatar Nov 23 '22 14:11 lulu9312

Caused by hierarchy that magic can't process.

use gds flatglob *$$* before reading.

% load vref_gen_nmos_with_trim
DRC style is now "drc(full)"
Loading DRC CIF style.
Deep N-well spacing to N-well < 4.5um (nwell.7)
Spacing of HV nwell to HV nwell < 2.0um (nwell.8)
% drc find
There are no errors in vref_gen_nmos_with_trim.

d-m-bailey avatar Nov 23 '22 15:11 d-m-bailey