Patent attributes
Disclosed is a gray code generator. The gray code generator includes a counter that counts first to fourth digital bits in response to a clock signal, and a converter that converts the first to fourth digital bits to first to fourth gray bits. The counter includes a replica flip-flop that outputs the clock signal as the first digital bit, a first flip-flop that inverts the second digital bit in response to the clock signal to output the second digital bit, a second flip-flop that outputs a high level in response to the clock signal when a second inverted digital bit is different from a third inverted digital bit, and a third flip-flop that outputs the high level in response to the clock signal when a result of performing a NOR operation on the second and third inverted digital bits is different from a fourth inverted digital bit.