# US 2011/0243295 A1 · Asynchronous loadable down counter

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

- Number: US 2011/0243295 A1
- Document ID: US20110243295A1
- Status: Published application
- Kind: A1
- Application number: 12/752,891
- Filed: 2010-04-01
- Published: 2011-10-06
- Earliest claimed: 2010-04-01
- Assignees: Oracle International Corporation
- Inventors: Josephus C. Ebergen; Adam Megacz
- Web page: https://patentgrep.com/patent/US20110243295A1

## CPC

- H03K 23/548: {Reversible counters}
- H03K 21/38: Starting, stopping or resetting the counter (counters with a base other than a power of two H03K23/48, H03K23/66)
- 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

The disclosed embodiments relate to an asynchronous down counter, which can be loaded with any value N and then decrement exactly N times. The counter comprises an array of cells, wherein each cell is configured to hold a digit in a redundant base-k representation of a number contained in the array of cells. Each cell further comprises a finite state machine that defines state transitions between states, where these states are held on wires and state transitions are synchronized between neighboring cells. Each cell is further configured to asynchronously borrow, if possible, from a more significant adjacent cell to increase a value of a digit in the cell. This asynchronous borrowing improves performance by ensuring that a decrement operation, which decrements a digit in a least significant cell in the array, will borrow from an adjacent more significant cell, without having to wait for the completion of a rippling sequence of borrows from more significant cells.

## Claims

### Claim 1

An asynchronous down counter, comprising:
an array of cells, wherein each cell in the array is configured to hold a digit in a redundant base-k representation of a number contained in the array of cells;
wherein each cell comprises a finite state machine that defines state transitions between states, wherein states are held on wires and state transitions are synchronized between adjacent cells; and
wherein each cell is configured to asynchronously borrow from a more significant adjacent cell to increase a value of a digit in the cell, wherein the asynchronous borrowing improves performance by ensuring that a decrement operation, which decrements a digit in a least significant cell in the array, will borrow from an adjacent more significant cell, without having to wait for the completion of a rippling sequence of borrows from more significant cells.

### Claim 2 (depends on 1)

The asynchronous down counter of claim 1, wherein each digit in the redundant base-k representation of a number is a redundant base-2 digit.

### Claim 3 (depends on 1)

The asynchronous down counter of claim 1, further comprising a loading circuit configured to load a number N into the array of cells.

### Claim 4 (depends on 1)

The asynchronous down counter of claim 1, wherein the finite state machine in each cell is configured to encode each state on a single wire.

### Claim 5 (depends on 1)

The asynchronous down counter of claim 1, wherein the finite state machine in each cell is configured to encode each state on multiple wires.

### Claim 6 (depends on 1)

The asynchronous down counter of claim 1, wherein each cell includes a GasP module that implements one or more state transitions for the cell.

### Claim 7 (depends on 6)

The asynchronous down counter of claim 6, wherein the GasP module is implemented by a 2-4 GasP circuit, wherein the circuit has two gate delays in the forward direction and four gate delays in the reverse direction, and wherein the circuit has a cycle time of six gate delays.

### Claim 8 (depends on 1)

The asynchronous down counter of claim 1, wherein a state wire is maintained at a current state by a keeper circuit when the wire is not actively driven.

### Claim 9

A method for operating a down counter, comprising:
receiving an input, wherein the input is n digits in length and wherein each digit is a base-k digit;
storing the input into an array of cells;
at each cell in the array, borrowing asynchronously from a more significant adjacent cell to increase a value of the digit in the cell; and
iteratively decrementing the contents of the array, wherein each iteration involves:
decrementing a least significant cell; and
wherein the asynchronous borrowing concurrently decrements more significant cells in the array.

### Claim 10 (depends on 9)

The method of claim 9, wherein each digit in the redundant base-k representation of a number is a redundant base-2 digit.

### Claim 11 (depends on 9)

The method of claim 9, wherein each cell includes a GasP module that implements one or more state transitions for the cell.

### Claim 12 (depends on 9)

The method of claim 9, wherein a wire is maintained at a current state by a keeper circuit when the wire is not actively driven.

### Claim 13

A computer system for counting iterations, comprising:
a processor;
a memory; and
a down counter configured as an array of cells, wherein each cell in the array is configured to hold a digit in a redundant base-k representation of a number contained in the array of cells;
wherein each cell comprises a finite state machine that defines state transitions between states, wherein states are held on wires and state transitions are synchronized between adjacent cells; and
wherein each cell is configured to asynchronously borrow from a more significant adjacent cell to increase a value of a digit in the cell, wherein the asynchronous borrowing improves performance by ensuring that a decrement operation, which decrements a digit in a least significant cell in the array, will borrow from an adjacent more significant cell, without having to wait for the completion of a rippling sequence of borrows from more significant cells.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein each digit in the redundant base-k representation of a number in the down counter is a redundant base-2 digit.

### Claim 15 (depends on 13)

The computer system of claim 13, wherein the down counter further comprises a loading circuit configured to load a number N into the array of cells.

### Claim 16 (depends on 13)

The computer system of claim 13, wherein the finite state machine in each cell of the down counter is configured to encode each state on a single wire.

### Claim 17 (depends on 13)

The computer system of claim 13, wherein the finite state machine in each cell of the down counter is configured to encode each state on multiple wires.

### Claim 18 (depends on 13)

The computer system of claim 13, wherein each cell of the down counter includes a GasP module that implements one or more state transitions for the cell.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the GasP module is implemented by a 2-4 GasP circuit, wherein the circuit has two gate delays in the forward direction and four gate delays in the reverse direction, and wherein the circuit has a cycle time of six gate delays.

### Claim 20 (depends on 13)

The computer system of claim 13, wherein a state wire is maintained at a current state by a keeper circuit when the wire is not actively driven.
