L1 Data Cache - Analog Devices ADSP-BF53x Blackfin Reference

Table of Contents

Advertisement

L1 Data Cache

For definitions of cache terminology, see
Unlike instruction cache, which is 4-Way set associative, data cache is
2-Way set associative. When two banks are available and enabled as cache,
additional sets rather than Ways are created. When both Data Bank A and
Data Bank B have memory serving as cache, the
DMEM_CONTROL
space is handled by which bank of cache memory. The
either address bit 14 or 23 to steer traffic between the cache banks. This
provides some control over which addresses alias into the same set. It may
therefore be used to affect which addresses tend to remain resident in
cache by avoiding victimization of repetitively used sets.
Accesses to cache do not collide unless they are to the same 4K byte sub-
bank, the same half bank, and to the same bank. Cache has less apparent
multi-ported behavior than SRAM due to the overhead in maintaining
tags. When cache addresses collide, access is granted first to the
ister accesses, then to the store buffer, and finally to cache fill/victim
traffic.
Three different cache modes are available.
• Write-through with cache line allocation only on reads
• Write-through with cache line allocation on both reads and writes
• Write-back which allocates cache lines on both reads and writes
Cache mode is selected by the
and Properties" on page
be used simultaneously since cache mode is selectable for each memory
page independently.
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
register may be used to control which half of all address
DCPLB
6-45). Any combination of these cache modes can
"Terminology" on page
bit in the
DCBS
descriptors (see
"Memory Protection
Memory
6-74.
bit selects
DCBS
reg-
DTEST
6-29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adsp-bf56x blackfin

Table of Contents