Beruflich Dokumente
Kultur Dokumente
Problem No-1 Design a Full Adder (FA) circuit that adds a pair of digits a, b along
with input carry cin and produces s and cout. Show following design
steps:-
a. List the truth table.
b. Write the minterm list equations for each output variable.
c. Simplify each output function using any simplification
method.
d. Draw the logic diagram using exclusive-OR, AND, and OR
gates.
Also implement your design using minimum number of two-input
NAND gates. Any solution with 9 or fewer gates will be acceptable.
Assume that only normal inputs are available from the source.
1
in figure P4-9(b). Design the BCD to seven-segment decoder using
a minimum number of gates. The six invalid combinations result in
blank display.
Problem No-3 Design a circuit that will add either 1 or 2 to a 4-bit binary number
N. Let the inputs N3, N2, N1, N0 represent N. The input K is a control
signal. The circuit should have outputs M3, M2, M1, M0, which
represent the 4-bit number M. When K=0, M=N+1. When K=1,
M=N+2. Assume that the inputs for which M>11112 will never
occur.
Design the circuit using only 2, 3, and 4-input NAND gates and
inverters. Try to minimize the total number of gates and inverters
required. The input variables K, N3, N2, N1, and N0, will be available
from toggle switches. Any solution that uses 13, or fewer gates and
inverters (not counting the five inverters for the inputs) is
acceptable.
Problem No-4 Design an Arithmetic Logic Unit (ALU) to perform the following
functions:
Specify the truth table, derive algebraic expressions for each output
function and draw the logic diagram of the encoder circuit.
2
f (A,B,C,D,E)= A+C′D+BD′+B′D+B′CE
with two 8-to-1 multiplexers, one 2-to-1 multiplexer and external
gates. Connect inputs B, C, D, and E to the selection lines. The
input requirements for the data lines will be a function of the input
variable A. The values of the variables are obtained by expressing
F as a function of A for each of the four cases when BCDE=0000,
0001, 0010,…, 1111. These functions must be implemented with
external gates.
Problem No-7 The 4:1 multiplexer function has four data inputs A, B, C, and D,
two select control inputs S1,S0 , and a single positive logic output Z
that operates as follows; S1 ,S0 =00 gates A to Z; S1 ,S0 =01 gates B
to Z; S1 ,S0 =10 gates C to Z; S1 ,S0 =11 gates D to Z.
Problem No-7 A simple security system for two doors consists of a card reader
and a keypad.
A
Card reader B X To
door1
To
Logic Y door2
Circuit Z To
C alarm
D
Keypad E
3
wrong keypad code is entered, the alarm will ring when the card is
inserted. If the correct keypad code is entered, the corresponding
door will be unlocked when the card is inserted.
Design the logic circuit for this simple security system. Your circuit’s
inputs will consist of a card code AB, and a keypad code CDE. The
circuit will have three outputs XYZ (if X or Y=1, door1 or 2 will be
opened; if Z=1, the alarm will sound). Design your circuit using
NAND gates only.
________________________________________________________________
“Good Luck”