The m2s_x2
is generated from the kernel/spec.json
specification. Review this file. Notice the m2s_x2
kernel implementation is set to LoadDdrToStream
, meaning this kernel is used to move data from DDR (AXI-MM) to AXI-Stream. It is specified to have two channels. The first channel moves data from a DDR buffer
called ibuff
to an AXI-stream called istrm
. This channel moves the i
data out of DDR to AXI-Stream. The second channel moves j
data from DDR buffer jbuff
to an AXI-Stream jstrm
and streams the data directly into the AI Engine’s input_j
port.