Navigate to
TrafficGenerator/Python
and open the filextg_aie.py
.Scroll to lines 155-159. This is where you instantiate the master/slave utilities for communicating with the simulator. To allow for direct connections to be made between the functions that will be generating the data and the simulator, the name of the utility being instantiated is the same as the name used in the following files:
system_etg.cfg
for hardware emulationgraph.h
with the PLIO constructors for AI Engine simulation
These utility objects contain the functions to transport and receive packets of data for processing, and require the data to be converted into a byte array.