Xilinx MicroBlaze Reference Manual page 111

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
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 using the Profiling Low Address Register and Profiling High Address Register.
Profiling can be started or stopped using 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
Register to access the register, used with MDM software access to debug registers.
Table 2-55: 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 (v2018.2) June 21, 2018
to 0 (None), non-intrusive profiling is disabled.
2-62).
Table
2-55.
value indicates the value to use in the MDM Debug Register Access Control
MDM
Command
8
0111 0001
30
0111 0010
30
0111 0011
9 - 14
0111 0100
36
0111 0110
32
0111 0111
www.xilinx.com
Chapter 2: MicroBlaze Architecture
C_DEBUG_PROFILE_SIZE
DBG_CTRL
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
10: 4E809
Sets the address (bin) in the Profiling
W
Buffer to read or write
...
14: 4E80D
4EC23
R
Read data from the Profiling Buffer
4EE1F
W
Write data to the Profiling Buffer
. By setting
36
- 1 =
Description
Send Feedback
111

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MicroBlaze and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF