Follow these instructions to enable waveform data collection from the command line during hardware emulation and open the viewer:
- Enable debug code generation during compilation and linking using
v++ -c -g -t hw_emu ...
- Create an xrt.ini file in the
same directory as the host executable with the following contents (see xrt.ini File for more
[Debug] profile=true timeline_trace=true [Emulation] debug_mode=batch
debug_mode=batchenables the capture of waveform data (.wdb) by running simulation in batch mode. You can also enable the Live Waveform Viewer to launch simulation in interactive mode using the following setting in the xrt.ini:
[Emulation] debug_mode=guiTip: If Live Waveform Viewer is enabled, the simulation waveform opens during the hardware emulation run.
- Run the hardware emulation build of the application as described in Running the Application Hardware Build. The hardware transaction data is collected in the waveform database file, <hardware_platform>-<device_id>-<xclbin_name>.wdb. Refer to Output Directories of the v++ Command or Output Directories from the Vitis IDE for more information on locating these reports.
- Open the Waveform view in the Vitis analyzer by opening the Run Summary, and opening the