The general overview of what the script does as follows:
Read in two input files (
mm2s.txt
,polar_clip_out.txt
).Convert the data from the input files into byte arrays.
Transmit the byte arrays using AXI transactions from the XTLM Python package.
Read the data from AXI transactions and convert it to
numpy
arrays for plotting.Save output data and plot the input/output data to see the data transformation.
The script contains a class ExternalTraffic
that contains functions that communicate with the XTLM utilities objects.