# US 7,176,824 B2 · Imprint-free coding for ferroelectric nonvolatile counters

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

- Number: US 7,176,824 B2
- Document ID: US7176824B2
- Status: Granted
- Kind: B2
- Application number: 10/719,108
- Filed: 2003-11-21
- Published: 2005-05-26
- Granted: 2007-02-13
- Earliest claimed: 2003-11-21
- Assignees: Ramtron International Corporation
- Inventors: Xiao Hong Du; Dennis C. Young
- Web page: https://patentgrep.com/patent/US7176824B2

## CPC

- G11C 11/22: using ferroelectric elements
- H03K 23/76: using magnetic cores or ferro-electric capacitors
- G11C: STATIC STORES (semiconductor memory devices H10B)
- 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

An encoder utilizes a coding method for use with ferroelectric or other nonvolatile counters which are subject to imprint ensures that all of the bits in the code are frequently switched and not left in a fixed data state. The general coding equation for this method is such that: for an even integer n, it is represented by the conventional binary code of n/2; for an odd integer n, it is represented by the conventional binary code of the one's compliment of (n−1)/2. With this method, every bit switches to its compliment when counting from an even number to an odd number so that imprint is substantially reduced.

## Claims

### Claim 1

An encoder for use in a nonvolatile counter comprising:
a logic gate having a first input for receiving an up/down signal, a second input for receiving a most-significant bit signal, and an output;
a plus-one block having an input for receiving an inverted input signal and an output; and
a two-to-one multiplexer having a first input for receiving the inverted input signal, a second input coupled to the output of the plus-one block, a control input coupled to the output of the logic gate, and an output for providing an encoded signal.

### Claim 2 (depends on 1)

The encoder of claim 1 in which the first input is set to a logic one for counting up.

### Claim 3 (depends on 1)

The encoder of claim 1 in which the first input is set to a logic zero for counting down.

### Claim 4 (depends on 1)

The encoder of claim 1 in which the logic gate comprises a XNOR gate.

### Claim 5 (depends on 1)

The encoder of claim 1 in which the plus-one block comprises a combinatorial logic circuit.

### Claim 6 (depends on 1)

The encoder of claim 1 in which the encoded signal is equal to the inverted input signal if the control signal is a logic zero.

### Claim 7 (depends on 1)

The encoder of claim 1 in which the encoded signal is equal to the inverted input signal plus one if the control signal is a logic one.

### Claim 8 (depends on 1)

The encoder of claim 1 in which the nonvolatile counter comprises a ferroelectric nonvolatile counter.

### Claim 9 (depends on 1)

The encoder of claim 1 in which the nonvolatile counter comprises an m-bit nonvolatile counter.

### Claim 10 (depends on 9)

The encoder of claim 9 in which m is equal to 4.

### Claim 11 (depends on 9)

The encoder of claim 9 in which m is equal to 5.

### Claim 12 (depends on 9)

The encoder of claim 9 in which m is equal to 40.

### Claim 13

A data encoding method for counting up from input number data n=dmdm-1dm-2 . . . d1d0 comprising:
adding a logic one to inverted input number data to provide intermediate number data;
multiplexing the inverted input number data and the intermediate number data to provide output number data; such that:
if n is even, then the output number data comprises n+1= dm ddm-1 dm-2 . . . d1 d0; and
if n is odd, then the output number data comprises n+1= dm dm-1 dm-2. . . d1 d0+1.

### Claim 14 (depends on 13)

The data encoding method of claim 13 further comprising keeping an output count at a maximal number when counting up from the maximal number instead of rolling the output count over to zero.

### Claim 15 (depends on 14)

The data encoding method of claim 14 in which the maximal number is equal to 1000 when m is equal to four.

### Claim 16

A data encoding method for counting down from input number data n=dmdm-1dm-2 . . . d1d0 comprising:
adding a logic one to inverted in put number data to provide intermediate number data;
multiplexing the inverted input number data and the intermediate number data to provide output number data; such that:
if n is even, then the output number data comprises n−1= dm dm-2. . . d1 d030 1 ; and
if n is odd, then the output number data comprises n−1= dm dm-2. . . d1 d0.

### Claim 17 (depends on 16)

The data encoding method of claim 16 further comprising keeping an output count at zero when counting down from zero, instead of rolling the output count over to a maximal number.

### Claim 18 (depends on 16)

The data encoding method of claim 16 in which the maximal number is equal to 1000 when m is equal to four.
