Modified the cell clear routine so that it removes properties in
addition to subcells, paint, and labels. Otherwise problems arise if a cell is read from LEF followed by GDS; the GDS view overwrites the LEF but the property "LEFview" remains and causes problems when writing GDS output subsequently.
This commit is contained in:
parent
bbf6008363
commit
0cd45ae6f7
|
|
@ -157,7 +157,8 @@ dbCopyDefFunc(tile, def)
|
|||
* DBCellClearDef --
|
||||
*
|
||||
* Empties out all tile planes of the indicated CellDef, making it
|
||||
* as though the def had been newly allocated.
|
||||
* as though the def had been newly allocated. This also removes all
|
||||
* labels and all properties from the cell.
|
||||
*
|
||||
* Results:
|
||||
* None.
|
||||
|
|
@ -221,6 +222,10 @@ DBCellClearDef(cellDef)
|
|||
freeMagic((char *) lab);
|
||||
cellDef->cd_labels = (Label *) NULL;
|
||||
cellDef->cd_lastLabel = (Label *) NULL;
|
||||
|
||||
/* Remove all defined properties */
|
||||
DBPropClearAll(cellDef);
|
||||
|
||||
SigEnableInterrupts();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue