Xilinx MicroBlaze Reference Manual page 101

32-bit soft processor
Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Non-Intrusive Profiling
With extended debugging, non-intrusive profiling is provided, which uses a Profiling Buffer
to store program execution statistics. The size of the profiling buffer can be configured
from 4KB to 128KB using the parameter C_DEBUG_PROFILE_SIZE. By setting
C_DEBUG_PROFILE_SIZE to 0 (None), non-intrusive profiling is disabled.
The Profiling Buffer is divided into a number of bins, each counting the number of executed
instructions or clock cycles within a certain address range. Each bin counts up to 2
68719476735 instructions or cycles.
The address range of each bin is determined by the buffer size and the profiled address
range defined via the Profiling Low Address Register and Profiling High Address Register.
Profiling can be started or stopped via the Profiling Control Register or by cross trigger
events (see
Table
The debug registers used to configure and control profiling, and to read or write the
Profiling Buffer, are listed in
The DBG_CTRL Value indicates the value to use in the MDM Debug Register Access Control
Register to access the register, used with MDM software access to debug registers.
Table 2-54: MicroBlaze Profiling Debug Registers
Register Name Size (bits)
Profiling Control
Profiling Low
Address
Profiling High
Address
Profiling Buffer
Address
Profiling Data
Read
Profiling Data
Write
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
2-61).
Table
2-54.
MDM
DBG_CTRL
Command
8
0111 0001
30
0111 0010
30
0111 0011
10: 4E809
9 - 14
0111 0100
14: 4E80D
36
0111 0110
36
0111 0111
www.xilinx.com
Chapter 2: MicroBlaze Architecture
R/W
Value
Enable or disable profiling, configure
4E207
W
counting method and bin usage
Defines the low address of the
4E41D
W
profiled address range
Defines the high address of the
4E61D
W
profiled address range
9: 4E808
Sets the address (bin) in the Profiling
W
Buffer to read or write
...
4EC23
R
Read data from the Profiling Buffer
4EE23
W
Write data to the Profiling Buffer
36
- 1 =
Description
101
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents