4-12
MCF5272 User’s Manual
Instruction Cache Overview
to the cache location defined by bits 9–4 of the fill buffer address, the data in the cache
memory array is now most-recently used, so the hardware indicator is cleared. In all cases,
the indicator defines whether the contents of the line-fill buffer or the cache memory data
array are most recently used. If the entire line is present at the time of the next cache miss,
the line-fill buffer contents are written into the cache memory array and the fill buffer data
is still most recently used compared to the cache memory array.
The fill buffer can also be used as temporary storage for line-sized bursts of non-cacheable
references under control of CACR[CEIB]. With this bit set, a noncacheable instruction
fetch is processed as defined by Table 4-6. For this condition, the fill buffer is loaded and
subsequent references can hit in the buffer, but the data is never loaded into the cache
memory array.
Table 4-6 shows the relationship between CENB, CEIB, and the type of instruction fetch.
4.5.3 Instruction Cache Programming Model
Three supervisor registers define the operation of the instruction cache and local bus
controller: the cache control register (CACR) and two access control registers (ACR0,
ACR1). Table 4-7 shows the memory map of the CACR and ACRs. These registers have the
following characteristics:
•
The CACR and ACRs can be accessed only in supervisor mode using the MOVEC
instruction with an Rc value of 0x002 (CACR), 0x004 (ACR0), and 0x005 (ACR1).
•
Addresses not assigned to the registers and undefined register bits are reserved for
future expansion. Write accesses to these reserved address spaces and reserved
register bits have no effect; read accesses return zeros.
•
The reset value column indicates the initial value of the register at reset.
Uninitialized fields may contain random values after reset.
Table 4-6. Instruction Cache Operation as Defined by CACR[CENB,CEIB]
CACR[CENB,CEIB]
Type of Fetch
Description
00
N/A
Instruction cache and line-fill buffer are disabled; fetches are word or
longword in size.
01
N/A
Instruction cache is disabled but because the line-fill buffer is enabled,
CACR[CLNF] defines fetch size and instructions can be bursted into the
line-fill buffer.
1X
Cacheable
Cache is enabled; CACR[CLNF] defines fetch size and line-fill buffer contents
can be written into the cache memory array.
10
Noncacheable
Cache is enabled but the linefill buffer is disabled; fetches are either word or
longword and are not loaded into the line-fill buffer.
11
Noncacheable
Cache and line buffer are enabled; CACR[CLNF] defines fetch size; fetches
are loaded into the line-fill buffer but never into the cache memory array.
Содержание DigitalDNA ColdFire MCF5272
Страница 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Страница 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Страница 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Страница 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Страница 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Страница 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Страница 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Страница 338: ...13 44 MCF5272 User s Manual Application Examples ...
Страница 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Страница 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Страница 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Страница 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...
Страница 548: ...INDEX Index 12 MCF5272 User s Manual ...