Versions Compared

Key

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

...

NameDescription
MAX_NUMBER_SUB_FRAME_GMax. number of sub-frames in a super-frame
MAX_SUPER_FRAME_THRESHOLD_GSets the super-frame threshold (in units of bytes) to terminate the super-frame at the end of the current sub-frame
MAX_CLK_GAP_GSets the max. number of clocks cycle between sub-frame to terminate the current super-frame
AXI_CONFIG_GDefines the AXI stream configuration and used to determine the AXI stream width from AXI_CONFIG_G.TDATA_BYTES_C

...

Super-Frame Header

The firmware batcher combines sub-frames in to larger super-frame. The super-frame has a 8 (or 16) byte header only 1 header per super-frame (no tail) as follows:

BitsNameDescription
3:0VERSIONVersion info. Should always be 0x1
7:4WIDTH
  • 0x0: 16-bit AXI stream
  • 0x3: 32-bit AXI stream
  • 0x7: 64-bit AXI stream
  • 0xF: 128-bit AXI stream
15:8SEQPacket sequence number of super-frame
OtherReservedAll reserved bits (undefined) bit set to zero

...

  • If TYPE = 16-bit AXI stream, then appended header is 2 bytes. 

  • If TYPE = 32-bit AXI stream, then appended header is 4 bytes.

  • If TYPE = 64-bit AXI stream, then appended header is 8 bytes. 

  • If TYPE = 128-bit AXI stream, then appended header is 16 bytes.

...

Sub-Frame Tail

Each sub-frame within the super-frame is appended 8 (or 16) byte tail appendedappended with a tail (no header) as follows:

BitsNameDescription
7:0TDESTTDEST of AXI-Stream sub-frame
15:8TUSER_FIRSTTUSER of the AXI-Stream sub-frame
23:16TUSER_LASTTUSER of last transaction of the AXI-Stream sub-frame.
31:24LAST_BYTE_CNTNumber of valid bytes in last transaction of sub-frame
63:32SIZENumber of valid bytes in the sub-frame
OtherReservedAll reserved bits (undefined) bit set to zero

...