Professional Documents
Culture Documents
GND
INTR
_____
INTA
Interrupt
interface
_____
TEST
NMI
ALE
____
BHE/S7
8086 MPU
RESET
DT/R
___
RD
___
WR
____
DEN
HOLD
DMA
interface
M/IO
HLDA
READY
Mode
Select MN/MX
CLK
Memory/IO
controls
SYSTEM CLOCK
Clock (CLK) : input signal which synchronize the
internal and external operations of the
microprocessor.
CLOCK GENERATOR IC
The clock source is generated by 8284 ( clock generator and Driver IC )
CLK ( 8) of 8284 is connected to pin 19 8088/8086
8284 also supplies it with 2 of it's control lines RESET and READY. The
RESET signal does resets the 8088. This line can also be used by other
peripherals on the computer so that they reset when the 8088 resets.
READY used to slow down the 8088 ; Dfrom IO circuit thru RD1 and RD2
A crystal oscillator is connected between X1 and X2 which provides a
FUNDAMENTAL CRYSTAL FREQUENCY. ( FCF)
33% duty cycle the FCF is divided by 3 internally by 8244 to provide the
necessary CLK
output pin pclk provide 50% of duty cycle to drive periperal devices
http://en.wikipedia.org/wiki/Crystal_oscillator
Timer States
T1
Address placed on bus
ALE active
T2
Change direction of Data bus for READ instructions
T3-4
Data transfer occurs
required values for ALE, DTR, IO/M putting a valid address onto the
address bus.
case of a write, data is put onto the data bus. The DEN turns on the
data bus buffers to connect the CPU to the external data bus. The
READY input to the CPU is sampled at the end of T2 and if READY is
low, a wait state TW (one or more) is inserted before T3 begins.
the bus cycle is a read cycle, the data bus is sampled at the end of T3.
T4 - all bus signals are deactivated in preparation for the next
clock cycle. The 8088 also finishes sampling the data (in a read
cycle) in this period. For the write cycle, the trailing edge of the
WR signal transfers data to the memory or I/O, which activates
and write when WR returns to logic 1 level.
T1
T2
T3
T4
8.8 HARDWARE
ORGANIZATION OF THE
MEMORY ADDRESS SPACE
8088
8086
Low / Even
Bank
Question
A memory cycle for an 8088 running at 5Mhz has no wait / idle state. What is the duration
for
A) to write a byte into memory
B) to write a word into memory
Y+1
X+1
Address
bus
A19 A1
D15
D8
Y
X
____
BHE ( HIGH
)
D7 D 0
A0 (LOW)
X+1
____
BHE ( LOW )
Address
D15 D8
bus
A19 A1
A0 is set to 1 to disable low bank
D 7 D0
A0 (HIGH)
Address bus
A19 A1
Y+1
X+1
D15 D8
____
BHE ( LOW )
D7 D 0
X+3
X+2
X+1
A0 (HIGH)
Address bus
A19 A1
D15 D8
____
BHE ( LOW )
D7 D0
X+3
X+2
X+1
A0 (LOW)
Address bus
A19 A1
D15 D8
____
BHE ( HIGH )
D7 D0