[Magic-dev] Illegal overlaps not flagged

R. Timothy Edwards tim at opencircuitdesign.com
Thu Oct 11 11:12:04 EDT 2007


Dear Bertrand,

> I think I ran into a rather big bug...
> If you have to cells each with different paint on the same plane, 
> overlapping them when included in a parent cell will not flag a problem....

Okay, I found the error, which is that I commented out a line that I
should not have that enables the paint tables that contain the overlap
error rule.

file drc/DRCsubcell.c, lines 572 and following should be:

             savedPaintTable = DBNewPaintTable(DRCPaintTable);
             /* savedPaintPlane = DBNewPaintPlane(DBPaintPlaneMergeOnce); */

             (void) DBCellCopyAllPaint(&scx, &DBAllButSpaceBits, 0, DRCuse);

             (void) DBNewPaintTable(savedPaintTable);
             /* (void) DBNewPaintPlane(savedPaintPlane); */

That is, I meant to comment out the replacement of the paint routine,
but should not have commented out the replacement of the paint table
that is used during DRC subcell flattening.

I am correcting the CVS database, and the new distribution should be
available tomorrow.  Thanks for the bug report.

					Regards,
					Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
| Open Circuit Design, Inc.	 | web:   http://opencircuitdesign.com |
| 22815 Timber Creek Lane        | phone: (301) 528-9364               |
| Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the magic-dev mailing list