Question: A Gray code is a sequence of binary numbers with the property that no more than 1 bit changes in going from one element of
A Gray code is a sequence of binary numbers with the property that no more than 1 bit changes in going from one element of the sequence to another. For example, here is a 3-bit binary Gray code: 000, 001, 011, 010, 110, 111, 101, and 100. Using three D flip-flops and a PLA, construct a 3-bit Gray code counter that has two inputs: reset, which sets the counter to 000, and inc, which makes the counter go to the next value in the sequence. Note that the code is cyclic, so that the value aft er 100 in the sequence is 000.
Step by Step Solution
3.30 Rating (162 Votes )
There are 3 Steps involved in it
The above sequences are Gray Codes of different widths Following is an interesting pattern in Gray C... View full answer
Get step-by-step solutions from verified subject matter experts
