HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 248

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 4 Memory Management Unit (MMU)
4.4.4
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 4.12.
The relationship between bit n of the virtual address and cache size is shown in the following
table. Note that no synonym problems occur in 4-kbyte page when the cache size is 16 kbytes.
To achieve high-speed operation of this LSI’s cache, an index number is created using virtual
address bits 12 to 4. When a 1-kbyte page is used, virtual address bits 12 to 10 is subject to
address translation and when a 4-kbyte page is used, a virtual address bit 12 is subject to address
translation. Therefore, the physical address bits 12 to 10 may not be the same as the virtual address
bits 12 to 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:
Virtual address 1 is recorded in cache entry H'000, and virtual address 2 in cache entry H'0C0.
Since two virtual addresses are recorded in different cache entries despite the fact that the physical
addresses are the same, memory inconsistency will occur as soon as a write is performed to either
virtual address.
Consequently, the following restrictions apply to the recording of address translation information
in TLB entries.
1. When address translation information whereby a number of 1-kbyte page TLB entries are
2. When address translation information whereby a number of 4-kbyte page TLB entries are
Rev. 3.00 Jan. 18, 2008 Page 186 of 1458
REJ09B0033-0300
Cache Size
16 kbytes
32 kbytes
translated into the same physical address is recorded in the TLB, ensure that the VPN bits 12 is
the same.
translated into the same physical address is recorded in the TLB, ensure that the VPN bit 12 is
the same.
Avoiding Synonym Problems
Virtual address 1 H'0000 0000 → physical address H'0000 0C00
Virtual address 2 H'000 00C00 → physical address H'0000 0C00
Bit n in Virtual Address
11
12

Related parts for HD6417320