A segmented design of ONFI delay adjustment device
Through the segmented design of the ONFI delay adjustment device, combined with digital and analog delay lines, low-frequency total delay and high-frequency high-precision adjustment are achieved, solving the problem of increased area and power consumption in the ONFI system, and providing efficient delay adjustment solution.
Patent Information
- Application Number
- CN202311860669.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-31
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2043-12-31
AI Technical Summary
In the ONFI system, existing technology is difficult to meet both low-frequency total delay and high-frequency high-precision requirements, resulting in the need to integrate a large number of delay units, which increases area and power consumption.
The ONFI delay adjustment device adopts a segmented design, including a main delay line, a write delay line and a read delay line. It uses a digital delay line for coarse adjustment and an analog delay line for fine adjustment, combined with a multi-stage delay unit. and logic gate design to realize delay adjustment of clock signals and data bits.
A delay circuit that can meet both low-frequency total delay and high-frequency and high-precision requirements is realized, reducing the number of delay units, reducing the area and power consumption of the ONFI system, while having the ease of portability of digital circuits and analog circuits High-precision adjustment capabilities.
Smart Images

Figure CN118072775B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of ONFI delay, in particular to an ONFI delay adjustment device with a segmented design. Background Art
[0002] With the development of various storage technologies, in order to meet the bandwidth requirements in the system, the speed has increased exponentially; due to the increase in speed, factors such as chip technology, packaging design and manufacturing, and temperature and voltage changes during chip operation have an increasingly obvious impact on timing. Therefore, whether in DRAM or Flash technology, a delay adjustment circuit is needed to adjust the phase of different data bits and clocks to compensate for the deviations caused by the above factors.
[0003] At present, most DRAM and Flash technologies mainly use the following two methods to implement delay adjustment circuits: one is to use pure digital circuits to implement delay circuits, generally using the logic gate units provided by the foundry to build basic delay units, and then cascade the multi-level delay units, and cooperate with the control circuit to realize the final delay adjustment circuit, which is generally called a delay line; the other is to use pure analog circuits to implement delay circuits, generally using pure analog design methods to design delay units, which are based on transistor-level design, rather than using the logic gate units provided by the foundry to implement. Usually, this kind of analog delay circuit sometimes also requires some digital circuits to cooperate with calibration operations. For the purely digital delay circuit, since it uses logic gates to build it, it uses a purely digital implementation method. This method has the advantages of digital circuits, that is, it can be quickly transplanted to different processes, and is more suitable for medium and low-speed scenarios; for the purely analog delay circuit, since it uses a pure analog design method and is based on transistor-level design, its design accuracy is very high, which can reach the ps (picosecond) level, and is suitable for high-speed scenarios.
[0004] However, there are still the following shortcomings: From the above statements, it can be seen that in the ONFI system, if the delay adjustment circuit needs to cover the entire range from low frequency to high frequency, according to the protocol requirements, a delay adjustment range of at least 4ns is usually required, and the adjustable accuracy needs to reach the ps level. In order to meet the high-frequency accuracy requirements and the low-frequency total delay requirements at the same time, a large number of delay units must be integrated. However, the integration of a large number of delay units in the ONFI system will lead to a significant increase in the area and power consumption of the delay units. Summary of the invention
[0005] The object of the present invention is to provide an ONFI delay adjustment device with a segmented design to solve the problems raised in the above background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] An ONFI delay adjustment device with a segmented design comprises:
[0008] A main delay line, the main delay line comprising a main delay line A, a main delay line B and a main delay line D which are cascaded in sequence, the main delay line A is connected to a clock signal of data transmission, and the main delay line A, the main delay line B and the main delay line D are used to measure the delay required for one cycle of the clock signal of data transmission at the current working rate;
[0009] A write delay line, wherein the write delay line comprises a write delay line A, a write delay line B and a write delay line C which are cascaded in sequence and have different delay values, wherein the write delay line C and the write delay line D are provided with multiple groups, and each group of the write delay line C and each group of the write delay line D are connected in parallel, the write delay line A is connected to a clock signal of data transmission and is used to adjust the delay of all DQ / DBI data bits of the write data path within a clock cycle, and the write delay line C and the write delay line D each comprise an independent delay line for adjusting the delay difference between each write DQ / DBI data bit;
[0010] A read delay line, the read delay line includes a read delay line A, a read delay line B and a read delay line C which are cascaded in sequence and have different delay values, the read delay line C and the read delay line D are each provided with multiple groups, and each group of the read delay line C and each group of the read delay line D are connected in parallel, the read delay line A is connected to a data transmission selection signal DQS, and is used to adjust the delay of all DQ / DBI data bits in the read data path within a clock cycle range, and the read delay line C and the read delay line D each include an independent delay line, which is used to adjust the delay difference between each write DQ / DBI data bit.
[0011] Furthermore, the main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all digital delay lines, and the digital delay lines are used for coarse adjustment of the delay. The main delay line D, write delay line D and read delay line D are all analog delay lines, and the analog delay lines are used for fine adjustment of the delay.
[0012] Furthermore, the main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all connected in series using multi-stage delay units, and the delay unit is implemented using multiple digital logic gates, and the digital logic gate is a 2-input NAND gate.
[0013] Furthermore, the main delay line A, write delay line A or read delay line A adopts a first digital delay circuit with a logic gate, and the main delay line B, write delay line B or read delay line B adopts a second digital delay circuit with a logic gate, the delay time of the logic gate of the second digital delay circuit is greater than the delay time of the logic gate of the first digital delay circuit, and the second digital delay circuit also has a delay buffer unit.
[0014] Furthermore, the delay time of the delay unit in the main delay line B, write delay line B or read delay line B is at least twice the delay time of the delay unit in the main delay line A, write delay line A or read delay line A.
[0015] Furthermore, in the main delay line A, write delay line A, read delay line A, main delay line B, write delay line B, read delay line B, write delay line C or read delay line C, the required delay adjustment is achieved by adjusting the number of delay units in the main delay line A, write delay line A, read delay line A, main delay line B, write delay line B, read delay line B, write delay line C or read delay line C.
[0016] Furthermore, the digital delay line is realized by cascading digital delay units, which are constructed by digital logic gate basic units. The analog delay line uses an analog delay circuit, which is a transistor-level delay adjustment circuit.
[0017] A chip comprises a memory controller and a segmented ONFI delay adjustment device as described in any one of the above, wherein the memory controller is in communication connection with the ONFI delay adjustment device.
[0018] An electronic device comprises Nand Flash and the chip described above, wherein the Nand Flash is communicatively connected with an ONFI delay adjustment device in the chip.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The circuit of the present invention adopts a segmented design to realize a delay circuit that can meet both the low-frequency total delay and the high-frequency and high-precision requirements. It not only realizes that the digital circuit is mainly used to provide most of the delay adjustment requirements, but also realizes that the analog circuit is supplemented to provide high-precision fine-tuning capabilities, namely the so-called coarse adjustment and fine adjustment functions; it can also meet multiple index requirements, and has both the easy transplantation characteristics of the digital circuit and the fine adjustment characteristics of the analog circuit. While meeting the design indicators, the number of delay units is greatly reduced, thereby reducing the area and power consumption of the ONFI system. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 It is a schematic diagram of delay adjustment of the present invention. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. Example
[0023] See also Figure 1 , the present invention provides a technical solution:
[0024] A segmented ONFI delay adjustment device, such as Figure 1 As shown, including:
[0025] A main delay line, the main delay line comprising a main delay line A, a main delay line B and a main delay line D which are cascaded in sequence, the main delay line A is connected to a clock signal of data transmission, and the main delay line A, the main delay line B and the main delay line D are used to measure the delay required for one cycle of the clock signal of data transmission at the current working rate;
[0026] A write delay line, wherein the write delay line includes a write delay line A, a write delay line B, and a write delay line C, which are cascaded in sequence and have different delay values. The write delay line C and the write delay line D are provided with multiple groups, and each group of the write delay line C is connected in parallel with each group of the write delay line D. The write delay line A is connected to a clock signal of data transmission and is used to adjust the delay of all DQ / DBI data bits of the write data path within a clock cycle. The write delay line C and the write delay line D each include an independent delay line for adjusting the delay difference between each write DQ / DBI data bit;
[0027] A read delay line, the read delay line includes a read delay line A, a read delay line B and a read delay line C which are cascaded in sequence and have different delay values, the read delay line C and the read delay line D are each provided with multiple groups, and each group of the read delay line C and each group of the read delay line D are connected in parallel, the read delay line A is connected to a data transmission selection signal DQS, and is used to adjust the delay of all DQ / DBI data bits in the read data path within a clock cycle range, and the read delay line C and the read delay line D each include an independent delay line, which is used to adjust the delay difference between each write DQ / DBI data bit.
[0028] Based on the above embodiments, the main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all digital delay lines, and the digital delay lines are used for coarse adjustment of the delay. The main delay line D, write delay line D and read delay line D are all analog delay lines, and the analog delay lines are used for fine adjustment of the delay.
[0029] Based on the above embodiment, the main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all connected in series using multi-stage delay units, and the delay unit is implemented using multiple digital logic gates, and the digital logic gate is a 2-input NAND gate.
[0030] Based on the above embodiments, the main delay line A, write delay line A or read delay line A adopts a first digital delay circuit with logic gates, and the main delay line B, write delay line B or read delay line B adopts a second digital delay circuit with logic gates, the delay time of the logic gate of the second digital delay circuit is greater than the delay time of the logic gate of the first digital delay circuit, and the second digital delay circuit also has a delay buffer unit.
[0031] On the basis of the above embodiment, the delay time of the delay unit in the main delay line B, write delay line B or read delay line B is at least twice the delay time of the delay unit in the main delay line A, write delay line A or read delay line A. On the basis of the above embodiment, in the main delay line A, write delay line A, read delay line A, main delay line B, write delay line B, read delay line B, write delay line C or read delay line C, the number of delay units in the main delay line A, write delay line A, read delay line A, main delay line B, write delay line B, read delay line B, write delay line C or read delay line C is adjusted to achieve the required delay adjustment.
[0032] Based on the above embodiment, the digital delay line is realized by cascading digital delay units, which are built with digital logic gate basic units. The analog delay line adopts an analog delay circuit, which is a transistor-level delay adjustment circuit.
[0033] The digital delay line realizes the coarse adjustment function of the delay. Figure 1The main delay line A, write delay line A, read delay line A, main delay line B, write delay line B and read delay line B in the protocol are all built with digital logic gates, and their functions and circuits are exactly the same. The difference is that when the digital backend is implemented, each delay unit of the main delay line B, write delay line B and read delay line B uses a gate circuit with a larger delay and some delay buffer units to achieve a larger delay. Generally, the delay of the delay unit of the main delay line B, write delay line B and read delay line B can be designed to be twice or more than that of the main delay line A, write delay line A and read delay line A. The purpose of this design is mainly because there are many frequency points that need to be covered in the ONFI protocol. Under most frequency points, the original main delay line A, write delay line A and read delay line A can meet the total delay requirements of the delay line under each frequency point; in the case of several lowest frequency points, when the number of delay units remains unchanged, the required adjustable delay will exceed the original main delay line A, write delay line A and read delay line A. Therefore, the present invention replaces some delay units in the rear part of the main delay line A, write delay line A and read delay line A in the original design with delay units with larger delay, and increases the total delay adjustment capability of the delay line without changing the number of delay units; thus, a new digital delay line of main delay line A+main delay line B, write delay line A+write delay line B, read delay line A+read delay line B is formed; at high frequency, only main delay line A, write delay line A and read delay line B need to be used. Delay line A and partial delay line of read delay line A ensure the accuracy of coarse adjustment. At low frequency, the coarse adjustment accuracy requirement is lower. The combination of main delay line A + main delay line B, write delay line A + write delay line B, and read delay line A + read delay line B is used to meet the total delay adjustment capability of each delay line. In this process, a small analog delay line D is also added. The combination of digital delay line and analog delay line is adopted to achieve higher accuracy (ps level) delay adjustment.
[0034] for Figure 1 The ONFI PHY segmented delay adjustment device, the ONFI interface is a high-speed parallel data interface. Generally speaking, a Byte data bus DQ is 8Bits wide, and there is also a DBI data line, a total of 9 Bits. The delay adjustment device in the present invention is mainly used to adjust the delay of each data Bit. Each Bit needs to be able to adjust the delay individually, and 18 complete delay lines are required in the reading and writing directions. If there are multiple bytes in the PHY, the number of complete delay lines required is considerable, which is a challenge for the area of the PHY.
[0035] The present invention optimizes the design to solve the above problems. For the delay line of each Byte read or write, a segmented method of "one large plus many small" is adopted to realize a complete delay line, that is, 8 DQs and 1 DBI share a large delay line, such as the write delay line A, read delay line A, write delay line B and read delay line B in the figure; for the delay difference between each DQ and DBI, i.e. skew, a small digital delay line is added to each data line to realize independent adjustment of its delay, such as the write delay line C and read delay line C in the figure; this not only satisfies the overall delay adjustment capability of the entire Byte, but also has a certain bit deviation (Bit Deskew) adjustment capability. Therefore, between multiple DQs and DBIs, a combination of large and small is adopted, and the large delay line is shared by each DQ and DBI, and the small delay line is exclusive to each DQ and DBI, which not only saves resources, but also has the Deskew capability before Bit.
[0036] Finally, for each DQ and DBI, a small analog delay circuit is added to achieve high-precision fine-tuning capabilities at high frequencies, such as Figure 1 The main delay line D, write delay line D and read delay line D parts in each delay line; for each small analog delay circuit, its designed total delay is approximately equal to the delay of a delay unit in the digital delay line, such as the delay unit of the main delay line A, write delay line A and read delay line A; this can be achieved with only a small simple analog circuit, and the increase in area and power consumption is relatively small, but after adding the analog delay unit, ps level fine adjustment can be achieved.
[0037] For ease of understanding, an example can be given: assuming that the delay of the first-level delay unit of the main delay line A or the write delay line A or the read delay line A is TsegA; the delay of the first-level delay unit of the main delay line B or the write delay line B or the read delay line B is TsegB; the delay of the first-level delay unit of the main delay line D or the write delay line D or the read delay line D is TsegD, then,
[0038] The delay at time t1 requires N levels of segA and M levels of segB, and the total delay is: N*TsegA+M*TsegB;
[0039] At time t2, the delay needs to be increased. If there is only a digital delay line, then at least one level of main delay line A, write delay line A, or read delay line A should be increased. Then the next level of delay can be adjusted to: (N+1)*TsegA+ M*TsegB. Compared with time t1, the delay of TsegA is increased. This delay is generally at the level of more than ten ps or even dozens of ps.
[0040] At time t2, if the analog delay line is used, the next delay can be adjusted to: N*TsegA+M*TsegB+TsegD. Compared with time t1, the delay of TsegD is increased. TsegD is at the ps level, thus achieving ps level fine adjustment.
[0041] The working principle of the segmented ONFI delay adjustment device is as follows:
[0042] The main delay line, write delay line, and read delay line form an integrated ONFI PHY delay adjustment device. They have a certain order and functional division of labor, and together realize the delay adjustment of the PHY clock and data path.
[0043] Main delay line:
[0044] The main task of the main delay line is to measure the equivalent delay of one clock cycle of PHY at the current working rate. This part is reflected by the number of delay units of main delay line A, main delay line B and main delay line D. Usually, the main delay line is first measured and adjusted to determine the delay adjustment benchmark of the entire PHY. When the delay adjustment benchmark is determined, the main delay is in a locked state.
[0045] Write delay line:
[0046] The write delay line is mainly used to adjust the delay of each DQ / DBI data bit of the write data path within a clock cycle. The write delay adjustment is usually to adjust the skew between data DQ / DBI, and to adjust the skew between data DQ / DBI and the data transmission selection signal DQS. This part of the delay adjustment is performed after the main delay line is locked, because the main delay line provides the delay adjustment benchmark for the entire PHY system.
[0047] Read delay line:
[0048] The read delay line is mainly used to adjust the delay of each DQ / DBI data bit in the read data path within a clock cycle to ensure that the read data is sampled at the correct time. The read delay adjustment is also performed after the main delay line is locked, because the main delay line provides the delay adjustment benchmark for the entire PHY system.
[0049] In general, these three parts are divided into two parts: the main delay line is responsible for locking the current clock cycle, and the write delay line and the read delay line are responsible for adjusting the delay of writing and reading data, forming a closely coordinated delay adjustment process to ensure that at different working rates and operating modes, PHY can quickly and accurately adjust the delay of each DQ / DBI data bit on the read and write data paths. This segmented delay adjustment device helps to accurately control and use each part of the delay line to meet various delay adjustment requirements; thereby achieving the purpose of being able to quickly and accurately compensate for the delay differences caused by factors such as process, temperature and voltage, and achieving reliable and stable data transmission.
[0050] A chip comprises a memory controller and a segmented ONFI delay adjustment device as described in any one of the above, wherein the memory controller is in communication connection with the ONFI delay adjustment device.
[0051] An electronic device comprises Nand Flash and the chip described above, wherein the Nand Flash is communicatively connected with an ONFI delay adjustment device in the chip.
[0052] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A segmented ONFI delay adjustment device, characterized in that: include: A main delay line, the main delay line comprising a main delay line A, a main delay line B and a main delay line D which are cascaded in sequence, the main delay line A is connected to a clock signal of data transmission, and the main delay line A, the main delay line B and the main delay line D are used to measure the delay required for one cycle of the clock signal of data transmission at the current working rate; A write delay line, wherein the write delay line comprises a write delay line A, a write delay line B and a write delay line C which are cascaded in sequence and have different delay values, wherein the write delay line C and the write delay line D are provided with multiple groups, and each group of the write delay line C and each group of the write delay line D are connected in parallel, the write delay line A is connected to a clock signal of data transmission and is used to adjust the delay of all DQ / DBI data bits of the write data path within a clock cycle, and the write delay line C and the write delay line D each comprise an independent delay line for adjusting the delay difference between each write DQ / DBI data bit; A read delay line, wherein the read delay line includes a read delay line A, a read delay line B, and a read delay line C, which are cascaded in sequence and have different delay values. The read delay line C and the read delay line D are each provided with multiple groups, and each group of the read delay line C is connected in parallel with each group of the read delay line D. The read delay line A is connected to a data transmission selection signal DQS, and is used to adjust the delay of all DQ / DBI data bits in the read data path within a clock cycle range. The read delay line C and the read delay line D each include an independent delay line, which is used to adjust the delay difference between each write DQ / DBI data bit; The main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all digital delay lines, and the digital delay lines are used for coarse adjustment of the delay. The main delay line D, write delay line D and read delay line D are all analog delay lines, and the analog delay lines are used for fine adjustment of the delay.
2. The ONFI delay adjustment device of a segmented design according to claim 1 is characterized in that: The main delay line A, main delay line B, write delay line A, write delay line B, write delay line C, read delay line A, read delay line B and read delay line C are all connected in series using multi-stage delay units, and the delay unit is implemented using multiple digital logic gates, and the digital logic gate is a 2-input NAND gate.
3. The ONFI delay adjustment device of a segmented design according to claim 2 is characterized in that: The main delay line A, write delay line A or read delay line A adopts a first digital delay circuit with a logic gate, and the main delay line B, write delay line B or read delay line B adopts a second digital delay circuit with a logic gate. The delay time of the logic gate of the second digital delay circuit is greater than the delay time of the logic gate of the first digital delay circuit, and the second digital delay circuit also has a delay buffer unit.
4. The ONFI delay adjustment device of a segmented design according to claim 3 is characterized in that: The delay time of the delay unit in the main delay line B, write delay line B or read delay line B is at least twice the delay time of the delay unit in the main delay line A, write delay line A or read delay line A.
5. The ONFI delay adjustment device of a segmented design according to claim 2 is characterized in that: The required delay adjustment is achieved by adjusting the number of delay units in the main delay line A, write delay line A, read delay line A, main delay line B, write delay line B, read delay line B, write delay line C or read delay line C.
6. The ONFI delay adjustment device of a segmented design according to claim 1 is characterized in that: The digital delay line is realized by cascading digital delay units, which are constructed by digital logic gate basic units. The analog delay line adopts an analog delay circuit, which is a transistor-level delay adjustment circuit.
7. A chip, characterized in that: It comprises a memory controller and a segmented ONFI delay adjustment device as claimed in any one of claims 1 to 6, wherein the memory controller is communicatively connected with the ONFI delay adjustment device.
8. An electronic device, characterized in that: The device comprises Nand Flash and the chip according to claim 7, wherein the Nand Flash is communicatively connected with an ONFI delay adjustment device in the chip.
Citation Information
Patent Citations
Register-controlled symmetrical delay locked loopincluding hybrid delay line
KR1020020040941A
Method and apparatus for auto-calibration of delay settings of memory interfaces
US9911478B1
