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:
Tim Edwards 2020-03-05 13:14:47 -05:00
parent b6cb1fb54a
commit 7413d89da1
5 changed files with 10 additions and 6 deletions

View File

@ -1 +1 @@
8.2.190
8.2.192

View File

@ -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)

View File

@ -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);

View File

@ -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:

View File

@ -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 */