The DMA FIFO size and stream switch FIFO size can be viewed in the timeline in the Vitis IDE using VCD-based analysis. The IDE shows the FIFO depth that was used in the simulation. The IDE can help analyze design stall issues, and optimize the FIFO size needed. This helps optimize the design performance.
For enabling FIFO size visualization, the VCD dump option of
aiesimulator
should be enable. Also, the simulation run
result can be opened in the IDE, for
example:aiesimulator --pkg-dir=./Work --online -wdb -text
vitis -a aiesimulator_output/default.aierun_summary
For more options on how to run simulator and open run results, see AI Engine Stall Analysis in the Vitis IDE.
Tip: If design hangs in simulation,
use the
--simulation-cycle-timeout=<cycles>
option to stop the aiesimulator
simulation at a set
time.