27.01.2015 Views

titus-larsen-titus-1981-apple-interfacing

titus-larsen-titus-1981-apple-interfacing

titus-larsen-titus-1981-apple-interfacing

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Since the SN74154 decoders have two enabling inputs, GI and<br />

the NOR gates shown in Fig. 2-15 may be eliminated by using<br />

second enabling input as the "qualifier" that will enable the decoder.<br />

The use of this type of circuit is shown in Fig. 2-16. In this example,<br />

the lower decoder now has two enabling input signals, the RD control<br />

signal from the computer, and the enabling signal from the up"<br />

per portion of the circuit. You should note that the upper decoder<br />

has both of its enabling inputs used, so that it is enabled only for a<br />

specific pattern of bits on the HI address bus. In this case, gating has<br />

been used to generate the enabling signal for the upper decoder.<br />

A third decoder could be added to this circuit to generate device<br />

select pulses for output devices. The inputs to this additional decoder<br />

would be the same as those to the lower decoder, except - that the WR<br />

signal would be used instead of the RD signal.<br />

Many decoder schemes are possible, and you will have an opporh.mity<br />

to explore the use of decoders in the experiments. The main<br />

point is that the use of decoders simplifies the process of device selection<br />

and gating. Decoders are generally used in situations that require<br />

flexibility and the generation of several device select or device<br />

address signals in proximity to one another.<br />

Al5<br />

Al4<br />

Al3<br />

Al2<br />

All<br />

AlO<br />

A9<br />

A8<br />

A7<br />

A6<br />

A5<br />

A4<br />

/<br />

SN7 404 (ALL)<br />

SN74154<br />

G2 15<br />

GI<br />

D<br />

G 2<br />

B 1<br />

A 0<br />

SN74154<br />

G2 15<br />

iiD --! Gl<br />

A3 --o<br />

A2<br />

Al --1<br />

AO --o<br />

D 3<br />

c 2<br />

B<br />

l<br />

A 0 l<br />

16<br />

INPUT<br />

DEVICE SELEG I<br />

PULSES

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!