Xilinx MicroBlaze Reference Manual page 102

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

Advertisement

Profiling Control Register
The Profiling Control Register (PCTRLR) is used to enable (start) profiling and disable (stop)
profiling. It is also used to configure whether to count the number of executed instructions
or the number of executed clock cycles, as well as define the Profiling Buffer bin usage. This
register is a write-only register. Issuing a read request has no effect, and undefined data is
read.
The Bin Control value (B) can be calculated by the formula
B
log
=
2
where L is the Profiling Low Register, H is the Profiling High Register, and S is the parameter
C_DEBUG_PROFILE_SIZE.
31
Table 2-55: Profiling Control Register (PCTRLR)
Bits
Name
7
Enable
6
Disable
5
Enable
Cycle Count
4:0
Bin Control
Profiling Low Address Register
The Profiling Low Address Register (PLAR) is used to define the low word address of the
profiled area. This register is a write-only register. Issuing a read request has no effect, and
undefined data is read.
31 30 29
Reserved
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
H L
S 4 ⋅
+
------------------------------- -
S 4 ⋅
Reserved
Figure 2-35: Profiling Control Register
Enable and start profiling
Disable and stop profiling
Enable cycle count to count clock cycles of executed instruction
0 = Disabled, number of executed instructions counted
1 = Enabled, clock cycles of executed instructions counted
The number of addresses counted by each bin in the Profiling Buffer
Figure 2-36: Profiling Low Address Register
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Description
Low word address
8
7
6
5
4
↑ ↑
ENA DIS CC
Bin Control
Reset Value
0
0
0
00000
Send Feedback
0
0
102

Advertisement

Table of Contents
loading

Table of Contents