CoreArrayCells.mesa
Spreitzer, July 24, 1985 11:08:26 am PDT
Barth, July 24, 1985 2:52:48 pm PDT
DIRECTORY Core;
CoreArrayCells: CEDAR DEFINITIONS = BEGIN OPEN Core;
Theory
This interface describes a structuring mechanism that makes a regular array of some base cell type.
Array Cell Data
arrayCellClass: CellClass;
ArrayCell: TYPE = REF ArrayCellRec;
ArrayCellRec: TYPE = RECORD [
base: CellType,
shape: Shape,
sides: ARRAY Dim OF ARRAY End OF Wire,
];
Shape: TYPE = ARRAY Dim OF NAT;
Dim: TYPE = {x, y};
End: TYPE = {low, high};
Operations
Create2D: PROC [design: Design, name: ROPENIL, base: CellType, shape: Shape, sides: ARRAY Dim OF ARRAY End OF Wire];
Create1D: PROC [design: Design, name: ROPENIL, base: CellType, count: NAT, ends, sides: ARRAY End OF Wire];
END.