Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Homework #6: Arithmetic Circuits (2) Pay attention to the submission requirements Timely subminis important. Late on line substantial loss of points. Refer to comune syllabus

image text in transcribed
Homework #6: Arithmetic Circuits (2) Pay attention to the submission requirements Timely subminis important. Late on line substantial loss of points. Refer to comune syllabus for policy om inte smission 1. (40 points) Design a stbtractor with complement unit. You are given two-bit vectors A2:0) dB(2:0) that are already given in 3-bit 2 complement form. Suppose that you see is a 4-bit ripple carry wider sown in Figure as a peedegad Wark-box, and foreared to this 4-bit eduker to build the subtractor that correctly subtracts from A - B Into you can only access the primary input and output stals of this block ripplesati (13:01. Y (3:0). C. S(3:0).C.). In other words, you can access any internal cus of this e-bit ripple CRETY adet. This added circuit takes as inputs X[3:01. Y[3:0) and a curry and compute the In S[3:0) - X(3:0) Y[3:0) and a cutry-out C. Along with this 4-bit ader, you are allowed to we Any AND/OR/XOR/NOT Boolean logic gates X[3:01 Y[3:0) 4-bit ADD S[3:0) Figure 1: Four-bit ripple carry addle block (a) Does your design require an overflow signal to be greated to design the far the wrow al. If you think an town not needed, explain the con (b) Show your schematic deten. Note that you should deplet the signal comties properly. For example, if A[3) is contacted to X[3), show it clearly on the schematic (e) Provide the varios destiption of your schematic design. You are required to instantiate the rippledat Add module in your Venlos description (d) Provide a testbench for your design. Consider wing Verig ytax (och signal.coction and/or for-loops) for your testhach to make it more compact. Malone you pe all input combination of And B. 2. (20 points) Write down the truth-table and then derive an SOP expression for each of the three functions listed below. Then determine whether forg () Three variabile XOR limetion #3) - (b) Iwted three-variable XOR funtion 2) = r.1,2)=ree (c) Three-variable XNOR function (2.9.) = ngoz. Hint: When deriving the truth table for first derive the two-variable XNOR function cy) -- which is network XOR. Then using to drive (..) = . Homework #6: Arithmetic Circuits (2) Pay attention to the submission requirements Timely subminis important. Late on line substantial loss of points. Refer to comune syllabus for policy om inte smission 1. (40 points) Design a stbtractor with complement unit. You are given two-bit vectors A2:0) dB(2:0) that are already given in 3-bit 2 complement form. Suppose that you see is a 4-bit ripple carry wider sown in Figure as a peedegad Wark-box, and foreared to this 4-bit eduker to build the subtractor that correctly subtracts from A - B Into you can only access the primary input and output stals of this block ripplesati (13:01. Y (3:0). C. S(3:0).C.). In other words, you can access any internal cus of this e-bit ripple CRETY adet. This added circuit takes as inputs X[3:01. Y[3:0) and a curry and compute the In S[3:0) - X(3:0) Y[3:0) and a cutry-out C. Along with this 4-bit ader, you are allowed to we Any AND/OR/XOR/NOT Boolean logic gates X[3:01 Y[3:0) 4-bit ADD S[3:0) Figure 1: Four-bit ripple carry addle block (a) Does your design require an overflow signal to be greated to design the far the wrow al. If you think an town not needed, explain the con (b) Show your schematic deten. Note that you should deplet the signal comties properly. For example, if A[3) is contacted to X[3), show it clearly on the schematic (e) Provide the varios destiption of your schematic design. You are required to instantiate the rippledat Add module in your Venlos description (d) Provide a testbench for your design. Consider wing Verig ytax (och signal.coction and/or for-loops) for your testhach to make it more compact. Malone you pe all input combination of And B. 2. (20 points) Write down the truth-table and then derive an SOP expression for each of the three functions listed below. Then determine whether forg () Three variabile XOR limetion #3) - (b) Iwted three-variable XOR funtion 2) = r.1,2)=ree (c) Three-variable XNOR function (2.9.) = ngoz. Hint: When deriving the truth table for first derive the two-variable XNOR function cy) -- which is network XOR. Then using to drive (..) =

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual C# .NET

Authors: Ying Bai

1st Edition

0470467274, 978-0470467275

More Books

Students also viewed these Databases questions

Question

1. Where will you recommend that she hold the focus group?

Answered: 1 week ago