Chapter 4
Chapter 4
Binary Adder
• A binary adder is a digital circuit that produces the arithmetic sum of
two binary numbers.
• It can be constructed with full adders connected in cascade, with the
output carry from each full adder connected to the input carry of the
next full adder in the chain.
• The interconnection of four full-adder (FA) circuits to provide a four-
bit binary ripple carry adder.
• An obvious solution for reducing the carry propagation delay time is to employ faster gates with
reduced delays.
• Another solution is to increase the complexity of the equipment in such a way that the carry delay
time is reduced.
• There are several techniques for reducing the carry propagation time in a parallel adder.
• The most widely used technique employs the principle of carry lookahead logic.
• We define two new binary variables
• In addition to the two outputs x and y , the circuit has a third output designated by V ; this is a valid bit
indicator that is set to 1 when one or more inputs are equal to 1.
• If all inputs are 0, there is no valid input and V is equal to 0.
• The other two outputs are not inspected when V equals 0 and are specified as don’t-care conditions.
• Boolean functions
MULTIPLEXERS
• A multiplexer is a combinational circuit that selects binary information from one
of many input lines and directs it to a single output line.
• The selection of a particular input line is controlled by a set of selection lines.
• Normally, there are 2n input lines and n selection lines whose bit combinations
determine which input is selected.
Two-to-one-line multiplexer
Four-to-one-line multiplexer
Quadruple two-to-one-line multiplexer
Boolean Function Implementation
• The additionlogic is described by a single statement using the operators of addition and
concatenation.
• The plus symbol (+) specifies the binary addition of the four bits of A with the four bits of B and
the one bit of C in .
• The target output is the concatenation of the output carry C_out and the four bits of Sum.
• Concatenation of operands is expressed within braces and a comma separating the operands.
• Thus, {C_out, Sum} represents the five-bit result of the addition operation.
The conditional operator