The AI Engine architecture has direct support for generation,
collection, and streaming of events as trace data during simulation, hardware emulation,
or hardware execution. For the AI Engine component
aiesim
launch configuration, you can enable trace
and select trace options as shown below.
Figure 1. AI Engine Launch Configuration - Enable Trace
After selecting the Enable Trace check box, you can then specify trace options:
- Trace type: Specify the format of the trace data as either online waveform database (WDB) or value change dump (VCD) format. The online WDB file is generated on-the fly to display in the Analysis view. The VCD can contains a detailed dump of the changing hardware signals in the form of value change dump (VCD) files which must be post-processed. After simulation, or emulation, the output file can be processed into events and viewed on a timeline in the Analysis view. The events contain information such as time stamps, different event types, and data associated with each event. This information can also be correlated to the compiler generated debug information.
- Trace Modules: You can enable the capture of trace data from different elements of the AI Engine component as shown above. Enable the specific modules of interest, or all modules.