Download MPC603e RISC Microprocessor User`s Manual

Transcript
Freescale Semiconductor, Inc.
Freescale Semiconductor, nc...
I
Chapter 8
System Interface Operation
This chapter describes the MPC603e microprocessor’s bus interface and its operation. It
shows how the MPC603e signals, defined in Chapter 7, “Signal Descriptions,” interact to
perform address and data transfers.
8.1
Overview
The system interface prioritizes requests for bus operations from the instruction and data
caches and performs bus operations per the MPC603e bus protocol. It includes address
register queues, prioritization logic, and the bus control unit. The system interface latches
snoop addresses for snooping in the data cache and address register queues, snoops for
direct-store reply operations and reservations controlled by the Load Word and Reserve
Indexed (lwarx) and Store Word Conditional Indexed (stwcx.) instructions, and maintains
the touch load address for the cache. The interface allows one level of pipelining; that is,
with certain restrictions discussed later, there can be two outstanding transactions at any
given time. Accesses are prioritized with load operations preceding store operations.
Instructions are automatically fetched from the memory system into the instruction unit
where they are dispatched to the execution units or forwarded to the branch processing unit
at a peak rate of three instructions per clock (see Section 6.3, “Timing Considerations”).
Conversely, load and store instructions explicitly specify the movement of operands to and
from the integer and floating-point register files and the memory system.
When the MPC603e encounters an instruction or data access, it calculates the logical
address (effective address in the architecture specification) and uses the low-order address
bits to check for a hit in the on-chip, 16-Kbyte instruction and data caches. During cache
lookup, the instruction and data memory management units (MMUs) use the higher-order
address bits to calculate the virtual address, allowing them to calculate the physical address
(real address in the architecture specification). The physical address bits are then compared
with the corresponding cache tag bits to determine if a cache hit occurred. If the access
misses in the corresponding cache, the physical address is used to access system memory.
In addition to loads, stores, and instruction fetches, the MPC603e performs software table
search operations following TLB misses, cache cast-out operations when least recently
used (LRU) cache lines are written to memory after a cache miss, and cache-line snoop
Chapter 8. System Interface Operation
For More Information On This Product,
Go to: www.freescale.com