09.02.2015 Views

Tab Electronics Guide to Understanding Electricity ... - Sciences Club

Tab Electronics Guide to Understanding Electricity ... - Sciences Club

Tab Electronics Guide to Understanding Electricity ... - Sciences Club

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.

Digital <strong>Electronics</strong><br />

347<br />

occur on the inputs. Notice that the truth table lists the four possible<br />

input conditions; <strong>to</strong>gether with each of their resultant outputs for each<br />

condition. As shown by the truth table, the only time that the output<br />

goes “high” is when the A input “and” the B input are high.<br />

Logic gates can have more than two inputs. Figure 13-2 illustrates the<br />

truth table for a three-input AND gate. Common logic gates are available<br />

with up <strong>to</strong> eight inputs.<br />

Referring again <strong>to</strong> Fig. 13-1, note the OR gate and its associated truth<br />

table in Fig. 13-2. As the name implies, its output goes high whenever a<br />

high appears on the A input, or on the B input (or both).<br />

In digital terminology, a not function means that a logical condition<br />

is inverted, or reversed. A NAND gate (short for not AND) is an AND gate,<br />

with the output inverted. Notice that the outputs in the truth tables for<br />

the AND gate, and the NAND gate, are simply inverted. This same principle<br />

holds true for the OR and NOR gates.<br />

It is common for the output of one logic gate <strong>to</strong> provide inputs for<br />

several other logic gates. The maximum number of inputs that can be<br />

driven by a particular logic gate is specified as its fanout. Typical logic<br />

gates have fanouts ranging from 5 <strong>to</strong> 20. If it becomes necessary <strong>to</strong> drive<br />

a greater number of inputs than the fanout of a particular gate, a buffer<br />

is used <strong>to</strong> increase the fanout capability. The symbol for a buffer is illustrated<br />

in Fig. 13-1.<br />

The need often arises <strong>to</strong> invert a logic signal. The symbol for an<br />

inverter is shown in Fig. 13-1. An inverter is sometimes called a not gate.<br />

Note that it has a small circle on its output just like the NOT AND (NAND)<br />

and NOT OR (NOR) gates. Anytime a small circle appears on an input or<br />

output of a logic device, it is symbolizing the inversion of the logic signals<br />

(or data). Also notice the horizontal line above the A output of the<br />

inverter. It is called a not symbol. Whenever a horizontal line is placed<br />

above a logic expression, it means that it is inverted.<br />

Another common type of logic gate is the exclusive OR gate. Refer <strong>to</strong> its<br />

symbol and the associated truth table in Figs. 13-1 and 13-2. As the truth<br />

table indicates, its output only goes high when its inputs are different<br />

from each other. The exclusive NOR gate provides the same logic function<br />

with an inverted output.<br />

Combining Logic Gates<br />

The most basic type of digital system is designed <strong>to</strong> provide a logical output<br />

based on a set of input conditions. This is referred <strong>to</strong> as conditional

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

Saved successfully!

Ooh no, something went wrong!