
Write Buffer and Read Buffer
11-8
Élan™SC520 Microcontroller User’s Manual
Figure 11-4
Write Buffer Collapsing Example
11.5.1.2.2
Read-Merging
The write buffer supports read-merging.
■
Read-merging, as illustrated in Figure 11-5 on page 11-9, occurs when a read cycle hits
a “dirty” doubleword that currently exists in the write buffer, and the read data returned
from SDRAM is replaced, or
merged, with existing bytes from the write buffer.
Read-merging does not negate the need for a SDRAM read cycle. Even during a read cycle
that hits a complete dirty doubleword in the write buffer, a read cycle to SDRAM will still
occur, but the entire doubleword from SDRAM will be replaced with the more recent
doubleword in the write buffer. Read-merging maintains data coherency and enhances
SDRAM performance by
not requiring a flush of the write buffer contents to SDRAM before
every read cycle.
0
1
2
3
30
31
1.
CPU Write, Low Word, Adrs 0A00X, Data 55AAh
AA
55
AA
55
0
1
2
3
30
31
D[7:0]
D[15:8]
D[23:16]
D[31:24]
D[7:0]
D[15:8]
D[23:16]
D[31:24]
12
34
56
78
1.
CPU Write, Low Word, Adrs 0A00X, Data 55AAh
2.
CPU Write, Doubleword, Adrs 0X, Data 12345678h
EF
CD
0
1
2
3
30
31
D[7:0]
D[15:8]
D[23:16]
D[31:24]
12
34
56
78
1.
CPU Write, Low Word, Adrs 0A00X, Data 55AAh
2.
CPU Write, Doubleword, Adrs 0X, Data 12345678h
3.
CPU Write, Low Word, Adrs 0A00X, Data CDEFh
Notes:
This example illustrates how existing data can be overwritten. Separate write cycles can be
“collapsed” and reduced to only one doubleword SDRAM write transaction.
Summary of Contents for Elan SC520
Page 1: ...lan SC520 Microcontroller User s Manual Order 22004A...
Page 4: ...iv lan SC520 Microcontroller User s Manual...
Page 28: ...Introduction xxviii lan SC520 Microcontroller User s Manual...
Page 42: ...Architectural Overview 1 14 lan SC520 Microcontroller User s Manual...
Page 78: ...System Initialization 3 22 lan SC520 Microcontroller User s Manual...
Page 108: ...Clock Generation and Control 5 10 lan SC520 Microcontroller User s Manual...
Page 118: ...Reset Generation 6 10 lan SC520 Microcontroller User s Manual...
Page 148: ...System Arbitration 8 24 lan SC520 Microcontroller User s Manual...
Page 214: ...SDRAM Controller 10 36 lan SC520 Microcontroller User s Manual...
Page 230: ...Write Buffer and Read Buffer 11 16 lan SC520 Microcontroller User s Manual...
Page 288: ...GP Bus DMA Controller 14 22 lan SC520 Microcontroller User s Manual...
Page 316: ...Programmable Interval Timer 16 8 lan SC520 Microcontroller User s Manual...
Page 328: ...Software Timer 18 4 lan SC520 Microcontroller User s Manual...
Page 346: ...Real Time Clock 20 12 lan SC520 Microcontroller User s Manual...
Page 360: ...UART Serial Ports 21 14 lan SC520 Microcontroller User s Manual...
Page 414: ...AMDebug Technology 26 8 lan SC520 Microcontroller User s Manual...