# US 12,695,456 B2 · Bidirectional counter and integrated circuit including the same

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

- Number: US 12,695,456 B2
- Document ID: US12695456B2
- Status: Granted
- Kind: B2
- Application number: 18/818,024
- Filed: 2024-08-28
- Published: 2025-03-06
- Granted: 2026-07-28
- Earliest claimed: 2023-08-28
- Assignees: Samsung Electronics Co., Ltd.; Research & Business Foundation Sungkyunkwan University
- Applicants: Samsung Electronics Co., Ltd.
- Inventors: Jaeha Lee; Bai-Sun Kong; Bomin Joo
- Web page: https://patentgrep.com/patent/US12695456B2

## CPC

- H03K 23/56: Reversible counters (H03K23/52 {and H03K23/548} take precedence)
- H03K 23/44: using field-effect transistors {(H03K23/46 and H03K23/425 take precedence)}
- H03M 1/48: Servo-type converters
- 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)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

Disclosed are a bidirectional counter and a method of generating output data. The bidirectional counter may include at least one first flip-flop configured to generate, based on at least one first local clock, at least one first bit including a least significant bit (LSB) of the output data and a second bit that is an upper bit of the at least one first bit, and a local clock generation circuit configured to generate, in response to an up signal that is activated, the at least one first local clock based on the input clock and the at least one first bit, and to generate, in response to the up signal that is deactivated, the at least one first local clock based on the input clock and at least one inverted first bit.

## Claims

### Claim 1

A bidirectional counter configured to generate output data based on an input clock, the bidirectional counter comprising:
at least one first flip-flop configured to generate, based on at least one first local clock, at least one first bit of the output data and a second bit that is an upper bit of the at least one first bit, the at least one first bit including a least significant bit (LSB) of the output data; and
a local clock generation circuit configured to generate, in response to an up signal that is activated, the at least one first local clock based on the input clock and the at least one first bit, and to generate, in response to the up signal that is deactivated, the at least one first local clock based on the input clock and at least one inverted first bit that corresponds to an inverted version of the at least one first bit.

### Claim 2 (depends on 1)

The bidirectional counter of claim 1, wherein the local clock generation circuit comprises at least one multiplexer configured to respectively select, based on the up signal, the at least one first bit or the at least one inverted first bit.

### Claim 3 (depends on 2)

The bidirectional counter of claim 2, wherein the local clock generation circuit comprises:
at least one first transistor configured to respectively precharge, based on the input clock, at least one first output node at which the at least one first local clock is respectively generated; and
at least one second transistor configured to propagate a discharge of the at least one first output node, based on the input clock and at least one output of the at least one multiplexer.

### Claim 4 (depends on 1)

The bidirectional counter of claim 1, wherein the local clock generation circuit comprises at least one latch configured to respectively latch the at least one first local clock, and
wherein each of the at least one latch comprises:
an inverter configured to receive one first local clock, of the at least one first local clock; and
a p-channel field effect transistor (PFET) including a gate connected to an output of the inverter, a source to which a positive supply voltage is applied, and a drain connected to an input of the inverter.

### Claim 5 (depends on 1)

The bidirectional counter of claim 1, wherein the local clock generation circuit is configured to generate a carry input based on the at least one first local clock, and the bidirectional counter further comprises:
at least one second flip-flop configured to generate, based on at least one second local clock, at least one third bit that is an upper bit of the second bit;
a pre-evaluation circuit configured to generate at least one ripple carry based on the up signal, the second bit, and the at least one third bit; and
a local clock selection circuit configured to generate the at least one second local clock based on the input clock, the carry input, and the at least one ripple carry.

### Claim 6

A bidirectional counter configured to generate output data based on an input clock, the bidirectional counter comprising:
at least one first flip-flop configured to generate, based on at least one first local clock, a most significant bit (MSB) of the output data and at least one first bit that is lower than the MSB;
a first pre-evaluation circuit configured to generate, in response to an up signal that is activated, at least one first ripple carry based on the at least one first bit and a second bit that is lower than the at least one first bit, and to generate, in response to the up signal that is deactivated, the at least one first ripple carry based on an inverted second bit that corresponds to an inverted version of the second bit and at least one inverted first bit that corresponds to an inverted version of the at least one first bit; and
a first local clock selection circuit configured to generate the at least one first local clock based on the input clock, a first carry input, and the at least one first ripple carry.

### Claim 7 (depends on 6)

The bidirectional counter of claim 6, wherein the first pre-evaluation circuit comprises at least one multiplexer configured to respectively select, based on the up signal, the second bit and the at least one first bit or the inverted second bit and the at least one inverted first bit.

### Claim 8 (depends on 7)

The bidirectional counter of claim 7, wherein the first pre-evaluation circuit comprises:
at least one first transistor configured to respectively receive at least one output of the at least one multiplexer, and respectively precharge at least one first output node at which at least one inverted first ripple carry that corresponds to an inverted version of the at least one first ripple carry is generated; and
at least one second transistor configured to respectively receive the at least one output of the at least one multiplexer and propagate a discharge of the at least one first output node.

### Claim 9 (depends on 6)

