After m2s_x2
kernel loads i
data onto an AXI-Stream, the istrm
is the input to the packet_sender
kernel. The packet_sender
kernel takes raw i
data and packetizes it for the AI Engine. Review the kernel/packet_sender.cpp
definition. The packet_sender
does the following:
generates a header AXI-Stream packet
reads the
rx
streamwrites 224 AXI-Stream data packets to one of the 100
tx
streamsasserts
TLAST
appropriately on the last data packet
It repeats these actions so all 100 tx
streams have a packet header and 224 data packets written to it. This is 1 iteration of data the AI Engine is expecting. The 100 tx
streams are connected to the 100 input_i
ports on the AI Engine.