The fractional part of the rule distance (modulus after scaling) does not fit in the unsigned char variable unless it is first divided by the scalefactor (also requires multiplying up by the same amount when scaling the other direction). The truncation of the unsigned char value was causing the minimum area value to be off by a small amount, causing false negatives (no DRC violation is shown when metal area is slightly smaller than the minimum allowed). |
||
|---|---|---|
| .. | ||
| DRCarray.c | ||
| DRCbasic.c | ||
| DRCcif.c | ||
| DRCcontin.c | ||
| DRCextend.c | ||
| DRCmain.c | ||
| DRCprint.c | ||
| DRCsubcell.c | ||
| DRCtech.c | ||
| Makefile | ||
| drc.h | ||