Delay measurement circuit and memory
Abstract
A delay measurement circuit includes: a loop flag generation circuit configured to: generate a loop flag signal and input the loop flag signal to the loop of the delay-locked loop when loop delay measurement is performed on the delay-locked loop; and generate a measurement finish signal and generate a target pulse signal after the loop flag signal is cycled for M times in the loop of the delay-locked loop, a valid pulse width of the target pulse signal being equal to M times a loop delay; and a counter circuit configured to: receive a divided clock signal; time the valid pulse width of the target pulse signal based on the divided clock signal, to obtain a timing result; and perform preset processing on the timing result, to obtain a loop delay measurement result of the delay-locked loop.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (8 — 1 Independent, 7 Dependent)
- Claim 1Independent Claim
A delay measurement circuit, applied to a delay-locked loop, and comprising: a loop flag generation circuit, electrically connected to a loop of the delay-locked loop, and configured to: generate a loop flag signal and input the loop flag signal to the loop of the delay-locked loop when loop delay measurement is performed on the delay-locked loop; and generate a measurement finish signal and generate a target pulse signal after the loop flag signal is cycled for M times in the loop of the delay-locked loop, a valid pulse width of the target pulse signal being equal to M times a loop delay, and M being an even number greater than 1; and a counter circuit, electrically connected to the loop flag generation circuit, and configured to: receive a divided clock signal; time the valid pulse width of the target pulse signal based on the divided clock signal, to obtain a timing result; and perform preset processing on the timing result, to obtain a loop delay measurement result of the delay-loc
- Claim 2Depends on #1
The delay measurement circuit according to claim 1, further comprising: a control circuit, configured to: generate a measurement control signal of a first level when loop delay measurement is performed on the delay-locked loop, and generate a measurement control signal of a second level at a remaining moment.
- Claim 3Depends on #1
The delay measurement circuit according to claim 1, further comprising: a selection circuit, electrically connected to the loop of the delay-locked loop, and configured to: choose to input the loop flag signal to the loop of the delay-locked loop when loop delay measurement is performed on the delay-locked loop; and input a reference clock signal to the loop of the delay-locked loop at a remaining moment.
- Claim 4Depends on #2
The delay measurement circuit according to claim 2, wherein the loop flag generation circuit comprises: an initial flag generation circuit, configured to generate an initial loop flag signal after waiting for a preset cycle, in response to that the measurement control signal changes from the second level to the first level, the preset cycle being a first value when a working frequency of the delay-locked loop is greater than a preset frequency; the preset cycle being a second value when the working frequency of the delay-locked loop is less than or equal to the preset frequency; and the first value being greater than the second value; and a logic processing circuit, electrically connected to the loop of the delay-locked loop, and configured to: receive a signal through a feedback terminal of the loop, perform inversion processing on the signal, and perform AND logic processing on a signal obtained after the inversion processing and the initial loop flag signal, to generate the loop fla
- Claim 5Depends on #4
The delay measurement circuit according to claim 4, wherein the loop flag generation circuit further comprises: a target pulse generation circuit, configured to: count a change edge of the loop flag signal, start to generate a valid pulse of the target pulse signal in response to a 1st change edge of the loop flag signal, finish the valid pulse of the target pulse signal in response to an (M+1)th change edge of the loop flag signal, and generate the measurement finish signal in response to that the valid pulse of the target pulse signal is finished.
- Claim 6Depends on #4
The delay measurement circuit according to claim 4, wherein the initial flag generation circuit comprises: a first selector, configured to: receive a frequency representation signal, a first divided clock signal, and a second divided clock signal; select the first divided clock signal and output the first divided clock signal as a timing clock signal when the frequency representation signal indicates that the working frequency of the delay-locked loop is greater than the preset frequency; select the second divided clock signal and output the second divided clock signal as the timing clock signal when the frequency representation signal indicates that the working frequency of the delay-locked loop is less than or equal to the preset frequency, a frequency of the second divided clock signal being higher than a frequency of the first divided clock signal; and A cascaded first flip-flops, configured to: receive the timing clock signal at a clock terminal of each of the first flip-flops, re
- Claim 7Depends on #6
The delay measurement circuit according to claim 6, further comprising: a frequency divider, configured to: receive a reference clock signal, and perform frequency division processing on the reference clock signal, to generate a plurality of divided clock signals, the plurality of divided clock signals comprising at least the first divided clock signal and the second divided clock signal.
- Claim 8Depends on #7
The delay measurement circuit according to claim 7, wherein the frequency divider comprises: a second flip-flop, a clock terminal of the second flip-flop receiving the reference clock signal, and a data terminal of the second flip-flop being connected to an inverting output terminal of the second flip-flop; a third flip-flop, a clock terminal of the third flip-flop being connected to the output terminal of the second flip-flop, a data terminal of the third flip-flop being connected to an inverting output terminal of the third flip-flop, an output terminal of the third flip-flop outputting the second divided clock signal, and a clock cycle of the second divided clock signal being four times a clock cycle of the reference clock signal; and a fourth flip-flop, a clock terminal of the fourth flip-flop being connected to the output terminal of the third flip-flop, a data terminal of the fourth flip-flop being connected to an inverting output terminal of the fourth flip-flop, an output termi
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Patent Application No. PCT/CN2024/127590, filed on Oct. 28, 2024, which claims priority to Chinese Patent Application No. 202410826730.0, filed on Jun. 24, 2024. The disclosures of the above-referenced applications are hereby incorporated by reference in their entirety. BACKGROUND In a storage system, data is usually transmitted in specific timing. Normal working of a memory depends on that internal commands and clocks can have accurate timing. For example, when the memory receives a read command, the memory needs to output data from a data port after an expected delay time. When the memory receives a write command, the memory also needs to receive data from the data port after an expected delay time. In this case, the memory needs to be able to accurately measure and calculate a path delay of a command signal and a clock signal, so that the timing can be accurately controlled. However, as a working frequency of the memory increases, it is likely to pose a challenge to measurement of the path delay. SUMMARY Embodiments of the present disclosure relate to the field of semiconductor technologies, and in particular, to a delay measurement circuit and a memory. Embodiments of the present disclosure provide a delay measurement circuit and a memory, to at least help to increase a margin of the delay measurement circuit and improve accuracy of loop delay measurement. According to a first aspect, an embodiment of the present disclosure provides a delay measurement circuit, applied to a delay-locked loop, and including: a loop flag generation circuit, electrically connected to a loop of the delay-locked loop, and configured to: generate a loop flag signal and input the loop flag signal to the loop of the delay-locked loop when loop delay measurement is performed on the delay-locked loop; and generate a measurement finish signal and generate a target pulse signal after the loop flag si
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (1)
- International Search Report and written opinion in application No. PCT/CN2024/127590, mailed on Mar. 1, 2025.