BL602/604 Reference Manual
7.2 Main features
• 4-way Set-Associative mapping
• Variable cache size
• Connect to TCM address space, can easily configure L1C space as TCM space
• Support cache performance statistics
7.3 Function description
7.3.1 Mutual conversion between TCM and Cache RAM resources
In order to increase the memory usage efficiency, the 32K RAM of the cache can be fully or partially adjusted to the
TCM space, which is convenient for users to adjust the memory usage method and efficiency according to the actual
situation.
The default size of the cache is 32K, divided into 4 ways, each way is 8K, the unit of adjustment is 1 way, which is 8K.
The default size of ITCM is 16K. Through the setting of WayDisable, you can flexibly adjust the actual space size of
Cache and ITCM.
Table 7.1: WayDisable settings
WayDisable
Cache
ITCM
none
32K
16K
one way
24K
24K
two way
16K
32K
three way
8K
40K
four way
0K
48K
7.3.2 Cache
The unit of each line buffer is 32 bytes, and the 4-way associative mapping cache is used. The application architecture
is as follows:
BL602/604 Reference Manual
96/ 195
@2020 Bouffalo Lab