Docsity

8086,8088 Hardware Specifications-Microprocessors-Lecture Slides, Slides of Microprocessors

Partial preview of the text

Download 8086,8088 Hardware Specifications-Microprocessors-Lecture Slides and more Slides Microprocessors in PDF only on Docsity!

Microprocessors

8086/8088 Hardware Specifications

(Chapter 8)

docsity.com

8088 pin outs and the pin functions

  • The 8088 microprocessor is housed in a 40-pin DIP chip.
  • Power is supplied between the Vcc and the GND pins. The

voltage at Vcc should be +5V ±10%.

  • The clock at the CLK pin provides the basic timing to the

microprocessor. The clock must have a 33% duty cycle.

  • The microprocessor is reset if the RESET pin is held high for

at least four clock periods.Whenever the microprocessor is

reset, it begins executing instructions at memory location

FFFF0H.

  • The READY signal is used to insert wait states, to enable the

communication between the microprocessor and slower

memory or peripheral devices.

  • Interrupts are supported by the signals NMI (Non-Maskable

Interrupt), INTR (Interrupt Request) and INTA (Interrupt

Acknowledge).

  • The HOLD and HLDA (Hold Acknowledge) signals are used

to enable DMA (Direct Memory Access).

A19/S
A18/S
A17/S
A16/S
A
A
AD
AD
ALE
DEN'
DT/R'
RD'
WR'
IO/M'
CLK
RESET
READY
NMI
INTR
INTA'
HOLD
HLDA
MN/MX'
TEST'
SS0'

Vcc GND

8088 CPU

docsity.com

8086 pin outs and the pin functions

  • Most of the 8086 pins/signals function the same way as the

8088 pins/signals.

  • The main differences between the 8088 and the 8086 are:
    • The 8086 has a 16-bit data bus.
    • The address lines A0..A15 are multiplexed with the data

lines D0..D15 on the pins AD0..AD15.

  • The BHE (Bus High Enable) signal is used to enable the

most significant data bus bits (D8 ..D15) during a read or

write operation.

  • The IO/M signal is inverted in the 8086 microprocessor,

that is a memory is enabled if the IO/M is high, while an

I/O device is enabled if the IO/M signal is low.

A19/S
A18/S
A17/S
A16/S
AD
AD
ALE
DEN'
DT/R'
RD'
WR'
IO'/M
CLK
RESET
READY
NMI
INTR
INTA'
HOLD
HLDA
MN/MX'
TEST'
BHE'

Vcc GND

8086 CPU

docsity.com

Clock/Reset/Ready Circuit

  • The 8284 chips serves three

purposes:

  • Generates the main clock

(CLK) for the processor

(fc/3 with 33% duty cycle)

and the clock for the

peripheral devices (fc/5).

  • Provides the Reset pulse

according to the state of the

RC circuit connected at the

RES input.

  • Provides the Ready signal to

insert wait states whenever

the processor is accessing

slow memory or peripheral

I/O ports.

100

10K

10uF

+5V

15MHz

On/Off

Reset

X

X

RES RESET

CLK

PCLK

OSC

READY RDY

Wait State Circuit

15MHz

5MHz

3MHz

READY

RESET

CLK

docsity.com

DC Characteristics and Fan Out

  • It is essential to examine the DC

characteristics of any devices involved in a

microprocessor design, before connecting

anything on the microprocessors pins.

Failure to do so might result in malfunctions

or even damages on some components.

  • Fan-Out of a device is the maximum number

of similar devices that can be connected on

the output of that device without any

problems.

  • The Fan-Out is limited by the current sink of

the device (Fan-Out = IOLmax/IILmax)

  • For example the IOLmax of the 8088 is 2

mA and the IILmax of the 74LS family is

0.4 mA. Thus the fan out is 2.0/0.4 = 5.

  • The Fan-Out is also limited by the noise

immunity (VILmax- VOLmax). The noise

immunity of the 8088 is 0.8-0.45=0.35V.

This reduces the maximum fan out to 10.

Input Characteristics of the 8086/ Logic Voltage Current 0 1

VILmax = 0.8 V VIHmin = 2.0 V

IILmax = 10 uA IIHmax = 10 uA

Output Characteristics of the 8086/ Logic Voltage Current 0 1

VOLmax = 0.45 V VOHmin = 2.4 V

IOLmax = 2.0 mA IOHmax = -400 uA

Recommended Fan-Out of the 8086/ Family ISINK Fan-Out TTL (74) TTL (74LS)

-1.6 mA

ISOURCE
TTL (74ALS)
TTL (74F)
CMOS (74HC)
CMOS (CD4)
NMOS

-0.4 mA -0.1 mA -0.5 mA -10 uA -10 uA -10 uA

40 uA 20 uA 20 uA 25 uA 10 uA 10 uA 10 uA

docsity.com

Bus Demultiplexing

  • The processor loads on the address bus (AD0 to AD7 and A8 to A19) the address to be used, and

