One additional modification to output the message about duplicate
cells as a "note" if "gds noduplicates" has been set, and a "warning" otherwise. This makes error handling of magic's output a bit easier.
This commit is contained in:
parent
78f7d22796
commit
bb131f14d0
|
|
@ -1428,13 +1428,18 @@ calmaFindCell(
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TxPrintf("Warning: cell %s already existed before reading GDS!\n",
|
|
||||||
name);
|
|
||||||
if (CalmaNoDuplicates)
|
if (CalmaNoDuplicates)
|
||||||
{
|
{
|
||||||
|
TxPrintf("Note: cell %s already existed before reading GDS.\n",
|
||||||
|
name);
|
||||||
if (predefined) *predefined = TRUE;
|
if (predefined) *predefined = TRUE;
|
||||||
TxPrintf("Using pre-existing cell definition\n");
|
TxPrintf("Using pre-existing cell definition\n");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
TxPrintf("Warning: cell %s already existed before reading GDS!\n",
|
||||||
|
name);
|
||||||
|
}
|
||||||
if (was_called) *was_called = TRUE;
|
if (was_called) *was_called = TRUE;
|
||||||
}
|
}
|
||||||
HashSetValue(h, def);
|
HashSetValue(h, def);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue