VCD File Generation - 2020.2 English

Versal ACAP AI Engine Programming Environment User Guide (UG1076)

Document ID
Release Date
2020.2 English

To generate VCD file from the Vitis IDE, right-click on your AI Engine graph project from the Project Explorer and select Run As > Run Configurations as described in Creating the AI Engine Graph Project and Top-Level System Project. This opens up the run configuration panel for the current project.

Figure 1. Vitis IDE to Enable VCD File Generation

Select the AI Engine Emulator option and double click to open a New_configuration. Select the Generate Trace check box to enable trace capture, and select the VCD Trace button. By default, this produces a VCD dump in a file called foo.vcd in the current directory. You can rename the file if you like.

The VCD file can also be generated by invoking the AI Engine simulator with the –-dump-vcd <filename> option on the command line. The VCD file is generated in the same directory as the simulation is run. Assuming that the program is compiled using the AI Engine compiler, the simulator can be invoked in a shell with the VCD option.

$ aiesimulator –pkg-dir Work --dump-vcd foo

This command produces the VCD file (foo.vcd) which is written to the current directory.