...
The batching protocol also takes AXI-Stream sideband data (TDEST , TID, and TUSER) and inserts it in the data stream as part of the batching format.
...
Bits | Name | Description | |||
---|---|---|---|---|---|
3:0 | VERSION | Version info. Should always be 0x1 | |||
7:4 | TYPE | 0: 64-bit AXI stream 1: 128-bit AXI stream | 11:8 | CRC | 0: No CRC1: CRC Included |
31:16 | SEQ | Packet sequence number of super-frame | |||
44:32 | TIMEOUT_CFG |
| |||
Other | Reserved | All reserved bits (undefined) bit set to zero |
Notes
If TYPE = 64-bit AXI stream, then
...
appended tail is 8 bytes.
If TYPE = 128-bit AXI stream, then
...
appended tail is 16 bytes.
...
Each packet sub-frame within the super-frame is appended 8 appended 8 (or 16) byte tail appended:
Bits | Name | Description | |||
---|---|---|---|---|---|
7:0 | TDEST | TDEST of AXI-Stream frame | |||
15:8 | TIDTUSER_FIRST | TID TUSER of the AXI-Stream frame | |||
23:16 | TUSER_ | FIRSTLAST | TUSER of last transaction of the AXI-Stream frame. 31 | ||
28:24 | TUSERLAST_BYTE_ | LASTCNT | TUSERNumber of valid bytes in last transaction of | the AXI-Streamframe | .|
44:32 | TIMER_VALUE |
| |||
29 | TIMEOUT | Indicates timeout event forced termination of super-frame | |||
3045 | SOF | Indicates that this is the start packet of a frame. | |||
4631 | EOF | Indicates that this is the last packet of a frame. | |||
5663:4832 | SIZELAST_BYTE_CNT | Number of valid bytes in last transaction of the sub-frame | |||
Other | Reserved | All reserved bits (undefined) bit set to zero |
If TYPE = 64-bit AXI stream, then appended tail is 8 bytes.
If TYPE = 128-bit AXI stream, then appended tail is 16 bytes
...
.
...
Header | Data | Tail (32 lsb) |
---|---|---|
0x8000000000000222 | 0xAFFECAFEFEEDBEEF | 0x00080102 |
...
0x8000000000000222
0xAFFECAFEFEEDBEEF
0x1E579C9C00080102
...
Larry Ruckman
ruckman@slac.stanford.edu