MaxNumSignals: NAT = 100;
Xs: NAT = LAST[NAT];
ToBeDefined: NAT = Xs;
IndexType: TYPE = {dummyIndex};
Index: ARRAY IndexType OF NAT;
SignalType: TYPE = {Input, Output, Power};
Signals: TYPE = REF SignalsRec;
SignalsRec:
TYPE =
RECORD [
SEQUENCE size:
NAT
OF
RECORD [
name: ROPE ← NIL,
size: NAT ← 0,
st: SignalType,
default: Level ← X,
defaultS: NAT ← Xs,
index: NAT ← Xs
]
];
The signals:
The declaration below simply creates signals, putting signal foo's characteristics in signals[foo]
signals: Signals ← NEW [SignalsRec[MaxNumSignals]];
numSignals: NAT ← 0;
ARM: NAT = Declare["ARM", X, Input];
BIOWRqst: NAT = Declare["BIOWRqst", X, Input];
CWSRply: NAT = Declare["CWSRply", X, Input];
CWSRplyandARM7: NAT = Declare["CWSRplyandARM7", X, Input];
IdMatch: NAT = Declare["IdMatch", X, Input];
IORRqst: NAT = Declare["IORRqst", X, Input];
IOTIdMatch: NAT = Declare["IOTIdMatch", X, Input];
IOWRqst: NAT = Declare["IOWRqst", X, Input];
RBRqst: NAT = Declare["RBRqst", X, Input];
RBRply: NAT = Declare["RBRply", X, Input];
RplyStale: NAT = Declare["RplyStale", X, Input];
WBRqst: NAT = Declare["WBRqst", X, Input];
WSRply: NAT = Declare["WSRply", X, Input];
Reset: NAT = Declare["Reset", X, Input];
BCtlEnRamSel4: NAT = Declare["BCtlEnRamSel4", X, Output];
BCtlLdFIFOAOw4: NAT = Declare["BCtlLdFIFOAOw4", X, Output];
BCtlLdFIFOnAOw4: NAT = Declare["BCtlLdFIFOnAOw4", X, Output];
BCtlRamForBCWS4: NAT = Declare["BCtlRamForBCWS4", X, Output];
BCtlRdRam4: NAT = Declare["BCtlRdRam4", X, Output];
BCtlRPValid4: NAT = Declare["BCtlRPValid4", X, Output];
BCtlSelBCWS4: NAT = Declare["BCtlSelBCWS4", X, Output];
BCtlSelRRdLatch4: NAT = Declare["BCtlSelRRdLatch4", X, Output];
BCtlSelWdData4: NAT = Declare["BCtlSelWdData4", X, Output];
BCtlSelWSData4For67: NAT = Declare["BCtlSelWSData4For67", X, Output];
BCtlSelWSData7For910: NAT = Declare["BCtlSelWSData7For910", X, Output];
BCtlVPValid4: NAT = Declare["BCtlVPValid4", X, Output];
BCtlWtRam47: NAT = Declare["BCtlWtRam47", X, Output];
CWSRplyandARM4: NAT = Declare["CWSRplyandARM4", X, Output];
Vdd: NAT = Declare["Vdd", X, Power];
Gnd: NAT = Declare["Gnd", X, Power];