This tutorial is based on a basic design, as shown below. This design contains two AI Engine kernels with an intermediate kernel in the PL. The overall system is fed and flushed from kernels that are also in the PL.
In a standard simulation scheme, you would have to perform several steps:
aiesimulator, you would have to replace
mm2sand the output of
polar_clipwith text test vectors and verify that the input of
s2mmis as intended.
hw_emu, you would have to build the three PL kernels
s2mmeither from RTL code or HLS, link them with Vitis compiler to create the XCLBIN file, create a complete host application that also verifies the output of the system, and then simulate using
This tutorial shows you how to write Python scripts and C++ traffic generators to replace these text files that you would have to create offline. It also allows you to simulate the design in various different ways:
With text files as test vectors
With external traffic generators in Python or C++
A standard simulation with text files would be represented as shown below: