0% found this document useful (0 votes)
89 views

CS302P Assignment 2

The document is an assignment for a digital logic design practical course. It contains instructions to draw a circuit diagram for a 6-bit Gray code to binary converter using a circuit design application. It also includes a truth table with the input Gray code values and corresponding output binary values. The assignment is worth 20 total marks and is due on August 28th, 2022.

Uploaded by

Syeda Zainab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
89 views

CS302P Assignment 2

The document is an assignment for a digital logic design practical course. It contains instructions to draw a circuit diagram for a 6-bit Gray code to binary converter using a circuit design application. It also includes a truth table with the input Gray code values and corresponding output binary values. The assignment is worth 20 total marks and is due on August 28th, 2022.

Uploaded by

Syeda Zainab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Total marks = 20

Digital Logic Design Practical


(CS302P) Deadline
Assignment # 02 28 of Aug, 2022
th

Spring 2022

Vu I’d: mc220202534

Question Statement Marks (20)


Draw the circuit diagram for a complete 6-bit Gray Code to Binary converter using EWB application.
Also submit the Truth Table for the stated circuit as well.
Solution:

Circuit Diagram: 6-bit Gray Code to Binary converter

Truth table for 6-bit Gray Code


A B C D E F G1 G2 G3 G4 G5 G6
1 0 0 0 0 0 0 1 0 0 0 0 0 0
2 0 0 0 0 0 1 2 0 0 0 0 0 1
3 0 0 0 0 1 0 3 0 0 0 0 1 1
4 0 0 0 0 1 1 4 0 0 0 0 1 0
5 0 0 0 1 0 0 5 0 0 0 1 1 0
6 0 0 0 1 0 1 6 0 0 0 1 1 1
7 0 0 0 1 1 0 7 0 0 0 1 0 1
8 0 0 0 1 1 1 8 0 0 0 1 0 0
9 0 0 1 0 0 0 9 0 0 1 1 0 0
10 0 0 1 0 0 1 10 0 0 1 1 0 1
11 0 0 1 0 1 0 11 0 0 1 1 1 1
12 0 0 1 0 1 1 12 0 0 1 1 1 0
13 0 0 1 1 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