Performance Counter Command Register
The Performance Counter Command Register (PCCMDR) is used to issue commands to
clear, start, stop, or sample all counters. This register is a write-only register. Issuing a read
request has no effect, and undefined data is read.
31
Table 2-43: Performance Counter Command Register (PCCMDR)
Bits
Name
4
Clear
3
Start
2
Stop
1
Sample
0
Reset
Performance Counter Status Register
The Performance Counter Status Register (PCSR) reads the sampled status of the counters.
To read the status for all configured counters, the register should be read repeatedly for
each of the counters. This register is a read-only register. Issuing a write request to the register
does nothing.
Every time the register is read, the selected counter is incremented. By using the
Performance Counter Command Register, the selected counter can be reset to the first
counter again.
31
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
↑
Reserved
Figure 2-27: Performance Counter Command Register
Clear all counters to zero
Start counting configured events for all counters simultaneously
Stop counting all counters simultaneously
Sample status and values in all counters simultaneously for reading
Reset accessed counter to the first event counter for access using the
Performance Counter Command, Status, Read Data and Write Data
Reserved
Figure 2-28: Performance Counter Status Register
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Description
↑
5
4
3
2
1
0
↑ ↑ ↑ ↑ ↑
CLR STA
SAM RES
STOP
Reset Value
0
0
0
0
0
2
1
0
↑ ↑
OF FULL
93
Send Feedback
Need help?
Do you have a question about the MicroBlaze and is the answer not in the manual?
Questions and answers