# US 2023/0267254 A1 · Method and apparatus for determining delay parameter, storage medium, and electronic device

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

- Number: US 2023/0267254 A1
- Document ID: US20230267254A1
- Status: Published application
- Kind: A1
- Application number: 17/840,959
- Filed: 2022-06-15
- Published: 2023-08-24
- Earliest claimed: 2022-02-18
- Assignees: Changxin Memory Technologies, Inc.
- Applicants: Changxin Memory Technologies, Inc.
- Inventors: Yue CHEN; Zengquan WU
- Web page: https://patentgrep.com/patent/US20230267254A1

## CPC

- G06F 30/3312: Timing analysis
- G06F 13/38: Information transfer, e.g. on bus (G06F13/14 takes precedence)
- G11C 7/22: Read-write [R-W] timing or clocking circuits; Read-write [R-W] control signal generators or management
- G11C 29/022: {in I/O circuitry}
- G11C 29/12015: {comprising clock generation or timing circuitry}
- G06F 30/3315: using static timing analysis [STA]
- G06F 30/396: Clock trees
- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G11C 11/4076: Timing circuits (for regeneration management G11C11/406)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A method and an apparatus for determining a delay parameter, a computer readable storage medium, and an electronic device are provided. The method for determining the delay parameter includes: determining (S210) a setup time of a clock signal in a memory relative to a DQ data signal; dividing (S220) the clock signal into a plurality of clock sub-signals, and determining (S220) a target sampling delay of the plurality of clock sub-signals relative to the DQ data signal; and determining (S230), according to the target sampling delay and the setup time, a delay parameter of the DQ data signal relative to the clock signal.

## Claims

### Claim 1

A method for determining a delay parameter, comprising:
determining a setup time of a clock signal in a memory relative to a DQ data signal;
dividing the clock signal into a plurality of clock sub-signals, and determining a target sampling delay of the plurality of clock sub-signals relative to the DQ data signal; and
determining, according to the target sampling delay and the setup time, a delay parameter of the DQ data signal relative to the clock signal.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target sampling delay is a minimum sampling delay of the plurality of the clock sub-signals relative to the DQ data signal.

### Claim 3 (depends on 2)

The method of claim 2, wherein the determining the target sampling delay of the plurality of clock sub-signals relative to the DQ data signal comprises:
determining a delay from a rising edge or a falling edge of the DQ data signal to a rising edge of each of the plurality of clock sub-signals, as a sampling delay of the clock sub-signal; and
determining a minimum value from the determined sampling delays of the plurality of clock sub-signals as the target sampling delay.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining the target sampling delay comprises:
in response to the DQ data signal that is written being 1010 data and the plurality of clock sub-signals comprising four clock sub-signals:
determining a delay from a first rising edge of the DQ data signal to a rising edge of a first clock sub-signal as a first sub-sampling delay of the first clock sub-signal,
determining a delay from a first falling edge of the DQ data signal to a rising edge of a second clock sub-signal as a second sub-sampling delay of the second clock sub-signal,
determining a delay from a second rising edge of the DQ data signal to a rising edge of a third clock sub-signal as a third sub-sampling delay of the third clock sub-signal,
determining a delay from a second falling edge of the DQ data signal to a rising edge of a fourth clock sub-signal as a fourth sub-sampling delay of the fourth clock sub-signal, and
determining a minimum sub-sampling delay from the first sub-sampling delay, the second sub-sampling delay, the third sub-sampling delay, and the fourth sub-sampling delay as the target sampling delay.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining, according to the target sampling delay and the setup time, the delay parameter of the DQ data signal relative to the clock signal comprises:
determining a difference between the target sampling delay and the setup time as the delay parameter.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
generating a test netlist according to a design database of the memory, the test netlist comprising test parameters;
performing simulation according to the test parameters, and determining a simulation waveform; and
determining, according to the simulation waveform, a rising edge and a falling edge of the DQ data signal and a rising edge of each of the plurality of clock sub-signals.

### Claim 7 (depends on 1)

The method of claim 1, wherein the setup time is determined according to a simulation result for a DQ sample.

### Claim 8

An apparatus for determining a delay parameter, comprising:
a processor; and
a memory for storing executable instructions executed by the processor;
wherein the processor is configured to:
determine a setup time of a clock signal in a memory relative to a DQ data signal;
divide the clock signal into a plurality of clock sub-signals, and determine a target sampling delay of the plurality of clock sub-signals relative to the DQ data signal; and
determine, according to the target sampling delay and the setup time, a delay parameter of the DQ data signal relative to the clock signal.

