Spaces:
Sleeping
Sleeping
|
Download tasks/task2/context.md from NeerjaK/RTL-Openenv: direct link, hf CLI and curl.
- Browser
- Download file 485 Bytes
-
https://huggingface.co/spaces/NeerjaK/RTL-Openenv/resolve/main/tasks/task2/context.md
- Command line
-
hf download hf://spaces/NeerjaK/RTL-Openenv/tasks/task2/context.md
-
curl -L -o context.md https://huggingface.co/spaces/NeerjaK/RTL-Openenv/resolve/main/tasks/task2/context.md
485 Bytes
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.