Digital Circuit Simulation Questions, Exercises of Digital Logic Design and Programming

Truth table, boolean expression, simulation

Typology: Exercises

2019/2020

Uploaded on 02/21/2020

rohith-pillai-1
rohith-pillai-1 ๐Ÿ‡ฎ๐Ÿ‡ณ

1 document

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DIGITAL
ASSIGNMENT 1
CSE 1003 โ€“ DIGITAL LOGIC AND DESIGN
SUBMITTED BY: ROHITH PILLAI
REGISTRATION NUMBER:19BCE2490
SLOT: L29 + L30
LAB: SJT 122
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

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-