Beginner Combinational Circuits 11 구성 요소
Binary to Gray Code Converter
Converts a 4-bit binary number to Gray code, where consecutive values differ by exactly one bit. Each Gray bit is an XOR of adjacent binary bits.
배울 내용
- Convert binary to Gray code with XOR gates
- Explain why Gray code differs by one bit
- Recognise where single-bit-change codes matter
작동 원리
Gray code changes only one bit between consecutive values. The most significant Gray bit equals the binary MSB; every other Gray bit is the XOR of two adjacent binary bits.
사용된 구성 요소
실제 응용 사례
Rotary encoders, position sensors, Karnaugh maps, and reducing glitches in asynchronous logic.