TrafficGenerator/Pythonand open the file
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 generates 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.cfgfor hardware emulation
graph.hwith 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.