IBM SA14-2339-04 Personal Computer User Manual


 
4-4 PPC405 Core User’s Manual
Figure 4-1 shows the relationships between the ICU and the instruction pipeline.
4.2.1 ICU Operations
Instructions from cachable memory regions are copied into the instruction cache array, if an array is
present. The fetcher can access instructions much more quickly from a cache array than from
memory. Cache lines can be loaded either target-word-first or sequentially, or in any order. Target-
word-first fills start at the requested word, continue to the end of the line, and then wrap to fill the
remaining words at the beginning of the line. Sequential fills start at the first word of the cache line
and proceed sequentially to the last word of the line.
The bypass path handles instructions in cache-inhibited memory and improves performance during
line fill operations. If a request from the fetcher obtains an entire line from memory, the queue does
not have to wait for the entire line to reach the cache. The target word (the word requested by the
fetcher) is sent on the bypass path to the queue while the line fill proceeds, even if the selected line fill
order is not target-word-first.
Cache line fills always run to completion, even if the instruction stream branches away from the rest of
the line. As requested instructions are received, they go to the fetcher from the fill register before the
line fills in the cache. The filled line is always placed in the ICU; if an external memory subsystem
error occurs during the fill, the line is not written to the cache. During a clock cycle, the ICU can send
two instruction to the fetcher.
Execute
PFB1
PFB0
Decode
Addresses from Fetcher
Instruction
Arrays
Tag
Arrays
Addresses
Instructions
Figure 4-1. Instruction Flow
Bypass Path
Instruction Queue