English
Language : 

SH7713 Datasheet, PDF (242/904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Section 5 Memory Management Unit (MMU)
MMUCR
31
0
Index
9
0
SV 0 0 RC 0 TF IX AT
Way Selection
PTEH Register
31
17
VPN
12 10 8
0
VPN 0 ASID
PTEL Register
31 29 28 10
0
0 0 0 PPN 0 V 0 PR SZ C D SH 0
Write
Way 0 to 3
Write
0 VPN(31-17) VPN(11-10) ASID(7-0) V PPN(28-10) PR(1-0) SZ C D SH
31
Address Array
Data Array
Figure 5.11 Operation of LDTLB Instruction
5.4.4 Avoiding Synonym Problems
When a 1- or 4-kbyte page is recorded in a TLB entry, a synonym problem may arise. If a number
of virtual addresses are mapped onto a single physical address, the same physical address data will
be recorded in a number of cache entries, and it will not be possible to guarantee data congruity.
The reason that this problem occurs is explained below with reference to figure 5.12. The
relationship between bit n of the virtual address and cache size is shown in the following table.
Cache Size
16 kbytes
32 kbytes
Bit n of Virtual Address
11
12
To achieve high-speed operation of this LSI’s cache, an index number is created using virtual
address [n:4]. When a 1-kbyte page is used, virtual address [n:10] is subject to address translation
and when a 4-kbyte page is used, a virtual address [n:12] is subject to address translation.
Therefore, the physical address [n:10] may not be the same as the virtual address [n:10].
For example, assume that, with 1-kbyte page TLB entries, TLB entries for which the following
translation has been performed are recorded in two TLBs:
Rev.1.50 Aug. 30, 2006 Page 202 of 860
REJ09B0288-0150