3.5.1.8.4 Generated Files

To aid in the process of instrumentation and debugging, the SmartHLS Automatic On-Chip Instrumentation feature generates the following files under the hls_output/scripts/instrument directory:

Table 3-4. Files Generated by Automatic On-Chip Instrumentation
FilePurpose
fifo_listFile with a list of all the FIFOs in the design, as well as their almost_full and almost_empty values.
instrument_config.tclConfiguration file with information required by both the monitoring script and visualizing scripts.
monitor.tclScript that repeatedly runs the debugger for the purpose of monitoring. This should be run by identify_debugger.
prj_<HLS PROJECT_NAME>_hls_identify.tclInstrumentation script that opens the Synplify synthesis project, and then instruments the SmartHLS modules by sourcing <HLS PROJECT_NAME>_hls_identify.tcl
<HLS PROJECT_NAME>_hls_identify.tclInstrumentation script that creates the IICE for the SmartHLS project. Then it sources all the identify_instrument_<TOP LEVEL MODULE NAME>.tcl files.
identify_instrument_<TOP LEVEL MODULE NAME>.tclScript to instrument (add) all the selected signals based on the selected log level for the TOP LEVEL MODULE NAME. One of these files is generated for every top-level module in your SmartHLS project.
update_vcd.tclScript used to refresh the waveform viewer with new samples (debugging mode), or append new samples on the existing waveform (monitoring mode).
wave_template.doWaveform template that automatically groups the instrumented HLS signals. This should be run in your ModelSim waveform viewer.
fifo_dashboard_wave_template.doWaveform template that arranges all the FIFOs' occupancy (usedw signals) at the bottom of the waveform for easy viewing. This should be run in ModelSim waveform viewer.
vsim_keyboard_bindingKeyboard binding for ModelSim that refreshes the waveform with newly captured signals every time Ctrl+R is pressed for convenience.

Examples of how to use each script while debugging are in the Github example available at the following location: github.com/MicrochipTech/fpga-hls-examples/tree/main/auto-instrument