diff --git a/drc/drc.h b/drc/drc.h index aa3c5def..0f04f450 100644 --- a/drc/drc.h +++ b/drc/drc.h @@ -239,6 +239,7 @@ extern int drcWhyCreate(); extern int DRCGetDefaultLayerWidth(); extern int DRCGetDefaultLayerSpacing(); +extern int DRCGetDefaultWideLayerSpacing(); extern int DRCGetDefaultLayerSurround(); extern void DRCTechInit(); diff --git a/extflat/EFantenna.c b/extflat/EFantenna.c index 60cc1078..f93fe561 100644 --- a/extflat/EFantenna.c +++ b/extflat/EFantenna.c @@ -133,7 +133,6 @@ CmdAntennaCheck(w, cmd) short sd_rclass; short sub_rclass; char *devname; - char *subname; int idx; CellUse *editUse; @@ -401,6 +400,11 @@ antennacheckVisit(dev, hierName, scale, trans, editUse) efGates++; if (efGates % 100 == 0) TxPrintf(" %d gates analyzed.\n", efGates); + /* WIP XXX Temporary! */ + TxPrintf("Gate %d : (%d %d) to (%d %d) net %s\n", efGates, r.r_xbot, + r.r_ybot, r.r_xtop, r.r_ytop, + gnode->efnode_name->efnn_hier->hn_name); + /* Find the plane of the gate type */ t = EFDeviceTypes[dev->dev_type]; pNum = DBPlane(t); diff --git a/lef/lefWrite.c b/lef/lefWrite.c index 7cdcf75e..c9abe0d5 100644 --- a/lef/lefWrite.c +++ b/lef/lefWrite.c @@ -37,6 +37,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/ #include "graphics/graphics.h" #include "utils/main.h" #include "utils/undo.h" +#include "drc/drc.h" #include "cif/cif.h" #include "lef/lefInt.h" @@ -1114,7 +1115,7 @@ lefWriteMacro(def, f, scale, hide) /* Look for wide spacing rules. If there are no wide spacing */ /* rules, then fall back on the default spacing rule. */ - mspace = DRCGetDefaultWideLayerSpacing(lab->lab_type, 1E6); + mspace = DRCGetDefaultWideLayerSpacing(lab->lab_type, (int)1E6); if (mspace == 0) mspace = DRCGetDefaultLayerSpacing(lab->lab_type, lab->lab_type);