Question

Design a 2-bit alu that performs the following four operations: (However, the internal circuit of the...

Design a 2-bit alu that performs the following four operations: (However, the internal circuit of the full adder may be omitted)

s0 s1     operation           comment

0 0          clear                    F=00

0   1         A plus B                F=A+B

1   0        A minus B              F=A-B

1   1     A exclusive-or B    F=A exclusive-or B

0 0
Add a comment Improve this question Transcribed image text
Answer #1


->as shown in figure that if s0=0 and s1=0 then simply zero will be F

->if s0=0 and s1=1 then we have to perform A+B so that we have two Full Adder(FA) which will perform A+B and output of both FA are f0 and f1 and it is our F.

->if s0=1 and s1=0 then we have to perform A-B so that we have two Full Adder(FA) which will perform A-B and output of both FA are f0 and f1 and it is our F.

->if s0=1 and s1=1 then we have to perform A-ex-OR-B so that we have two Full Adder(FA) which will perform A-ex-OR-B and output of both FA are f0 and f1 and it is our F.

Truth table

//if you get your solution then please give like to question

Add a comment
Know the answer?
Add Answer to:
Design a 2-bit alu that performs the following four operations: (However, the internal circuit of the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT