English
Language : 

HD6417727BP160CV Datasheet, PDF (209/1098 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH™ RISC engine Family/ SH7700 Series
Section 5 Cache
cache will not function correctly. When modifying the LRU bits by software, set one of the
patterns listed in table 5.2.
The LRU bits are initialized to 0 by a power-on reset, but are not initialized by a manual reset.
Table 5.2 LRU and Way Replacement
LRU (5–0)
000000, 000100, 010100, 100000, 110000, 110100
000001, 000011, 001011, 100001, 101001, 101011
000110, 000111, 001111, 010110, 011110, 011111
111000, 111001, 111011, 111100, 111110, 111111
Way to be Replaced
3
2
1
0
5.1.3 Register Configuration
Table 5.3 shows details of the cache control register.
Table 5.3 Register Configuration
Register
Abbr.
R/W Size
Initial Value Address
Cache control register
CCR
R/W Longword H'00000000 H'FFFFFFEC
Cache control register 2 CCR2
W Longword H’00000000 H'040000B0
(H'A40000B0)*
Note: * When address translation by the MMU does not apply, the address in parentheses should
be used.
5.2 Register Description
5.2.1 Cache Control Register (CCR)
The cache is enabled or disabled using the CE bit of the cache control register (CCR). CCR also
has a CF bit (which invalidates all cache entries), and a WT and CB bits (which select either write-
through mode or write-back mode). Programs that change the contents of the CCR register should
be placed in address space that is not cached. Figure 5.2 shows the configuration of the CCR
register.
Rev.6.00 Mar. 27, 2009 Page 151 of 1036
REJ09B0254-0600