Combinational Logic Flashcards
How do represent a negative/positive number in binary?
NEGATIVE - Add an MSB and make it 1
POSITIVE - MSB should be 0
What does a XOR gate do?
The gate produces a HIGH when the two outputs are opposite
How does a half adder circuit work
The XOR gate acts as the sum and the AND gate acts as the carry
How does a full-adder work
Has the ability to perform the addition of 3 bits
A + A’B =
A + B
A + AB =
A
(A+B)(A+C) =
A + BC
Define a multiplexer and its function
-Drives several inputs to one output
-Uses selector inputs to select data
Define an encoder and its function
Reduces the number of outputs from several inputs
Describe how a Decimal to BCD encoder works
-The encoder has 10 inputs (1 for each decimal digit) and 4 outputs for the BCD