Spaces:
Sleeping
Sleeping
File size: 485 Bytes
cce6ee4 b017ab3 cce6ee4 70f597d cce6ee4 | 1 2 3 4 5 6 7 8 9 | ### TASK: Debug Combinational Logic (Binary to Gray Code Converter)
### SPECIFICATION:
- Implement a Binary to Gray Code Converter.
- Inputs: 'binary' (N-bit binary number).
- Output: 'gray' (N-bit gray code).
- Behavior: 'gray' should be the gray code representation of 'binary'.
Binary code is the standard way of representing numbers in digital systems using bits (0s and 1s). Gray code is a modified binary representation where consecutive values differ by only one bit. |