English
Language : 

SH7729R Datasheet, PDF (191/855 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
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 registers.
Table 5.3 Register Configuration
Register
Abbr. R/W Initial Value Address
Access Size
Cache control register
CCR
R/W H'00000000 H'FFFFFFEC 32
Cache control register 2
CCR2 W
H'00000000 H'040000B0 32
(H'A40000B0)*
Note: * When address translation by the MMU does not apply, the address in parentheses should
be used.
5.2 Register Descriptions
5.2.1 Cache Control Register (CCR)
The cache is enabled or disabled using the CE bit in the cache control register (CCR). CCR also
has a CF bit (which invalidates all cache entries), and 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. When updating the contents of the CCR register, bit
4 must always be cleared to 0. Figure 5.2 shows the configuration of the CCR register.
Rev. 5.0, 09/03, page 145 of 806