SoftHdwSimulate.mesa
Copyright Ó 1988 by Xerox Corporation. All rights reserved.
Barth, June 30, 1989 2:14:14 pm PDT
DIRECTORY
CD, PlotGraph, Rope, SoftHdwAssembly, SoftHdwBasics;
SoftHdwSimulate: CEDAR DEFINITIONS = BEGIN
Simulation:
TYPE =
REF SimulationRec;
designToSimulationKey:
REF
INT;
Create:
PROC [name: Rope.
ROPE, program: SoftHdwAssembly.Program, print:
BOOL ←
FALSE, useConnectionMachine:
BOOL ←
FALSE]
RETURNS [simulation: Simulation];
Initialize:
PROC [simulation: Simulation];
Fetch:
PROC [simulation: Simulation, position: SoftHdwBasics.ArrayPosition, time:
INT ← -1]
RETURNS [value:
BOOL];
Store:
PROC [simulation: Simulation, position: SoftHdwBasics.ArrayPosition, value:
BOOL];
MasterToSlave:
PROC [simulation: Simulation];
Relax:
PROC [simulation: Simulation];
Sample:
PROC [simulation: Simulation];
SimulationRec:
TYPE =
RECORD [
time: INT ← 0,
sizes: SoftHdwBasics.ArrayPosition,
base: SoftHdwBasics.ArrayBase,
program: SoftHdwAssembly.Program,
design: CD.Design,
plot: PlotGraph.Plot];
END.