
Introduction
Instruction Cache
10
SPRU630C
Figure 1.
Conceptual Block Diagram of the I-Cache in the DSP System
2-way cache
I-Cache registers
Control logic
I-Cache
Cache-control bits in
ST3_55 to enable, freeze,
Data read/write logic
queue
Instruction buffer
I-Cache
enabled
I-Cache
disabled
CPU
EMIF
External memory
VC5501/5502 DSP
and flush I-Cache
to configure and
monitor I-Cache
IPORT
When fetching instruction code from external memory, the CPU sends a 32
−
bit
access request to the instruction cache (I-Cache) using its program
−
read data
bus (P bus). If the instruction cache is disabled, the request goes directly to
the IPORT and then to the external memory interface (EMIF). The EMIF must
read 32 bits from the external memory and then pass all 32 bits to the IPORT,
which in turn sends the data to the CPU.
Two things could happen if the instruction cache is enabled. In the case of a
cache hit, the CPU request will be immediately serviced by the instruction
cache and no data will be read from external memory. In the case of a cache
miss, the instruction cache will request four 32
−
bit words from the EMIF
through the IPORT. The EMIF will read four 32
−
bit words from external
memory and then pass the data to the instruction cache through the IPORT.
The instruction cache will then send the requested data to the CPU and update
its memory contents. More information on the EMIF can be found in the
Содержание TMS320VC5501
Страница 1: ...TMS320VC5501 5502 DSP Instruction Cache Reference Guide SPRU630C June 2004 ...
Страница 6: ...6 Instruction Cache SPRU630C This page is intentionally left blank ...
Страница 26: ...Instruction Cache 26 SPRU630C This page is intentionally left blank ...
Страница 28: ...Instruction Cache 28 SPRU630C This page is intentionally left blank ...