1. Determine the decimal value of each of the followingunsigned binary numbers:
a. 10011001
1. Determine the decimal value of each of the followingsigned binary number displayed in the 2's complement form:
a. 10011001
1. Determine the outputs (Cout, Sout) of a full-adder for each of the following inputs:
a. A = 1, B = 0, Cin = 0
b. A = 0, B = 1, Cin = 1
c. A = 0, B = 0, Cin = 1
d. A = 1, B = 1, Cin = 1
1. The circuit below is an attempt to build a half-adder. Will the Cout and Sout function properly? Demonstrate your rationale.
1. Determine the outputs for the circuit shown below. Assume that C0 = 0 for all cases.
1.
Write the VHDL text for the 2-bit magnitude comparator shown below.
solution:
1. Write the VHDL text file for a 2-bit full-adder using BIT types.
1. Write the VHDL text file for a 2-bit full-adder using INTEGER types.