Simulation and Viewing the Timing Diagram

Simulating the Averaging Kernel

To simulate the kernel and testbench:

vitis-run --mode hls --tcl run_avg_hls.tcl

This script will run:

  • C simulation
  • C synthesis
  • RTL simualtion

Creating and Viewing the VCD File

We then re-run the simulation to create a VCD file:

xsim_vcd --top avgfilt --comp hls_component --out dump_avg.vcd

You can then use the jupyter notebook, view_timing.ipynb to view the timing diagrams.


This site uses Just the Docs, a documentation theme for Jekyll.