Chips, Ahoy! 187Experiment 19: Learning LogicessentIAls
Logic gate basics (continued)
If you have difficulty visualizing logic gates, a mechanical comparison may
help. You can think of them as being like sliding plates with holes in them, in a
bubblegum machine. Two people, A and B, can push the plates. These people
are the two inputs, which are considered positive when they are doing some-
thing. (Negative logic systems also exist, but are uncommon, so Iām only going
to talk about positive systems here.)
The flow of bubblegum represents a flow of positive current. The full set of pos-
sibilities is shown in Figures 4-58 through 4-63.
BANDBAA AAB BNONO NO
NOYESNO
YESNO NO
YESYESYESINPUT BINPUT AOUTPUTFigure 4-58
NONO YES
NOYESYES
YESNO YES
YESYESNOINPUT BINPUT AOUTPUT
NANDB BB A B AA AFigure 4-59