Bus Interface Unit and Write Buffer
6-12
Copyright © ARM Limited 2000. All rights reserved.
6.5
The write buffer
The ARM946E-S provides a write buffer to improve system performance. The write
buffer has a 16-entry FIFO. Each entry can be either address or data. The type of entry
is determined by the setting of an address/data flag. Each address entry is tagged with
the size of transfer, as indicated by the ARM9E-S core (byte, halfword, or word).
Write buffer behavior is controlled by the protection region attributes of the store being
performed and the DCache and protection unit enable status. This control is represented
by the data Cachable bit (Cd) and the write Buffer control bit (Bd) from the protection
unit. These control bits are generated as follows:
Cd bit
This is generated from the cachable attribute of the protection
region AND the DCache enable AND the protection unit enable.
Bd bit
This is generated from the bufferable attribute for the protection
region AND the protection unit enable.
All accesses are initially noncachable and nonbufferable until you have programmed
and enabled the protection unit. Therefore, you cannot use the write buffer while the
protection unit is disabled.
On reset, all entries in the write buffer are invalidated.
6.5.1
Write buffer operation
The write buffer is used when the DCache hits and/or misses, depending on the mode
of operation. Table 6-2 shows how the Cd and Bd bits control the behavior of the write
buffer.
NCNB
Data reads and writes are not cached, and can be externally
aborted. Writes are not buffered, so the processor is stalled until
the external access is performed. NCNB reads bypass the write
buffer.
Table 6-2 Data write modes
Cd
Bd
Access mode
0
0
NCNB (noncachable, nonbufferable)
0
1
NCB (noncachable, bufferable)
1
0
WT (write-through)
1
1
WB (write-back)
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...