MicroBlaze Processor Reference Guide 112
UG984 (v2018.2) June 21, 2018 www.xilinx.com
Chapter 2: MicroBlaze Architecture
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. See the following figure and table.
The Bin Control value (B) can be calculated by the formula:
where:
-
L is the Profiling Low Register
-
H is the Profiling High Register
-
S is the parameter C_DEBUG_PROFILE_SIZE.
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. See the following figure and
Table 2-57.
Blog
2
HL– S 4⋅+
S 4⋅
--------------------------------
=
X-Ref Target - Figure 2-35
Figure 2-35: Profiling Control Register
08
Reserved
31 765
Bin Control
CCDISENA
4
X19771-082517
Table 2-56: Profiling Control Register (PCTRLR)
Bits Name Description Reset Value
7Enable
Enable and start profiling
0
6 Disable
Disable and stop profiling
0
5Enable
Cycle Count
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
0
4:0 Bin Control
The number of addresses counted by each bin in the Profiling Buffer
00000