Question

My question: what is the truth table for full-comparator?? Full question: Design a comparator circuit for...

My question: what is the truth table for full-comparator??

Full question: Design a comparator circuit for binary numbers using only NAND gates. It should take as input two numbers represented in standard binary, X and Y, and produce two outputs, G and L, which indicate that X is Greater than or Less than Y, respectively. If both outputs are zero, it indicates that the values are equal. Design a half-comparator, full-comparator, and a full four-bit comparator. With nothing more than multiple copies of your circuit, you should be able compare numbers with an arbitrary number of bits. Turn in the truth tables, Karnaugh maps, logic expressions, and circuit diagrams for each of your individual circuits, plus a block diagram for the complete circuit. Determine the number of gate delays required by your design for a 32-bit comparator. Minimize the number of gates.

Homework Answers

Answer #1

TRUTH TABLE FOR:

1-Bit Magnitude Comparator:

INPUT

OUTPUT

A

B

A<B

A=B

A>B

0

0

0

1

0

0

1

1

0

0

1

0

0

0

1

1

1

0

1

0

2-Bit Magnitude Comparator:

INPUT

OUTPUT

A1

A0

B1

B0

A<B

A=B

A>B

0

0

0

0

0

1

0

0

0

0

1

1

0

0

0

0

1

0

1

0

0

0

0

1

1

1

0

0

0

1

0

0

0

0

1

0

1

0

1

0

1

0

0

1

1

0

1

0

0

0

1

1

1

1

0

0

1

0

0

0

0

0

1

1

0

0

1

0

0

1

1

0

1

0

0

1

0

1

0

1

1

1

0

0

1

1

0

0

0

0

1

1

1

0

1

0

0

1

1

1

1

0

0

0

1

1

1

1

1

0

1

0

I hope this will help you.

Know the answer?
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
Similar Questions
Design a 2-bit comparator that compares the two numbers A=(A1A0)2 and B=(B1B0)2 in sign-magnitude representation and...
Design a 2-bit comparator that compares the two numbers A=(A1A0)2 and B=(B1B0)2 in sign-magnitude representation and provides three outputs: f1 which is true if A>B. Show the truth table and the minimal SOP expressions for f1, f2 and f3. You do not need to show the K-maps or the circuit.
Assume that you are asked to design a logic circuit with the following specifications, using K-map....
Assume that you are asked to design a logic circuit with the following specifications, using K-map. The circuit has two inputs X and Y and three outputs O0, O1 and O2. This circuit operates as follows: (1) the output (O0) will be high when XY only, and (3) the output (O2) will be high when X=Y only. a)Create the truth table for this logic circuit. b) Show the Karnaugh maps. c) Draw the schematic, using logic gates.
Design a circuit with three inputs x,y and z representing the bits in a binary number,...
Design a circuit with three inputs x,y and z representing the bits in a binary number, and three outputs (a,b, and c) also representing bits in a binary number. When the input is 0,1,6, or 7, the binary output will be the complement of the input. When the binary input 2,3,4, or 5 the output is the input shifted left with rotate. For example: 3 = 011₂ outputs 110; 4 = 100₂ outputs 001.) Show truth table, computation, simplification and...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210,...
Adder Start out by picking 2 positive six bit binary numbers that are less than 3210, written in 2's complement notation. The eventual goal is to add these two numbers. 1) Look at the LSB bit of the numbers, and using logic gates (NANDs, NORs, etc.) design a circuit that correctly gives the right output for any possible combination of bits in the LSB place. 2) Now look at the next column to the left (next to LSB). In this...
Assume that you are asked to design a logic circuit with the following specifications, using K-map....
Assume that you are asked to design a logic circuit with the following specifications, using K-map. The circuit has two inputs X and Y and three outputs O0, O1 and O2. This circuit operates as follows: (1) the output (O0) will be high when X<Y only, (2) the output (O1) will be high when X>Y only, and (3) the output (O2) will be high when X=Y only. a. (3 points) Create the truth table for this logic circuit. b. (3...
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional...
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional logic gates. The circuit has a mode input bit, M, that controls its operation. Specifically, when M=0, the circuit becomes a 4-bit adder, and when M=1, the circuit becomes a 4-bit subtractor that performs the operation A plus the 2’s complement of B.Where A and B are two 4-bits binary numbers. That is, * When M=0, we perform A+B, and we assume that both...
Design an even parity detection circuit. A parity bit is an error checking mechanism. Your circuit...
Design an even parity detection circuit. A parity bit is an error checking mechanism. Your circuit will count the number of 1’s in a stream of bits. If the number of 1’s is even, the circuit turns on an output called Y. Assume a single bit at each cycle – call the input X. Do not use an accumulator or counter. Design the even parity detection circuit using J-K flip-flops. Your answer must include: a. The state diagram. b. The...
please answer the following questions!!!! 1. Draw the truth table and block diagram for a 2:4...
please answer the following questions!!!! 1. Draw the truth table and block diagram for a 2:4 decoder. Use positive logic inputs and a negative logic (also reffered to as an active low or inverted) enable line and negative logic outputs 2. Design a circuit to implement the 2: decoder block diagram in question 1 using only NAND gates and inverters. 4. Use a 4:1 multiplexer and a minimum number of exterel gates to implement a solution to F(0,3,4,7,10) 5. Use...
Question 3 (1 point) Which of the following reasons is why SR latches are not used...
Question 3 (1 point) Which of the following reasons is why SR latches are not used to store modern memory? Question 3 options: Ability to store 1 bit. Immune to timing issues. Ability to be implemented with gates. Timing issues. Question 4 (1 point) Which of the following differentiates a latch and a flip flop? Question 4 options: Usage of a clock. Cannot toggle. Significantly less gates needed for implementation. Ability to store more than one bit. Question 5 (1...
Mr Ali is undergraduate student of engineering in a University. His registration ID is of six...
Mr Ali is undergraduate student of engineering in a University. His registration ID is of six hexadecimal numbers (171457)16. He needs to understand some useful operations in digital logic design so he represented each character of his registration ID as a four-bit number in a truth table of 16 input output relations. Then he assigned HIGH output to each four-bit number of his registration id and its succeeding number (all other outputs will then be zero). Your task is to...