The data field is used for the longword data specification.
The following two kinds of operation can be used on the OC data array:
1. OC data array read
Longword data is read into the data field from the data specified by the longword specification
bits in the address field in the OC entry corresponding to the way and entry set in the address
field.
2. OC data array write
The longword data specified in the data field is written for the data specified by the longword
specification bits in the address field in the OC entry corresponding the way and entry set in
the address field. This write does not set the U bit to 1 on the address array side.
31
24 23
15 14 13
5 4
2 1 0
Address field
Data field
1 1 1 1 0 1 0 1
Entry
L
Way
31
0
Longword data
L : Longword specification bits
: Reserved bits (0 write value, undefined read value)
Figure 4.15 Memory-Mapped OC Data Array
Summary of the Memory-Mapping of the OC
4.6.5
The address ranges to which the OC is memory-mapped in the double-sized cache mode of the
SH7750R are summarized below, using examples of data-array access.
•
In normal mode (CCR.ORA = 0)
H'F500 0000 to H'F500 3FFF (16 kB ): Way 0 (entries 0 to 511)
H'F500 4000 to H'F500 7FFF (16 kB ): Way 1 (entries 0 to 511)
:
:
:
In the same pattern, shadows of the cache area are created in 32-kbyte blocks until H'F5FF
FFFF.
•
In RAM mode (CCR. ORA = 1)
H'F500 0000 to H'F500 1FFF (8 kB ): Way 0 (entries 0 to 255)
H'F500 2000 to H'F500 3FFF (8 kB ): Way 1 (entries 0 to 255)
:
:
:
In the same pattern, shadows of the cache area are created in 16-kbyte blocks until H'F5FF
FFFF.
Rev. 6.0, 07/02, page 121 of 986