Section 5 Cache
Rev. 5.00 May 29, 2006 page 99 of 698
REJ09B0146-0500
Section 5 Cache
5.1
Feature
•
Instruction/data mixed, 16-byte cache
•
256 entries/way, 4-way set associative, 16-byte block
•
Write-back/write-through selectable
•
LRU replacing algorithm
•
1-stage write-back buffer
•
A maximum of two ways lockable
5.1.1
Cache Structure
The cache uses a 4-way set associative system. It is composed of four ways (banks), each of which
is divided into an address section and a data section. Each of the address and data sections is
divided into 256 entries. The data section of the entry is called a line. Each line consists of 16
bytes (4 bytes
×
4). The data capacity per way is 4 kbytes (16 bytes
×
256 entries), with a total of
16 kbytes in the cache as a whole (4 ways). Figure 5.1 shows the cache structure.
24 (1 + 1 + 22) bits
128 (32
×
4) bits
6 bits
LW0 to LW3: Longword data 0 to 3
Entry 0
Entry 1
Entry 255
0
1
255
0
1
255
V
U
Tag address
LW0
LW1
LW2
LW3
Address array (ways 0 to 3)
Data array (ways 0 to 3)
LRU
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Figure 5.1 Cache Structure
Содержание SH7706 Series
Страница 8: ...Rev 5 00 May 29 2006 page viii of xlviii ...
Страница 160: ...Section 5 Cache Rev 5 00 May 29 2006 page 112 of 698 REJ09B0146 0500 ...
Страница 370: ...Section 11 Watchdog Timer WDT Rev 5 00 May 29 2006 page 322 of 698 REJ09B0146 0500 ...
Страница 532: ...Section 16 Serial Communication Interface with FIFO SCIF Rev 5 00 May 29 2006 page 484 of 698 REJ09B0146 0500 ...
Страница 554: ...Section 17 Pin Function Controller PFC Rev 5 00 May 29 2006 page 506 of 698 REJ09B0146 0500 ...
Страница 576: ...Section 18 I O Ports Rev 5 00 May 29 2006 page 528 of 698 REJ09B0146 0500 ...
Страница 614: ...Section 21 User Debugging Interface H UDI Rev 5 00 May 29 2006 page 566 of 698 REJ09B0146 0500 ...
Страница 746: ...Index Rev 5 00 May 29 2006 page 698 of 698 REJ09B0146 0500 ...
Страница 749: ...SH7706 Group Hardware Manual ...