English
Language : 

SH7265 Datasheet, PDF (296/2024 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 9 Cache
9.3.6 Coherency of Cache and External Memory
Use software to ensure coherency between the cache and the external memory.
When memory shared by this LSI and another device is allocated in the cache-enabled space,
operate the memory-allocated cache to invalidate and write back as required. Do the same
operation for memory shared by the CPU on this LSI and the DMAC.
9.4 Memory-Allocated Cache
To allow software management of the cache, cache contents can be read and written by means of
MOV instructions. The instruction cache address array is allocated onto addresses H'F0000000 to
H'F07FFFFF, and the data array onto addresses H'F1000000 to H'F17FFFFF. The operand cache
address array is allocated onto addresses H'F0800000 to H'F0FFFFFF, and the data array onto
addresses H'F1800000 to H'F1FFFFFF. Only longword can be used as the access size for the
address array and data array, and instruction fetches cannot be performed.
9.4.1 Address Array
To access an address array, the 32-bit address field (for read/write accesses) and 32-bit data field
(for write accesses) must be specified.
In the address field, specify the entry address selecting the entry, The W bit for selecting the way,
and the A bit for specifying the existence of associative operation. In the W bit, B'00 is way 0,
B'01 is way 1, B'10 is way 2, and B'11 is way 3. Since the access size of the address array is fixed
at longword, specify B'00 for bits 1 and 0 of the address.
The tag address, LRU bits, U bit (only for operand cache), and V bit are specified as data. Always
specify 0 for the upper three bits (bits 31 to 29) of the tag address.
Refer to figure 9.4 regarding the address and data format.
The following three operations are possible for the address array.
(1) Address Array Read
The tag address, LRU bits, U bit (only for operand cache), and V bit are read from the entry
address specified by the address and the entry corresponding to the way. For the read operation,
associative operation is not performed regardless of whether the associative bit (A bit) specified
by the address is 1 or 0.
Rev. 1.00 Mar. 14, 2008 Page 260 of 1984
REJ09B0351-0100