Modified the "lef nocheck" command to take the argument "*", meaning

that no nets will be checked for antenna gate and diffusion area,
and no antenna properties will be output to the LEF file.  This can
greatly speed up LEF output file generation for a large design.
Thank you to Tamas Hubai for the code patch.
This commit is contained in:
Tim Edwards 2024-05-11 20:48:35 -04:00
parent 9dec47c9b2
commit f0c3ec33d6
3 changed files with 7 additions and 4 deletions

View File

@ -1 +1 @@
8.3.480
8.3.481

View File

@ -76,7 +76,7 @@ LEF-format input and output
itself would be written to a DEF file. <BR>
Options <B>-hide</B>, <B>-tech</B>, and <B>-toplayer</B> are
the same as for the <B>lef write</B> command.
<DT> <B>nocheck</B> [<I>netname</I> ...]|[<B>none</B>]
<DT> <B>nocheck</B> [<I>netname</I> ...]|[<B>none</B>]|[<B>*</B>]
<DD> Do not check for antenna diffusion and gate area on the nets with
the names given as option <I>netname</I>.
Any number of net names may be given as arguments. Typically,
@ -86,7 +86,9 @@ LEF-format input and output
skipped automatically. If not, then this command option provides
an alternative way to avoid running the checks, which can cause
a huge performance hit when generating a LEF view of a large
layout. With the single argument "<B>none</B>", removes the
layout. The single argument "<B>*</B>" will cause all net checks
to be skipped, and no antenna information will appear in the
LEF file output. The single argument "<B>none</B>" removes the
list of net names for which antenna checks should be skipped.
<DT> <B>datestamp</B> [<I>value</I>|<B>default</B>]
<DD> Force all cell definitions generated from LEF macros to have

View File

@ -1468,7 +1468,8 @@ lefWriteMacro(def, f, scale, setback, pinonly, toplayer, domaster)
// Check for net names to ignore for antenna checks.
if (!ignored)
for (lnn = lefIgnoreNets; lnn; lnn = lnn->lnn_next)
if (!strcmp(lnn->lnn_name, lab->lab_text))
if (!strcmp(lnn->lnn_name, lab->lab_text) ||
!strcmp(lnn->lnn_name, "*"))
ignored = TRUE;
if (!ignored || (setback != 0))