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:
parent
ba77257afa
commit
5f64c2b3d7
|
|
@ -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)",
|
||||
|
|
|
|||
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in New Issue