### Claim 9 (depends on 8)

The apparatus of claim 8, wherein the target sampling delay is a minimum sampling delay of the plurality of the clock sub-signals relative to the DQ data signal.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the processor is further configured to:
determine a delay from a rising edge or a falling edge of the DQ data signal to a rising edge of each of the plurality of clock sub-signals, as a sampling delay of the clock sub-signal, and
determine a minimum value from the determined sampling delays of the plurality of clock sub-signals as the target sampling delay.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to:
in response to the DQ data signal that is written being 1010 data and the plurality of clock sub-signals comprising four clock sub-signals:
determine a delay from a first rising edge of the DQ data signal to a rising edge of a first clock sub-signal as a first sub-sampling delay of the first clock sub-signal,
determine a delay from a first falling edge of the DQ data signal to a rising edge of a second clock sub-signal as a second sub-sampling delay of the second clock sub-signal,
determine a delay from a second rising edge of the DQ data signal to a rising edge of a third clock sub-signal as a third sub-sampling delay of the third clock sub-signal,
determine a delay from a second falling edge of the DQ data signal to a rising edge of a fourth clock sub-signal as a fourth sub-sampling delay of the fourth clock sub-signal, and
determine a minimum sub-sampling delay from the first sub-sampling delay, the second sub-sampling delay, the third sub-sampling delay, and the fourth sub-sampling delay as the target sampling delay.

### Claim 12 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to determine a difference between the target sampling delay and the setup time as the delay parameter.

### Claim 13 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to:
generate a test netlist according to a design database of the memory, the test netlist comprising test parameters, perform simulation according to the test parameters, and determine a simulation waveform; and
determine, according to the simulation waveform, a rising edge and a falling edge of the DQ data signal and a rising edge of each of the plurality of clock sub-signals.

### Claim 14 (depends on 8)

The apparatus of claim 8, wherein the processor is further configured to determine the setup time according to a simulation result for a DQ sample.

### Claim 15

A non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method for determining a delay parameter, wherein the method comprises:
determining a setup time of a clock signal in a memory relative to a DQ data signal;
dividing the clock signal into a plurality of clock sub-signals, and determining a target sampling delay of the plurality of clock sub-signals relative to the DQ data signal; and
determining, according to the target sampling delay and the setup time, a delay parameter of the DQ data signal relative to the clock signal.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the target sampling delay is a minimum sampling delay of the plurality of the clock sub-signals relative to the DQ data signal.

### Claim 17 (depends on 16)

The non-transitory computer-readable storage medium of claim 16, wherein the determining the target sampling delay of the plurality of clock sub-signals relative to the DQ data signal comprises:
determining a delay from a rising edge or a falling edge of the DQ data signal to a rising edge of each of the plurality of clock sub-signals, as a sampling delay of the clock sub-signal; and
determining a minimum value from the determined sampling delays of the plurality of clock sub-signals as the target sampling delay.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein determining the target sampling delay comprises:
in response to the DQ data signal that is written being 1010 data and the plurality of clock sub-signals comprising four clock sub-signals:
determining a delay from a first rising edge of the DQ data signal to a rising edge of a first clock sub-signal as a first sub-sampling delay of the first clock sub-signal,
determining a delay from a first falling edge of the DQ data signal to a rising edge of a second clock sub-signal as a second sub-sampling delay of the second clock sub-signal,
determining a delay from a second rising edge of the DQ data signal to a rising edge of a third clock sub-signal as a third sub-sampling delay of the third clock sub-signal,
determining a delay from a second falling edge of the DQ data signal to a rising edge of a fourth clock sub-signal as a fourth sub-sampling delay of the fourth clock sub-signal, and
determining a minimum sub-sampling delay from the first sub-sampling delay, the second sub-sampling delay, the third sub-sampling delay, and the fourth sub-sampling delay as the target sampling delay.

### Claim 19 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the determining, according to the target sampling delay and the setup time, the delay parameter of the DQ data signal relative to the clock signal comprises:
determining a difference between the target sampling delay and the setup time as the delay parameter.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the method further comprises:
generating a test netlist according to a design database of the memory, the test netlist comprising test parameters;
performing simulation according to the test parameters, and determining a simulation waveform; and
determining, according to the simulation waveform, a rising edge and a falling edge of the DQ data signal and a rising edge of each of the plurality of clock sub-signals.
