L1 Instruction Memory
6-16
ADSP-BF53x/BF56x Blackfin Processor Programming Reference
For example:
• If Way3 is invalid and Ways0, 1, 2 are valid, Way3 is selected for
the new cache line.
• If Ways0 and 1 are invalid and Ways2 and 3 are valid, Way0 is
selected for the new cache line.
• If Ways2 and 3 are invalid and Ways0 and 1 are valid, Way2 is
selected for the new cache line.
When no invalid entries are found, the cache replacement logic uses an
LRU algorithm.
Instruction Cache Management
The system DMA controller and the core DAGs cannot access the instruc-
tion cache directly. By a combination of instructions and the use of core
MMRs, it is possible to initialize the instruction tag and data arrays indi-
rectly and provide a mechanism for instruction cache test, initialization,
and debug.
L
The coherency of instruction cache must be explicitly managed. To
accomplish this and ensure that the instruction cache fetches the
latest version of any modified instruction space, invalidate instruc-
tion cache line entries, as required.
See
“Instruction Cache Invalidation” on page 6-18
.
Instruction Cache Locking by Line
The
CPLB_LRUPRIO
bits in the
ICPLB_DATAx
registers (see
“Memory Protec-
tion and Properties” on page 6-45
) are used to enhance control over which
code remains resident in the instruction cache. When a cache line is filled,
the state of this bit is stored along with the line’s tag. It is then used in
conjunction with the LRU (least recently used) policy to determine which
Way is victimized when all cache Ways are occupied when a new
Содержание ADSP-BF53x Blackfin
Страница 38: ...Conventions xxxviii ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 134: ...System Reset and Powerup 3 18 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 324: ...Instruction Overview 7 20 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 486: ...Instruction Overview 13 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 512: ...Instruction Overview 14 26 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 604: ...Instruction Overview 15 92 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 688: ...Instruction Overview 18 48 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 742: ...Instruction Overview 19 54 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 752: ...Examples 20 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 780: ...Product Identification Register 21 28 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 790: ...ADSP BF535 Flags A 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 800: ...Performance Monitor Registers B 10 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 994: ...Instructions Listed By Operation Code C 194 ADSP BF53x BF56x Blackfin Processor Programming Reference...
Страница 1042: ...Index I 40 ADSP BF53x BF56x Blackfin Processor Programming Reference...