The bidirectional counter of claim 6, wherein the first pre-evaluation circuit comprises at least one latch configured to respectively latch the at least one first ripple carry, and
wherein each of the at least one latch comprises:
an inverter configured to receive a first ripple carry; and
a p-channel field effect transistor (PFET) including a gate connected to an output of the inverter, a source to which a positive supply voltage is applied, and a drain connected to an input of the inverter.

### Claim 10 (depends on 6)

The bidirectional counter of claim 6, wherein the first local clock selection circuit comprises at least one unit circuit corresponding to the at least one first local clock, and
wherein each of the at least one unit circuit is configured to generate a first local clock, of the at least one first local clock, that is logic high when the input clock is logic low, generate the first local clock that is inverted to a first ripple carry when the input clock and the first carry input are logic high, and hold the first local clock when the input clock is logic low.

### Claim 11 (depends on 10)

The bidirectional counter of claim 10, wherein each of the at least one unit circuit comprises:
a first p-channel field effect transistor (PFET) connected between a first node to which a positive supply voltage is applied and a second node to which the first local clock is output, and configured to receive the input clock;
a latch connected between the first node and the second node; and
a first n-channel FET (NFET) and a second NFET connected in series with each other between the second node and a third node to which an inverted first ripple carry that corresponds to an inverted version of the first ripple carry is applied and configured to respectively receive the first carry input and the input clock.

### Claim 12 (depends on 11)

The bidirectional counter of claim 11, wherein the latch comprises:
an inverter having an input connected to the second node; and
a PFET including a gate connected to an output of the inverter, a source connected to the first node, and a drain connected to the second node.

### Claim 13 (depends on 10)

The bidirectional counter of claim 10, wherein each of the at least one unit circuit comprises:
a first PFET connected between a first node to which a positive supply voltage is applied and a second node to which the first local clock is output, and configured to receive the input clock;
a latch connected between the first node and the second node; and
first to third NFETs connected in series with one another between the second node and a third node to which a negative supply voltage is applied and configured to respectively receive the first carry input, the input clock, and the first ripple carry.

### Claim 14 (depends on 13)

The bidirectional counter of claim 13, wherein the latch comprises:
an inverter having an input connected to the second node; and
a PFET including a gate connected to an output of the inverter, a source connected to the first node, and a drain connected to the second node.

### Claim 15 (depends on 6)

The bidirectional counter of claim 6, further comprising:
at least one second flip-flop configured to generate, based on at least one second local clock, the second bit and at least one third bit that is lower than the second bit;
a second pre-evaluation circuit configured to generate, in response to the up signal that is activated, at least one second ripple carry based on the at least one third bit and a fourth bit that is lower than the at least one third bit, and to generate, in response to the up signal that is deactivated, the at least one second ripple carry based on an inverted fourth bit that corresponds to an inverted version of the fourth bit and at least one inverted third bit that corresponds to an inverted version of the at least one third bit; and
a second local clock selection circuit configured to generate the at least one second local clock, based on the input clock, a second carry input, and the at least one second ripple carry,
wherein the second pre-evaluation circuit is configured to generate the first carry input from the at least one second ripple carry.

### Claim 16

A method of generating output data that increases or decreases according to an input clock, the method being performed by a counter comprising a local clock generation circuit and at least one first flip-flop, the method comprising:
receiving an up signal;
generating, by the local clock generation circuit, in response to the up signal that is activated, at least one first local clock based on the input clock and at least one first bit of the output data, the at least one first bit including a least significant bit (LSB) of the output data;
generating, by the local clock generation circuit, in response to the up signal that is deactivated, the at least one first local clock based on the input clock and at least one inverted first bit that corresponds to an inverted version of the at least one first bit; and
generating, by the at least one first flip-flop, based on the at least one first local clock, the at least one first bit and a second bit that is an upper bit of the at least one first bit.

### Claim 17 (depends on 16)

The method of claim 16, wherein the generating the at least one first local clock in response to the activated up signal comprises respectively selecting the at least one first bit based on the activated up signal, and
wherein the generating the at least one first local clock in response to the deactivated up signal comprises respectively selecting the at least one inverted first bit based on the deactivated up signal.

### Claim 18 (depends on 16)

The method of claim 16, wherein the generating the at least one first local clock in response to the activated up signal comprises:
simultaneously precharging, based on the input clock, at least one first output node at which the at least one first local clock is generated; and
propagating a discharge of the at least one first output node based on the input clock and the at least one first bit.

### Claim 19 (depends on 16)

The method of claim 16, wherein the generating the at least one first local clock in response to the deactivated up signal comprises:
simultaneously precharging, based on the input clock, at least one first output node at which the at least one first local clock is generated; and
propagating a discharge of the at least one first output node, based on the input clock and the at least one inverted first bit.

### Claim 20 (depends on 16)

The method of claim 16, wherein the counter further comprises a pre-evaluation circuit, a local clock selection circuit, and at least one second flip-flop, the method further comprising:
generating, by the local clock generation circuit, a carry input based on the at least one first local clock;
generating, by the pre-evaluation circuit, at least one ripple carry, based on the up signal, the second bit and at least one third bit that is an upper bit of the second bit;
generating, by the local clock selection circuit, at least one second local clock, based on the input clock, the carry input, and the at least one ripple carry;
generating, by the at least one second flip-flop, the at least one third bit based on the at least one second local clock.
