Home.Verilog.Digital Design.Digital Basics.Python.RF Basics.
Previous.
Next.
Custom Search

Legal Disclaimer

Chip Designing for ASIC/ FPGA Design engineers and Students
FULLCHIPDESIGN
Digital-logic Design...  Dream for many students… start learning front-end…

Legal Disclaimer

@TYH :- 4G LTE Long Term Evolution Tutorial, CloudComputing
PICS
Verilog Tutorial.
Get Noticed:- Submit your own content to be published on fullchipdesign.com

Send it to fullchip@gmail.com

Digital Basics Tutorial.

Gray Coding in Digital Design

 

Some implementation in digital design requires Gray encoding where only one bit is allowed to transition between two consecutive numbers.

Decimal to binary to gray codes from 0-100 are discussed below.

Binary to Gray code mapping for 0 to 10

 

# Decimal =    0 : Binary = 10'b0000000000 : Gray = 10'b0000000000

 

# Decimal =    1 : Binary = 10'b0000000001 : Gray = 10'b0000000001

 

# Decimal =    2 : Binary = 10'b0000000010 : Gray = 10'b0000000011

 

# Decimal =    3 : Binary = 10'b0000000011 : Gray = 10'b0000000010

 

# Decimal =    4 : Binary = 10'b0000000100 : Gray = 10'b0000000110

 

# Decimal =    5 : Binary = 10'b0000000101 : Gray = 10'b0000000111

 

# Decimal =    6 : Binary = 10'b0000000110 : Gray = 10'b0000000101

 

# Decimal =    7 : Binary = 10'b0000000111 : Gray = 10'b0000000100

 

# Decimal =    8 : Binary = 10'b0000001000 : Gray = 10'b0000001100

 

# Decimal =    9 : Binary = 10'b0000001001 : Gray = 10'b0000001101

 

# Decimal =  10 : Binary = 10'b0000001010 : Gray = 10'b0000001111

 

Binary to Gray code mapping for 11 to 50 click here

 

 

 

 

Binary to Gray code mapping for 50 to 100 click here

 

Binary Numbers 1s_complement 2s_complement Binary Subtraction Binary Sub. Ex's Sign_magnitude SignM EX Gray Coding BCD coding Digital gates NAND NOR & XNOR Theorems Boolean Functions BFunc Examples Minterm Maxterm Sum of Minterms Prdt of Maxterms 2 var K-map 3 var K-map 4 var K-map 5 var K-map Prime Implicant PI example K-map Ex's KMap minimization 2 var EX
Interview Questions. Main, FPGA, Digital Fundamentals

Check out Verilog code to implement Gray Encoding

LTE Long Term Evolution topics.

Check out Verilog code to implement Gray Encoding