EasyManuals Logo
Home>Motorola>Computer Hardware>MPC823e

Motorola MPC823e User Manual

Motorola MPC823e
1353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #198 background imageLoading...
Page #198 background image
Instruction Cache
MOTOROLA
MPC823e REFERENCE MANUAL
9-9
INSTRUCTION CACHE
9
Some commands may take some time to generate errors. In the current implementation,
LOAD & LOCK
is the only command to which this applies. Therefore, when executing these
commands, you must insert an
isync
instruction immediately after the instruction cache
command and check the error status in the IC_CST after the
isync
. The error type bits in
the IC_CST are sticky, thus allowing you to perform a series of instruction cache commands
before checking the termination status. These bits are set by the hardware and cleared by
the software.
Only commands that are not immediately executed need to be followed by an
isync
instruction for the hardware to perform them correctly. However, all commands need to be
followed by an
isync
to make sure all instruction fetches that are after the instruction cache
commands in the program stream are affected by the instruction cache command. When the
instruction cache is executing a command it is busy, so it stops any treatment of core
requests. This eventually results in a machine stall.
9.4.1 Invalidating the Instruction Cache
The MPC823e implements the PowerPC instruction cache block invalidate (
icbi
) instruction
if it only pertains to the MPC823e instruction cache. This instruction does not broadcast on
the external bus and the MPC823e does not snoop this instruction if it is broadcasted by
other masters. This command is not privileged and has no associated error cases. The
instruction cache performs this instruction in one clock cycle. To accurately calculate the
latency of this instruction, bus latency must be taken into consideration.
The invalidate all instruction cache operation is privileged and any attempt to perform it
when the core is in the problem state (MSR
PR
=1) results in a program interrupt. When it is
invoked and MSR
PR
= 0, all valid lines in the cache, except the lines that are locked, are
made invalid. As a result of this command, the lines’ LRU points to an unlocked Way or to
Way 0 if all of the lines are unlocked. This last feature is useful when initializing the
instruction cache out of reset. For more information, refer to
Section 9.8 Reset Sequence
.
To invalidate the whole cache, set the
INVALIDATE ALL
command in the IC_CST. This
command has no associated error cases. The instruction cache performs this instruction in
one clock cycle. To accurately calculate the latency of this instruction, bus latency must be
taken into consideration.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Motorola MPC823e and is the answer not in the manual?

Motorola MPC823e Specifications

General IconGeneral
BrandMotorola
ModelMPC823e
CategoryComputer Hardware
LanguageEnglish

Related product manuals