# US 5,754,614 A · Gray code counter

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,754,614 A
- Document ID: US5754614A
- Status: Granted
- Kind: A
- Application number: 08/833,360
- Filed: 1997-04-03
- Granted: 1998-05-19
- Earliest claimed: 1997-04-03
- Assignees: VLSI Technology, Inc.
- Inventors: Neal Wingen
- Web page: https://patentgrep.com/patent/US5754614A

## CPC

- H03K 23/005: {using minimum change code, e.g. Gray Code}
- H03K: PULSE TECHNIQUE (measuring pulse characteristics G01R; modulating sinusoidal oscillations with pulses H03C; transmission of digital information H04L; discriminator circuits detecting phase difference between two signals by counting or integrating cycles of oscillation H03D3/04; automatic control, starting, synchronisation or stabilisation of generators of electronic oscillations or pulses where the type of generator is irrelevant or unspecified H03L; coding, decoding or code conversion, in general H03M)

## Abstract

A Gray Code counter includes first translator logic, binary incrementing/decrementing logic, second translator logic, and a clocked storage device. The first translator logic receives at an input a Gray Code number, I.sub.gray n:0! which the first translator translates into a binary number, I.sub.bin n:0!. The binary incrementing/decrementing logic either increments or decrements the binary number I.sub.bin n:0! to produce an incremented/decremented binary number, Z.sub.bin n:0!. The second translator logic translates the incremented/decremented binary number Z.sub.bin n:0! into an incremented/decremented Gray Code number, Z.sub.gray n:0!. The clocked storage device stores the incremented/decremented Gray Code number, Z.sub.gray n:0!. The clocked storage device also feeds the incremented/decremented Gray Code number, Z.sub.gray n:0!, to the input of the first translator logic.

## Claims

### Claim 1

An incrementer which increments a Gray Code number I.sub.gray n:0! to produce an incremented Gray Code number Z.sub.gray n:0!, the incrementer comprising:
first translator logic which translates the Gray Code number I.sub.gray n:0! into a binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!)}
binary incrementing logic which increments the binary number I.sub.bin n:0! to produce an incremented binary number Z.sub.bin n:0! according to the following logic algorithm:
Z.sub.bin n:0!=I.sub.bin n:0!+1;
and,
second translator logic which translates the incremented binary number Z.sub.bin n:0! into the incremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.

### Claim 2

A decrementer which decrements a Gray Code number I.sub.gray n:0! to produce a decremented Gray Code number Z.sub.gray n:0!, the decrementer comprising:
first translator logic which translates the Gray Code number I.sub.gray n:0! into a binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!};
binary decrementing logic which decrements the binary number I.sub.bin n:0! to produce a decremented binary number Z.sub.bin n:0! according to the following logic algorithm:
Z.sub.bin n:0!=I.sub.bin n:0!-1;
and,
second translator logic which translates the decremented binary number Z.sub.bin n:0! into the decremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.

### Claim 3

A Gray Code counter comprising:
first translator logic which receives at an input a Gray Code number, I.sub.gray n:0! which the first translator translates into a binary number, I.sub.bin n:0!;
binary incrementing logic which increments the binary number I.sub.bin n:0! to produce an incremented binary number, Z.sub.bin n:0!;
second translator logic which translates the incremented binary number Z.sub.bin n:0! into an incremented Gray Code number, Z.sub.gray n:0!; and,
clocked storage device, coupled to the second translator logic, which stores the incremented Gray Code number, Z.sub.gray n:0!, the clocked storage device feeding the incremented Gray Code number, Z.sub.gray n:0!, to the input of the first translator logic.

### Claim 4 (depends on 3)

A Gray Code counter as in claim 3 wherein the clocked storage device is implemented using a plurality of D flip-flops.

### Claim 5 (depends on 3)

A Gray Code counter as in claim 3 wherein the first translator logic translates the Gray Code number I.sub.gray n:0! into the binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!}.

