Professional Documents
Culture Documents
2 Insert OR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert NAND gate IC (7400 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its NAND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Similar steps repeat for every logic IC
S.# 1
Symbol
F
Boolean Expression
F =A
AND
A B
F = A.B
OR
F = A+ B
NAND
F =( A.B )
NOR 5
A B
F =( A +B )
X-OR
F = AB
Truth Table A F 1 0 A B F 0 0 0 1 1 0 1 1 A B F 0 0 0 1 1 0 1 1 A B F 0 0 0 1 1 0 1 1 A B F 0 0 0 1 1 0 1 1 A B F 0 0 0 1 1 0 1 1
Similarly check inverter in 7404 IC by connecting one by one input output to switch and LED respectively
Similarly check each AND gate in 7408 IC by connecting one by one input output to switch and LED respectively
Similarly check OR gate in 7408 IC by connecting one by one input output to switch and LED respectively
Similarly check NAND gate in 7400 by connecting one by one input output to switch and LED respectively
Similarly check NOR gate in 7402 by connecting one by one input output to switch and LED respectively
Similarly check X-OR in 7486 by connecting one by one input output to switch and LED respectively
PRELIMINARY PROCEDURE Insert AND gate IC (7408 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert OR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert NOT gate IC (7404 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Connect the circuit on bread board as shown in above Fill the following truth table
X 0 0 0 0 1 1 1 1
Y 0 0 1 1 0 0 1 1
Z 0 1 0 1 0 1 0 1
F = XY + XZ + X Z
F = XY + XZ + YZ
8
X Y X Z Y Z
X Y
X Z F
Y Z
NAND Implementation PRELIMINARY PROCEDURE Insert AND gate IC (7408 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert OR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert NOT gate IC (7404 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Connect the circuit on bread board as shown in above Fill the following truth table
X 0 0 0 0
Y 0 0 1 1
Z 0 1 0 1
F = XY + XZ + YZ
9 1 1 1 1 0 0 1 1 0 1 0 1
10
o Half Adder From the verbal explanation of a half-adder, we find that this circuit needs two binary inputs and two output. It is necessary to specify two output variables because the result may consist of two binary digit. We assign symbol x and y the two input and S (for sum) and C (for carry) to the output. The truth table is shown below The simplified Boolean function for the two outputs can be obtained directly from the truth table. The simplified expressions are:
C = XY
S = XY + X Y
PRELIMINARY PROCEDURE Insert AND gate IC (7408 2-input Quad) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert XOR gate IC (7486 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its XOR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Connect the circuit as shown in figure 1
11
12
13 denoted by the symbols S for sum and C for carry. The truth table of full adder is shown below.
X
0 0 0 0 1 1 1 1
Y 0 0 1 1 0 0 1 1
Z 0 1 0 1 0 1 0 1
The simplified Boolean function for the two outputs can be obtained directly from the truth table. The simplified expressions are:
S = X Y Z + XY Z + X Y Z + X Z Y
PRELIMINARY PROCEDURE Insert AND gate IC (7408 2-input Quad) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert XOR gate IC (7486 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the above table
14
15 check the relative magnitude of x and y. The half subtractor needs two outputs. One is generate the difference and designate by the symbol D. Second output designates B for borrowed. The truth table for the input-output relationship of a half subtractor is shown below.
X 0 0 1 1 Y 0 1 0 1 B D
The simplified Boolean function for the two outputs can be obtained directly from the truth table. The simplified expressions are:
D = XY + X Y B = XY
PRELIMINARY PROCEDURE Insert AND gate IC (7408 2-input Quad) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert XOR gate IC (7486 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the given table
16
17 The simplified Boolean function for the two outputs can be obtained directly from the truth table. The simplified expressions are:
D = X Y Z
D = X Y Z + X Y Z + X Y Z + XYZ
B = X Y + Z ( X Y )
Z B
Full Subtractor PRELIMINARY PROCEDURE Insert inverter IC (7404) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its inverter operation by applying 0 and 1 on input of each gate and connect the output of each inverter to a LED Insert AND gate IC (7408 2-input Quad) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert OR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Insert XOR gate IC (7486 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Connect the jumpers as shown in the logic diagram Fill the following table X 0 0 0 0 1 1 1 1 Y 0 0 1 1 0 0 1 1 Z 0 1 0 1 0 1 0 1 D (Difference) B(Borrow)
18
19 not listed for the input variables are dont-care combination. The truth table of BCD to Excess-3 code conversion is shown below.
Input BCD A
0 0 0 0 0 0 0 0 1
B
0 0 0 0 1 1 1 1 0
C
0 0 1 1 0 0 1 1 0
W
0 0 0 0 0 1 1 1 1
X
0 1 1 1 1 0 0 0 0
Y
1 0 0 1 1 0 0 1 1
Z
1 0 1 0 1 0 1 0 1
The simplified Boolean function by using Kaurnaugh map for the four outputs can be obtained directly from the truth table. The simplified expressions are: W=A+BC+BD = A+B(C+D) X =BC+BD+BCD = B(C+D)+BCD = B(C+D)+B(C+D) Y =CD+CD + CD+(C+D) Z =D The logic diagram of code conversion is shown below
A
A+B(C+D)'
B C D
B'(C+D)+B(C+D)'
CD+(C+D)' D'
y z
20
PRELIMINARY PROCEDURE Insert inverter IC (7404) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its inverter operation by applying 0 and 1 on input of each gate and connect the output of each inverter to a LED Fill the following table Insert AND gate IC (7408 2-input Quad) in bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its AND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert OR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Verify the above table.
Input BCD A
0 0 0 0 0 0 0 0 1
B
0 0 0 0 1 1 1 1 0
C
0 0 1 1 0 0 1 1 0
21
22
A 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
D 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
W 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1
Z 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0
23
PRELIMINARY PROCEDURE Insert XOR gate IC (7432 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its OR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Assemble the circuit on bread board as shown above Verify the above table.
24
25
R
Flip Flop Circuit with NOR gates
R
Flip Flop Circuit with NAND gates
PRELIMINARY PROCEDURE Insert NAND gate IC (7400 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its NAND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table Insert NOR gate IC (7402 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its NOR operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Fill the following table S (Set) 0 0 1 1 R (Reset) 0 1 0 1
Q
Q
26
PEFORMANCE OBJECTIVES Upon successful completion of this experiment, the student will be able to know The basic operation of RS Flip Flop. Verify the truth table of RS Flip Flop. EQUIPMENT REQUIRED Digital trainer with adapter X-OR gate (7486 2-input Quad) OR gate (7432 2-input Quad) Bread board LED DISCUSSION D FLIP FLOP The memory element used in clocked sequential circuits are called flip-flop. The D flip flop is a modification of the RS flip-flop. D F/F has property to send input data as it is on the output.
Q
0 0 1 1
D Q(t+1)
0 1 0 1 0 1 0 1
27
PRELIMINARY PROCEDURE Insert NAND gate IC (7400 2-input Quad) in the bread board Apply Vcc +5V to pin number 14 and connect pin number 7 to ground Verify its NAND operation by applying logic 0 and logic 1 in its both of input as given in following table and check output of each gate LED Connect the circuit on bread board as shown in above