With extended debugging, MicroBlaze MicroBlaze provides program trace, based on the RISC-V N-Trace standard, storing information in an embedded RAM Sink or sending it to an external trace PIB Sink.
Users can also toggle the Auto switch and select the External Trace check box, if desired.
Use the parameter C_DEBUG_TRACE_SIZE to
configure the size of the embedded trace buffer from 8KB
to 128KB, or the external trace buffer from 32B to 8 KB. By setting
C_DEBUG_TRACE_SIZE to 0 (None), embedded program trace is disabled.
Extended debugging
Use the parameter C_DEBUG_EXTERNAL_TRACE
to enable external trace. In this case the MDM V must also be configured to use external
trace output.
also provides non-intrusive profiling, 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.