Chapter 9
Chapter 9
Chapter 9
1 2.0 V minimum
0 0 Queue is idle
1 0 Queue is empty
S2 S1 S0 Function
0 0 0 Interrupt Ack
0 0 1 I/O read
0 1 0 I/O write
0 1 1 Halt
1 0 0 Opcode fetch
1 0 1 Memory read
1 1 0 Memory write
1 1 1 passive
Clock Generator – 8284A
• AEN1 and AEN2
RDY1 and RDY2
Address enable 1 and address enable 2 are used together with RDY1
and RDY2 to cause wait states in 8086/8088. These pins together form
the output of the READY pin.
• ASYNC – ready synchronization input adds synchronization to the
READY output.
• READY – This output pin connects to the READY input pin of
8086/8088.
• X1 and X2 – Crystal Oscillator pins connect to an external crystal that is
used as timing input to the clock generator.
• F/C – Frequency/Crystal select. If the pin is held high, an external clock
is provided to the EFI input pin, otherwise internal crystal oscillator is
used.
• CLK – output pin that connects to the CLK input pin of 8086/8088. CLK
is one third of the crystal or EFI input frequency.
• PCLK – peripheral CLK – One sixth of the EFI or crystal clock.
• OSC – same frequency as the crystal or EFI.
• RES – reset input is active when it is low. Resets the clock generator.
• RESET – reset output is connected to RESET input of 8086/8088.
• CSYNC – clock synchronization – is used to provide synchronization
when EFI is used. When internal crystal is used, this pin must be
grounded.
• GND – ground pin.
• Vcc – power supply.
////
Bus Timing
• 8086/8088 use the memory and I/O in periods called bus cycles. Each
bus cycle equals for system-clocking periods (T states)
• During T1, the address of the memory location or I/O is sent out on the
address bus.
• Also, during T1, control signals ALE, DT/R, IO/M or M/IO are also output.
• During T2, 8086/8088 issue the RD or WR signal, DEN, and in case of
write, the data to be written appears on the data bus.
• DEN turns on the data bus buffers, and thus microprocessor accept data
for a read or memory/IO receive data to be written.
• READY is sampled at the end of T2. If READY is low at this time, T3
becomes a wait state (Tw).
• This clock period is provided to access data.
• If this happens to be a read bus cycle, data is sampled at the end of T3.
• In T4, all bus signals are deactivated in preparation for the next bus
cycle.
• This is also the time when microprocessor samples the data bus for data
that is read from memory/IO.
• The trailing edge of WR signal transfers data to memory or IO and
returns to logic 1.
• Memory access time starts when the address appears on the
address bus until data is sampled by the microprocessor on the data
bus in the middle of T3.
• If each clock period is of 200ns, then it means memory access time
is approx 3time periods, i.e. 600ns
• Out of this we need to subtract two things, time for address to be
stable (Tclav) and time for data to be set-up (Tdvcl) on the data bus.
• Usually Tclav is 110ns and Tdvcl is 30ns.
• Thus, memory access time is 600-110-30 = 460ns.
• So, the memory device that is connected to 8086/8088 should take
significantly less time to fetch access data than 460ns.