InitChipTest:
PROC = {
assignments ← NIL;
groups ← NIL;
nxtGrp ← 0;
bdPodGrpsRev ← ReverseBdPodGrps[
LIST[
[[0, rec, L, AB], "DevIn", "DevIn" ], [[0, dr, R, AB], "DevOut", "DevOut" ],
[[1, rec, L, CD], "ArbIn", "ArbIn" ], [[1, dr, R, CD], "ArbOut" ],
[[2, rec, L, EF], "ArbIn", "OrIn" ], [[2, dr, R, EF], ],
[[3, rec, L, GH], "OrIn", "OrIn" ], [[3, dr, R, GH], "OrOut" ],
[[4, rec, L, IJ], "DBIn", "OthIn" ], [[4, dr, R, IJ], "DBOutT", "OthOut" ],
[[5, rec, L, KL], "ClockIn" ], [[5, dr, R, KL], "ClockOut" ] ] ];
Grp[nm:"DevIn", dir: force, for:
NRZ, sigs:
LIST[
"nRequestOut"] ]; -- 16
Grp[nm:"ArbIn", dir: force, for:
NRZ, sigs:
LIST[
"OtherArbInT" ] ]; -- 21
Grp[nm:"OrIn", dir: force, for:
NRZ, sigs:
LIST[
"nSharedOut", -- 8
"nSStopOut", -- 8
"nOwnerOut",
"nBOwnerIn",
"nStopAct"] ];
Grp[nm:"DBIn", dir: force, for:
NRZ, sigs:
LIST[
"DBus[0]",
"DBus[1]",
"DBus[2]",
"DBus[3]",
"DBus[4]",
"DBus[5]" ] ];
Grp[nm:"OthIn", dir: force, for:
NRZ, sigs:
LIST[
"SlotNo", -- 4
"BdVersion"] ]; -- 2
Grp[nm:"ClockIn", dir: force, for:
RZ, del: initCkDel, wid: initWidth, sigs:
LIST[
"Clock"] ];
Grp[nm:"DevOut", dir: acquire, sam: initAcquire, sigs: LIST[
"nGrant", -- 8
"nHiPGrant",
"nLongGrant",
"nStartGrant"] ];
Grp[nm:"ArbOut", dir: acquire, sam: initAcquire, sigs: LIST[
"ArbReqOut", -- 3
"nBusyOut"] ];
Grp[nm:"OrOut", dir: acquire, sam: initAcquire, sigs: LIST[
"nBOwnerOut",
"nBSharedOut",
"nBSStopOut",
"nOwnerIn",
"nSharedIn",
"nSStopIn"] ];
Grp[nm:"DBOutT", dir: acquire, sam: initAcquire, sigs: LIST[
"DBus[6]"] ];
Grp[nm:"OthOut", dir: acquire, sam: initAcquire, sigs: LIST[
"nDHybridSel", -- 5
"DBdSel"] ];
Grp[nm:"ClockOut", dir: acquire, sam: initAcquire, sigs: LIST[
"CKOut"] ];
Unassigned ← LIST[
"RecAdj",
"TInv", -- 2
"TIOBus", -- 6
"TRec2v", -- 3
"Vdd",
"Gnd",
"Gnd2VTop",
"Gnd2VTop"];
ConfiguratorWires.FillInHeaderPins[deviceName, assignments, ProbePinToDUTConfigPin.Map]
ConfiguratorWires.MakeWireListForMike[deviceName, assignments]
OPen deviceName.assignments
OPen deviceName.wires
TestCable.Init[groups, assignments, "Clock"];
ICTest.MakeStandardViewer[
testName: testName,
cellType: referenceCell,
clockAName: "Clock",
clockBName: "PhB",
groups: groups,
assignments: assignments,
period: lastPeriod ]};