Corrected the "lef writeall" command to add the "-hide" option, as
is available for "lef write". This was inadvertently omitted.
This commit is contained in:
parent
b6cb1fb54a
commit
7413d89da1
|
|
@ -1434,7 +1434,7 @@ CmdCif(w, cmd)
|
|||
if (!ToolGetBox(&rootDef, &box))
|
||||
{
|
||||
TxError("Use the box to select the area in");
|
||||
TxError(" which you want to see CIF.\n");
|
||||
TxError(" which you want to paint CIF.\n");
|
||||
return;
|
||||
}
|
||||
if (argc == 5)
|
||||
|
|
|
|||
|
|
@ -361,7 +361,8 @@ drcWhyCreate(whystring)
|
|||
int i;
|
||||
char **newList;
|
||||
newList = (char **)mallocMagic((DRCCurStyle->DRCWhySize + 51) * sizeof(char *));
|
||||
for (i = 0; i < DRCCurStyle->DRCWhySize; i++)
|
||||
newList[0] = (char *)NULL;
|
||||
for (i = 1; i <= DRCCurStyle->DRCWhySize; i++)
|
||||
newList[i] = DRCCurStyle->DRCWhyList[i];
|
||||
if (DRCCurStyle->DRCWhySize > 0)
|
||||
freeMagic((char *)DRCCurStyle->DRCWhyList);
|
||||
|
|
|
|||
|
|
@ -190,13 +190,15 @@ CmdLef(w, cmd)
|
|||
lefTopCell = FALSE;
|
||||
else if (!strncmp(cmd->tx_argv[i], "-tech", 5))
|
||||
lefTech = TRUE;
|
||||
else if (!strncmp(cmd->tx_argv[i], "-hide", 5))
|
||||
lefHide = TRUE;
|
||||
else if (!strncmp(cmd->tx_argv[i], "-all", 4))
|
||||
recurse = TRUE;
|
||||
else goto wrongNumArgs;
|
||||
}
|
||||
else goto wrongNumArgs;
|
||||
}
|
||||
LefWriteAll(selectedUse, lefTopCell, lefTech, recurse);
|
||||
LefWriteAll(selectedUse, lefTopCell, lefTech, lefHide, recurse);
|
||||
}
|
||||
break;
|
||||
case LEF_WRITE:
|
||||
|
|
|
|||
|
|
@ -1133,10 +1133,11 @@ lefWriteMacro(def, f, scale, hide)
|
|||
*/
|
||||
|
||||
void
|
||||
LefWriteAll(rootUse, writeTopCell, lefTech, recurse)
|
||||
LefWriteAll(rootUse, writeTopCell, lefTech, lefHide, recurse)
|
||||
CellUse *rootUse;
|
||||
bool writeTopCell;
|
||||
bool lefTech;
|
||||
bool lefHide;
|
||||
bool recurse;
|
||||
{
|
||||
CellDef *def, *rootdef;
|
||||
|
|
@ -1190,7 +1191,7 @@ LefWriteAll(rootUse, writeTopCell, lefTech, recurse)
|
|||
{
|
||||
def->cd_client = (ClientData) 0;
|
||||
if (!SigInterruptPending)
|
||||
lefWriteMacro(def, f, scale);
|
||||
lefWriteMacro(def, f, scale, lefHide);
|
||||
}
|
||||
|
||||
/* End the LEF file */
|
||||
|
|
|
|||
Loading…
Reference in New Issue