SlideShare a Scribd company logo
4
Most read
7
Most read
10
Most read
SUBMITTED BY:-
TANISH GUPTA{150130117029}
KARANVEER MUQAND{1501300117040}
GOVERNMENT
ENGINEERING COLLEGE,
GANDHINAGAR
Dlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} ppt
WHAT IS A BINARY CODE ?
A binary code represents text or computer
processor instructions using the binary
number system's two binary digits, 0 and 1.
The binary code assigns a bit string to each
symbol or instruction.
The reflected binary code(RBC), also known as
Gray code after Frank Gray, is a binary
numeral system where two successive values
differ in only one bit. This code was originally
designed to prevent spurious output from
electromechanical switches.
WHAT IS A GRAY CODE ?
THE GRAY CODE
Decimal Binary Gray Code
0 0000 0000
1 0001 0001
2 0010 0011
3 0011 0010
4 0100 0110
5 0101 0111
6 0110 0101
7 0111 0100
Decimal Binary Gray Code
8 1000 1100
9 1001 1101
10 1010 1111
11 1011 1110
12 1100 1010
13 1101 1011
14 1110 1001
15 1111 1000
Binary-to-Gray code conversion
i. The MSB in the Gray code is the same as corresponding MSB in the binary
number.
ii. Going from left to right, add each adjacent pair of binary code bits to get
the next Gray code bit. Discard carries.
ex: convert 101102 to Gray code
1 + 0 + 1 + 1 + 0 binary
1 1 1 0 1 Gray
CONVERTING CIRCUIT
Binary to Gray conversion is accomplished with 2 XOR gates.
LOGIC DIAGRAM OF 4 BIT BINARY TO GRAY CODE
CONVERTER
TRUTH TABLE
Dlc{binary to gray code conversion} ppt

More Related Content

PPTX
Binary to grey code conversion
PDF
Number System and Boolean Algebra
PPTX
Code conversions.pptx415.pptx
PPTX
Unit 3 combinational circuits
PPTX
Gray Code.pptx
PPT
Number system and codes
PPTX
Bcd to excess 3 code converter
Binary to grey code conversion
Number System and Boolean Algebra
Code conversions.pptx415.pptx
Unit 3 combinational circuits
Gray Code.pptx
Number system and codes
Bcd to excess 3 code converter

What's hot (20)

PPTX
Number system in Digital Electronics
PPTX
module1:Introduction to digital electronics
PDF
Digital Electronics- Number systems & codes
PPTX
Demultiplexer
PPTX
Encoders and decoders
PPTX
Combinational circuit
PPTX
PDF
Binary codes
PPT
Digital Logic circuit
PPTX
Encoder and decoder
PPTX
Code conversion
PPTX
Digital Electronics - Counters
PPTX
Weighted and Non Weighted Codes
PPT
PDF
Encoder & Decoder
PPT
Shift Registers
PPT
Digital logic gates and Boolean algebra
PPT
BCD,GRAY and EXCESS 3 codes
PPTX
What is Gray Code?
Number system in Digital Electronics
module1:Introduction to digital electronics
Digital Electronics- Number systems & codes
Demultiplexer
Encoders and decoders
Combinational circuit
Binary codes
Digital Logic circuit
Encoder and decoder
Code conversion
Digital Electronics - Counters
Weighted and Non Weighted Codes
Encoder & Decoder
Shift Registers
Digital logic gates and Boolean algebra
BCD,GRAY and EXCESS 3 codes
What is Gray Code?
Ad

Viewers also liked (10)

PPTX
PDF
VHDL CODE
PDF
23 gray codes
PPT
PDF
Programs of VHDL
PDF
Introduction to FPGA, VHDL
PPT
Counters
PPT
PPT
Fundamentals of FPGA
PPT
VHDL CODE
23 gray codes
Programs of VHDL
Introduction to FPGA, VHDL
Counters
Fundamentals of FPGA
Ad

Similar to Dlc{binary to gray code conversion} ppt (20)

PPTX
4 bit Binary to Gray converter using XOR
PDF
Binary to gray converter using xor
PDF
Digital Code conversion from one system to another.
PPTX
Unit-1 (DLD) Lecture 2.pptx
PPTX
Grey Code Conversion {BS AI The University of Faisalabad Slides}.pptx
PPTX
Digital Logic BCA TU Chapter 2.2
PPTX
NEW_BEE_PPT_UNIT 5_PART-2 By Tonderai Mayisiri
PPTX
Code conversions binary to Gray vice versa.pptx
PDF
Information Science in Action Week 3 Codes
PPTX
Gray code to binary conversion
PPT
dld chapter 2 logic gates and logic works affer subtactor
PDF
Digital electronics
PDF
Codes: Binary Codes Weighted codes Binary Coded Decimal (BCD) Non-weighted ...
PPTX
DLD-W3-L1.pptx
PPTX
Reflected code and conversion
PDF
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
PPTX
Digital Module 1.pptx Digital logic design
PDF
Lecture5 Chapter1- Binary Codes.pdf
PPTX
5_2019_01_03!03_33_00_PM.pptx
4 bit Binary to Gray converter using XOR
Binary to gray converter using xor
Digital Code conversion from one system to another.
Unit-1 (DLD) Lecture 2.pptx
Grey Code Conversion {BS AI The University of Faisalabad Slides}.pptx
Digital Logic BCA TU Chapter 2.2
NEW_BEE_PPT_UNIT 5_PART-2 By Tonderai Mayisiri
Code conversions binary to Gray vice versa.pptx
Information Science in Action Week 3 Codes
Gray code to binary conversion
dld chapter 2 logic gates and logic works affer subtactor
Digital electronics
Codes: Binary Codes Weighted codes Binary Coded Decimal (BCD) Non-weighted ...
DLD-W3-L1.pptx
Reflected code and conversion
W3 Chapter 2B Notes CCB1223 Digital Logic.pdf
Digital Module 1.pptx Digital logic design
Lecture5 Chapter1- Binary Codes.pdf
5_2019_01_03!03_33_00_PM.pptx

Recently uploaded (20)

PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPT
Mechanical Engineering MATERIALS Selection
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
PPT on Performance Review to get promotions
PDF
737-MAX_SRG.pdf student reference guides
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
DOCX
573137875-Attendance-Management-System-original
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Current and future trends in Computer Vision.pptx
PDF
Well-logging-methods_new................
Foundation to blockchain - A guide to Blockchain Tech
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Mechanical Engineering MATERIALS Selection
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
R24 SURVEYING LAB MANUAL for civil enggi
PPT on Performance Review to get promotions
737-MAX_SRG.pdf student reference guides
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
573137875-Attendance-Management-System-original
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
CYBER-CRIMES AND SECURITY A guide to understanding
Automation-in-Manufacturing-Chapter-Introduction.pdf
Current and future trends in Computer Vision.pptx
Well-logging-methods_new................

Dlc{binary to gray code conversion} ppt

  • 1. SUBMITTED BY:- TANISH GUPTA{150130117029} KARANVEER MUQAND{1501300117040} GOVERNMENT ENGINEERING COLLEGE, GANDHINAGAR
  • 4. WHAT IS A BINARY CODE ? A binary code represents text or computer processor instructions using the binary number system's two binary digits, 0 and 1. The binary code assigns a bit string to each symbol or instruction.
  • 5. The reflected binary code(RBC), also known as Gray code after Frank Gray, is a binary numeral system where two successive values differ in only one bit. This code was originally designed to prevent spurious output from electromechanical switches. WHAT IS A GRAY CODE ?
  • 6. THE GRAY CODE Decimal Binary Gray Code 0 0000 0000 1 0001 0001 2 0010 0011 3 0011 0010 4 0100 0110 5 0101 0111 6 0110 0101 7 0111 0100 Decimal Binary Gray Code 8 1000 1100 9 1001 1101 10 1010 1111 11 1011 1110 12 1100 1010 13 1101 1011 14 1110 1001 15 1111 1000
  • 7. Binary-to-Gray code conversion i. The MSB in the Gray code is the same as corresponding MSB in the binary number. ii. Going from left to right, add each adjacent pair of binary code bits to get the next Gray code bit. Discard carries. ex: convert 101102 to Gray code 1 + 0 + 1 + 1 + 0 binary 1 1 1 0 1 Gray
  • 8. CONVERTING CIRCUIT Binary to Gray conversion is accomplished with 2 XOR gates.
  • 9. LOGIC DIAGRAM OF 4 BIT BINARY TO GRAY CODE CONVERTER