In this problem, you should design a two-bit comparator. This circuit should have three outputs named l, g, and eq. The circuit should get two digits binary numbers (00, 01, 10, 11), and the output should change based on these rules: • If first number > second number then g = 1, l = 0, and eq = 0 • If first number < second number then g = 0, l = 1, and eq = 0 • If first number = second number then g = 0, l = 0, and eq = 1 Your circuit will have 4 input (2 bit for the first number, and 2 bits for the second number) a. Draw the truth table for the comparator for unsigned numbers b. Show the circuit.
In this problem, you should design a two-bit comparator. This circuit should have three outputs named l, g, and eq. The circuit should get two digits binary numbers (00, 01, 10, 11), and the output should change based on these rules: • If first number > second number then g = 1, l = 0, and eq = 0 • If first number < second number then g = 0, l = 1, and eq = 0 • If first number = second number then g = 0, l = 0, and eq = 1 Your circuit will have 4 input (2 bit for the first number, and 2 bits for the second number) a. Draw the truth table for the comparator for unsigned numbers b. Show the circuit.
Chapter4: Processor Technology And Architecture
Section: Chapter Questions
Problem 9VE
Related questions
Question
In this problem, you should design a two-bit comparator. This circuit should have three outputs named l, g, and eq. The circuit should get two digits binary numbers (00, 01, 10, 11), and the output should change based on these rules:
• If first number > second number then g = 1, l = 0, and eq = 0
• If first number < second number then g = 0, l = 1, and eq = 0
• If first number = second number then g = 0, l = 0, and eq = 1
Your circuit will have 4 input (2 bit for the first number, and 2 bits for the second number)
a. Draw the truth table for the comparator for unsigned numbers
b. Show the circuit.
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning