Docsity

8284 Clock Generator - Microprocessors and Computer Systems - Lecture Slides, Slides of Microprocessors

Toggle sidebar
bg1
8284 Clock Generator
Bus Demux
Bus Cycle
docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download 8284 Clock Generator - Microprocessors and Computer Systems - Lecture Slides and more Slides Microprocessors in PDF only on Docsity!

8284 Clock Generator

Bus Demux

Bus Cycle

8284 Clock Generator

a

8284 is an integrated circuit which generates the CLOCK,READY and RESET signals needed in the 8088.

a

Internally the 8284 consists of an oscillator circuit (whichneeds an external crystal oscillator), dividers, flip-flops,buffers and logic gates. The external crystal frequency isdivided by 3 to produce the basic clock frequency as shownbelow:

200 ns Min500 ns Max

10 ns Max

10 ns Max

118.33 ns

Min

68.66 ns

Min

time

volts

8284 Clock Generator

CSYNC

PCLK

RDY

READY

RDY

CLK

GND

Vcc

X

X

EFI

OSC

RESET

8284A

C

ASYNCF/

RES

AEN

AEN

ELEG 3230B - Part 8

5

8284 Output Pins

a

READY - generates READY signal for 8088 READY input.

a

OSC -

oscillator

output; provides a buffered periodic waveform

running at the crystal frequency. Output is suitable for driving theEFI input of another 8284.

a

CLK –

clock;

outputs a 33% duty cycle periodic clock which runs at

one third the frequency of the EFI or crystal frequency.

a

PCLK -

peripheral

clock; outputs clock signal which is at half the

frequency of the main CLK output.

a

RESET - generates an output suitable for the reset input of the8088.

8284 Input Pins

a

VCC, GND - power supply pins

a

RDY1 and RDY2 -

bus ready,

accepts input of the bus-ready signal

a

AEN1, AEN2 -

address enable

(qualifies RDY1 and RDY2)

a

__

ready synchronization select

(selects one or two stages

of synchronization for the RDY1 and RDY2 inputs

a

X1, X2 - crystal inputs (for connection to an external crystal usedas timing source)

a

EFI -

external frequency input

(external clock signal input)

a

- frequency/crystal (selects crystal oscillator or EFI as source)

a

CSYNC -

clock synchronization

used with the EFI to synchronize

the clock output in multiprocessor systems. MUST BEGROUNDED if the crystal oscillator is used.

a

reset

input (accept input from a switch for generating reset)

ASYNC

F/C RES

Example - A simple 8284 circuit

• If WAIT states for slow memory or IO peripherals are needed, the above circuit must be

modified.

The 8284 can be used to generated the CLOCK signal as shown below:

5V

5V

5V

RDY

RDY

EFIF/CCSYNCAEN1AEN2ASYNCX1 X

RES

RESET READY

CLK

8284

CLK READYRESET

8088

Reset Switch

100nF

4.7K

4.7K

4.7K

510

510 15MHz

Demultiplexing the Address and

Data Bus

a

Address and data bus are multiplexed in 8086 (AD

AD

) and 8088(AD

-AD

) to reduce the number of pins

required.

a

Address and Data need to be demultiplexed from thebus. (Why not leave them multiplexed?)

a

Q: How to maintain a stable address throughout aread or write cycle?

Demultiplexing the Address and

Data Bus on 8088

• Two transparent latches (74LS373) are used for demultiplexing.• ALE indicates when address information is on AD0-AD7.

In maximum mode, ALE is

generated by the bus controller.

Minimum modeaddress/datademultiplexing

G

‘

OE

8088

A19/S6A18/S
A17/S4A16/S
A15A14A13A12A11A10A9A8 ALE
MN/MX

+5V

RD
AD7AD6AD5AD4AD3AD2AD1AD
IO/M
WR
A
A19 A
A
A17A16A15A14A12A11A10A9A8A7A6A5A4A2A1A

Address bus

D7D6D5D4D3D2D1D0 RDWR
IO/M

Data busControl bus

OE

‘

G

Latches and flip-flops

D

CK Q

Q

X

N

Q

N

Q

S

R

D

CK

Q

Q

X

N

Q

N

Q

X

N

Q

N

Q

X

X

X

X

X

X

D latch

D flip-flop

D

Q

CK

Q

Q Q

S

D CK

R

Latches(cont.)

a

Integrated

circuits

containing

many

latches

(one

latch

is

needed per bit) are available to perform the latching functionof an address line e.g. 8282, 74LS373.

a

These packages typically have a single input, called “strobe”(STB), “latch enable” (LE) or “Gate” (G), which qualifies thedata (i.e. passes the data to the flip-flops only when thestrobe or gate input is high).

a

Some latches also have an “output enable” (OE) input whichqualifies the output data (for non-inverted OE, when OE islow, the outputs are open circuit).

Example: 8088 Fully Buffered Buses

Note that

and ALE signals are available from the 8088 in

minimum mode mode only. They must be derived from the bus controllerwhen the 8088 operates in maximum mode.

DT/R,

DEN

A13 A

Example of busbuffering in 8088(minimum modesystem)

OE

‘

G
A19A18A17A16A15A14A12A11A10A9A8A7A6A5A4A2A1A

BufferedAddress bus

G

‘

OE
WR
IO/MRD

BufferedControl bus

‘

D7D6D5D4D3D2D1D

BufferedData bus

A
A
A
A4A3A
A1A
B
B
B
B4B3B2B1B

8088

A19/S6A18/S5A17/S4A16/S
A15A14A13A12A11A10A9A8 ALE
AD7AD6AD5AD4AD3AD2AD1AD
RD
IO/M
WR
DT/R DEN
G DIR

‘

OE
OE

‘

Bidirectional Buffers

a

Information is transferred in both directions on the data bus - hence the databus buffer must be bidirectional.

a

A bidirectional buffer has a “direction” (DIR) input which indicates the directionof data transfer. The direction input to the buffer can be taken from the(data transmit/receive) output of the 8088 (minimum mode system) or buscontroller (maximum mode 8088 system).

a

Examples of bidirectional buffers include the 74LS245 and 8286.

R

DT/

DIR

EN

Outputs/inputs

Inputs/outputs

Latches used in Lab 2 Circuit

Example of Basic 8086 System Timing

MEMORY ACCESS TIME

T

1

T

2

T

WAIT

T

3

T

4

T

1

T

2

T

WAIT

T

3

T

4

(4+N

WAIT

)=T

CY

(4+N

WAIT

)=T

CY

CLKALE

M/IO

S7-S
A19-A
BHE
A19-A
BHE
S7-S

ADDR/STATUS

WAIT
READY
WAIT
READY

READY

BUS RESERVERED

FOR DATA IN

A15-A
D15-D
VALID
A15-A
DATA OUT D15-D

RD

ADDR/DATA

DT/R DEN

WR

T

WAIT

T

3