Stream Splitting Options - 3.0 English - PG085

AXI4-Stream Infrastructure IP Suite LogiCORE IP Product Guide (PG085)

Document ID
PG085
Release Date
2025-08-13
Version
3.0 English

The following figure shows second page of the AXI4-Stream Broadcaster GUI.

Figure 1. AXI4-Stream Broadcaster Customization Dialog Box, Page 2

The second page of configuration parameters controls the remapping feature. Two remap strings display for each enabled interface. The TDATA Remap String for each port controls which bits from the S_AXIS interface's TDATA signal are present on the corresponding master interface's TDATA signal. Similarly the TUSER Remap String for each port controls which bits from the S_AXIS interface's TUSER signal are present on the corresponding master interface's TUSER signal.

The remap string parameters are edited as regular text and are encoded in a syntax very similar Verilog vector concatenation. Each remap string is a comma-separated list of elements and each element is either a bit-constant (for example, 1'b0) or a bit slice of the source signal (for example, tdata[7:0] for TDATA remap strings or tuser[1] for TUSER remap strings). The same bit from the source signal can be mapped multiple times. For example, the remap string "tdata[7:0],tdata[7:0],tdata[7:0]" replicates the first byte of the S_AXIS tdata signal three times in the tdata signal of the corresponding master interface. It is also acceptable to mix bit-constant and bit-slice elements in the remap string. For example, the remap string "tdata[7:0],8'b0,tdata[7:0]" replicates the first byte from the S_AXIS interface with a 1 byte constant in the second byte position of the corresponding master interface. The total width of the expression specified must match the width of the master interface signal specified in the M_TDATA_NUM_BYTES or M_TUSER_WIDTH parameter. If the S_AXIS signal width is 0 and the width of the corresponding master interface signal is greater than 0, the remap expression must be a bit-constant covering the full width of the master interface signal.

The IP configuration GUI automatically updates the remap strings to safe defaults whenever the Number of Master Interfaces, SI TDATA width, MI TDATA width, SI TUSER width, or MI TUSER width parameters are changed. If any custom remap strings are to be used in the IP configuration, it is recommended the custom remap strings are entered specified after the above parameters are set to their desired value.