Figure 4-75 represents a relative-magnitude detector that takes two three-bit binary numbers, x 2 x 1 x
Question:
Figure 4-75 represents a relative-magnitude detector that takes two three-bit binary numbers, x2x1x0 and y2y1y0, and determines whether they are equal and, if not, which one is larger. There are three outputs, defined as follows:
1. M = 1 only if the two input numbers are equal.
2. N = 1 only if x2x1x0 is greater than y2y1y0.
3. P = 1 only if y2y1y0 is greater than x2x1x0.
Design the logic circuitry for this detector. The circuit has six inputs and three outputs and is therefore much too complex to handle using the truth table approach. Refer to Example 4-17 as a hint about how you might start to solve this problem.
Figure 4-75
Data from Example 4-17
The notation x1x0 represents a two-bit binary number that can have any value (00, 01, 10, or 11); for example, when x1 = 1 and x0 = 0, the binary number is 10, and so on. Similarly, y1y0 represents another two-bit binary number. Design a logic circuit, using x1, x0, y1, and y0 inputs, whose output will be HIGH only when the two binary numbers x1x0 and y1y0 are equal.
Step by Step Answer:
Digital Systems Principles And Application
ISBN: 9780134220130
12th Edition
Authors: Ronald Tocci, Neal Widmer, Gregory Moss