Read-Modify-Write Cycle - Motorola MC68340 User Manual

Integrated processor with dma
Hide thumbs Also See for MC68340:
Table of Contents

Advertisement

State 4—The MC68340 issues no new control signals during S4.
State 5—The MC68340 negates AS and DS during S5. It holds the address and data valid
during S5 to provide address hold time for memory systems. R/ W , SIZ1/SIZ0, and FC3–
FC0 also remain valid throughout S5. The external device must keep DSACK asserted
until it detects the negation of AS or DS (whichever it detects first). The device must
negate DSACK within approximately one clock period after sensing the negation of AS
or DS . DSACK
signals that remain asserted beyond this limit may be prematurely
detected for the next bus cycle.

3.3.3 Read-Modify-Write Cycle

The read-modify-write cycle performs a read, conditionally modifies the data in the
arithmetic logic unit, and may write the data out to memory. In the MC68340, this
operation is indivisible, providing semaphore capabilities for multiprocessor systems.
During the entire read-modify-write sequence, the MC68340 asserts RMC to indicate that
an indivisible operation is occurring. The MC68340 does not issue a BG signal in response
to a BR signal during this operation. Figure 3-9 is an example of a functional timing
diagram of a read-modify-write instruction specified in terms of clock periods.
CLK
OUT
A31–A30
FC3–FC0
SIZ1–SIZ0
R/W
RMC
AS
DS
DSACKx
D15–D0
MOTOROLA
Freescale Semiconductor, Inc.
S0
S2
S4
READ
Figure 3-9. Read-Modify-Write Cycle Timing
MC68340 USER'S MANUAL
For More Information On This Product,
Go to: www.freescale.com
S0
S2
WRITE
INDIVISIBLE
CYCLE
S4
S0
3- 19

Advertisement

Table of Contents
loading

Table of Contents