CHAPTER 3 FUNCTIONAL OUTLINE
PRELIMINARY
NEC confidential and Proprietary
95
The following figure shows the functions related to the counters and the registers that implement them.
Figure 3-28. Performance Counter Related Register
31 16
15
0
Counter
15
0
CSMPT or
CSMPR register
1
Set the bit corresponding to the desired counter to 1.
31 16
15
0
(a) Monitoring a counter
All the counters are 32 bits wide. After power-on, each counter starts counting the number of events
associated with it. A counter unit consists of a counter that actually counts the number of events and a load
register in which the counter value is stored temporarily.
1. The CPU sets the bits in the CSMPT and CSMPR register corresponding to the counter whose value is to
be obtained to 1.
2. The
µ
PD98413 loads the count value at the time of the counter that has been set to 1 to the load register,
and clears the counter to 0. It also clears the bits of the CSMPT and CSMPR register to 0.
3. The CPU reads the count value from the load register. The count value that has been stored to the load
register is retained until a new value is loaded by the CAMPR register.
4. If the counter will be overflow, the counter start counting from 0 again, and the corresponding bit of the
registers is set to 1 to report the overflow to the CPU.
The CPU reads the count value.
Load
Reset the counter when loading.
Load register
Counter
Содержание NEASCOT-P65
Страница 4: ...PRELIMINARY NEC confidential and Proprietary 4 MEMO ...
Страница 8: ...PRELIMINARY 8 MEMO ...
Страница 15: ...PRELIMINARY NEC confidential and Proprietary 15 CHAPTER 2 PIN FUNCTION 2 1 Pin Configuration TBD ...
Страница 16: ...CHAPTER 2 PIN FUNCTION PRELIMINARY NEC confidential and Proprietary 16 Pin Arrangement Table TBD ...
Страница 33: ...CHAPTER 2 PIN FUNCTION PRELIMINARY NEC confidential and Proprietary 33 2 2 13 Handling Unused Pins TBD ...
Страница 34: ...CHAPTER 2 PIN FUNCTION PRELIMINARY NEC confidential and Proprietary 34 2 2 14 Initial States of Each Pin TBD ...
Страница 35: ...PRELIMINARY NEC confidential and Proprietary 35 MEMO ...
Страница 114: ...CHAPTER 4 INTERFACES PRELIMINARY NEC confidential and Proprietary 114 7 Connection example TBD ...
Страница 135: ...CHAPTER 4 INTERFACES PRELIMINARY NEC confidential and Proprietary 135 ...
Страница 166: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 166 5 2 Register summary ...
Страница 167: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 167 ...
Страница 168: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 168 ...
Страница 303: ...CHAPTER 5 REGISTERS PRELIMINARY NEC confidential and Proprietary 303 MEMO ...
Страница 317: ...CHAPTER 6 JTAG BOUNDARY SCAN PRELIMINARY NEC confidential and Proprietary 318 MEMO ...