BIC.mesa
Copyright Ó 1987 by Xerox Corporation. All rights reserved.
Created by: Louis Monier September 6, 1987 12:50:32 pm PDT
Louis Monier September 28, 1987 3:38:36 pm PDT
DIRECTORY
Core, Ports, Rope;
BIC: CEDAR DEFINITIONS =
BEGIN
Theory
This interface defines the port indexes and basic constants for the BIC. It should be maintained consistent with the icon defined in BIC.dale.
Public wire and indexes
public: Core.Wire;
BICPorts: TYPE = REF BICPortsRec;
BICPortsRec: TYPE = RECORD[
Vdd, Gnd, Gnd2V, CKRecAdj, RecAdj,
nEClock, Clock, ChipCKIn, ExtCKIn,
ChipCKOut, ExtCKOut, LocCKOut,
nDInB, nBInB,
nRqOutB, nDOutB, nBOutB, nOrOutB,
DInH, BInH, RqIn, OrInH,
DOutH, BOutH,
nSStop, DOEn, Name, DBusIn, Send,
DBusOut, DCS: Ports.Port ← NIL
];
chipID: CARD = 5080H;
currentVersion: NAT = 2;
-- structure of DBusIn
nDReset: NAT = 0;
nDFreeze: NAT = 1;
DExecute: NAT = 2;
DShiftCK: NAT = 3;
DAddress: NAT = 4; -- was nDAddress
DSerialIn: NAT = 5; -- was DBusInIndex
HybridSel: NAT = 6;
-- structure of selScanPath
ReadChipID: NAT = 1;
AccessDP: NAT = 2;
ReadExtCK: NAT = 4;
ReadIntCK: NAT = 8;
WriteExtCK: NAT = 16;
WriteIntCK: NAT = 32;
BICBind: PROC [public: Core.Wire, p: Ports.Port] RETURNS [bicPorts: BICPorts];
END.