LichenTransforms.Mesa
Last tweaked by Mike Spreitzer on January 12, 1988 5:23:02 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: newCT design ' (empty newCT ( |uses of newCT|=0)
Post: newCT design
Differentiate:
PROC [design: Design, uses: ConstSet
--of Use of oldCT--]
RETURNS [newCT: CellType];
Pre: oldCT