Corrected the "lef" command so that "lef help" works again.

Corrected the "lef write -hide" command option so that obstructions
outside of the boundary are included in the obstruction list, in
addition to the block inside.  This had previously been done
correctly for use with the "setback" option but would fail only
for setback = 0.
This commit is contained in:
Tim Edwards 2020-12-18 16:38:06 -05:00
parent ba77257afa
commit 5f64c2b3d7
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
8.3.99
8.3.100

View File

@ -113,7 +113,7 @@ CmdLef(w, cmd)
{
"read [filename] read a LEF file filename[.lef]\n"
" read [filename] -import read a LEF file; import cells from .mag files\n"
" read [filename] -annotate read a LEF file for cell annotation only."
" read [filename] -annotate read a LEF file for cell annotation only.",
"write [filename] [-tech] write LEF for current cell\n"
" write [filename] -hide hide all details other than ports\n"
" write [filename] -hide <d> hide details in area set back distance <d>",
@ -129,7 +129,7 @@ CmdLef(w, cmd)
static char *cmdDefOption[] =
{
"read [filename] read a DEF file filename[.def]",
"write [cell] [-allspecial] write DEF for current or indicated cell\n",
"write [cell] [-allspecial] write DEF for current or indicated cell\n"
"write -labels label every net in NETS with the net name",
"writeall (use \"flatten -nosubckt\" + \"def"
" write\" instead)",

View File

@ -1674,7 +1674,7 @@ lefWriteMacro(def, f, scale, setback, toplayer, domaster)
freeMagic(thislll);
}
if (setback > 0)
if (setback >= 0)
{
/* For -hide with setback, yank everything in the area outside */
/* the setback. */