Section 8 Cache
Rev. 2.00 Mar 09, 2006 page 368 of 906
REJ09B0292-0200
Table 8.3
LRU Information after Update
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Way 0
0
0
0
—
—
—
Way 1
1
—
—
0
0
—
Way 2
—
1
—
1
—
0
Way 3
—
—
1
—
1
1
Note: —: Holds the value before update.
Table 8.4
Selection Conditions for Replaced Way
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Way 0
1
1
1
—
—
—
Way 1
0
—
—
1
1
—
Way 2
—
0
—
0
—
1
Way 3
—
—
0
—
0
0
Note: —: Don’t care.
8.4.6
Cache Initialization
Purges of the entire cache area can only be carried out by writing 1 to the CP bit in CCR. Writing
1 to the CP bit initializes the valid bit of the address array, and all bits of the LRU information, to
0. Cache purges are completed in 1 cycle, but additional time is required for writing to CCR.
Always initialize the valid bit and LRU before enabling the cache.
When the cache is enabled, instructions are read from the cache even during writing to CCR. This
means that the prefetched instructions are read from the cache. To do a proper purge, write 0 to
CCR’s CE bit, then disable the cache and purge. Since CCR’s CE bit is cleared to 0 by a power-on
reset or manual reset, the cache can be purged immediately by a reset.
8.4.7
Associative Purges
Associative purges invalidate 1 line (16 bytes) corresponding to specific address contents when
the contents are in the cache.
When the contents of a shared address are rewritten by one CPU in a multiprocessor configuration
or a configuration in which the chip's internal E-DMAC (or DMAC) and CPU share memory, that
address must be invalidated in the cache of the other CPU if it is present there.
Summary of Contents for SH7616
Page 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Page 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Page 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Page 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Page 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Page 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Page 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Page 935: ...SH7616 Hardware Manual ...