English
Language : 

SH7750_08 Datasheet, PDF (207/1162 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
Section 4 Caches
4.3.6 RAM Mode
Setting CCR.ORA to 1 enables half of the operand cache to be used as RAM. In the SH7750 or
SH7750S, the 8 Kbytes of operand cache entries 128 to 255 and 384 to 511 are used as RAM. In
the SH7750/SH7750S-compatible mode of the SH7750R, the 8-Kbyte area otherwise used for OC
entries 256 to 511 is designated as a RAM area. In the double-sized cache mode of the SH7750R,
a total of 16 Kbytes, comprising entries 256 to 511 in both of the ways of the operand cache, is
designated as a RAM area. Other entries can still be used as cache. RAM can be accessed using
addresses H'7C00 0000 to H'7FFF FFFF. Byte-, word-, longword-, and quadword-size data reads
and writes can be performed in the operand cache RAM area. Instruction fetches cannot be
performed in this area. With the SH7750R, the OC index mode is not available in RAM mode.
An example of RAM use in the SH7750 or SH7750S is shown below. Here, the 4 Kbytes
comprising OC entries 128 to 255 are designated as RAM area 1, and the 4 Kbytes comprising OC
entries 384 to 511 as RAM area 2.
• When OC index mode is off (CCR.OIX = 0)
H'7C00 0000 to H'7C00 0FFF (4 KB): Corresponds to RAM area 1
H'7C00 1000 to H'7C00 1FFF (4 KB): Corresponds to RAM area 1
H'7C00 2000 to H'7C00 2FFF (4 KB): Corresponds to RAM area 2
H'7C00 3000 to H'7C00 3FFF (4 KB): Corresponds to RAM area 2
H'7C00 4000 to H'7C00 4FFF (4 KB): Corresponds to RAM area 1
:
:
:
RAM areas 1 and 2 in the SH7750 or SH7750S then repeat every 8 Kbytes up to H'7FFF
FFFF.
Thus, to secure a continuous 8-Kbyte RAM area, the area from H'7C00 1000 to H'7C00 2FFF
can be used, for example.
• When OC index mode is on (CCR.OIX = 1)
H'7C00 0000 to H'7C00 0FFF (4 KB): Corresponds to RAM area 1
H'7C00 1000 to H'7C00 1FFF (4 KB): Corresponds to RAM area 1
H'7C00 2000 to H'7C00 2FFF (4 KB): Corresponds to RAM area 1
:
:
:
H'7DFF F000 to H'7DFF FFFF (4 KB): Corresponds to RAM area 1
H'7E00 0000 to H'7E00 0FFF (4 KB): Corresponds to RAM area 2
H'7E00 1000 to H'7E00 1FFF (4 KB): Corresponds to RAM area 2
:
:
:
H'7FFF F000 to H'7FFF FFFF (4 KB): Corresponds to RAM area 2
Rev.7.00 Oct. 10, 2008 Page 123 of 1074
REJ09B0366-0700