Packet_Sender - Packet_Sender - 2025.2 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2026-03-27
Version
2025.2 English

After the mm2s_mp kernel loads i data onto an AXI-Stream, the s0 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 stream

  • writes 224 AXI-Stream data packets to one of the 100 tx streams

  • asserts 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 connect to the 100 input_i ports on the AI Engine.