Partial preview of the text
Download Digital Circuit Simulation Questions and more Exercises Digital Logic Design and Programming in PDF only on Docsity!
DIGITAL
ASSIGNMENT 1
CSE 1003 โ DIGITAL LOGIC AND DESIGN
SUBMITTED BY: ROHITH PILLAI
REGISTRATION NUMBER:19BCE
SLOT: L29 + L
LAB: SJT 122
1. Aim:
To get familiarized with MultiSim software. Write the procedure for designing a
circuit.
Procedure:
1. Open MultiSim and open a new page.
2. To select components to place, go to Place->Component.
3. Select the appropriate category of the component under Group.
4. Select the required component and click OK.
5. Place the component by left clicking wherever desired.
6. Rotate components by right clicking on them, if required.
7. Connect all the components with wire by dragging the mouse from one
component to the other.
8. Simulate the circuit by clicking the green play button.
9. End the simulation by clicking on the red stop button.
To implement all logic gates using NAND/ NOR gates and verify their truth table.
Boolean expression:
USING NAND
OR โ ((AโBA)โโB(BโBB)โ)โ
AND โ ((AโBB)โโB(AโBB)โ)โ
NOT โ (AโBA)โ
NOR โ (((AโBA)โโB(BโBB)โ)โ โB( (AโBA)โ โB(B โBB)โ)โ)โ
XOR โ ((A โB(A โBB)โ)โ โB(B โB(A โBB)โ)โ)โ
XNOR โ ((A โBB)โ โB((A โBA)โ โB(B โBB)โ)โ)โ
USING NOR
OR โ ((A+B)โ+(A+B)โ)โ
AND โ ((A+A)โ+(B+B)โ)โ
NOT โ (A+A)โ
XOR โ ((A+B)โ+((A+A)โ+(B+B)โ)โ)โ
Truth Table:
USING NAND
A B A
B
A
โB
B
A
(A
+B
A โBB
โ+Aโ
โB B
A โBB
+Aโ
โB Bโ
((A โBA)
โ โB(B โB
B)โ)โ
((A โBB)
โ โB(A โB
B)โ)โ
(A
โB
A)โ
(((A โBA)โ โB(B โBB)
โ)โ โB((A โBA)โ โB(B
โB B)โ)โ)โ
((A โB(A โBB)โ
)โ โB(B โB(A โB
B)โ)โ)โ
((A โBB)โ โB((
A โBA)โ โB(B โB
B)โ)โ)โ
USING NOR
A B A+
B
AโB
B
Aโ AโBBโ+Aโ
โB B
((A+B)โ+
(A+B)โ)โ
((A+A)โ+
(B+B)โ)โ
(A+A)
((A+B)โ+((A+A)โ+
(B+B)โ)โ)โ
Output:
USING NAND
4. Aim:
To verify De Morganโs, Distributive, and Associative theorems.
Boolean expression:
De Morganโs Theorems โ (AโBB)โ=Aโ+Bโ
(A+B)โ=Aโ โ Bโ
Distributive Law โ A+(BโBC) = (A+B)โB(A+C)
Associative Law โ A+(B+C) = (A+B)+C
Truth Table:
DE MORGANโS THEOREMS
A B Aโ Bโ AโBB A+B (AโBB)โ Aโ+Bโ (A+B)โ AโโBBโ
DISTRIBUTIVE LAW
A B C BโBC A+(BโBC) A+B A+C (A+B)โB(A+
C)
ASSOCIATIVE LAW
A B C B+C A+(B+C) A+B (A+B)+C
Output:
DE MORGANโS THEOREMS
ASSOCIATIVE LAW
5. Aim:
To implement:
a. 3-bit Binary to Gray
b. 3-bit Gray to Binary
c. BCD to Excess-
Boolean expression:
BINARY TO GRAYCODE
G2=B
G1=B2 XOR B
G0 =B1 XOR B
GRAYCODE TO BINARY
B2 =G
B1 =G2 XOR G
B0 =G2 XOR G1 XOR G
B.C.D. TO EXCESS-
E3 =A+(B โBD)+(B โBC)
E2=(B โBCโ โBDโ)+(Bโ โBD)+(Bโ โBC)
E1= (Cโ โBDโ)+(C โBD)
E0 =Dโ
Truth Table:
BINARY TO GRAYCODE
B2 B1 B0 G2 G1 G
GRAYCODE TO BINARY
G2 G1 G0 B2 B1 B
GRAYCODE TO BINARY
B.C.D. TO EXCESS-