![](http://datasheet.mmic.net.cn/230000/79RC32438-200BB_datasheet_15568909/79RC32438-200BB_124.png)
IDT MIPS32 4Kc Processor Core
CP0 Registers
79RC32438 User Reference Manual
2 - 62
November 4, 2002
Notes
EntryHi Register (CP0 Register 10, Select 0)
The EntryHi register contains the virtual address match information used for TLB read, write, and access
operations. A TLB exception (TLB Refill, TLB Invalid, or TLB Modified) causes bits VA31:13 of the virtual
address to be written into the VPN2 field of the EntryHi register. The ASID field is written by software with
the current address space identifier value and is used during the TLB comparison process to determine
TLB match. The VPN2 field of the EntryHi register is not defined after an address error exception. This
register is only valid with the TLB.
EntryHi Register Format
31
Compare Register (CP0 Register 11, Select 0)
The Compare register acts in conjunction with the Count register to implement a timer and timer inter-
rupt function. The timer interrupt is an output of the cores. The Compare register maintains a stable value
and does not change on its own. When the value of the Count register equals the value of the Compare
register, the SI_TimerInt pin is asserted. This pin will remain asserted until the Compare register is written.
The SI_TimerInt pin can be fed back into the core on one of the interrupt pins to generate an interrupt.
Traditionally, this has been done by multiplexing it with hardware interrupt 5 to set interrupt bit IP(7) in the
Cause register.
For diagnostic purposes, the Compare register is a read/write register. In normal use, however, the
Compare register is write-only. Writing a value to the Compare register, as a side effect, clears the timer
interrupt.
Compare Register Format
31
13 12
8 7
0
VPN2
0
ASID
Fields
Description
Read/
Write
Reset
State
Name
Bit(s)
VPN2
31:13
VA
31:13
of the virtual address (virtual page number /
2). This field is written by hardware on a TLB excep-
tion or on a TLB read, and is written by software
before a TLB write.
R/W
Undefined
0
12:8
Must be written as zero; returns zero on read.
0
0
ASID
7:0
Address space identifier. This field is written by hard-
ware on a TLB read and by software to establish the
current ASID value for TLB write and against which
TLB references match each entry’s TLB ASID field.
R/W
Undefined
Table 2.37 EntryHi Register Field Descriptions
0
Compare
Fields
Description
Read/
Write
Reset
State
Name
Bit(s)
Compare
31:0
Interval count compare value
R/W
Undefined
Table 2.38 Compare Register Field Description