Question

Design a combinational circuit which compares two 4-bit unsigned numbers A and B. The circuit should...

Design a combinational circuit which compares two 4-bit unsigned numbers A and B. The circuit should have one output X such that X = 1 whenever A>B and X = 0 whenever A?B. You may use any MSI modules as well as any other gates.

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

b43) C2 an) 나미 осі bip

Add a comment
Answer #2
X=(a1 & !b1)|(!(a1 xor b1) & (a2 & !b2))|(!(a1 xor b1) & (!(a2 xor b2)(a3 & !b3)) |(!(a1 xor b1) & (!(a2 xor b2)& (!(a3 xor b3)(a4 & !b4))

if highest bit of a is set but not the highest bit of b, => a>b
(a1 & !b1)

if highest bit is the same but second highest bit of a is set but not second higest bit of b => a>b
(!(a1 xor b1) & (a2 & !b2))

if the two highest bit are equals but third highest of a is set but not third highest of b => a>b
(!(a1 xor b1) & (!(a2 xor b2) (a3 & !b3))

if highest three bits are equals but lowest bit of a is set but lowest bit of b isn't => a>b
(!(a1 xor b1) & (!(a2 xor b2) & (!(a3 xor b3)

Add a comment
Know the answer?
Add Answer to:
Design a combinational circuit which compares two 4-bit unsigned numbers A and B. The circuit should...
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