LichenTransforms.Mesa
Last tweaked by Mike Spreitzer on February 2, 1988 5:22:08 pm PST
DIRECTORY IO, LichenDataStructure;
LichenTransforms: CEDAR DEFINITIONS =
BEGIN OPEN LichenDataStructure;
EntityClass: TYPE ~ {CellType, CellInstance, Port, Wire};
EntityClassFilter: TYPE ~ PACKED ARRAY EntityClass OF BF;
BF: TYPE ~ BOOL ← FALSE;
Use of CT = instance of CT or array of ct
IntroCellType:
PROC [design: Design]
RETURNS [newCT: CellType];
Pre: newCT design
Post: newCT design ' empty newCT ' |uses of newCT|=0
ExtroCellType:
PROC [design: Design, oldCT: CellType];
Pre: oldCT design ' (empty oldCT ( |uses of oldCT|=0)
Post: oldCT design
Differentiate:
PROC [design: Design, uses: ConstSet
--of Use of oldCT--]
RETURNS [newCT: CellType];
Pre: oldCT