Corrected the GDS read routine so that the "gds noduplicates"
option does not get undermined by GDS files that have cell instances appear before cell definitions.
This commit is contained in:
parent
e9f21885b3
commit
75386e6467
|
|
@ -1262,7 +1262,19 @@ calmaFindCell(name, was_called, predefined)
|
|||
if (was_called) *was_called = FALSE;
|
||||
}
|
||||
else
|
||||
if (was_called) *was_called = TRUE;
|
||||
{
|
||||
if (was_called)
|
||||
{
|
||||
if (*was_called == TRUE)
|
||||
{
|
||||
def = DBCellLookDef(name);
|
||||
if ((def != NULL) && (def->cd_flags & CDAVAILABLE))
|
||||
if (CalmaNoDuplicates)
|
||||
if (predefined) *predefined = TRUE;
|
||||
}
|
||||
*was_called = TRUE;
|
||||
}
|
||||
}
|
||||
return (CellDef *) HashGetValue(h);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue