Fixed lefWrite, which was not including drc.h and so was messing up
one of the arguments to the DRC technology query. Also, drc/drc.h itself did not export that particular function, so it was added.
This commit is contained in:
parent
937e848d03
commit
7e1fcc8ef6
|
|
@ -239,6 +239,7 @@ extern int drcWhyCreate();
|
|||
|
||||
extern int DRCGetDefaultLayerWidth();
|
||||
extern int DRCGetDefaultLayerSpacing();
|
||||
extern int DRCGetDefaultWideLayerSpacing();
|
||||
extern int DRCGetDefaultLayerSurround();
|
||||
|
||||
extern void DRCTechInit();
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue