IP Library Granted Patent US 12712550
Granted Patent B2
US 12712550 · App. 18/743,540 · Granted Aug 18, 2026

Semiconductor device and counting method

Inventors: Yasuhiro Hirashima (Kawasaki, JP); Toshiyuki Kouchi (Kawasaki, JP); Junya Matsuno (Yokohama, JP); Masato Dome (Kamakura, JP)
Assignee: KIOXIA CORPORATION
H03K21/38G06F1/12H03K21/406
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12712550
App. No.
18/743,540
Granted
Aug 18, 2026
Kind
B2
Abstract

A semiconductor device including an oscillator configured to output a first signal, and circuitry configured to count a cycle number of the first signal OSC. Before the oscillator outputs an N-th (N is an integer equal to or larger than 2) cycle of the first signal, the circuitry changes a count value of the cycle number of the first signal to N.

Claims (62)

1 . A semiconductor device comprising:

an oscillator configured to output a first signal; and

circuitry configured to count a cycle number of the first signal by changing a count value of the cycle number of the first signal to N before the oscillator outputs an N-th (N is an integer equal to or larger than 2) cycle of the first signal,

wherein the circuitry is a counter and includes a plurality of flip-flops connected in multiple stages.

2 . The semiconductor device of claim 1 , wherein

the circuitry is configured to change the count value of the cycle number of the first signal to N after 0.5 cycles elapse after the oscillator starts output of an (N−1)-th cycle of the first signal.

3 . The semiconductor device of claim 1 , wherein

the first signal alternately repeats a first edge of shifting from a first logic level to a second logic level different from the first logic level and a second edge of shifting from the second logic level to the first logic level, and

the circuitry is configured to count up the cycle number of the first signal using the second edge when the oscillator starts output of the first signal and the first edge is initially generated.

4 . The semiconductor device of claim 3 , wherein

the circuitry includes an adder and is configured to output a value for which 1 is added to the cycle number of the first signal as the count value.

5 . The semiconductor device of claim 3 , wherein

the circuitry is configured to add 1 to the cycle number of the first signal, based on a second signal received before the oscillator starts the output of the first signal that instructs initiation of a counting operation.

6 . The semiconductor device of claim 1 , wherein

the first signal alternately repeats a first edge of shifting from a first logic level to a second logic level different from the first logic level and a second edge of shifting from the second logic level to the first logic level, and

the circuitry is configured to count up the cycle number of the first signal using the first edge when the oscillator starts output of the first signal and the first edge is initially generated.

7 . The semiconductor device of claim 6 , wherein

the counter includes

a first flip-flop operated based on the first edge of the first signal;

a second flip-flop operated based on the second edge of the first signal;

a first circuit configured to execute an exclusive OR operation of a first output signal of the first flip-flop and a second output signal of the second flip-flop; and

a logic circuit configured to determine whether to add 1 to the cycle number of the first signal based on an output of the first circuit.

8 . The semiconductor device of claim 7 , wherein the logic circuit is configured to:

add 1 to the cycle number of the first signal when a logic level of the first output signal and a logic level of the second output signal are the same; and

not add 1 to the cycle number of the first signal when a logic level of the first output signal and a logic level of the second output signal are different.

9 . The semiconductor device of claim 6 , wherein the circuitry is configured to:

add 1 to the cycle number of the first signal in a case where the oscillator ends the output of the first signal when the first signal is at the first logic level, and

not add 1 to the cycle number of the first signal in a case where the oscillator ends the output of the first signal when the first signal is at the second logic level.

10 . The semiconductor device of claim 9 , wherein

the oscillator outputs the first signal in a period during which a third signal is at the first logic level, and

the circuitry includes

a second circuit configured to output a fourth signal based on a result of an OR operation of the first signal and the third signal; and

a third flip-flop operated based on the first edge of the fourth signal.

11 . The semiconductor device of claim 9 , wherein

the oscillator includes:

a third circuit including an output terminal which outputs the first signal and an input terminal to which the first signal output from the output terminal is input; and

a pull-up circuit connected to the output terminal of the third circuit.

12 . The semiconductor device of claim 1 , further comprising:

a latch circuit configured to fetch a seventh signal received from outside the semiconductor device, based on a sixth signal for which a fifth signal received from the outside the semiconductor device is delayed, wherein

half cycle of the first signal is equal to delay time of the sixth signal to the fifth signal.

13 . The semiconductor device of claim 12 , wherein

the fifth signal and the seventh signal are asynchronous.

14 . The semiconductor device of claim 12 , wherein

a maximum value of a granularity error of the count value generated during a first period in which the circuitry executes a counting operation is equal to a value for which the delay time is divided by a length of the first period.

15 . The semiconductor device of claim 14 , wherein

the first period is based on a command set received from an external controller, and

the delay time is based on a time difference between the fifth signal and the seventh signal received from the external controller.

16 . The semiconductor device of claim 12 , further comprising:

a first pad to which the fifth signal is received from outside the semiconductor device; and

a second pad to which the seventh signal is received from outside the semiconductor device, wherein

a number of circuits provided in a first route connecting the first pad and the latch circuit is larger than a number of circuits provided in a second route connecting the second pad and the latch circuit.

17 . The semiconductor device of claim 12 , further comprising:

a control circuit configured to execute an operation of adjusting timing of the fifth signal and the seventh signal in a case where an absolute value of a difference between the count value output by the circuitry and a previously measured count value is larger than a threshold set beforehand.

18 . A counting method using an oscillator configured to output a first signal and circuitry configured to count a cycle number of the first signal, the method comprising:

starting output of the first signal; and

changing a count value of the cycle number of the first signal to N before an N-th (N is an integer equal to or larger than 2) cycle of the first signal is output,

wherein the circuitry is a counter and includes a plurality of flip-flops connected in multiple stages.

19 . The counting method of claim 18 , wherein

changing the count value to N includes changing the count value of the cycle number of the first signal to N after 0.5 cycles elapse after output of an (N−1)-th cycle of the first signal is started.

20 . A semiconductor device comprising:

an oscillator configured to output a first signal; and

means for counting a cycle number of the first signal by changing a count value of the cycle number of the first signal to N before the oscillator outputs an N-th (N is an integer equal to or larger than 2) cycle of the first signal.