DIRECTORY Core, CoreCreate, Ports, Sisyph; LogicUtils: CEDAR DEFINITIONS = BEGIN OPEN CoreCreate; libCellClass: Core.CellClass; LibCellRef: TYPE = REF LibCellRec; LibCellRec: TYPE = RECORD [libName, ctName: ROPE]; cellWidthProp: ATOM; CreateLibCell: PROC [public: Wire, ctName, libName, name: ROPE _ NIL, props: Properties _ NIL] RETURNS [ct: CellType]; cx: Sisyph.Context; -- derived from the "Logic.dale" library Extract: PUBLIC PROC [schName: ROPE, makeBlock: BOOL _ FALSE] RETURNS [ct: CellType]; SCBlock: PROC [ct: CellType] RETURNS [shell: CellType]; MakeSC: PUBLIC PROC [nameInLib, name: ROPE, public: Wire, width: INT _ 0] RETURNS [ct: CellType]; Error: PUBLIC PROC [msg: ROPE]; HasX: PUBLIC PROC [ls: Ports.LevelSequence] RETURNS [BOOL _ FALSE]; -- **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** **** SetObjectPort: PROC [cx: Sisyph.Context, initType: Ports.LevelType _ b, initDrive: Ports.Drive _ none]; SetObjectTesterDrive: PROC [cx: Sisyph.Context, initDrive: Ports.Drive _ none]; END. LogicUtils.mesa Copyright c 1986 by Xerox Corporation. All rights reserved. Last Edited by: Louis Monier January 5, 1987 9:07:41 pm PST -- This module provides basic utilities for all the implementation files of Logic.mesa -- A new class: cellTypes which are recasted only for layout -- Extracts from the Logic library -- Massage a small block (a few cells) into a single placable element -- Creates a cell with the new class -- Display message on Terminal -- These belong in Sch, but Sch must be redone, so in the mean time... Κ§˜codešœ™Kšœ Οmœ1™