Question

C3PO has run into the Falcon’s computer again. This time he destroys the subtraction circuit, so...

C3PO has run into the Falcon’s computer again. This time he destroys the subtraction circuit, so it must be rebuilt. Fortunately, C3PO has R2D2 to help him out. R2 suggests that they first build a circuit that can subtract one 1-bit number from another. In particular, it will realize the function x – y, where x and y are both 1-bit wide numbers. The output of the circuit is 2-bits wide. The outputs include “d” for difference and “b_out” for borrow.

a) Draw the truth table for the 1-bit subtraction circuit.

b) Give an expression for the output “d” in canonical SOP.

c) Give an expression for the output “b_out” in canonical POS.

Unfortunately, a 1-bit subtractor isn’t sufficient. C3PO knows that the Falcon needs to be able to handle more bits. R2 tells him that he needs to create a circuit with three inputs: b_in, x, and y. The circuit acts like a column in the type of subtraction you are already familiar with from grade school. The b_in input is coming from the b_out output of the column to the right. Once again, y is being subtracted from x. The outputs of this three-input circuit are “d” for difference and “b_out” for borrow.

d) Draw the truth table for the 1-bit subtractor circuit with b_in, x, and y as inputs.

e) Give an expression for the output “d” in canonical SOP.

f) Give an expression for the output “b_out” in canonical POS.

g) If you could implement “d” using any set of standard gates, what is the most efficient implementation you could make?

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

Hello,
Please find the answer to the first 4 questions attached as under. Please give a thumbs up rating if you find the answer useful! Have a rocking day ahead!

a)

x y d b_out
0 0 0 0
1 0 1 0
0 1 1 1
1 1 0 0

b.    d = xy' + x'y

c. b_out = (x'+y')(x+y')(x+y)

d.

***************************************************

PS: Please do not forget the thumbs up!

Add a comment
Know the answer?
Add Answer to:
C3PO has run into the Falcon’s computer again. This time he destroys the subtraction circuit, so...
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
  • 3. Design a one bit subtractor. The circuit subtracts the number Y from X and generates...

    3. Design a one bit subtractor. The circuit subtracts the number Y from X and generates a difference D bit and a borrow out Bo bit. The circuit has three inputs: X, Y and borrow in bit Bi shown in the figure below: во ID a. Derive the truth table for the function D(X,Y,Bi) and Bo(X,Y,Bi) b. Write the functions D and Bo as a canonical SOP form, using the little m notation. c. To implement the functions D and...

  • Derive the Boolean expression of a combination logic from the following truth table, where A, B,...

    Derive the Boolean expression of a combination logic from the following truth table, where A, B, C are input variables and D is output. Draw the circuit diagram to implement it. Show your working steps. The full subtractor is a combinational circuit, which is used to perform subtraction of three input bits: the minuend X, subtrahend Y, and borrow in B_in. The full subtractor generates two outputs bits: the difference D and borrow out B_out. B_in is set when the...

  • Problem 5 (15%) Implement a full subtractor using only AND, OR. and NOT gates. A full...

    Problem 5 (15%) Implement a full subtractor using only AND, OR. and NOT gates. A full subtractor does a single-bit subtraction, subtracting Y from X. The three inputs to the device are X, Y, and Bin (the borrow-in bit), and the 2 outputs are the difference bit D and the borrow-out bit Bout. Put a box around your final circuit, with all inputs and outputs labeled. Bout x-y Bin

  • Acer Question Three Design a circuit with t wo inputs x & y representing the bits in a binary num...

    acer Question Three Design a circuit with t wo inputs x & y representing the bits in a binary number and outputs a& b also representing bits in a binary number. When t output is reversed. When the input is 1 and 3, the output s O and 2, the Any carry forward is discarded a) Show your truth table b) Find and simplify the Boolean expression for the o utputs a & b. c) Draw one logic circuit to...

  • Computer Science: Computer Architecture 3. Do the following problems: Consider a circuit with 4 binary inputs....

    Computer Science: Computer Architecture 3. Do the following problems: Consider a circuit with 4 binary inputs. It counts the number of 1’s on its input and expresses (encodes or represents) the count as binary values on 2 output lines. a. Draw a truth table to represent the functions of the circuit. b. Provide SOP expressions for the output lines. c. Simplify the SOP expressions. d. Implement the circuit using 2-input NAND gates. 4. do the fowolling problems: a. Verify: xyz...

  • Design a combinational logic circuit which has one output Z and a 4-bit input ABCD representing...

    Design a combinational logic circuit which has one output Z and a 4-bit input ABCD representing a binary number. Z should be 1 iff the input is at least 5, but is no greater than 11. Use one OR gate (three inputs) and three AND gates (with no more than three inputs each). Using K-map, find min SOP and min POS form for the outputs W, X

  • **ONLY C&D PLEASE!** (100 points) You are asked to design a "HELLO" circuit in this question....

    **ONLY C&D PLEASE!** (100 points) You are asked to design a "HELLO" circuit in this question. The inputs of the circuit are three bits x, y and z. The outputs are seven bits a, b, c, d, e, f and g controlling a 7-segment display (see Fig. 2.63(a)). For the 7-segment display, a segment is turned on when the corresponding control signal is 1. The "HELLO" circuit outputs the control signals to display the letter "H", "E", "L", "L", "O"...

  • Please show step by step, complete solution and explain if possible. Thank you so much. 3....

    Please show step by step, complete solution and explain if possible. Thank you so much. 3. Six-Sided Die Display Circuit In this problem, you will design a logic circuit to display the six faces of a die using 7 LEDs. For example, the value 5 is shown on the display below. Your circuit takes three bits XYZ as input and outputs the patterns shown in the table below, by lighting up the correspondind LEDs. For example, for the value 5,...

  • Click Submit to complete this assessment Questions 10 points Design a digital circuit that reorders the...

    Click Submit to complete this assessment Questions 10 points Design a digital circuit that reorders the bits of a 4-bit binary number as follows: If the number is even, bits by bb bby become b, bobby. For example, 0110 becomes 1001 If the number is odd, bits bybb, b, bbecome bybob. For example, 1001 becomes 0110 Solve the following on paper, and then fill in the blanks below: NOTE: In parts 3 and 4, there is no need to draw...

  • Problem 3 [10 points a) (5 points) Construct a circuit that takes as input a 3-bit number X-XXXo ...

    part c Problem 3 [10 points a) (5 points) Construct a circuit that takes as input a 3-bit number X-XXXo and increments it by one. L.e. if the input is 101 the output should be 110. Use only half adders. b) Construct a circuit that takes as input a 3-bit number X-XXxo and decrements it by one 1. (5 points) Show the truth table of the circuit. Then use a decoder and additional gates to implement it. So Ys Y2...

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