full-adder-subtractorrrrrrrrrrrrttttttttttttttttt

murthy13 14 views 15 slides Oct 11, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

Hiiiiii


Slide Content

Parallel Binary Adder/Subtractor Dr Vikas Maheshwari Professor, ECE Dept

Working of n-bit Parallel Adder firstly the full adder FA1 adds A 1 and B 1 along with the carry C 1 to generate the sum S 1 (the first bit of the output sum) and the carry C 2 which is connected to the next adder in chain. Next, the full adder FA2 uses this carry bit C 2 to add with the input bits A 2 and B 2 to generate the sum S2(the second bit of the output sum) and the carry C 3 which is again further connected to the next adder in chain and so on. The process continues till the last full adder FAn uses the carry bit Cn to add with its input An and Bn to generate the last bit of the output along last carry bit Cout .

N-bit parallel adder

N-bit parallel subtractor

Working of n-bit Parallel Subtractor The parallel binary subtractor is formed by combination of all full adders with subtrahend complement input. This operation considers that the addition of minuend along with the 2’s complement of the subtrahend is equal to their subtraction. Firstly the 1’s complement of B is obtained by the NOT gate and 1 can be added through the carry to find out the 2’s complement of B. This is further added to A to carry out the arithmetic subtraction. The process continues till the last full adder FAn uses the carry bit Cn to add with its input An and 2’s complement of Bn to generate the last bit of the output along last carry bit Cout .

4 bit parallel subtractor

example 1010-1001 1010 1001 0110+( cin )1= 0111 1010 -------------- 1 0001

Advantages of parallel Adder/Subtractor – The parallel adder/ subtractor performs the addition operation faster as compared to serial adder/ subtractor . Time required for addition does not depend on the number of bits. The output is in parallel form i.e all the bits are added/subtracted at the same time. It is less costly. Disadvantages of parallel Adder/ Subtractor – Each adder has to wait for the carry which is to be generated from the previous adder in chain. The propagation delay( delay associated with the travelling of carry bit) is found to increase with the increase in the number of bits to be added.

Parallel Adder / Subtractor

Working of Parallel Adder / Subtractor When M= 1, the circuit is a subtractor and when M=0, the circuit becomes adder. The Ex-OR gate consists of two inputs to which one is connected to the B and other to input M. When M = 0, B Ex-OR of 0 produce B. Then full adders add the B with A with carry input zero and hence an addition operation is performed. When M = 1, B Ex-OR of 0 produce B complement and also carry input is 1. Hence the complemented B inputs are added to A and 1 is added through the input carry, nothing but a 2’s complement operation. Therefore, the subtraction operation is performed.

IC 7483 full adder

IC-7483

Cascading of IC-7483