Assignment#3
Assignment#3
1. Design a circuit diagram for the following system that takes two 4-bit binary numbers [A
and B] as inputs and outputs in the following fashion:
a. If one input is odd and the other input is even, the output should be A+B
b. If both inputs are odd or both inputs are even, the output should be A-B
2. Design a circuit diagram for the following system that takes two 4-bit binary numbers [A
and B] as inputs and outputs in the following fashion:
a. If both numbers are divisible by 10 the output should be A+B
b. A-B otherwise
3. Design a 23 people voter system using necessary parallel and full adder(s). Your circuit
diagram should be efficient, i.e. use the least amount of components.
Note: Use 4-bit or higher parallel adders where necessary, you cannot use any lower
than 4-bit parallel adders
4. Design a BCD to Excess-12 system using necessary parallel adder(s).
5. Design a circuit diagram for the following system that takes two 4-bit binary numbers [A
and B] as inputs and outputs in the following fashion:
a. If C0 is given zero, it will perform normal addition and returns A+B
b. If C0 is given as 1, it will perform addition in 1’s complement and returns A-B
6. Construct the function F(a,b,c,d,e) = ∑(0,1, 2, 4, 12, 15, 18, 21, 24, 25, 31):
a. Using 3x8 decoder(s) only.
b. Using 2x4 decoder(s) only.
c. Using 3x8 and 2x4 decoder(s) both.
7. Construct the function F(a,b,c,d,e) = ∑(0,1, 5, 8, 9, 13, 16, 19, 24, 25, 31):
a. Using 16x1 and 2x1 mux(s) (you need to use both in the same circuit)
b. Using only 4x1 mux(s)
8. Construct the following circuits using only 4x1 mux: ab’ + c’
9. You have to construct the truth table and internal circuit diagram for a 4x2 priority
encoder. The priority is given in the following manner:
a. If the number of 1 in a binary input is divisible by 3, then priority will be given to
the MSB line.
b. If the number of 1 in a binary input is divisible by 2, then priority will be given to
the LSB line.
c. For all other cases, the priority will be given to the MSB line.
10.[Ungraded] Design a 16x1 mux using only a single 4x1 mux. You may use other basic
gates as required.