Digital Assignment 1
A<B
A>B
A=B
case 2:
A=1010
B=0011
case 3:
A=1011
B=1011
S3
S2
S1
S0
case 2:
A=1011
B=1001 => Sum=0100; Carry=1
case 3:
A=1110
B=1101 => Sum=1011; Carry=1
3. 4-bit BCD adder using 4-bit CLA
case 1:
A=0101
B=0010 => Sum=0111, Carry=0 (Binary sum=0111)
CLA Adder-1
Cout
CLA Adder-2
S3
S2
S1
S0
case 2:
A=0110
B=1001 => Sum=0101, Carry=1 (Binary sum=1111)
case 3:
A=1011
B=0110 => Sum=0111, Carry=1 (Binary sum=1 0001)
Much more than documents.
Discover everything Scribd has to offer, including books and audiobooks from major publishers.
Cancel anytime.