Fixed the behavior of the "def write" command, which was not

clearing the "subcircuit" flag from the top level cell, causing
only nets connected to ports to be output.
This commit is contained in:
Tim Edwards 2021-12-06 10:56:59 -05:00
parent f68c2c7657
commit 9f7011333a
1 changed files with 4 additions and 0 deletions

View File

@ -130,7 +130,11 @@ EFFlatBuild(name, flags)
if (flags & EF_FLATNODES)
{
if (flags & EF_NOFLATSUBCKT)
{
/* The top cell must always have the DEF_SUBCIRCUIT flag cleared */
efFlatRootDef->def_flags &= ~DEF_SUBCIRCUIT;
efFlatNodesStdCell(&efFlatContext);
}
else
{
int flags = FLATNODE_DOWARN; /* No FLATNODE_STDCELL flag */