RTimothyEdwards / magic

Magic VLSI Layout Tool
Other
485 stars 102 forks source link

Magic flags drc errors which cannot be seen in Kalyout #200

Open lulu9312 opened 1 year ago

lulu9312 commented 1 year ago

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

d-m-bailey commented 1 year ago

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

lulu9312 commented 1 year ago

@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

d-m-bailey commented 1 year ago

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.