e200z1 Core (Z1)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
10-15
Preliminary
Figure 10-5. Virtual Address and TLB-Entry Compare Process
The page size defined for a TLB entry determines how many bits of the effective address are compared
with the corresponding EPN field in the TLB entry as shown in
corresponding bits of the Real Page Number (RPN) field are used to form the real address.
On a TLB hit, the generation of the physical address occurs as shown in Figure 10-6.
Table 10-3. Page Size and EPN Field Comparison
SIZE Field
Page Size
(4
SIZE
Kbytes)
EA to EPN Comparison
0b0001
0b0010
0b0011
0b0100
0b0101
0b0110
0b0111
0b1000
0b1001
0b1010
0b1011
4 Kbyte
16 Kbyte
64 Kbyte
256 Kbyte
1 Mbyte
4 Mbyte
16 Mbyte
64 Mbyte
256 Mbyte
1 Gbyte
4Gbyte
EA[0:19] =? EPN[0:19]
EA[0:17] =? EPN[0:17]
EA[0:15] =? EPN[0:15]
EA[0:13] =? EPN[0:13]
EA[0:11] =? EPN[0:11]
EA[0:9] =? EPN[0:9]
EA[0:7] =? EPN[0:7]
EA[0:5] =? EPN[0:5]
EA[0:3] =? EPN[0:3]
EA[0:1] =? EPN[0:1]
(none)
TLB entry Hit
=0?
private page
shared page
=?
=?
TLB_entry[V]
TLB_entry[TS]
AS (from MSR[IS] or MSR[DS])
Process ID
TLB_entry[TID]
TLB_entry[EPN]
EA page number bits
=?