Lecture17 PDF
Lecture17 PDF
IO/M
S0
S1
(H)
A15-A8
T.S
AD7-AD0 (L) (A) data
ALE
WR
RESET IN=0
RESET IN=0
TRESET
T1 HALT(HLTA F/F=1)
THALT
HALT
(HLTA F/F=0)
HOLD=1 VALID INT=1
T2
READY=1
OFMC CC=6
T3 T4 T5 T6
OFMC CC=4
RESET IN=0
RESET IN=0
TRESET
RESET IN=1
T1 HALT(HLTA F/F=1)
THALT
HALT
(HLTA F/F=0)
READY=0 READY=0
T2 TWAIT
READY=1
READY=1
OFMC CC=6
T3 T4 T5 T6
OFMC CC=4
+5V D Q1 D Q2 READY
CLK CLK
Q2
CR
CLK(OUT)
CLK(OUT)
IO/M
S0
S1
A15-A8 (PCH)
ALE
RD
Q1=1 Q2=1
Q2=0
READY
The CLK(OUT) signal is 180° out of phase with CLK signal. The
rising edge of CLK signal sets Q1 and therefore, D input of 2nd flip-
flop. Before the processor checks the READY signal during T2 state,
rising edge of CLK(OUT) signal makes the READY signal LOW.
Sampling of the READY line in state T2 inserts WAIT state The Q2
output also clears 1st flip-flop and Q1 becomes LOW. The next
CLK(OUT) signal sets the READY signal. Sampling of the READY
line again in WAIT state allows processor to enter in T3 state. Thus a
single WAIT state is inserted in OFMC and allows the 𝜇𝑝 to
synchronize to memories or I/O devices with long access time. This,
of course, is associated with increased instruction cycle time and
additional logic to control the READY input.
External logic controlling the READY line can be designed so
that none, a fixed number or a variable number of WAIT states
transitions occur during each cycle. This logic can also be designed
so that these wait states occurs only for specific types of machine
cycles eg. OFMC.
A monostable can be triggered by 8085A RD or WR pulse as
shown in fig.4.18, to make READY signal LOW each time the slower
device is addressed. The monostable can be enabled by the same
signal that is sent to select the addressed device. This prevents a
WAIT state to be introduced during each read or write operation.
R C
Q
READY
RD 74121
WR Monoshot
Fig.4.17 Monoshot Used to Make READY Signal LOW for Fixed Duration