Registers - Motorola MC68030 User Manual

Enhanced 32-bit microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

F F F
A
A A A A A A A A A A A A A A A A A A A A A A A A
C C C
3
2 2 2 2 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0
2 1 0
1
3 2
1
1 OF 16
SELECT
TAG REPLACE
COMPARATOR
CACHE SIZE = 64 (LONG WORDS)
LINE SIZE = 4 (LONG WORDS)
SET SIZE = 1
Figure 6-2. On-Chip Instruction Cache Organization
When enabled, the instruction cache is used to store instruction prefetches (instruction
words and extension words) as they are requested by the CPU. Instruction prefetches are
normally requested from sequential memory addresses except when a change of program
flow occurs (e.g., a branch taken) or when an instruction is executed that can modify the
status register, in which cases the instruction pipe is automatically flushed and refilled. The
output signal REFILL indicates this condition. For more information on the operation of this
signal, refer to Section 12 Applications Information .
In the instruction cache, each of the 16 lines has a tag consisting of the 24 most significant
logical address bits, the FC2 function code bit (used to distinguish between user and
supervisor accesses), and the four valid bits (one corresponding to each long word). Refer
to Figure 6-2 for the instruction cache organization. Address bits A7–A4 select one of 16
lines and its associated tag. The comparator compares the address and function code bits
in the selected tag with address bits A31–A8 and FC2 from the internal prefetch request to
determine if the requested word is in the cache. A cache hit occurs when there is a tag match
and the corresponding valid bit (selected by A3–A2) is set. On a cache hit, the word selected
by address bit A1 is supplied to the instruction pipe.
When the address and function code bits do not match or the requested entry is not valid, a
miss occurs. The bus controller initiates a long-word prefetch operation for the required
MOTOROLA
TAG
0
9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
TAG
V
V
V
V
VALID
LINE HIT
MC68030 USER'S MANUAL
LONG-WORD
SELECT
INDEX
ACCESS ADDRESS
ENTRY HIT
On-Chip Cache Memories
DATA FROM INSTRUCTION
CACHE DATA BUS
DATA TO INSTRUCTION
CACHE HOLDING REGISTER
CACHE CONTROL LOGIC
6-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents