What is Gray code?

A code in which successive values differ in only one bit. It prevents read errors in rotary encoders and when passing counter values between different clock domains.

Field: Logic circuits

Gray code in the explanations

Questions that mention Gray code (2)

  1. Which is a characteristic of Gray code?
  2. In multi-level (MLC or TLC) NAND flash, why are the bit patterns assigned to adjacent threshold-voltage states chosen to differ by only one bit?

Related terms

Karnaugh map TLC (triple-level cell) ECC (error-correcting code) Clock skew Combinational circuit De Morgan's theorem Decoder Flip-flop Full adder Glitch

Back to the glossary