← All problems

Gray Code to Binary Conversion

Easy · Combinational · SystemVerilog

Given a Gray code value {gray}, output its corresponding binary index {bin}.

The input {gray} is interpreted as a standard Gray code value. The output {bin} is the corresponding binary value.

Open this challenge in the editor →