Trace and Profiling - 2024.2 English - UG1711

MicroBlaze V Processor Embedded Design User Guide (UG1711)

Document ID
UG1711
Release Date
2024-11-27
Version
2024.2 English

MicroBlaze V provides program trace, based on the RISC-V N-Trace standard, storing information in an embedded RAM Sink

Use the parameter C_DEBUG_TRACE_SIZE to configure the size of the embedded trace buffer from 4KB to 128KB. By setting C_DEBUG_TRACE_SIZE to 0 (None), program trace is disabled.

MicroBlaze V also provides non-intrusive profiling, identical to the equivalent feature in the classic MicroBlaze processor,storing program execution statistics in a profiling buffer. The buffer is divided into a number of bins, each counting the number of executed instructions or clock cycles within a certain address range.

Use the parameter C_DEBUG_PROFILE_SIZE to configure the size of the profiling buffer from 4KB to 128KB. By setting the parameter to 0 (None), profiling is disabled.