Output of C Simulation - 2023.2 English

Vitis High-Level Synthesis User Guide (UG1399)

Document ID
UG1399
Release Date
2023-12-18
Version
2023.2 English

In the Vitis unified IDE the hierarchy of the HLS component is structured as follows: <workspace>/<component>/<component>/hls/. You can select the HLS component in the Vitis Component Explorer and select Open In Terminal from the right-click menu to explore the contents of the component folders.

When C simulation completes, a csim folder is created inside the <component>/hls folder. This folder contains the following elements:

  • csim/build: The primary location for all files related to the C simulation
    • Any files read by the test bench are copied to this folder.
    • The C executable file csim.exe is created and run in this folder.
    • Any files written by the test bench are created in this folder.
    • csim/obj: Contains object files (.o) for the compiled source code, and make dependency files (.d) for the source code build.
  • csim/report: Contains a log file of the C simulation build and run.