
Timing Considerations
Instruction Cache
20
SPRU630C
4.2
Miss Penalty
The
miss penalty
is the time required for the I-Cache to deliver the 32-bit
requested word to the CPU in the case of a miss (when the word must be
fetched from external memory). In response to a miss, the I-Cache requests
four words from the external memory interface (EMIF) to load the appropriate
line.
The miss penalty due to an initial request to the EMIF is:
1) Four cycles for the I-Cache to receive the fetch request, detect an I-Cache
miss, and forward the fetch request to the EMIF.
2) X cycles for the EMIF to get the requested word to the I-Cache, where X
depends on factors such as:
-
The initial access latency of the type of external memory that is used
-
The position of the requested word in the I-Cache line. For example, if
the requested word is the third word of the line, two words are fetched
before the requested word.
-
Whether the four words are fetched in a burst access (if synchronous
memory is used)
3) Three cycles for the I-Cache to get the requested 32-bit word to the
instruction fetch unit (I unit) of the CPU.
Subsequent requests can incur a smaller miss penalty if the external memory
is synchronous. After accessing the first word from synchronous memory, the
EMIF can return each of the remaining words in a single cycle.
The I-Cache includes a feature that reduces miss penalties overall. As
mentioned earlier, the I-Cache gives the requested word to the CPU as soon
as it arrives in the I-Cache line, rather than after the whole line is loaded.
Содержание 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 ...