After the AI Engine’s 100 N-Body Subsystems crunch the N-Body equations on the input_i
and input_j
data, it outputs four data packets on each of the 100 output_i
ports. Each output data packet can have a header of 0, 1, 2, or 3, indicating that it is coming from nbody_kernel[0]
, nbody_kernel[1]
, nbody_kernel[2]
, or nbody_kernel[3]
in each of the nbody_subsystems. The 100 output_i
ports are connected to the 100 rx
streams on the packet_receiver
kernel. The packet_receiver
kernel receives four packets from each of the 100 rx
streams, and depending on the packet header, writes the data to tx0
, tx1
, tx2
, or tx3
streams.