### Claim 6 (depends on 3)

A Gray Code counter as in claim 3 wherein the second translator logic translates the incremented binary number Z.sub.bin n:0! into the incremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.

### Claim 7

A Gray Code counter comprising:
first translator logic which receives at an input a Gray Code number, I.sub.gray n:0! which the first translator translates into a binary number, I.sub.bin n:0!;
binary decrementing logic which decrements the binary number I.sub.bin n:0! to produce a decremented binary number, Z.sub.bin n:0!;
second translator logic which translates the decremented binary number Z.sub.bin n:0! into a decremented Gray Code number, Z.sub.gray n:0!; and,
clocked storage device, coupled to the second translator logic, which stores the decremented Gray Code number, Z.sub.gray n:0!, the clocked storage device feeding the decremented Gray Code number, Z.sub.gray n:0!, to the input of the first translator logic.

### Claim 8 (depends on 7)

A Gray Code counter as in claim 7 wherein the clocked storage device is implemented using a plurality of D flip-flops.

### Claim 9 (depends on 7)

A Gray Code counter as in claim 7 wherein the first translator logic translates the Gray Code number I.sub.gray n:0! into the binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!}.

### Claim 10 (depends on 7)

A Gray Code counter as in claim 7 wherein the second translator logic translates the decremented binary number Z.sub.bin n:0! into the decremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.

### Claim 11

A method by which a Gray Code counter is implemented, the method comprising the following steps:
(a) during a first clock cycle, translating a Gray Code number, I.sub.gray n:0!, into a binary number, I.sub.bin n:0!;
(b) incrementing the binary number I.sub.bin n:0! to produce an incremented binary number, Z.sub.bin n:0!;
(c) translating the incremented binary number Z.sub.bin n:0! into an incremented Gray Code number, Z.sub.gray n:0!; and,
(d) using incremented Gray Code number, Z.sub.gray n:0!, as the Gray Code number I.sub.gray n:0! during a next clock cycle.

### Claim 12 (depends on 11)

A method as in claim 11 wherein concurrent to step (d) the incremented Gray Code number, Z.sub.gray n:0! is stored using a plurality of D flip-flops.

### Claim 13 (depends on 11)

A method as in claim 11 wherein step (a) includes translating the Gray Code number I.sub.gray n:0! into the binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!}.

### Claim 14 (depends on 11)

A method as in claim 11 wherein step (c) includes translating the incremented binary number Z.sub.bin n:0! into the incremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.

### Claim 15

A method by which a Gray Code counter is implemented, the method comprising the following steps:
(a) during a first clock cycle, translating a Gray Code number, I.sub.gray n:0!, into a binary number, I.sub.bin n:0!;
(b) decrementing the binary number I.sub.bin n:0! to produce a decremented binary number, Z.sub.bin n:0!;
(c) translating the decremented binary number Z.sub.bin n:0! into a decremented Gray Code number, Z.sub.gray n:0!; and,
(d) using the decremented Gray Code number, Z.sub.gray n:0!, as the Gray Code number I.sub.gray n:0! during a next clock cycle.

### Claim 16 (depends on 15)

A method as in claim 15 wherein concurrent with step (d) the decremented Gray Code number, Z.sub.gray n:0! is stored using a plurality of D flip-flops.

### Claim 17 (depends on 15)

A method as in claim 15 wherein step (a) includes translating the Gray Code number I.sub.gray n:0! into the binary number I.sub.bin n:0! according to the following logic algorithm:
I.sub.bin n:0!=I.sub.gray n:0! XOR {0,I.sub.bin n:1!}.

### Claim 18 (depends on 15)

A method as in claim 15 wherein step (c) includes translating the decremented binary number Z.sub.bin n:0! into the decremented Gray Code number Z.sub.gray n:0! according to the following logic algorithm:
Z.sub.gray n:0!=Z.sub.bin n:0! XOR {0,Z.sub.bin n:1!.
