SCParms.mesa
Copyright © 1986 by Xerox Corporation. All rights reserved.
Written by: Pradeep Sindhu, May 15, 1987 2:26:11 pm PDT
Pradeep Sindhu, April 29, 1988 4:57:14 pm PDT
Don Curry June 10, 1988 1:23:37 pm PDT
Defines Cache Parameters.
DIRECTORY
Rope;
SCParms: CEDAR DEFINITIONS
~ BEGIN
Defs
ROPE:  TYPE = Rope.ROPE;
CellTypeSpec: TYPE = {Schematic, Procedure, CoreFile, Unspecified};
Indpendent Parameters
numBitsPerByte,
numBytesPerWord,
numWordsPerCycle,
numCyclesPerLine,
numMemLines,
numIOLines,
numFIFOLines,
numTimeOutCounterBits: NAT;
smallCacheSpec,
sCacheHybridSpec,
sCacheSpec,
innerSpec,
leftCtlSpec,
rightCtlSpec,
dataPathSpec,
arraySpec,
outputSectionSpec,
bCyclePipeSpec,
bWdWtPipeSpec:  CellTypeSpec;
vPagePattern,
vBlock0Pattern, vBlock1Pattern, vBlock2Pattern, vBlock3Pattern, vBlock4Pattern, vBlock5Pattern,
rPagePattern,
rBlock0Pattern, rBlock1Pattern, rBlock2Pattern, rBlock3Pattern, rBlock4Pattern, rBlock5Pattern: ROPE;
Dependent Parameters
numBitsPerWord,
numBitsPerCycle,
numBitsPerLine,
numWordsPerLine,
numPageBits,
numBlockBits,
numDevIdBits,
numDevTypeBits,
numZerosBitsInHeader,
logNumWordsPerLine,
logNumCyclesPerLine: NAT;
Procs
Set: PROC [
NumBitsPerByte: NAT ← 8,
NumBytesPerWord: NAT ← 4,
NumCyclesPerLine: NAT ← 4,
NumMemLines: NAT ← 4,
NumIOLines: NAT ← 3,
NumFIFOLines: NAT ← 4,
NumTimeOutCounterBits: NAT ← 10]
RETURNS [INT];
SetCellTypeSpecs: PROC [
SmallCacheSpec: CellTypeSpec ← Schematic,
SCacheHybridSpec: CellTypeSpec ← Schematic,
SCacheSpec:  CellTypeSpec ← Schematic,
InnerSpec:  CellTypeSpec ← Schematic,
LeftCtlSpec:  CellTypeSpec ← Schematic,
RightCtlSpec: CellTypeSpec ← Schematic,
DataPathSpec: CellTypeSpec ← Schematic,
ArraySpec:  CellTypeSpec ← Schematic,
OutputSectionSpec: CellTypeSpec ← Schematic,
BCyclePipeSpec: CellTypeSpec ← Schematic,
BWdWtPipeSpec: CellTypeSpec ← Schematic ];
PagePatternHi: PROC [pagePattern: ROPE] RETURNS [ROPE];
PagePatternLo: PROC [pagePattern: ROPE] RETURNS [ROPE];
END.