Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The protocol defines several K-Codes to indicate data framing, flow-control, opcodes, and other metadata. For all K-Codes, the most significant 8 bits of the 64-bit word indicate which code it is. This is known as the Block Type Field (BTF). The next byte after BTF is the CRC for the a 8-bit checksum of entire 64-word (including BTF).  This 8-bit CRC uses G(x)=x8+x2+x+1 polynomial. The lower 48 bits are then specified differently depending on the K-Code. 

...

Bit(s)Name
0-47RemoteLinkData
48-558-bit CRC checksum for k-code
56-63BTF = 0x66

K-Code: IDLE

...

Bit(s)Name
0-31LINKINFO
32-47VC 0-15 OVERFLOW Event
48-558-bit CRC checksum for k-code
56-63BTF = 0x99

K-Code: SOF/SOC

...

Bit(s)Name
0-31LINKINFO
32-35Virtual Channel
36-47Packet number
48-558-bit CRC checksum for k-code
56-63BTF: SOF=0xAA or SOC=0xCC

...

Bit(s)Name
0-7TLAST USER
8-11Reserved (zeros)
12-15Last byte count
16-4732-bit CRC for data payload
48-558-bit CRC checksum for k-code
56-63BTF: EOF=0x55 or EOC=0x33

...