Modified the "flatten" command to allow class "module" to be
flattened. This is marginally useful---since the "module" class is a black box, it is essentially the same as using the "ignore" command.
This commit is contained in:
parent
330b34139c
commit
0a2adeb593
|
|
@ -319,7 +319,7 @@ int flattenInstancesOf(char *name, int fnum, char *instance)
|
|||
Printf(" Flattening instance: %s, primitive = %s\n",
|
||||
ParentParams->instance.name, (ChildCell->class ==
|
||||
CLASS_SUBCKT) ? "no" : "yes");
|
||||
if (ChildCell->class != CLASS_SUBCKT) {
|
||||
if ((ChildCell->class != CLASS_SUBCKT) && (ChildCell->class != CLASS_MODULE)) {
|
||||
LastObj = ParentParams;
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue