Unit 2 ALU Part 1
Unit 2 ALU Part 1
Sequential Circuits:
Made up of combinational circuits and memory elements. Output depends on input and previous state, these
Truth Table
Truth Table
Note: We can simplify each of the output 'Boolean function' with the help of the unique map method.
Binary Adder
The registers play an important role in performing the micro-operations. The registers hold the digital
component and the data which performs the arithmetic operation. The Binary Adder is a logical circuit
which is used to perform the addition operation of two binary number of any length.
The Binary Adder is formed with the help of the Full-Adder circuit. The Full-Adders are connected in series,
and the output carry of the first Adder will be treated as the input carry of the next Full-Adder.
N-Bit Parallel Adder
The Full Adder is used to sum two single-bit binary numbers with carry input. In digital calculation, we need
to add two n-bit binary numbers rather than only single-bit binary numbers. For this purpose, we need to use
n-bit parallel Adder. In order to get N-bit parallel adder, we cascade the n number of Full Adders. The carry
output of the first Adder is treated as the carry input of the second Adder.
o The augend bits (A) and the addend bits (B) are designated by subscript numbers from right to left,
with subscript '0' denoting the low-order bit.
o The carry inputs starts from C0 to C3 connected in a chain through the full-adders. C3 is the resultant
output carry generated by the last full-adder circuit.
o The output carry from each full-adder is connected to the input carry of the next-high-order full-adder.
o The sum outputs (S0 to S3) generates the required arithmetic sum of augend and addend bits.
o The n data bits for the A and B inputs come from different source registers. For instance, data bits
for A input comes from source register R1 and data bits for B input comes from source register R2.
Binary Incrementer:
The increment micro-operation adds one binary value to the value of binary variables stored in a register. For
instance, a 4-bit register has a binary value 0110, when incremented by one the value becomes 0111.
The increment micro-operation is best implemented by a 4-bit combinational circuit incrementer. A 4-bit
combinational circuit incrementer can be represented by the following block diagram.
o A logic-1 is applied to one of the inputs of least significant half-adder, and the other input is connected
to the least significant bit of the number to be incremented.
o The output carry from one half-adder is connected to one of the inputs of the next-higher-order half-
adder.
o The binary incrementer circuit receives the four bits from A0 through A3, adds one to it, and generates
the incremented output in S0 through S3.
o The output carry C4 will be 1 only after incrementing binary 1111.
Incrementer Circuit Using Full Adder:
A carry-lookahead adder (CLA) or fast adder is a type of electronics adder used in digital logic. A carry-
lookahead adder improves speed by reducing the amount of time required to determine carry bits.
1. Calculating for each digit position whether that position is going to propagate a carry if one comes in
2. Combining these calculated values to be able to deduce quickly whether, for each group of digits, that
A carry look-ahead adder reduces the propagation delay by introducing more complex hardware. Carry-
• The Carry Look-ahead adder circuit gets complicated as the number of variables increase.