sets the ALE. Thus the address signals A0 to A7 are latched on the 74LS373.

  • On the next clock the processor resets the ALE and the AD0 to AD7 lines are used to carry data

(D0 to D7). The DEN enables the buffers of the 74LS245, while the DT/R specifies the direction

(read/write)

CLK

A8..A

AD0..AD

ALE

RD'

DT/R'

DEN'

Float

Read Data

A8..A

A0..A7 (^) D0..D

Timing Diagram for a Memory Read Cycle

A A A A A A A A

D D D D D D D D

AD AD AD AD AD AD AD AD ALE

DEN'

DT/R'

8088 CPU

LS D Q EN

EN OE

LS

DIR G

docsity.com

A fully buffered/demultiplexed 8088 system

A19/S6A18/S A17/S4A16/S

A15A A13A A11A A9A

AD7AD AD5AD AD3AD AD1AD ALE

DEN'

DT/R'

WR'RD' IO/M'

CLK

RESET

READY

NMI INTR INTA'

HOLD HLDA

MN/MX' TEST' SS0'

Vcc GND

8088 CPU

100

10K

10uF

+5V

15MHz On/Off

Reset

15MHz 5MHz

3MHz

D0.. D

A0. .A

A8.. A

A16.. A

8284 X

X

RES

RESET

CLK

PCLK OSC

READY

RDY 1

LS D Q EN EN OE

x

LS D Q EN EN OE

x

LS

DIR G

x

RD, WR, IO/M

CS from memory devices

RDY 2 AEN 1

(^7) w^6 w (^5) w (^4) w (^3) w (^2) w (^1) w (^0) w

Q 7 Q 6 Q 5 Q 4 Q 3 Q 2 Q 1 Q 0 CLK CLR SI

LS164 (Shift Reg.) '1'

LS

E1 E

4 4

LS

E1^ E

4 4

docsity.com

A fully buffered/demultiplexed 8086 system

D0.. D7 A0. .A

A8.. A15 A16.. A

LS245 EN OEx8 EN D Q LS373 EN OEx8EN D Q LS G

DIR x RD, WR, IO/M

LS E

E 4 4

AD10AD11AD12AD13AD14AD15 A16/S3A17/S4A18/S5^ A19/S IO'/MWR'RD' DEN'DT/R' ALEAD0AD1AD2AD3AD4AD5AD6AD7 AD8AD

INTA'INTRNMI SS0'TEST'MN/MX' HLDAHOLD READY RESET CLK GNDVcc 8086 CPU

LS245 EN OEx8EN D Q LS G

DIR x

D8. .D

  • The main difference with the 8086 processor is that it has a 16-bit data bus multiplexed with the

16 lower address lines.

  • Thus the 16-bit data bus (AD0 to AD7 and AD8 to AD15) must be demultiplexed.

docsity.com

SIMPLIFIED 8086/88 WRITE BUS CYCLE

• During the first clocking period (T1), the address is sent to the address and address/data

connections, and the ALE, DT/R΄ and IO/M΄or M/ΙΟ΄ signals are also output

• During T2 the WR΄, DEN΄are asserted, and data appear on the bus

• In T4 all bus signals are deactivated in preparation for the next bus cycle, and the WR΄

signal returns to logic 1.

ADDRESS/DATA

WR

docsity.com

SIMPLIFIED 8086/88 READ BUS CYCLE

VALID ADDRESS

ADDRESS DATA FROM MEMORY

Clock

ADDRESS

ADDRESS/DATA

RD

ONE BUS CYCLE

• During the first clocking period (T1), the address is sent to the address and address/data

connections, and the ALE, DT/R΄ and IO/M΄or M/ΙΟ΄ signals are also output

• During T2 the RD΄, DEN΄are asserted

• In T3 the READY signal is sampled and if low, T3 becomes a wait state, to allow time to the

memory to access data

• The bus is sampled at the end of T

• Finally, the RD΄ signal is deactivated

docsity.com

Wait state generator circuit

  • Wait states are extra clock pulses

pulses inserted when the processor is

accessing slow memory or I/O

devices.

  • The 8088/8086 allow approximately

3 clock pulses for a memory read or

memory write. If the access time of

the memory (including the delays

inserted by the bus buffers and

address decoders) is longer than the

access time of the processor (3/f)

then wait states are needed.

  • The circuit shown adds 1 wait state

in each memory read or write cycle.

The number of wait states can be

changed by changing the position of

the jumper on the outputs of the

74LS164 shift register.

(^0) w 1 w 2 w 3 w 4 w 5 w 6 w 7 w

Q 0 Q 1 Q 2 Q 3 Q 4 Q 5 Q 6 Q 7
CLK
SI CLR

LS164 (Shift Reg.)

Ready

Ready

CLK
CLK
RDY 1
AEN 1
RDY 2
RD'
WR'
INTA'

CS from memory devices

docsity.com