ET188
Name: ________________________________
ECET230 Week 6 La
1. (3 Points) Describe one practical application of adders.
________________________________________________________________________________
2. (3 Points) What is a major advantage of using two’s complement subtraction?
________________________________________________________________________________
3. Create the adde
subtractor circuit below using a XXXXXXXXXXPoints)
4. From the circuit in problem 3, determine the proper output signals for S (sum) and Ca
yOut by running the simulation in Quartus II. Paste the complete waveform below. (10 Points)
5. Show work in 4-bit binary when sub_add = 0. (2 Points Each)
EXAMPLE:
1 = 0001
+ 4 = 0100
5 = XXXXXXXXXX
2 = __________ 3 = __________
+ 5 = __________ + 1 = __________
= __________ = __________
6. Show work in 4-bit binary when sub_add = 1 using 4 bit, signed, 2’s complement numbers. (2 Points Each)
EXAMPLE:
3 = 0011
XXXXXXXXXX) = 1011
-2 = 1110
0 = __________ 1 = __________
+ (-1) = __________ XXXXXXXXXX) = __________
= __________ = __________
7. Examine the adder circuit with the measurements below. Examine the inputs and outputs as written on the schematic and determine faults on the gates and/or adder. Your response must be specific (e.g., XOR gate #4 has the inco
ect output, or Pin C4 of the 7483 has the inco
ect output). There is, at most, one e
or in the circuit. (6 Points)
E
or is _______________________________________________________.
8. Examine the adder circuit with the measurements below. Examine the inputs and outputs as written on the schematic, and determine faults on the gates and/or adder. Your response must be specific (e.g., XOR gate #4 has the inco
ect output, or Pin C4 of the 7483 has the inco
ect output). There is, at most, one e
or in the circuit. (6 Points)
XXXXXXXXXX
+ XXXXXXXXXX
XXXXXXXXXX
-------------------------
XXXXXXXXXXC4 < XXXXXXXXXX
E
or is ________________________________________________.
3