VIMS Configurations
7.1.1.3
Cache Mode
In cache mode, the RAM block functions as an 8K 4-way random replacement cache for the Flash block.
The GPRAM space is not available in cache mode. The cache support is only available for CPU accesses
to the flash SYSCODE address space. System bus accesses to the Flash block and CPU accesses to the
flash USERCODE address space are routed directly to the Flash block.
icode/dcode
sysbus
In cache mode, all CPU accesses to the flash SYSCODE address space are directed to the cache first.
The cache looks up the input address in the internal tag RAM to determine whether the access is a cache
hit or a cache miss.
In the case of a cache miss, the access is forwarded to the Flash block. The response from the Flash
block is routed back to the cache, then the cache is updated.
In the case of a cache hit, the data is fetched directly from the cache RAM.
The cache also contains a line buffer because the cache RAM word size is 64 bits. The objective of the
line buffer is to prevent refetching the 32-bit part of the data that has already been fetched (but not used)
in the previous access. The line buffer prevents both TAG and CACHE lookup if the data is already in the
line buffer.
The cache line buffer is cleared as a part of the invalidation scheme.
536
Versatile Instruction Memory System (VIMS)
Figure 7-5. VIMS Module in Cache Mode
SYSCODE
address space
CACHE
USERCODE
address space
FLASH
USERCODE and
SYSCODE
address space
ROM
BROM
address space
Copyright © 2015, Texas Instruments Incorporated
SWCU117C – February 2015 – Revised September 2015
Submit Documentation Feedback
www.ti.com
Need help?
Do you have a question about the SimpleLink CC2620 and is the answer not in the manual?