WO2024148657A1 - Write-leveling system and write-leveling method - Google Patents

Write-leveling system and write-leveling method Download PDF

Info

Publication number
WO2024148657A1
WO2024148657A1 PCT/CN2023/077267 CN2023077267W WO2024148657A1 WO 2024148657 A1 WO2024148657 A1 WO 2024148657A1 CN 2023077267 W CN2023077267 W CN 2023077267W WO 2024148657 A1 WO2024148657 A1 WO 2024148657A1
Authority
WO
WIPO (PCT)
Prior art keywords
signal
memory chip
adjustment time
controller
delay
Prior art date
Application number
PCT/CN2023/077267
Other languages
French (fr)
Chinese (zh)
Inventor
黄克琴
冀康灵
Original Assignee
长鑫存储技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 长鑫存储技术有限公司 filed Critical 长鑫存储技术有限公司
Publication of WO2024148657A1 publication Critical patent/WO2024148657A1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/4063Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing
    • G11C11/407Auxiliary circuits, e.g. for addressing, decoding, driving, writing, sensing or timing for memory cells of the field-effect type
    • G11C11/409Read-write [R-W] circuits 
    • G11C11/4096Input/output [I/O] data management or control circuits, e.g. reading or writing circuits, I/O drivers or bit-line switches 
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers

Definitions

  • the present disclosure relates to the field of semiconductor circuit design, and in particular to a write leveling system and a write leveling method.
  • SDRAM Synchronous Dynamic Random Access Memory
  • SDRAM supports "write-leveling" which allows the memory controller to compensate for the offset.
  • the storage controller For the "write leveling function" of the memory, the storage controller repeatedly delays the data enable signal Dqs until it detects the transition of the identification signal from 0 to 1 (the clock signal ck and the data enable signal Dqs obtained by the memory are aligned at the detection point, and the generated identification signal changes from 0 to 1). Once the transition of the identification signal from 0 to 1 is detected, the storage controller locks the delay setting of the data enable signal Dqs. At this time, the memory realizes the alignment of the clock signal ck and the data enable signal Dqs, and completes write leveling.
  • An embodiment of the present disclosure provides a write leveling system, including: a controller and a memory chip; the controller is used to provide a clock signal and a data enable signal to the memory chip; a first adjustment time is stored in the memory chip, and the first adjustment time is used to characterize the path delay difference between the clock signal and the data enable signal inside the memory chip; the controller adjusts the sending delay of the data enable signal to the memory chip based on the first adjustment time, and continues to adjust the sending delay until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned.
  • the write leveling system also includes: when the trigger edge of the clock signal received by the storage chip is aligned with the trigger edge of the data selection signal, the storage chip feeds back an identification signal to the controller; the controller obtains a second adjustment time corresponding to the storage chip based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal by the controller when the trigger edge of the clock signal and the trigger edge of the data selection signal are aligned; the controller sends the data selection signal to the storage chip based on the second adjustment time.
  • the controller acquires the second adjustment time corresponding to the memory chip based on the identification signal, including: when the controller receives the identification signal, based on the transmission delay of the current data selection signal, acquiring the second adjustment time corresponding to the memory chip.
  • the controller adjusts the sending delay of a data selection signal to a corresponding storage chip based on a first adjustment time, and continuously adjusts the sending delay, including: the controller obtains the first adjustment time stored in the storage chip; the controller adjusts the sending delay of the data selection signal to the storage chip based on the first adjustment time; the controller continuously adjusts the sending delay of the data selection signal.
  • the storage chip includes: a delay timing unit for storing a first adjustment time; the controller obtains the first adjustment time stored in the storage chip, including: the controller connects to the delay timing unit in the storage chip and obtains the first adjustment time stored in the delay timing unit.
  • the delay timing unit is set based on redundant registers in the memory chip.
  • the controller obtains the first adjustment time based on the mode register read command.
  • the delay timing unit includes: a first processing unit, configured to obtain the path transmission time difference between the data selection signal and the clock signal in the memory chip; a second processing unit, connected to the first processing unit, configured to obtain the first adjustment time based on the path transmission time difference and the period of the data selection signal.
  • the controller includes: multiple cascaded signal generating units, each level of signal generating unit includes: an AND logic circuit, a first input end is used to receive a write leveling enable signal, and a second input end is used to receive a delay identification signal, the delay identification signal is used to perform different delays on the data selection signal; an OR logic circuit, a first input end is connected to the output end of the AND logic circuit, and the second input end of the OR logic circuit in the first-level signal generating unit is used to receive the data selection signal; a trigger, an input end is connected to the output end of the OR logic circuit, the output end serves as the output end of the signal generating unit, and the clock end is used to receive the data selection signal; the second input end of the OR logic circuit in the non-first-level signal generating unit is connected to the output end of the trigger in the previous-level signal generating unit, and the output end of the trigger in the last-level signal generating unit is used to output the delayed data selection signal.
  • Another embodiment of the present disclosure also provides a write leveling method, which is applied to the write leveling system provided in the above embodiment, including: obtaining a first adjustment time corresponding to the memory chip, the first adjustment time being used to characterize the path delay difference between the clock signal and the data enable signal inside the memory chip; adjusting the sending delay of the data enable signal to the memory chip based on the first adjustment time, and continuously adjusting the sending delay until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned, and simplifying the write leveling operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs.
  • continuously adjusting the sending delay until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data selection signal including: obtaining an identification signal fed back by the memory chip, wherein when the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data selection signal, the memory chip feeds back the identification signal to the controller; based on the identification signal, obtaining a second adjustment time corresponding to the memory chip, the second adjustment time is used to characterize the sending delay of the data selection signal when the trigger edge of the clock signal is aligned with the trigger edge of the data selection signal; and sending the data selection signal to the memory chip based on the second adjustment time.
  • obtaining a first adjustment time corresponding to the memory chip includes: obtaining the first adjustment time based on a mode register read command received by the memory.
  • obtaining the first adjustment time corresponding to the storage chip includes: obtaining the first adjustment time stored in the storage chip.
  • a method for acquiring a first adjustment time stored in a memory chip includes: acquiring a path transmission time difference between a data selection signal and a clock signal in the memory chip; and acquiring the first adjustment time based on the path transmission time difference and a period of the data selection signal.
  • FIG1 is a schematic diagram of the system structure of a write leveling system provided by an embodiment of the present disclosure
  • FIGS. 2 and 3 are schematic diagrams showing the meaning of the first adjustment time provided in an embodiment of the present disclosure
  • FIG4 is a schematic diagram of a flow chart of a write leveling system provided by an embodiment of the present disclosure.
  • FIG5 is a schematic diagram of the structure of a controller provided by an embodiment of the present disclosure.
  • FIGS. 6 and 7 are schematic diagrams of the structure of a memory chip provided in an embodiment of the present disclosure.
  • FIGS. 8 and 9 are flowchart diagrams corresponding to the steps of a write leveling method provided in another embodiment of the present disclosure.
  • the rising edge of the clock signal ck received by each SDRAM needs to be aligned with the rising edge of the data strobe signal Dqs.
  • the traditional write leveling solution needs to set a delay unit on the transmission path of the data strobe signal Dqs to match the delay difference of the clock signal ck and the data strobe signal Dqs in the transmission path inside the memory.
  • the delay setting of the delay unit is The larger the setting, the greater the jitter caused in the write leveling characteristics, thereby increasing the difficulty of write leveling of the memory.
  • An embodiment of the present disclosure provides a write leveling system, which simplifies the write leveling operation of a memory on the basis of removing a delay unit provided on a transmission path of a data strobe signal Dqs.
  • FIG. 1 is a schematic diagram of the system structure of the write leveling system provided in the present embodiment
  • FIG. 2 and FIG. 3 are schematic diagrams of the meaning of the first adjustment time provided in the present embodiment
  • FIG. 4 is a schematic diagram of the flow of the write leveling system provided in the present embodiment
  • FIG. 5 is a schematic diagram of the structure of the controller provided in the present embodiment
  • FIG. 6 and FIG. 7 are schematic diagrams of the structure of the storage chip provided in the present embodiment.
  • a write leveling system includes a controller and a storage chip.
  • the write leveling system of the system of the present embodiment includes a controller 10 and a plurality of memory chips 20, wherein the controller 10 is used to provide a data selection signal Dqs and a clock signal ck to each memory chip 20; specifically, the data selection signal Dqs is set as “point to point transmission” between the controller 10 and the memory chip 20, and the “point to point transmission” means that the controller 10 directly transmits the data selection signal Dqs to each memory chip 20; the clock signal ck is set as “fly-by” between the controller 10 and the memory chip 20, and the “fly-by” means that the controller 10 provides a clock signal ck, and the clock signal ck is transmitted sequentially between the memory chips 20.
  • the delay between the clock signal ck and the data selection signal Dqs received by the memory chip 20 is very large. Therefore, it is necessary to delay the data selection signal Dqs sent to each memory chip 20 so that the clock signal ck and the data selection signal Dqs received by the memory chip 20 are aligned.
  • the write leveling system is applicable to volatile memories, such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc., and is also applicable to non-volatile memories, such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive random access memories RRAM, etc.
  • volatile memories such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc.
  • non-volatile memories such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive
  • a first adjustment time is stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20, i.e., the delay difference between the data selection signal Dqs1 and the clock signal ck1 received by the DQ pad of the memory chip 20 and the data selection signal Dqs2 and the clock signal ck2 transmitted to the internal comparator 201, i.e., ⁇ tdqs2-tdqs1 ⁇ - ⁇ tck2-tck1 ⁇ .
  • the "DQ pad” mentioned above is the pad 200 of the memory chip 20 for receiving the data selection signal Dqs and the clock signal ck.
  • the transmission delay of the clock signal ck from the DQ pad to the comparator 201 is greater than that of the data strobe signal
  • the controller 10 obtains a first adjustment time stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip.
  • the controller 10 adjusts the sending delay of the data enable signal Dqs to the memory chip 20 based on the obtained first adjustment time. Then, the controller 10 continuously adjusts the sending delay of the data enable signal Dqs until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned.
  • the “trigger edge” mentioned in the above description can be a rising edge or a falling edge, specifically, the actual effective edge of the corresponding signal.
  • the controller 10 continuously adjusts the transmission delay of the data strobe signal dqs until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal, that is, the write-leveling operation of the memory, and further includes:
  • the memory chip feeds back an identification signal to the controller 10; it should be noted that, in the present embodiment, the write leveling operation is not divided into chip external alignment and chip internal alignment. Since the controller 10 sends the data enable signal dqs based on the first adjustment time, the clock signal ck and the data enable signal dqs obtained by the memory chip have consistent on-chip path delays.
  • the identification signal can be directly set to represent that the clock signal ck and the data enable signal dqs are aligned at the DQ pad. At this time, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad.
  • the continuous adjustment of the transmission delay of the data selection signal Dqs can be set as follows: setting a step (step value), and then gradually increasing the transmission delay of the data selection signal Dqs based on the set step value until the identification signal fed back by the memory chip 20 is obtained, wherein the identification signal is used to indicate that the trigger edge of the clock signal ck received by the comparator 201 is aligned with the trigger edge of the data selection signal dqs.
  • the identification signal is generated by the comparator 201 inside the memory chip 20.
  • the comparator 201 receives the data selection signal dqs and the clock signal ck, and is used to compare whether the data selection signal dqs and the clock signal ck are aligned. When they are not aligned, the generated identification signal is "0". Due to the step scan, when the identification signal jumps from "0" to "1", it indicates that the data selection signal dqs and the clock signal ck are aligned.
  • the controller 10 obtains a second adjustment time corresponding to the memory chip 20 based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal dqs by the controller 10 when the trigger edge of the clock signal ck and the trigger edge of the data selection signal dqs are aligned; the controller 10 sends the data selection signal dqs to the memory chip based on the second adjustment time.
  • the controller 10 obtains the second adjustment time corresponding to the memory chip 20 based on the identification signal, including: when the controller 10 receives the identification signal, based on the transmission delay of the current data selection signal dqs, obtains the second adjustment time corresponding to the memory chip.
  • the controller 10 sends a data enable signal dqs to the memory chip based on the second adjustment time, that is, the memory controller locks the delay setting of the data enable signal Dqs, and the subsequent memory sends the data enable signal dqs to the memory chip based on the second adjustment time, so that the clock signal ck and the data enable signal dqs received by the memory chip 20 are aligned on the DQ pad.
  • the process of obtaining the second adjustment time mentioned above can be a Write-leveling operation when the chip is powered on, and the chip can also perform a new Write-leveling during the subsequent operation to re-obtain the second adjustment time for re-locking.
  • the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20.
  • the controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad.
  • the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
  • the controller 10 adjusts the sending delay of the data selection signal dqs to the corresponding memory chip 20 based on the first adjustment time, and continuously adjusts the sending delay, including: the controller 10 obtains the first adjustment time stored in the memory chip 20, the controller 10 adjusts the sending delay of the data selection signal dqs to the memory chip based on the first adjustment time, and the controller 10 continuously adjusts the sending delay of the data selection signal dqs.
  • the controller 10 includes: a plurality of cascaded signal generating units 50, each level of signal generating unit 50 includes: an AND logic circuit 501, a first input end for receiving a write leveling enable signal, a second input end for receiving a delay identification signal, the delay identification signal being used to perform different delays on data selection signals of different operating frequencies; an OR logic circuit 502, a first input end connected to the output end of the AND logic circuit 501, a second input end of the OR logic circuit 502 in the first-level signal generating unit 501 is used to receive a data selection signal Dqs; a trigger 503, an input end connected to the output end of the OR logic circuit 502, an output end serving as the output end of the signal generating unit 501, and a clock end serving as the data selection signal Dqs; a second input end of the OR logic circuit in the non-first-level signal generating unit 501 is connected to the output end of the trigger in the previous-level signal generating unit, and the output end
  • the multiple signal generating units 50 are only cascaded in structure. In terms of output logic, the multiple signal generating units 50 are not cascaded, but have a selective output relationship.
  • the first adjustment time is included in the input end of each stage of the AND gate, that is, the first adjustment time is included in the delay identification signal.
  • each level of signal generating unit 50 receives a different delay identification signal.
  • the delay identification signals received by the cascaded signal generating units 50 are A to N, respectively.
  • Each delay identification signal corresponds to a different time delay.
  • the delay identification signals are A to N, namely, the number of delay cycles of the first adjustment time at different frequencies.
  • the time delay corresponding to the delay identification signal A is tA
  • the time delay corresponding to the time identification signal B is tB
  • the time delay corresponding to the time identification signal N is tN.
  • different delay identification signals or different combinations of delay identification signals are provided to achieve different delays for the data selection signal Dqs, thereby achieving the Write-leveling operation of the memory.
  • the reset terminal RST of the trigger 503 is also used to receive a reset signal reset, and the reset signal is used to reset the output of the trigger 503 , thereby avoiding erroneous output of the data selection signal Dqs based on the storage value of the trigger 503 .
  • the memory chip 20 includes: a delay timing unit 301 for storing a first adjustment time; the memory 10 obtains the first adjustment time of the memory in the memory chip 10, including: the controller 10 connects to the delay timing unit 301 in the memory chip 20, and obtains the first adjustment time stored in the delay timing unit 301.
  • the first adjustment time (path transmission time difference between the clock signal ck and the data enable signal Dqs inside the memory chip) / period of the data enable signal Dqs; wherein, the path difference between the clock signal ck and the data enable signal Dqs inside the memory chip is obtained based on the cancelled delay unit, and the period of the data enable signal Dqs is obtained based on the parameters of the memory, and the first adjustment time is calculated by the designer based on relevant parameters such as the circuit structure and wiring layout on the path of the clock signal ck and the data enable signal Dqs and is directly stored in the delay timing unit 301.
  • the delay timing unit 301 is set based on a redundant register in the memory chip 20, and the redundant register is an unused register in the memory chip 20, for example, it may be an unused mode register.
  • the first adjustment time is stored in the unused mode register in the memory chip 20 to avoid structural adjustments to the memory chip 20, so as to improve the applicability of the write leveling system provided in this embodiment.
  • the first adjustment time can also be set to be calculated and obtained based on the processing unit inside the memory chip 20 and then stored in the delay timing unit 301; specifically, referring to Figure 7, the delay timing unit 301 includes: a first processing unit 401, configured to obtain the path transmission time difference between the data selection signal Dqs and the clock signal ck in the memory chip 20, and a second processing unit 402, connected to the first processing unit 401, configured to obtain the first adjustment time based on the path transmission time difference and the period of the data selection signal Dqs.
  • the path transmission time difference between the data selection signal Dqs and the clock signal ck in the memory chip 20 is obtained based on the delay set by the cancelled delay unit, and the second processing unit 402 can be set as only a calculation unit in actual settings.
  • the controller 10 obtains the first adjustment time, including: the controller 10 obtains the first adjustment time based on a mode register read command (Mode Register Read, MRR). Since the memory chip 20 itself executes the MRR command during the startup process, the command is reused to obtain the first adjustment time, for example, stored in a redundant mode register, through the MRR. Thus, the first adjustment time is obtained based on the MRR command, so that the controller 10 does not need to set additional actions to obtain the first adjustment time.
  • MRR Mode Register Read
  • the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20.
  • the controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad.
  • the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
  • Another embodiment of the present disclosure provides a write leveling method, which is applied to the write leveling system provided in the above embodiment, and simplifies the write leveling operation of the memory on the basis of removing the delay unit set on the transmission path of the data selection signal Dqs.
  • FIG8 and FIG9 are flowcharts corresponding to the steps of the write leveling method provided in this embodiment.
  • the write leveling method provided in this embodiment is described in detail below in conjunction with the accompanying drawings, as follows:
  • the write leveling system is applicable to volatile memories, such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc., and is also applicable to non-volatile memories, such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive random access memories RRAM, etc.
  • volatile memories such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc.
  • non-volatile memories such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive
  • a leveling method including:
  • Step 701 obtaining a first adjustment time corresponding to a storage chip.
  • the first adjustment time is used to characterize the path delay difference between the clock signal and the data strobe signal inside the memory chip.
  • a first adjustment time is stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20, that is, the delay difference between the data selection signal Dqs2 and the clock signal ck2 transmitted from the DQ pad of the memory chip 20 to the internal comparator 201, that is, ⁇ tdqs2-tdqs1 ⁇ - ⁇ tck2-tck1 ⁇ .
  • the "DQ pad” mentioned above is the pad 200 of the memory chip 20 for receiving the data selection signal Dqs and the clock signal ck.
  • a method for acquiring a first adjustment time stored in a memory chip includes: acquiring a path transmission time difference between a data selection signal and a clock signal in the memory chip, and acquiring the first adjustment time based on the path transmission time difference and a period of the data selection signal.
  • the first adjustment time (path transmission time difference between the clock signal ck and the data enable signal Dqs inside the memory chip) / period of the data enable signal Dqs; wherein, the path difference between the clock signal ck and the data enable signal Dqs inside the memory chip is obtained based on the cancelled delay unit, and the period of the data enable signal Dqs is obtained based on the parameters of the memory, and the first adjustment time is calculated by the designer based on relevant parameters such as the circuit structure and wiring layout on the path of the clock signal ck and the data enable signal Dqs and is directly stored in the delay timing unit 301.
  • obtaining the first adjustment time corresponding to the memory includes: obtaining the first adjustment time stored in the memory chip.
  • the first adjustment time is set based on a redundant register in a memory chip, and the redundant register is an unused register in the memory chip, for example, an unused mode register.
  • the first adjustment time is stored in the unused mode register in the memory chip 20 to avoid structural adjustments to the memory chip 20, so as to improve the applicability of the write leveling system provided in this embodiment.
  • obtaining the first adjustment time corresponding to the memory chip includes: obtaining the first adjustment time based on a mode register read command (Mode Register Read, MRR) received by the memory. Since the memory chip 20 itself executes the MRR command during the startup process, the command is reused, and the MRR is used to obtain, for example, the first adjustment time stored in a redundant mode register. The first adjustment time is thus obtained based on the MRR command, so that the controller 10 obtains the first adjustment time without setting additional actions.
  • MRR Mode Register Read
  • Step 702 adjusting a transmission delay of a data strobe signal to a memory chip based on a first adjustment time.
  • Step 703 continuously adjusting the transmission delay of the data strobe signal until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal.
  • the “trigger edge” mentioned in the above description can be a rising edge or a falling edge, specifically, the actual effective edge of the corresponding signal.
  • the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20.
  • the controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad.
  • the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
  • step 703 includes:
  • Step 704 Acquire an identification signal fed back by the storage chip.
  • the memory chip feeds back an identification signal to the controller.
  • the controller 10 includes: a plurality of cascaded signal generating units 50, each level of the signal generating unit 50 includes: an AND logic circuit 501, a first input end for receiving a write leveling enable signal, a second input end for receiving a delay identification signal, the delay identification signal being used to perform different delays on data selection signals of different operating frequencies; an OR logic circuit 502, a first input end connected to the output end of the AND logic circuit 501, a second input end of the OR logic circuit 502 in the first-level signal generating unit 501 is used to receive a data selection signal Dqs; a trigger 503, an input end connected to the output end of the OR logic circuit 502, an output end serving as the output end of the signal generating unit 501, and a clock end serving as the data selection signal Dqs; a second input end of the OR logic circuit in the non-first-level signal generating unit 501 is connected to the output end of the trigger in the previous-level signal generating unit, and the output end of the trigger in the
  • each level of signal generating unit 50 receives a different delay identification signal.
  • the delay identification signals received by the cascaded signal generating units 50 are A to N, respectively.
  • Each delay identification signal corresponds to a different time delay.
  • the delay identification signals are A to N, namely, the number of delay cycles of the first adjustment time at different frequencies.
  • the time delay corresponding to the delay identification signal A is tA
  • the time delay corresponding to the time identification signal B is tB
  • the time delay corresponding to the time identification signal N is tN.
  • different delay identification signals or different combinations of delay identification signals are provided to achieve different delays for the data selection signal Dqs, thereby achieving the Write-leveling operation of the memory.
  • the memory chip feeds back an identification signal to the controller 10; it should be noted that, in the present embodiment, the write leveling operation is not divided into chip external alignment and chip internal alignment.
  • the controller 10 sends the data selection signal dqs based on the first adjustment time, the clock signal ck and the data selection signal dqs obtained by the memory chip have the same intra-chip path delay, and the identification signal can be directly set to represent that the clock signal ck and the data selection signal dqs are aligned at the DQ pad.
  • the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data selection signal dqs at the DQ pad.
  • the continuous adjustment of the transmission delay of the data selection signal Dqs can be set as follows: setting a step (step value), and then gradually increasing the transmission delay of the data selection signal Dqs based on the set step value until the identification signal fed back by the memory chip 20 is obtained, wherein the identification signal is used to indicate that the trigger edge of the clock signal ck received by the comparator 201 is aligned with the trigger edge of the data selection signal dqs.
  • the identification signal is generated by the comparator 201 inside the memory chip 20.
  • the comparator 201 receives the data selection signal dqs and the clock signal ck, and is used to compare whether the data selection signal dqs and the clock signal ck are aligned. If they are not aligned, the generated identification signal is "0". Due to the step scan, when the identification signal jumps from "0" to "1", it indicates that the data selection signal dqs and the clock signal ck are aligned.
  • the controller 10 obtains a second adjustment time corresponding to the memory chip 20 based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal dqs by the controller 10 when the trigger edge of the clock signal ck and the trigger edge of the data selection signal dqs are aligned; the controller 10 sends the data selection signal dqs to the memory chip based on the second adjustment time.
  • the controller 10 obtains the second adjustment time corresponding to the memory chip 20 based on the identification signal, including: when the controller 10 receives the identification signal, based on the transmission delay of the current data selection signal dqs, obtains the second adjustment time corresponding to the memory chip.
  • Step 705 Acquire a second adjustment time corresponding to the memory chip based on the identification signal.
  • the second adjustment time is used to characterize the transmission delay of the data strobe signal when the trigger edge of the clock signal and the trigger edge of the data strobe signal are aligned.
  • Step 706 Send a data strobe signal to the memory chip based on the second adjustment time.
  • the controller sends a data enable signal to the memory chip based on the second adjustment time, that is, the memory controller locks the delay setting of the data enable signal Dqs, and the subsequent memory sends a data enable signal to the memory chip based on the second adjustment time, so that the clock signal and the data enable signal received by the memory chip are aligned at the DQ pad of the memory chip.
  • the process of obtaining the second adjustment time mentioned above can be a Write-leveling operation when the chip is powered on, and the chip can also perform a new Write-leveling during the subsequent operation to re-obtain the second adjustment time for re-locking.
  • the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20.
  • the controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad.
  • the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Computer Hardware Design (AREA)
  • Dram (AREA)

Abstract

The present disclosure relates to a write-leveling system and a write-leveling method. The write-leveling system comprises: a controller and a storage chip, wherein the controller is used for providing a clock signal and a data gating signal for the storage chip; a first adjustment time is stored in the storage chip, and the first adjustment time is used for representing a path delay difference between the clock signal and the data gating signal within the storage chip; and on the basis of the first adjustment time, the controller adjusts a sending delay for sending the data gating signal to the storage chip, and continuously adjusts the sending delay until a trigger edge of the clock signal that is received by the storage chip is aligned with a trigger edge of the data gating signal.

Description

写调平系统及写调平方法Write leveling system and write leveling method
交叉引用cross reference
本公开要求于2023年01月12日递交的名称为“写调平系统及写调平方法”、申请号为202310068043.2的中国专利申请的优先权,其通过引用被全部并入本公开。The present disclosure claims priority to Chinese patent application number 202310068043.2, filed on January 12, 2023, entitled “Write Leveling System and Write Leveling Method,” which is incorporated herein by reference in its entirety.
技术领域Technical Field
本公开涉及半导体电路设计领域,特别涉及一种写调平系统及写调平方法。The present disclosure relates to the field of semiconductor circuit design, and in particular to a write leveling system and a write leveling method.
背景技术Background technique
对于同步动态随机存储器(Synchronous Dynamic Random Access Memory,SDRAM),SDRAM支持“写调平功能(Write-leveling)”,允许存储控制器补偿偏移。For Synchronous Dynamic Random Access Memory (SDRAM), SDRAM supports "write-leveling" which allows the memory controller to compensate for the offset.
对于存储器的“写调平功能”,存储控制器反复延时数据选通信号Dqs,直至检测到标识信号从0到1的转换(存储器获取的时钟信号ck和数据选通信号Dqs在检测处对齐,生成的标识信号由0变为1),一旦检测标识信号从0到1的转变,存储控制器锁定数据选通信号Dqs的延迟设置,此时存储器实现时钟信号ck与数据选通信号Dqs的对齐,完成写调平。For the "write leveling function" of the memory, the storage controller repeatedly delays the data enable signal Dqs until it detects the transition of the identification signal from 0 to 1 (the clock signal ck and the data enable signal Dqs obtained by the memory are aligned at the detection point, and the generated identification signal changes from 0 to 1). Once the transition of the identification signal from 0 to 1 is detected, the storage controller locks the delay setting of the data enable signal Dqs. At this time, the memory realizes the alignment of the clock signal ck and the data enable signal Dqs, and completes write leveling.
发明内容Summary of the invention
本公开一实施例提供了一种写调平系统,包括:控制器和存储芯片;控制器用于向存储芯片提供时钟信号和数据选通信号;存储芯片中存储有第一调节时间,第一调节时间用于表征时钟信号和数据选通信号在存储芯片内部的路径延时差;控制器基于第一调节时间调整向存储芯片发送数据选通信号的发送时延,并持续调节发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐。An embodiment of the present disclosure provides a write leveling system, including: a controller and a memory chip; the controller is used to provide a clock signal and a data enable signal to the memory chip; a first adjustment time is stored in the memory chip, and the first adjustment time is used to characterize the path delay difference between the clock signal and the data enable signal inside the memory chip; the controller adjusts the sending delay of the data enable signal to the memory chip based on the first adjustment time, and continues to adjust the sending delay until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned.
例如,写调平系统还包括:存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐时,存储芯片向控制器反馈标识信号;控制器基于标识信号获取对应于存储芯片的第二调节时间,第二调节时间用于表征时钟信号的触发沿和数据选通信号的触发沿对齐时,控制器对数据选通信号的发送时延;控制器基于第二调节时间向存储芯片发送数据选通信号。For example, the write leveling system also includes: when the trigger edge of the clock signal received by the storage chip is aligned with the trigger edge of the data selection signal, the storage chip feeds back an identification signal to the controller; the controller obtains a second adjustment time corresponding to the storage chip based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal by the controller when the trigger edge of the clock signal and the trigger edge of the data selection signal are aligned; the controller sends the data selection signal to the storage chip based on the second adjustment time.
例如,控制器基于标识信号获取对应于存储芯片的第二调节时间,包括:当控制器接收到标识信号,基于当前数据选通信号的发送时延,获取对应于存储芯片的第二调节时间。For example, the controller acquires the second adjustment time corresponding to the memory chip based on the identification signal, including: when the controller receives the identification signal, based on the transmission delay of the current data selection signal, acquiring the second adjustment time corresponding to the memory chip.
例如,控制器基于第一调节时间调整向对应的存储芯片发送数据选通信号的发送时延,并持续调节发送时延,包括:控制器获取存储芯片中存储的第一调节时间;控制器基于第一调节时间调整向存储芯片发送数据选通信号的发送时延;控制器持续调节数据选通信号的发送时延。For example, the controller adjusts the sending delay of a data selection signal to a corresponding storage chip based on a first adjustment time, and continuously adjusts the sending delay, including: the controller obtains the first adjustment time stored in the storage chip; the controller adjusts the sending delay of the data selection signal to the storage chip based on the first adjustment time; the controller continuously adjusts the sending delay of the data selection signal.
例如,存储芯片包括:延时计时单元,用于存储第一调节时间;控制器获取存储芯片中存储的第一调节时间,包括:控制器连接存储芯片中的延时计时单元,并获取延时计时单元中存储的第一调节时间。For example, the storage chip includes: a delay timing unit for storing a first adjustment time; the controller obtains the first adjustment time stored in the storage chip, including: the controller connects to the delay timing unit in the storage chip and obtains the first adjustment time stored in the delay timing unit.
例如,延时计时单元基于存储芯片中的冗余寄存器设置。For example, the delay timing unit is set based on redundant registers in the memory chip.
例如,控制器基于模式寄存器读命令获取第一调节时间。For example, the controller obtains the first adjustment time based on the mode register read command.
例如,延时计时单元包括:第一处理单元,被配置为,用于获取存储芯片内的数据选通信号和时钟信号的路径传输时差;第二处理单元,连接第一处理单元,被配置为,基于路径传输时差和数据选通信号的周期获取第一调节时间。 For example, the delay timing unit includes: a first processing unit, configured to obtain the path transmission time difference between the data selection signal and the clock signal in the memory chip; a second processing unit, connected to the first processing unit, configured to obtain the first adjustment time based on the path transmission time difference and the period of the data selection signal.
例如,控制器包括:多个级联的信号产生单元,每一级信号产生单元,包括:与逻辑电路,第一输入端用于接收写调平使能信号,第二输入端用于接收时延标识信号,时延标识信号用于对数据选通信号进行不同时延;或逻辑电路,第一输入端连接与逻辑电路的输出端,第一级信号产生单元中或逻辑电路的第二输入端用于接收数据选通信号;触发器,输入端连接或逻辑电路的输出端,输出端作为信号产生单元的输出端,时钟端用于接收数据选通信号;非第一级信号产生单元中或逻辑电路的第二输入端连接前一级信号产生单元中触发器的输出端,最后一级信号产生单元中触发器的输出端用于输出延迟后的数据选通信号。For example, the controller includes: multiple cascaded signal generating units, each level of signal generating unit includes: an AND logic circuit, a first input end is used to receive a write leveling enable signal, and a second input end is used to receive a delay identification signal, the delay identification signal is used to perform different delays on the data selection signal; an OR logic circuit, a first input end is connected to the output end of the AND logic circuit, and the second input end of the OR logic circuit in the first-level signal generating unit is used to receive the data selection signal; a trigger, an input end is connected to the output end of the OR logic circuit, the output end serves as the output end of the signal generating unit, and the clock end is used to receive the data selection signal; the second input end of the OR logic circuit in the non-first-level signal generating unit is connected to the output end of the trigger in the previous-level signal generating unit, and the output end of the trigger in the last-level signal generating unit is used to output the delayed data selection signal.
本公开另一实施例还提供了一种写调平方法,应用于上述实施例提供的写调平系统,包括:获取存储芯片对应的第一调节时间,第一调节时间用于表征时钟信号和数据选通信号在存储芯片内部的路径延时差;基于第一调节时间调整向存储芯片发送数据选通信号的发送时延,并持续调节发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐,在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作。Another embodiment of the present disclosure also provides a write leveling method, which is applied to the write leveling system provided in the above embodiment, including: obtaining a first adjustment time corresponding to the memory chip, the first adjustment time being used to characterize the path delay difference between the clock signal and the data enable signal inside the memory chip; adjusting the sending delay of the data enable signal to the memory chip based on the first adjustment time, and continuously adjusting the sending delay until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned, and simplifying the write leveling operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs.
例如,持续调节发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐,包括:获取存储芯片反馈的标识信号,其中,存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐时,存储芯片向控制器反馈标识信号;基于标识信号获取对应于存储芯片的第二调节时间,第二调节时间用于表征时钟信号的触发沿和数据选通信号的触发沿对齐时,数据选通信号的发送时延;基于第二调节时间向存储芯片发送数据选通信号。For example, continuously adjusting the sending delay until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data selection signal, including: obtaining an identification signal fed back by the memory chip, wherein when the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data selection signal, the memory chip feeds back the identification signal to the controller; based on the identification signal, obtaining a second adjustment time corresponding to the memory chip, the second adjustment time is used to characterize the sending delay of the data selection signal when the trigger edge of the clock signal is aligned with the trigger edge of the data selection signal; and sending the data selection signal to the memory chip based on the second adjustment time.
例如,获取存储芯片对应的第一调节时间,包括:基于存储器接收的模式寄存器读命令获取第一调节时间。For example, obtaining a first adjustment time corresponding to the memory chip includes: obtaining the first adjustment time based on a mode register read command received by the memory.
例如,获取存储芯片对应的第一调节时间,包括:获取存储芯片内存储的第一调节时间。For example, obtaining the first adjustment time corresponding to the storage chip includes: obtaining the first adjustment time stored in the storage chip.
例如,存储芯片内存储第一调节时间的获取方法,包括:获取存储芯片内数据选通信号和时钟信号的路径传输时差;基于路径传输时差和数据选通信号的周期获取第一调节时间。For example, a method for acquiring a first adjustment time stored in a memory chip includes: acquiring a path transmission time difference between a data selection signal and a clock signal in the memory chip; and acquiring the first adjustment time based on the path transmission time difference and a period of the data selection signal.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,除非有特别申明,附图中的图不构成比例限制;为了更清楚地说明本公开实施例或传统技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings, and these exemplified descriptions do not constitute a limitation on the embodiments. Unless otherwise specified, the pictures in the drawings do not constitute a scale limitation. In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the traditional technology, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
图1为本公开一实施例提供的写调平系统的系统结构示意图;FIG1 is a schematic diagram of the system structure of a write leveling system provided by an embodiment of the present disclosure;
图2和图3为本公开一实施例提供的第一调节时间的含义示意图;2 and 3 are schematic diagrams showing the meaning of the first adjustment time provided in an embodiment of the present disclosure;
图4为本公开一实施例提供的写调平系统的流程示意图;FIG4 is a schematic diagram of a flow chart of a write leveling system provided by an embodiment of the present disclosure;
图5为本公开一实施例提供的控制器的结构示意图;FIG5 is a schematic diagram of the structure of a controller provided by an embodiment of the present disclosure;
图6和图7为本公开一实施例提供的存储芯片的结构示意图;6 and 7 are schematic diagrams of the structure of a memory chip provided in an embodiment of the present disclosure;
图8和图9为本公开另一实施例提供的写调平方法各步骤对应的流程示意图。8 and 9 are flowchart diagrams corresponding to the steps of a write leveling method provided in another embodiment of the present disclosure.
具体实施方式Detailed ways
由背景技术可知,需要每个SDRAM接收的时钟信号ck的上升沿与数据选通信号Dqs的上升沿对齐,传统的写调平方案需要在数据选通信号Dqs的传输路径上设置延迟单元来匹配时钟信号ck和数据选通信号Dqs在存储器内部的传输路径的延迟差,但延时单元的延时设 置越大,在写调平特性中引起的抖动越大,从而增加存储器的写调平难度。As can be seen from the background technology, the rising edge of the clock signal ck received by each SDRAM needs to be aligned with the rising edge of the data strobe signal Dqs. The traditional write leveling solution needs to set a delay unit on the transmission path of the data strobe signal Dqs to match the delay difference of the clock signal ck and the data strobe signal Dqs in the transmission path inside the memory. However, the delay setting of the delay unit is The larger the setting, the greater the jitter caused in the write leveling characteristics, thereby increasing the difficulty of write leveling of the memory.
本公开一实施例提供了一种写调平系统,在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作。An embodiment of the present disclosure provides a write leveling system, which simplifies the write leveling operation of a memory on the basis of removing a delay unit provided on a transmission path of a data strobe signal Dqs.
本领域的普通技术人员可以理解,在本公开各实施例中,为了使读者更好地理解本公开而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本公开所要求保护的技术方案。以下各个实施例的划分是为了描述方便,不应对本公开的具体实现方式构成任何限定,各个实施例在不矛盾的前提下可以相互结合,相互引用。It can be understood by those skilled in the art that in the various embodiments of the present disclosure, many technical details are provided in order to enable the reader to better understand the present disclosure. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solutions claimed in the present disclosure can be implemented. The division of the following embodiments is for the convenience of description and should not constitute any limitation on the specific implementation of the present disclosure. The various embodiments can be combined with each other and referenced to each other without contradiction.
图1为本实施例提供的写调平系统的系统结构示意图,图2和图3为本实施例提供的第一调节时间的含义示意图,图4为本实施例提供的写调平系统的流程示意图,图5为本实施例提供的控制器的结构示意图,图6和图7为本实施例提供的存储芯片的结构示意图,以下结合附图对本实施例提供的写调平系统进行详细说明,具体如下:FIG. 1 is a schematic diagram of the system structure of the write leveling system provided in the present embodiment, FIG. 2 and FIG. 3 are schematic diagrams of the meaning of the first adjustment time provided in the present embodiment, FIG. 4 is a schematic diagram of the flow of the write leveling system provided in the present embodiment, FIG. 5 is a schematic diagram of the structure of the controller provided in the present embodiment, and FIG. 6 and FIG. 7 are schematic diagrams of the structure of the storage chip provided in the present embodiment. The write leveling system provided in the present embodiment is described in detail below in conjunction with the accompanying drawings, as follows:
写调平系统,包括:控制器和存储芯片。A write leveling system includes a controller and a storage chip.
参考图1,对于本实施例系统的写调平系统,包括控制器10和多个存储芯片20,其中,控制器10用于向每一存储芯片20提供数据选通信号Dqs和时钟信号ck;具体地,数据选通信号Dqs于控制器10和存储芯片20之间设置为“点对点传输(point to point)”,“点对点传输”即控制器10直接向每一个存储芯片20传输数据选通信号Dqs;时钟信号ck于控制器10和存储芯片20之间设置为“串行传输(fly-by)”,“串行传输”即控制器10提供一个时钟信号ck,时钟信号ck经由存储芯片20之间依次传送。1 , the write leveling system of the system of the present embodiment includes a controller 10 and a plurality of memory chips 20, wherein the controller 10 is used to provide a data selection signal Dqs and a clock signal ck to each memory chip 20; specifically, the data selection signal Dqs is set as “point to point transmission” between the controller 10 and the memory chip 20, and the “point to point transmission” means that the controller 10 directly transmits the data selection signal Dqs to each memory chip 20; the clock signal ck is set as “fly-by” between the controller 10 and the memory chip 20, and the “fly-by” means that the controller 10 provides a clock signal ck, and the clock signal ck is transmitted sequentially between the memory chips 20.
由于时钟信号ck和数据选通信号Dqs的传输方式不同,使得存储芯片20接收的时钟信号ck和数据选通信号Dqs之间的延迟很大,因此需要对发送至每一存储芯片20的数据选通信号Dqs进行延时,以使得存储芯片20接收的时钟信号ck和数据选通信号Dqs对齐。Since the clock signal ck and the data selection signal Dqs are transmitted in different ways, the delay between the clock signal ck and the data selection signal Dqs received by the memory chip 20 is very large. Therefore, it is necessary to delay the data selection signal Dqs sent to each memory chip 20 so that the clock signal ck and the data selection signal Dqs received by the memory chip 20 are aligned.
需要说明的是,本实施例提供的写调平系统适用于易失性存储器,例如动态随机存取存储器DRAM、同步动态随机存取存储器SDRAM、各代双倍数据速率同步动态随机存取存储器DDRx SDRAM、各代低功率双倍数据速率同步动态随机存取存储器LPDDRx SDRAM、图形双倍数据速率同步动态随机存取存储器GDDR SDRAM、晶闸管随机存取存储器TRAM等,同样适用于非易失性存储器,例如相变随机存取存储器PRAM、磁性随机存取存储器MRAM、电阻式随机存取存储器RRAM等。It should be noted that the write leveling system provided in this embodiment is applicable to volatile memories, such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc., and is also applicable to non-volatile memories, such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive random access memories RRAM, etc.
对于本实施例提供的存储芯片20,参考图2和图3,存储芯片20中存储有第一调节时间,第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,即存储芯片20的DQ pad接收到的数据选通信号Dqs1和时钟信号ck1传输至内部比较器201的数据选通信号Dqs2和时钟信号ck2之间的延时差,即丨tdqs2-tdqs1丨-丨tck2-tck1丨。With respect to the memory chip 20 provided in the present embodiment, referring to FIG2 and FIG3 , a first adjustment time is stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20, i.e., the delay difference between the data selection signal Dqs1 and the clock signal ck1 received by the DQ pad of the memory chip 20 and the data selection signal Dqs2 and the clock signal ck2 transmitted to the internal comparator 201, i.e., 丨tdqs2-tdqs1丨-丨tck2-tck1丨.
需要说明的是,参考图2和图3,对于上述提及的“DQ pad”,即存储芯片20用于接收数据选通信号Dqs和时钟信号ck的焊盘200。It should be noted that, referring to Figures 2 and 3, the "DQ pad" mentioned above is the pad 200 of the memory chip 20 for receiving the data selection signal Dqs and the clock signal ck.
对于上述提及的“时钟信号ck和数据选通信号Dqs在存储芯片内部的路径延时差”,参考图3,假设存储芯片20接收的时钟信号为ck1,存储芯片20接收的数据选通信号为Dqs1,ck1与Dqs1之间的时差为t1;存储芯片20中比较器接收的数据选通信号为Dqs2,比较器201接收的时钟信号为ck2;Dqs1传输至Dqs2的过程中,新增的延时的t2,ck1传输至ck2的过程中,新增的延时的t3,此时ck2与Dqs2之间的延时差为t1+丨t2-t3丨。Regarding the above-mentioned "path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip", refer to Figure 3, assuming that the clock signal received by the memory chip 20 is ck1, the data selection signal received by the memory chip 20 is Dqs1, and the time difference between ck1 and Dqs1 is t1; the data selection signal received by the comparator in the memory chip 20 is Dqs2, and the clock signal received by the comparator 201 is ck2; in the process of Dqs1 being transmitted to Dqs2, a new delay t2 is added, and in the process of ck1 being transmitted to ck2, a new delay t3 is added. At this time, the delay difference between ck2 and Dqs2 is t1+丨t2-t3丨.
通常来说,时钟信号ck从DQ pad传输至比较器201的传输延时大于数据选通信号 Dqs从DQ pad传输至比较器201的传输延时,即t3>t2,因此通常会在数据选通信号Dqs的传输路径上设置延时单元202,以基于延时单元202平衡时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,从而使丨t2-t3丨=0,从而使得比较器201接收的时钟信号ck和数据选通信号为Dqs之间的延时与存储芯片20接收的时钟信号ck和数据选通信号为Dqs之间的延时相同,即比较器201对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐;而本实施例提供的写调平系统通过第一调节时间平衡时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,从而使丨t2-t3丨=0,从而使得DQ pad接收的时钟信号ck和数据选通信号Dqs直接对齐。Generally speaking, the transmission delay of the clock signal ck from the DQ pad to the comparator 201 is greater than that of the data strobe signal The transmission delay of Dqs from the DQ pad to the comparator 201 is t3>t2, so a delay unit 202 is usually set on the transmission path of the data selection signal Dqs to balance the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20 based on the delay unit 202, so that 丨t2-t3丨=0, so that the delay between the clock signal ck received by the comparator 201 and the data selection signal Dqs is the same as the delay between the clock signal ck and the data selection signal Dqs received by the memory chip 20, that is, the data selection signal Dqs and the clock signal ck aligned by the comparator 201 are also aligned at the DQ pad; and the write leveling system provided in this embodiment balances the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20 through the first adjustment time, so that 丨t2-t3丨=0, so that the clock signal ck and the data selection signal Dqs received by the DQ pad are directly aligned.
具体地,参考图4,控制器10获取存储芯片20中存储的第一调节时间,第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片内部的路径延时差,控制器10基于获取的第一调节时间调整向存储芯片20发送数据选通信号Dqs的发送时延,然后,控制器10持续调节数据选通信号Dqs的发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐。Specifically, referring to Figure 4, the controller 10 obtains a first adjustment time stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip. The controller 10 adjusts the sending delay of the data enable signal Dqs to the memory chip 20 based on the obtained first adjustment time. Then, the controller 10 continuously adjusts the sending delay of the data enable signal Dqs until the trigger edge of the clock signal received by the memory chip and the trigger edge of the data enable signal are aligned.
需要说明的是,上述说明中提及的“触发沿”,即有效沿,可以为上升沿,也可以为下降沿,具体为所属信号的实际有效沿。It should be noted that the “trigger edge” mentioned in the above description, that is, the effective edge, can be a rising edge or a falling edge, specifically, the actual effective edge of the corresponding signal.
其中,控制器10持续调节数据选通信号dqs的发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐,即存储器的Write-leveling操作,还包括:The controller 10 continuously adjusts the transmission delay of the data strobe signal dqs until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal, that is, the write-leveling operation of the memory, and further includes:
存储芯片20的比较器201接收的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时(即DQ pad接收的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时),存储芯片向控制器10反馈标识信号;需要说明的是,在本实施例中,写调平操作不分为芯片外部对齐和芯片内部对齐,由于控制器10基于第一调节时间发送数据选通信号dqs,使得存储芯片获取的时钟信号ck和数据选通信号dqs片内路径延时一致,标识信号可以直接设置为表征时钟信号ck和数据选通信号dqs在DQ pad对齐,此时存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad对齐。When the trigger edge of the clock signal ck received by the comparator 201 of the memory chip 20 is aligned with the trigger edge of the data enable signal dqs (that is, when the trigger edge of the clock signal ck received by the DQ pad is aligned with the trigger edge of the data enable signal dqs), the memory chip feeds back an identification signal to the controller 10; it should be noted that, in the present embodiment, the write leveling operation is not divided into chip external alignment and chip internal alignment. Since the controller 10 sends the data enable signal dqs based on the first adjustment time, the clock signal ck and the data enable signal dqs obtained by the memory chip have consistent on-chip path delays. The identification signal can be directly set to represent that the clock signal ck and the data enable signal dqs are aligned at the DQ pad. At this time, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad.
需要说明的是,持续调节数据选通信号Dqs的发送时延可以设置为:设置step(步进值),然后基于设置的步进值,逐渐增加数据选通信号Dqs的发送时延,直至获取存储芯片20反馈的标识信号,其中,标识信号用于表示比较器201出接收到的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐。It should be noted that the continuous adjustment of the transmission delay of the data selection signal Dqs can be set as follows: setting a step (step value), and then gradually increasing the transmission delay of the data selection signal Dqs based on the set step value until the identification signal fed back by the memory chip 20 is obtained, wherein the identification signal is used to indicate that the trigger edge of the clock signal ck received by the comparator 201 is aligned with the trigger edge of the data selection signal dqs.
对于标识信号,标识信号即存储芯片20内部的比较器201生成,比较器201接收数据选通信号dqs和时钟信号ck,用于比较数据选通信号dqs和时钟信号ck是否对齐,未对齐时生成的标识信号为“0”,由于步进扫描,当标识信号产生从“0”到“1”的跳变时,则表示数据选通信号dqs和时钟信号ck对齐。As for the identification signal, the identification signal is generated by the comparator 201 inside the memory chip 20. The comparator 201 receives the data selection signal dqs and the clock signal ck, and is used to compare whether the data selection signal dqs and the clock signal ck are aligned. When they are not aligned, the generated identification signal is "0". Due to the step scan, when the identification signal jumps from "0" to "1", it indicates that the data selection signal dqs and the clock signal ck are aligned.
另外,控制器10基于标识信号获取对应于存储芯片20的第二调节时间,第二调节时间用于表征时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时,控制器10对数据选通信号dqs的发送时延;控制器10基于第二调节时间向存储芯片发送数据选通信号dqs。具体地,控制器10基于标识信号获取对应于存储芯片20的第二调节时间,包括:当控制器10接收到标识信号,基于当前数据选通信号dqs的发送时延,获取对应于存储芯片的第二调节时间。在一个例子中,控制器基于表示信号获取对应于存储芯片20的当前步进值,并基于当前步进值和第一调节时间获取第二调节时间,其中,第二调节时间=当前步进值+第一调节时间。In addition, the controller 10 obtains a second adjustment time corresponding to the memory chip 20 based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal dqs by the controller 10 when the trigger edge of the clock signal ck and the trigger edge of the data selection signal dqs are aligned; the controller 10 sends the data selection signal dqs to the memory chip based on the second adjustment time. Specifically, the controller 10 obtains the second adjustment time corresponding to the memory chip 20 based on the identification signal, including: when the controller 10 receives the identification signal, based on the transmission delay of the current data selection signal dqs, obtains the second adjustment time corresponding to the memory chip. In one example, the controller obtains the current step value corresponding to the memory chip 20 based on the indication signal, and obtains the second adjustment time based on the current step value and the first adjustment time, wherein the second adjustment time = current step value + first adjustment time.
当标识信号完成从“0”的“1”的跳变,表示存储器Write-leveling操作执行完成,对于上述提及的“接收的标识信号”,即接收到结果为“1”的标识信号。 When the identification signal completes the transition from "0" to "1", it indicates that the memory Write-leveling operation is completed. The "received identification signal" mentioned above means that the identification signal with the result of "1" is received.
其中,控制器10基于第二调节时间向存储芯片发送数据选通信号dqs即存储控制器锁定数据选通信号Dqs的延迟设置,后续存储器基于第二调节时间向存储芯片发送数据选通信号dqs,使得存储芯片20接收的时钟信号ck和数据选通信号dqs在DQ pad对齐。Among them, the controller 10 sends a data enable signal dqs to the memory chip based on the second adjustment time, that is, the memory controller locks the delay setting of the data enable signal Dqs, and the subsequent memory sends the data enable signal dqs to the memory chip based on the second adjustment time, so that the clock signal ck and the data enable signal dqs received by the memory chip 20 are aligned on the DQ pad.
需要说明的是,上文提及的获取第二调节时间的过程,可以是芯片上电时的Write-leveling操作,后续芯片在工作过程中也可以进行新的Write-leveling,以重新获取第二调节时间进行重新锁定。It should be noted that the process of obtaining the second adjustment time mentioned above can be a Write-leveling operation when the chip is powered on, and the chip can also perform a new Write-leveling during the subsequent operation to re-obtain the second adjustment time for re-locking.
对于本实施例提供的写调平系统,第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,控制器10通过获取第一调节时间,并基于第一调节时间延时向存储芯片20发送数据选通信号Dqs,使得存储芯片的比较器处对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐,此时,存储芯片内比较器生成的标识信号可以表征时钟信号ck和数据选通信号dqs在DQ pad对齐,即存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad处对齐,使得写调平系统在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作,同时还避免了由于延时单元的设置,使得存储器在调平特性中引起的抖动。For the write leveling system provided in this embodiment, the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20. The controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad. At this time, the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
在一些实施例中,控制器10基于第一调节时间调整向对应的存储芯片20发送数据选通信号dqs的发送时延,并持续调节发送时延,包括:控制器10获取存储芯片20中存储的第一调节时间,控制器10基于第一调节时间调整向存储芯片发送数据选通信号dqs的发送时延,控制器10持续调节数据选通信号dqs的发送时延。In some embodiments, the controller 10 adjusts the sending delay of the data selection signal dqs to the corresponding memory chip 20 based on the first adjustment time, and continuously adjusts the sending delay, including: the controller 10 obtains the first adjustment time stored in the memory chip 20, the controller 10 adjusts the sending delay of the data selection signal dqs to the memory chip based on the first adjustment time, and the controller 10 continuously adjusts the sending delay of the data selection signal dqs.
对于本实施例提供的控制器10,参考图5,控制器10,包括:多个级联的信号产生单元50,每一级信号产生单元50,包括:与逻辑电路501,第一输入端用于接收写调平使能信号,第二输入端用于接收时延标识信号,时延标识信号用于对不同工作频率的数据选通信号进行不同时延;或逻辑电路502,第一输入端连接与逻辑电路501的输出端,第一级信号产生单元501中或逻辑电路502的第二输入端用于接收数据选通信号Dqs;触发器503,输入端连接或逻辑电路502的输出端,输出端作为信号产生单元501的输出端,时钟端用于接收数据选通信号Dqs;非第一级信号产生单元501中或逻辑电路的第二输入端连接前一级信号产生单元中触发器的输出端,最后一级信号产生单元50中触发器的输出端作为控制器10的输出端,用于输出延迟后的数据选通信号dqs。For the controller 10 provided in this embodiment, referring to Figure 5, the controller 10 includes: a plurality of cascaded signal generating units 50, each level of signal generating unit 50 includes: an AND logic circuit 501, a first input end for receiving a write leveling enable signal, a second input end for receiving a delay identification signal, the delay identification signal being used to perform different delays on data selection signals of different operating frequencies; an OR logic circuit 502, a first input end connected to the output end of the AND logic circuit 501, a second input end of the OR logic circuit 502 in the first-level signal generating unit 501 is used to receive a data selection signal Dqs; a trigger 503, an input end connected to the output end of the OR logic circuit 502, an output end serving as the output end of the signal generating unit 501, and a clock end serving as the data selection signal Dqs; a second input end of the OR logic circuit in the non-first-level signal generating unit 501 is connected to the output end of the trigger in the previous-level signal generating unit, and the output end of the trigger in the last-level signal generating unit 50 is used as the output end of the controller 10, for outputting the delayed data selection signal dqs.
需要说明的是,多个信号产生单元50之间仅为结构上的级联,就输出逻辑而言,多个信号产生单元50之间并非级联,而是择一输出的关系。It should be noted that the multiple signal generating units 50 are only cascaded in structure. In terms of output logic, the multiple signal generating units 50 are not cascaded, but have a selective output relationship.
另外,对于信号产生单元50,第一调节时间被包含在各级与门的输入端中,即第一调节时间被包含在时延标识信号中。In addition, for the signal generating unit 50, the first adjustment time is included in the input end of each stage of the AND gate, that is, the first adjustment time is included in the delay identification signal.
具体地,每一级信号产生单元50接收的时延标识信号不同,在图5示例中,级联的信号产生单元50接收的时延标识信号分别为A~N,每一时延标识信号对应的时间延时不同,在一些实施例中,时延标识信号分别为A~N即第一调节时间在不同频率下的延时周期数,假设时延标识信号A对应的时间延时为tA,时间标识信号B对应的时间延时为tB……时间标识信号N对应的时间延时为tN;此时提供不同的时延标识信号,或不同的时延标识信号组合,从而实现对数据选通信号Dqs的不同延时,从而实现存储器的Write-leveling操作。Specifically, each level of signal generating unit 50 receives a different delay identification signal. In the example of FIG5 , the delay identification signals received by the cascaded signal generating units 50 are A to N, respectively. Each delay identification signal corresponds to a different time delay. In some embodiments, the delay identification signals are A to N, namely, the number of delay cycles of the first adjustment time at different frequencies. Assume that the time delay corresponding to the delay identification signal A is tA, the time delay corresponding to the time identification signal B is tB, and the time delay corresponding to the time identification signal N is tN. At this time, different delay identification signals or different combinations of delay identification signals are provided to achieve different delays for the data selection signal Dqs, thereby achieving the Write-leveling operation of the memory.
对于触发器503,触发器503的复位端RST还用于接收复位信号reset,复位信号用于复位触发器503的输出,从而避免基于触发器503的存储值错误输出数据选通信号Dqs。For the trigger 503 , the reset terminal RST of the trigger 503 is also used to receive a reset signal reset, and the reset signal is used to reset the output of the trigger 503 , thereby avoiding erroneous output of the data selection signal Dqs based on the storage value of the trigger 503 .
在一些实施例中,参考图6,存储芯片20包括:延时计时单元301,用于存储第一调节时间;存储器10获取存储芯片10中存储器的第一调节时间,包括:控制器10连接存储芯片20中的延时计时单元301,并获取延时计时单元301中存储的第一调节时间。 In some embodiments, referring to Figure 6, the memory chip 20 includes: a delay timing unit 301 for storing a first adjustment time; the memory 10 obtains the first adjustment time of the memory in the memory chip 10, including: the controller 10 connects to the delay timing unit 301 in the memory chip 20, and obtains the first adjustment time stored in the delay timing unit 301.
具体地,第一调节时间=(时钟信号ck和数据选通信号Dqs在存储芯片内部的路径传输时差)/数据选通信号Dqs的周期;其中,时钟信号ck和数据选通信号Dqs在存储芯片内部的路径差基于取消的延时单元获取,数据选通信号Dqs的周期基于存储器的参数获取,第一调节时间由设计人员基于时钟信号ck和数据选通信号Dqs的路径上的电路结构、走线布局等相关参数计算后直接存储在延时计时单元301中。Specifically, the first adjustment time = (path transmission time difference between the clock signal ck and the data enable signal Dqs inside the memory chip) / period of the data enable signal Dqs; wherein, the path difference between the clock signal ck and the data enable signal Dqs inside the memory chip is obtained based on the cancelled delay unit, and the period of the data enable signal Dqs is obtained based on the parameters of the memory, and the first adjustment time is calculated by the designer based on relevant parameters such as the circuit structure and wiring layout on the path of the clock signal ck and the data enable signal Dqs and is directly stored in the delay timing unit 301.
在一些实施例中,延时计时单元301基于存储芯片20中的冗余寄存器设置,冗余寄存器即存储芯片20中空置的寄存器,例如可以是空置的模式寄存器,通过存储芯片20中空置的模式寄存器存储第一调节时间,避免对存储芯片20的结构调整,以提高本实施例提供的写调平系统的适用性。In some embodiments, the delay timing unit 301 is set based on a redundant register in the memory chip 20, and the redundant register is an unused register in the memory chip 20, for example, it may be an unused mode register. The first adjustment time is stored in the unused mode register in the memory chip 20 to avoid structural adjustments to the memory chip 20, so as to improve the applicability of the write leveling system provided in this embodiment.
在一些实施例中,第一调节时间同样可以设置为基于存储芯片20内部的处理单元计算获取后存储在延时计时单元301中;具体地,参考图7,延时计时单元301,包括:第一处理单元401,被配置为,用于获取存储芯片20内的数据选通信号Dqs和时钟信号ck的路径传输时差,第二处理单元402,连接第一处理单元401,被配置为,基于路径传输时差和数据选通信号Dqs的周期获取第一调节时间。In some embodiments, the first adjustment time can also be set to be calculated and obtained based on the processing unit inside the memory chip 20 and then stored in the delay timing unit 301; specifically, referring to Figure 7, the delay timing unit 301 includes: a first processing unit 401, configured to obtain the path transmission time difference between the data selection signal Dqs and the clock signal ck in the memory chip 20, and a second processing unit 402, connected to the first processing unit 401, configured to obtain the first adjustment time based on the path transmission time difference and the period of the data selection signal Dqs.
其中,存储芯片20内的数据选通信号Dqs和时钟信号ck的路径传输时差即基于取消的延时单元所设置的延时获取,第二处理单元402在实际设置中可以仅仅作为一个计算单元设置。The path transmission time difference between the data selection signal Dqs and the clock signal ck in the memory chip 20 is obtained based on the delay set by the cancelled delay unit, and the second processing unit 402 can be set as only a calculation unit in actual settings.
在一些实施例中,控制器10获取第一调节时间,包括:控制器10基于模式寄存器读命令(Mode Register Read,MRR)获取第一调节时间。由于存储芯片20在启动过程中本身就会执行MRR命令,复用该命令,通过MRR获取例如寄存在冗余的模式寄存器中的第一调节时间,从而,第一调节时间基于MRR命令获取,使得控制器10获取第一调节时间无需设置额外动作。In some embodiments, the controller 10 obtains the first adjustment time, including: the controller 10 obtains the first adjustment time based on a mode register read command (Mode Register Read, MRR). Since the memory chip 20 itself executes the MRR command during the startup process, the command is reused to obtain the first adjustment time, for example, stored in a redundant mode register, through the MRR. Thus, the first adjustment time is obtained based on the MRR command, so that the controller 10 does not need to set additional actions to obtain the first adjustment time.
对于本实施例提供的写调平系统,第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,控制器10通过获取第一调节时间,并基于第一调节时间延时向存储芯片20发送数据选通信号Dqs,使得存储芯片的比较器处对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐,此时,存储芯片内比较器生成的标识信号可以表征时钟信号ck和数据选通信号dqs在DQ pad对齐,即存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad处对齐,使得写调平系统在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作,同时还避免了由于延时单元的设置,使得存储器在调平特性中引起的抖动。For the write leveling system provided in this embodiment, the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20. The controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad. At this time, the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
需要说明的是,上述实施例所提供的写调平系统中所揭露的特征,在不冲突的情况下可以任意组合,可以得到新的写调平系统实施例。It should be noted that the features disclosed in the write-leveling system provided in the above embodiments can be arbitrarily combined without conflict to obtain a new write-leveling system embodiment.
本公开另一实施例提供一种写调平方法,应用于上述实施例提供的写调平系统,在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作。Another embodiment of the present disclosure provides a write leveling method, which is applied to the write leveling system provided in the above embodiment, and simplifies the write leveling operation of the memory on the basis of removing the delay unit set on the transmission path of the data selection signal Dqs.
图8和图9为本实施例提供的写调平方法各步骤对应的流程示意图,以下结合附图对本实施例提供的写调平方法进行详细说明,具体如下:FIG8 and FIG9 are flowcharts corresponding to the steps of the write leveling method provided in this embodiment. The write leveling method provided in this embodiment is described in detail below in conjunction with the accompanying drawings, as follows:
需要说明的是,本实施例提供的写调平系统适用于易失性存储器,例如动态随机存取存储器DRAM、同步动态随机存取存储器SDRAM、各代双倍数据速率同步动态随机存取存储器DDRx SDRAM、各代低功率双倍数据速率同步动态随机存取存储器LPDDRx SDRAM、图形双倍数据速率同步动态随机存取存储器GDDR SDRAM、晶闸管随机存取存储器TRAM等,同样适用于非易失性存储器,例如相变随机存取存储器PRAM、磁性随机存取存储器MRAM、电阻式随机存取存储器RRAM等。 It should be noted that the write leveling system provided in this embodiment is applicable to volatile memories, such as dynamic random access memories DRAM, synchronous dynamic random access memories SDRAM, various generations of double data rate synchronous dynamic random access memories DDRx SDRAM, various generations of low power double data rate synchronous dynamic random access memories LPDDRx SDRAM, graphic double data rate synchronous dynamic random access memories GDDR SDRAM, thyristor random access memories TRAM, etc., and is also applicable to non-volatile memories, such as phase change random access memories PRAM, magnetic random access memories MRAM, resistive random access memories RRAM, etc.
参考图8,写调平方法,包括:Referring to FIG8 , a leveling method is described, including:
步骤701,获取存储芯片对应的第一调节时间。Step 701, obtaining a first adjustment time corresponding to a storage chip.
具体地,第一调节时间用于表征时钟信号和数据选通信号在存储芯片内部的路径延时差。Specifically, the first adjustment time is used to characterize the path delay difference between the clock signal and the data strobe signal inside the memory chip.
参考图2和图3,存储芯片20中存储有第一调节时间,第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,即存储芯片20的DQ pad接收到数据选通信号Dqs1和时钟信号ck1传输至内部比较器201的数据选通信号Dqs2和时钟信号ck2之间的延时差,即丨tdqs2-tdqs1丨-丨tck2-tck1丨。2 and 3 , a first adjustment time is stored in the memory chip 20, and the first adjustment time is used to characterize the path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip 20, that is, the delay difference between the data selection signal Dqs2 and the clock signal ck2 transmitted from the DQ pad of the memory chip 20 to the internal comparator 201, that is, 丨tdqs2-tdqs1丨-丨tck2-tck1丨.
需要说明的是,参考图2和图3,对于上述提及的“DQ pad”,即存储芯片20用于接收数据选通信号Dqs和时钟信号ck的焊盘200。It should be noted that, referring to Figures 2 and 3, the "DQ pad" mentioned above is the pad 200 of the memory chip 20 for receiving the data selection signal Dqs and the clock signal ck.
对于上述提及的“时钟信号ck和数据选通信号Dqs在存储芯片内部的路径延时差”,参考图3,假设存储芯片20接收的时钟信号为ck1,存储芯片20接收的数据选通信号为Dqs1,ck1与Dqs1之间的时差为t1;存储芯片20中比较器接收的数据选通信号为Dqs2,比较器201接收的时钟信号为ck2;Dqs1传输至Dqs2的过程中,新增的延时的t2,ck1传输至ck2的过程中,新增的延时的t3,此时ck2与Dqs2之间的延时差为t1+丨t2-t3丨。Regarding the above-mentioned "path delay difference between the clock signal ck and the data selection signal Dqs inside the memory chip", refer to Figure 3, assuming that the clock signal received by the memory chip 20 is ck1, the data selection signal received by the memory chip 20 is Dqs1, and the time difference between ck1 and Dqs1 is t1; the data selection signal received by the comparator in the memory chip 20 is Dqs2, and the clock signal received by the comparator 201 is ck2; in the process of Dqs1 being transmitted to Dqs2, a new delay t2 is added, and in the process of ck1 being transmitted to ck2, a new delay t3 is added. At this time, the delay difference between ck2 and Dqs2 is t1+丨t2-t3丨.
通常来说,时钟信号ck从DQ pad传输至比较器201的传输延时大于数据选通信号Dqs从DQ pad传输至比较器201的传输延时,即t3>t2,因此通常会在数据选通信号Dqs的传输路径上设置延时单元202,以基于延时单元202平衡时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,从而使丨t2-t3丨=0,从而使得比较器201接收的时钟信号ck和数据选通信号为Dqs之间的延时与存储芯片20接收的时钟信号ck和数据选通信号为Dqs之间的延时相同,即比较器201对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐;而本实施例提供的写调平系统通过第一调节时间平衡时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,从而使丨t2-t3丨=0,从而使得DQ pad接收的时钟信号ck和数据选通信号Dqs直接对齐。Generally speaking, the transmission delay of the clock signal ck from the DQ pad to the comparator 201 is greater than the transmission delay of the data selection signal Dqs from the DQ pad to the comparator 201, that is, t3>t2. Therefore, a delay unit 202 is usually set on the transmission path of the data selection signal Dqs to balance the path delay difference between the clock signal ck and the data selection signal Dqs in the memory chip 20 based on the delay unit 202, so that 丨t2-t3丨=0, so that the clock signal ck received by the comparator 201 and the data selection signal Dqs are equal. The delay between the clock signal ck and the data enable signal Dqs is the same as the delay between the clock signal ck and the data enable signal Dqs received by the memory chip 20, that is, the data enable signal Dqs and the clock signal ck aligned by the comparator 201 are also aligned at the DQ pad; and the write leveling system provided in this embodiment balances the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20 through the first adjustment time, so that 丨t2-t3丨=0, thereby making the clock signal ck and the data enable signal Dqs received by the DQ pad directly aligned.
在一些实施例中,存储芯片内存储第一调节时间的获取方法,包括:获取存储芯片内数据选通信号和时钟信号的路径传输时差,基于路径传输时差和数据选通信号的周期获取第一调节时间。In some embodiments, a method for acquiring a first adjustment time stored in a memory chip includes: acquiring a path transmission time difference between a data selection signal and a clock signal in the memory chip, and acquiring the first adjustment time based on the path transmission time difference and a period of the data selection signal.
具体地,第一调节时间=(时钟信号ck和数据选通信号Dqs在存储芯片内部的路径传输时差)/数据选通信号Dqs的周期;其中,时钟信号ck和数据选通信号Dqs在存储芯片内部的路径差基于取消的延时单元获取,数据选通信号Dqs的周期基于存储器的参数获取,第一调节时间由设计人员基于时钟信号ck和数据选通信号Dqs的路径上的电路结构、走线布局等相关参数计算后直接存储在延时计时单元301中。Specifically, the first adjustment time = (path transmission time difference between the clock signal ck and the data enable signal Dqs inside the memory chip) / period of the data enable signal Dqs; wherein, the path difference between the clock signal ck and the data enable signal Dqs inside the memory chip is obtained based on the cancelled delay unit, and the period of the data enable signal Dqs is obtained based on the parameters of the memory, and the first adjustment time is calculated by the designer based on relevant parameters such as the circuit structure and wiring layout on the path of the clock signal ck and the data enable signal Dqs and is directly stored in the delay timing unit 301.
相应地,在一些实施例中,获取存储器对应的第一调节时间,包括:获取存储芯片内存储的第一调节时间。Accordingly, in some embodiments, obtaining the first adjustment time corresponding to the memory includes: obtaining the first adjustment time stored in the memory chip.
在一个例子中,第一调节时间基于存储芯片中的冗余寄存器设置,冗余寄存器即存储芯片中空置的寄存器,例如可以是空置的模式寄存器,通过存储芯片20中空置的模式寄存器存储第一调节时间,避免对存储芯片20的结构调整,以提高本实施例提供的写调平系统的适用性。In one example, the first adjustment time is set based on a redundant register in a memory chip, and the redundant register is an unused register in the memory chip, for example, an unused mode register. The first adjustment time is stored in the unused mode register in the memory chip 20 to avoid structural adjustments to the memory chip 20, so as to improve the applicability of the write leveling system provided in this embodiment.
在一些实施例中,获取存储芯片对应的第一调节时间,包括:基于存储器接收的模式存储器读命令(Mode Register Read,MRR)获取第一调节时间。由于存储芯片20在启动过程中本身就会执行MRR命令,复用该命令,通过MRR获取例如寄存在冗余的模式寄存器中 的第一调节时间,从而,第一调节时间基于MRR命令获取,使得控制器10获取第一调节时间无需设置额外动作。In some embodiments, obtaining the first adjustment time corresponding to the memory chip includes: obtaining the first adjustment time based on a mode register read command (Mode Register Read, MRR) received by the memory. Since the memory chip 20 itself executes the MRR command during the startup process, the command is reused, and the MRR is used to obtain, for example, the first adjustment time stored in a redundant mode register. The first adjustment time is thus obtained based on the MRR command, so that the controller 10 obtains the first adjustment time without setting additional actions.
步骤702,基于第一调节时间调整向存储芯片发送数据选通信号的发送时延。Step 702: adjusting a transmission delay of a data strobe signal to a memory chip based on a first adjustment time.
步骤703,持续调节数据选通信号的发送时延,直至存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐。Step 703, continuously adjusting the transmission delay of the data strobe signal until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal.
需要说明的是,上述说明中提及的“触发沿”,即有效沿,可以为上升沿,也可以为下降沿,具体为所属信号的实际有效沿。It should be noted that the “trigger edge” mentioned in the above description, that is, the effective edge, can be a rising edge or a falling edge, specifically, the actual effective edge of the corresponding signal.
第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,控制器10通过获取第一调节时间,并基于第一调节时间延时向存储芯片20发送数据选通信号Dqs,使得存储芯片的比较器处对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐,此时,存储芯片内比较器生成的标识信号可以表征时钟信号ck和数据选通信号dqs在DQ pad对齐,即存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad处对齐,使得写调平系统在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作,同时还避免了由于延时单元的设置,使得存储器在调平特性中引起的抖动。The first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20. The controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad. At this time, the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
参考图9,在一些实施例中,步骤703,包括:Referring to FIG. 9 , in some embodiments, step 703 includes:
步骤704,获取存储芯片反馈的标识信号。Step 704: Acquire an identification signal fed back by the storage chip.
具体地,存储芯片接收的时钟信号的触发沿和数据选通信号的触发沿对齐时,存储芯片向控制器反馈标识信号。Specifically, when the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal, the memory chip feeds back an identification signal to the controller.
更具体地,参考图5,控制器10,包括:多个级联的信号产生单元50,每一级信号产生单元50,包括:与逻辑电路501,第一输入端用于接收写调平使能信号,第二输入端用于接收时延标识信号,时延标识信号用于对不同工作频率的数据选通信号进行不同时延;或逻辑电路502,第一输入端连接与逻辑电路501的输出端,第一级信号产生单元501中或逻辑电路502的第二输入端用于接收数据选通信号Dqs;触发器503,输入端连接或逻辑电路502的输出端,输出端作为信号产生单元501的输出端,时钟端用于接收数据选通信号Dqs;非第一级信号产生单元501中或逻辑电路的第二输入端连接前一级信号产生单元中触发器的输出端,最后一级信号产生单元50中触发器的输出端作为控制器10的输出端,用于输出延迟后的数据选通信号dqs。More specifically, referring to Figure 5, the controller 10 includes: a plurality of cascaded signal generating units 50, each level of the signal generating unit 50 includes: an AND logic circuit 501, a first input end for receiving a write leveling enable signal, a second input end for receiving a delay identification signal, the delay identification signal being used to perform different delays on data selection signals of different operating frequencies; an OR logic circuit 502, a first input end connected to the output end of the AND logic circuit 501, a second input end of the OR logic circuit 502 in the first-level signal generating unit 501 is used to receive a data selection signal Dqs; a trigger 503, an input end connected to the output end of the OR logic circuit 502, an output end serving as the output end of the signal generating unit 501, and a clock end serving as the data selection signal Dqs; a second input end of the OR logic circuit in the non-first-level signal generating unit 501 is connected to the output end of the trigger in the previous-level signal generating unit, and the output end of the trigger in the last-level signal generating unit 50 serves as the output end of the controller 10, for outputting a delayed data selection signal dqs.
具体地,每一级信号产生单元50接收的时延标识信号不同,在图5示例中,级联的信号产生单元50接收的时延标识信号分别为A~N,每一时延标识信号对应的时间延时不同,在一些实施例中,时延标识信号分别为A~N即第一调节时间在不同频率下的延时周期数,假设时延标识信号A对应的时间延时为tA,时间标识信号B对应的时间延时为tB……时间标识信号N对应的时间延时为tN;此时提供不同的时延标识信号,或不同的时延标识信号组合,从而实现对数据选通信号Dqs的不同延时,从而实现存储器的Write-leveling操作。Specifically, each level of signal generating unit 50 receives a different delay identification signal. In the example of FIG5 , the delay identification signals received by the cascaded signal generating units 50 are A to N, respectively. Each delay identification signal corresponds to a different time delay. In some embodiments, the delay identification signals are A to N, namely, the number of delay cycles of the first adjustment time at different frequencies. Assume that the time delay corresponding to the delay identification signal A is tA, the time delay corresponding to the time identification signal B is tB, and the time delay corresponding to the time identification signal N is tN. At this time, different delay identification signals or different combinations of delay identification signals are provided to achieve different delays for the data selection signal Dqs, thereby achieving the Write-leveling operation of the memory.
存储芯片20的比较器201接收的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时(即DQ pad接收的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时),存储芯片向控制器10反馈标识信号;需要说明的是,在本实施例中,写调平操作不分为芯片外部对齐和芯片内部对齐,由于控制器10基于第一调节时间发送数据选通信号dqs,使得存储芯片获取的时钟信号ck和数据选通信号dqs片内路径延时一致,标识信号可以直接设置为表征时钟信号ck和数据选通信号dqs在DQ pad对齐,此时存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad对齐。 When the trigger edge of the clock signal ck received by the comparator 201 of the memory chip 20 is aligned with the trigger edge of the data selection signal dqs (that is, when the trigger edge of the clock signal ck received by the DQ pad is aligned with the trigger edge of the data selection signal dqs), the memory chip feeds back an identification signal to the controller 10; it should be noted that, in the present embodiment, the write leveling operation is not divided into chip external alignment and chip internal alignment. Since the controller 10 sends the data selection signal dqs based on the first adjustment time, the clock signal ck and the data selection signal dqs obtained by the memory chip have the same intra-chip path delay, and the identification signal can be directly set to represent that the clock signal ck and the data selection signal dqs are aligned at the DQ pad. At this time, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data selection signal dqs at the DQ pad.
需要说明的是,持续调节数据选通信号Dqs的发送时延可以设置为:设置step(步进值),然后基于设置的步进值,逐渐增加数据选通信号Dqs的发送时延,直至获取存储芯片20反馈的标识信号,其中,标识信号用于表示比较器201出接收到的时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐。It should be noted that the continuous adjustment of the transmission delay of the data selection signal Dqs can be set as follows: setting a step (step value), and then gradually increasing the transmission delay of the data selection signal Dqs based on the set step value until the identification signal fed back by the memory chip 20 is obtained, wherein the identification signal is used to indicate that the trigger edge of the clock signal ck received by the comparator 201 is aligned with the trigger edge of the data selection signal dqs.
对于标识信号,标识信号即存储芯片20内部的比较器201生成,比较器201接收数据选通信号dqs和时钟信号ck,用于比较数据选通信号dqs和时钟信号ck是否对齐,没对齐生成的标识信号为“0”,由于步进扫描,当标识信号产生从“0”到“1”的跳变时,则表示数据选通信号dqs和时钟信号ck对齐。As for the identification signal, the identification signal is generated by the comparator 201 inside the memory chip 20. The comparator 201 receives the data selection signal dqs and the clock signal ck, and is used to compare whether the data selection signal dqs and the clock signal ck are aligned. If they are not aligned, the generated identification signal is "0". Due to the step scan, when the identification signal jumps from "0" to "1", it indicates that the data selection signal dqs and the clock signal ck are aligned.
另外,控制器10基于标识信号获取对应于存储芯片20的第二调节时间,第二调节时间用于表征时钟信号ck的触发沿和数据选通信号dqs的触发沿对齐时,控制器10对数据选通信号dqs的发送时延;控制器10基于第二调节时间向存储芯片发送数据选通信号dqs。具体地,控制器10基于标识信号获取对应于存储芯片20的第二调节时间,包括:当控制器10接收到标识信号,基于当前数据选通信号dqs的发送时延,获取对应于存储芯片的第二调节时间。在一个例子中,控制器基于表示信号获取对应于存储芯片20的当前步进值,并基于当前步进值和第一调节时间获取第二调节时间,其中,第二调节时间=当前步进值+第一调节时间。In addition, the controller 10 obtains a second adjustment time corresponding to the memory chip 20 based on the identification signal, and the second adjustment time is used to characterize the transmission delay of the data selection signal dqs by the controller 10 when the trigger edge of the clock signal ck and the trigger edge of the data selection signal dqs are aligned; the controller 10 sends the data selection signal dqs to the memory chip based on the second adjustment time. Specifically, the controller 10 obtains the second adjustment time corresponding to the memory chip 20 based on the identification signal, including: when the controller 10 receives the identification signal, based on the transmission delay of the current data selection signal dqs, obtains the second adjustment time corresponding to the memory chip. In one example, the controller obtains the current step value corresponding to the memory chip 20 based on the indication signal, and obtains the second adjustment time based on the current step value and the first adjustment time, wherein the second adjustment time = current step value + first adjustment time.
当标识信号完成从“0”的“1”的跳变,表示存储器Write-leveling操作执行完成,对于上述提及的“接收的标识信号”,即接收到结果为“1”的标识信号。When the identification signal completes the transition from "0" to "1", it indicates that the memory Write-leveling operation is completed. The "received identification signal" mentioned above means that the identification signal with the result of "1" is received.
步骤705,基于标识信号获取对应于存储芯片的第二调节时间。Step 705: Acquire a second adjustment time corresponding to the memory chip based on the identification signal.
具体地,第二调节时间用于表征时钟信号的触发沿和数据选通信号的触发沿对齐时,数据选通信号的发送时延。Specifically, the second adjustment time is used to characterize the transmission delay of the data strobe signal when the trigger edge of the clock signal and the trigger edge of the data strobe signal are aligned.
步骤706,基于第二调节时间向存储芯片发送数据选通信号。Step 706: Send a data strobe signal to the memory chip based on the second adjustment time.
控制器基于第二调节时间向存储芯片发送数据选通信号即存储控制器锁定数据选通信号Dqs的延迟设置,后续存储器基于第二调节时间向存储芯片发送数据选通信号,使得存储芯片接收的时钟信号和数据选通信号在存储芯片的DQ pad对齐。The controller sends a data enable signal to the memory chip based on the second adjustment time, that is, the memory controller locks the delay setting of the data enable signal Dqs, and the subsequent memory sends a data enable signal to the memory chip based on the second adjustment time, so that the clock signal and the data enable signal received by the memory chip are aligned at the DQ pad of the memory chip.
需要说明的是,上文提及的获取第二调节时间的过程,可以是芯片上电时的Write-leveling操作,后续芯片在工作过程中也可以进行新的Write-leveling,以重新获取第二调节时间进行重新锁定。It should be noted that the process of obtaining the second adjustment time mentioned above can be a Write-leveling operation when the chip is powered on, and the chip can also perform a new Write-leveling during the subsequent operation to re-obtain the second adjustment time for re-locking.
第一调节时间用于表征时钟信号ck和数据选通信号Dqs在存储芯片20内部的路径延时差,控制器10通过获取第一调节时间,并基于第一调节时间延时向存储芯片20发送数据选通信号Dqs,使得存储芯片的比较器处对齐的数据选通信号Dqs和时钟信号ck,在DQ pad处也对齐,此时,存储芯片内比较器生成的标识信号可以表征时钟信号ck和数据选通信号dqs在DQ pad对齐,即存储器的Write-leveling操作的执行结果可直接使得时钟信号ck和数据选通信号dqs在DQ pad处对齐,使得写调平系统在去掉数据选通信号Dqs的传输路径上设置延迟单元的基础上,简化存储器的写入均衡操作,同时还避免了由于延时单元的设置,使得存储器在调平特性中引起的抖动。The first adjustment time is used to characterize the path delay difference between the clock signal ck and the data enable signal Dqs inside the memory chip 20. The controller 10 obtains the first adjustment time and sends the data enable signal Dqs to the memory chip 20 based on the first adjustment time delay, so that the data enable signal Dqs and the clock signal ck aligned at the comparator of the memory chip are also aligned at the DQ pad. At this time, the identification signal generated by the comparator in the memory chip can characterize the alignment of the clock signal ck and the data enable signal dqs at the DQ pad, that is, the execution result of the Write-leveling operation of the memory can directly align the clock signal ck and the data enable signal dqs at the DQ pad, so that the write leveling system simplifies the write equalization operation of the memory on the basis of removing the delay unit set on the transmission path of the data enable signal Dqs, and at the same time avoids the jitter caused in the leveling characteristics of the memory due to the setting of the delay unit.
需要说明的是,上述实施例所提供的写调平方法中所揭露的特征,在不冲突的情况下可以任意组合,可以得到新的写调平方法实施例。It should be noted that the features disclosed in the write-leveling method provided in the above embodiments can be arbitrarily combined without conflict to obtain a new write-leveling method embodiment.
本领域的普通技术人员可以理解,上述各实施例是实现本公开的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本公开的精神和范围。 Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present disclosure, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present disclosure.

Claims (14)

  1. 一种写调平系统,其特征在于,包括:控制器(10)和存储芯片(20);A write leveling system, characterized by comprising: a controller (10) and a storage chip (20);
    所述控制器(10)用于向所述存储芯片(20)提供时钟信号和数据选通信号;The controller (10) is used to provide a clock signal and a data strobe signal to the memory chip (20);
    所述存储芯片(20)中存储有第一调节时间,所述第一调节时间用于表征所述时钟信号和所述数据选通信号在所述存储芯片内部的路径延时差;The memory chip (20) stores a first adjustment time, the first adjustment time being used to characterize a path delay difference between the clock signal and the data strobe signal inside the memory chip;
    所述控制器(10)基于所述第一调节时间调整向所述存储芯片(20)发送所述数据选通信号的发送时延,并持续调节所述发送时延,直至所述存储芯片(20)接收的所述时钟信号的触发沿和所述数据选通信号的触发沿对齐。The controller (10) adjusts the transmission delay of the data strobe signal to the memory chip (20) based on the first adjustment time, and continues to adjust the transmission delay until the trigger edge of the clock signal received by the memory chip (20) is aligned with the trigger edge of the data strobe signal.
  2. 根据权利要求1所述的写调平系统,其特征在于,还包括:The write leveling system according to claim 1, further comprising:
    所述存储芯片(20)接收的所述时钟信号的触发沿和所述数据选通信号的触发沿对齐时,所述存储芯片(20)向所述控制器(10)反馈标识信号;When the trigger edge of the clock signal received by the memory chip (20) is aligned with the trigger edge of the data strobe signal, the memory chip (20) feeds back an identification signal to the controller (10);
    所述控制器(10)基于所述标识信号获取对应于所述存储芯片(20)的第二调节时间,所述第二调节时间用于表征所述时钟信号的触发沿和所述数据选通信号的触发沿对齐时,所述控制器(10)对所述数据选通信号的发送时延;The controller (10) acquires a second adjustment time corresponding to the memory chip (20) based on the identification signal, wherein the second adjustment time is used to characterize a transmission delay of the data strobe signal by the controller (10) when a trigger edge of the clock signal and a trigger edge of the data strobe signal are aligned;
    所述控制器(10)基于所述第二调节时间向所述存储芯片(20)发送所述数据选通信号。The controller (10) sends the data strobe signal to the memory chip (20) based on the second adjustment time.
  3. 根据权利要求2所述的写调平系统,其特征在于,所述控制器(10)基于所述标识信号获取对应于所述存储芯片(20)的第二调节时间,包括:当所述控制器(10)接收到所述标识信号,基于当前所述数据选通信号的发送时延,获取对应于所述存储芯片(20)的所述第二调节时间。The write leveling system according to claim 2 is characterized in that the controller (10) obtains the second adjustment time corresponding to the memory chip (20) based on the identification signal, including: when the controller (10) receives the identification signal, based on the current transmission delay of the data selection signal, obtaining the second adjustment time corresponding to the memory chip (20).
  4. 根据权利要求1~3任一项所述的写调平系统,其特征在于,所述控制器(10)基于所述第一调节时间调整向对应的所述存储芯片(20)发送所述数据选通信号的发送时延,并持续调节所述发送时延,包括:The write leveling system according to any one of claims 1 to 3, characterized in that the controller (10) adjusts the transmission delay of the data strobe signal to the corresponding memory chip (20) based on the first adjustment time, and continuously adjusts the transmission delay, comprising:
    所述控制器(10)获取所述存储芯片(20)中存储的所述第一调节时间;The controller (10) acquires the first adjustment time stored in the storage chip (20);
    所述控制器(10)基于所述第一调节时间调整向所述存储芯片(20)发送所述数据选通信号的发送时延;The controller (10) adjusts the transmission delay of the data strobe signal to the memory chip (20) based on the first adjustment time;
    所述控制器(10)持续调节所述数据选通信号的发送时延。The controller (10) continuously adjusts the transmission delay of the data strobe signal.
  5. 根据权利要求1~4任一项所述的写调平系统,其特征在于,包括:The writing leveling system according to any one of claims 1 to 4, characterized in that it comprises:
    所述存储芯片(20)包括:延时计时单元,用于存储所述第一调节时间;The storage chip (20) comprises: a delay timing unit, used for storing the first adjustment time;
    所述控制器(10)获取所述存储芯片(20)中存储的所述第一调节时间,包括:The controller (10) acquires the first adjustment time stored in the storage chip (20), comprising:
    所述控制器(10)连接所述存储芯片(20)中的所述延时计时单元(201),并获取所述延时计时单元(202)中存储的所述第一调节时间。The controller (10) is connected to the delay timing unit (201) in the storage chip (20), and obtains the first adjustment time stored in the delay timing unit (202).
  6. 根据权利要求5所述的写调平系统,其特征在于,所述延时计时单元(201)基于所述存储芯片中的冗余寄存器设置。The write leveling system according to claim 5, characterized in that the delay timing unit (201) is set based on a redundant register in the memory chip.
  7. 根据权利要求1~6任一项所述的写调平系统,其特征在于,所述控制器(10)基于模式寄存器读命令获取所述第一调节时间。The write leveling system according to any one of claims 1 to 6, characterized in that the controller (10) obtains the first adjustment time based on a mode register read command.
  8. 根据权利要求5所述的写调平系统,其特征在于,所述延时计时单元(201),包括:The write leveling system according to claim 5, characterized in that the delay timing unit (201) comprises:
    第一处理单元(401),被配置为,用于获取存储芯片(20)内的所述数据选通信号和所 述时钟信号的路径传输时差;The first processing unit (401) is configured to obtain the data strobe signal and the The path transmission time difference of the clock signal;
    第二处理单元(402),连接所述第一处理单元(401),被配置为,基于所述路径传输时差和所述数据选通信号的周期获取所述第一调节时间。The second processing unit (402) is connected to the first processing unit (401) and is configured to obtain the first adjustment time based on the path transmission time difference and the period of the data selection signal.
  9. 根据权利要求1~8任一项所述的写调平系统,其特征在于,所述控制器(10),包括:The write leveling system according to any one of claims 1 to 8, characterized in that the controller (10) comprises:
    多个级联的信号产生单元(50),每一级信号产生单元(50),包括:A plurality of cascaded signal generating units (50), each level of signal generating unit (50) comprising:
    与逻辑电路(501),第一输入端用于接收写调平使能信号,第二输入端用于接收时延标识信号,所述时延标识信号用于对所述数据选通信号进行不同时延;An AND logic circuit (501), wherein a first input terminal is used to receive a write leveling enable signal, and a second input terminal is used to receive a delay identification signal, wherein the delay identification signal is used to perform different delays on the data strobe signal;
    或逻辑电路(502),第一输入端连接所述与逻辑电路的输出端,第一级所述信号产生单元中所述或逻辑电路的第二输入端用于接收所述数据选通信号;An OR logic circuit (502), a first input terminal of which is connected to the output terminal of the AND logic circuit, and a second input terminal of the OR logic circuit in the first-stage signal generating unit is used to receive the data selection signal;
    触发器(503),输入端连接所述或逻辑电路的输出端,输出端作为所述信号产生单元的输出端,时钟端用于接收所述数据选通信号;A trigger (503), the input end of which is connected to the output end of the OR logic circuit, the output end of which serves as the output end of the signal generating unit, and the clock end of which is used to receive the data selection signal;
    非第一级所述信号产生单元(50)中所述或逻辑电路(502)的第二输入端连接前一级所述信号产生单元(50)中所述触发器(503)的输出端,最后一级所述信号产生单元(50)中所述触发器(503)的输出端用于输出延迟后的所述数据选通信号。The second input end of the OR logic circuit (502) in the non-first-stage signal generating unit (50) is connected to the output end of the trigger (503) in the previous-stage signal generating unit (50), and the output end of the trigger (503) in the last-stage signal generating unit (50) is used to output the delayed data selection signal.
  10. 一种写调平方法,应用于权利要求1~9任一项所述的写调平系统,其特征在于,包括:A write leveling method, applied to the write leveling system according to any one of claims 1 to 9, characterized in that it comprises:
    获取存储芯片对应的第一调节时间,所述第一调节时间用于表征时钟信号和数据选通信号在所述存储芯片内部的路径延时差;Acquire a first adjustment time corresponding to the memory chip, where the first adjustment time is used to characterize a path delay difference between a clock signal and a data strobe signal inside the memory chip;
    基于所述第一调节时间调整向存储芯片发送所述数据选通信号的发送时延,并持续调节所述发送时延,直至所述存储芯片接收的所述时钟信号的触发沿和所述数据选通信号的触发沿对齐。The transmission delay of the data strobe signal to the memory chip is adjusted based on the first adjustment time, and the transmission delay is continuously adjusted until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal.
  11. 根据权利要求10所述的写调平方法,其特征在于,所述持续调节所述发送时延,直至所述存储芯片接收的所述时钟信号的触发沿和所述数据选通信号的触发沿对齐,包括:The write leveling method according to claim 10, characterized in that the continuously adjusting the sending delay until the trigger edge of the clock signal received by the memory chip is aligned with the trigger edge of the data strobe signal comprises:
    获取所述存储芯片反馈的标识信号,其中,所述存储芯片接收的所述时钟信号的触发沿和所述数据选通信号的触发沿对齐时,所述存储芯片向所述控制器反馈所述标识信号;Acquire an identification signal fed back by the memory chip, wherein when a trigger edge of the clock signal received by the memory chip is aligned with a trigger edge of the data strobe signal, the memory chip feeds back the identification signal to the controller;
    基于所述标识信号获取对应于所述存储芯片的第二调节时间,所述第二调节时间用于表征所述时钟信号的触发沿和所述数据选通信号的触发沿对齐时,所述数据选通信号的发送时延;Acquire a second adjustment time corresponding to the memory chip based on the identification signal, wherein the second adjustment time is used to characterize a transmission delay of the data strobe signal when a trigger edge of the clock signal and a trigger edge of the data strobe signal are aligned;
    基于所述第二调节时间向所述存储芯片发送所述数据选通信号。The data strobe signal is sent to the memory chip based on the second adjustment time.
  12. 根据权利要求10或11所述的写调平方法,其特征在于,所述获取存储芯片对应的第一调节时间,包括:基于存储器接收的模式寄存器读命令获取所述第一调节时间。The write leveling method according to claim 10 or 11 is characterized in that obtaining the first adjustment time corresponding to the memory chip comprises: obtaining the first adjustment time based on a mode register read command received by the memory.
  13. 根据权利要求10或11所述的写调平方法,其特征在于,所述获取存储芯片对应的第一调节时间,包括:获取所述存储芯片内存储的所述第一调节时间。The write leveling method according to claim 10 or 11 is characterized in that obtaining the first adjustment time corresponding to the storage chip includes: obtaining the first adjustment time stored in the storage chip.
  14. 根据权利要求13所述的写调整方法,其特征在于,所述存储芯片内存储所述第一调节时间的获取方法,包括:The write adjustment method according to claim 13, characterized in that the method for acquiring the first adjustment time stored in the storage chip comprises:
    获取所述存储芯片内所述数据选通信号和所述时钟信号的路径传输时差;Acquire the path transmission time difference between the data strobe signal and the clock signal in the memory chip;
    基于所述路径传输时差和所述数据选通信号的周期获取所述第一调节时间。 The first adjustment time is acquired based on the path transmission time difference and the period of the data strobe signal.
PCT/CN2023/077267 2023-01-12 2023-02-20 Write-leveling system and write-leveling method WO2024148657A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202310068043.2 2023-01-12
CN202310068043.2A CN118366514A (en) 2023-01-12 2023-01-12 Write leveling system and write leveling method

Publications (1)

Publication Number Publication Date
WO2024148657A1 true WO2024148657A1 (en) 2024-07-18

Family

ID=91877108

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/077267 WO2024148657A1 (en) 2023-01-12 2023-02-20 Write-leveling system and write-leveling method

Country Status (2)

Country Link
CN (1) CN118366514A (en)
WO (1) WO2024148657A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050276151A1 (en) * 2004-06-14 2005-12-15 White Theodore C Integrated memory controller
CN1851821A (en) * 2005-04-23 2006-10-25 英飞凌科技股份公司 Semiconductor memory and method for adjustment phase relation between clock signal and strobe signal
CN109582591A (en) * 2018-10-12 2019-04-05 深圳市紫光同创电子有限公司 DDR controller write equilibrium method and device, system, storage computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050276151A1 (en) * 2004-06-14 2005-12-15 White Theodore C Integrated memory controller
CN1851821A (en) * 2005-04-23 2006-10-25 英飞凌科技股份公司 Semiconductor memory and method for adjustment phase relation between clock signal and strobe signal
CN109582591A (en) * 2018-10-12 2019-04-05 深圳市紫光同创电子有限公司 DDR controller write equilibrium method and device, system, storage computer

Also Published As

Publication number Publication date
CN118366514A (en) 2024-07-19

Similar Documents

Publication Publication Date Title
US7404018B2 (en) Read latency control circuit
US7816941B2 (en) Circuit and method for controlling termination impedance
US10360959B2 (en) Adjusting instruction delays to the latch path in DDR5 DRAM
US7027336B2 (en) Semiconductor memory device for controlling output timing of data depending on frequency variation
US7065001B2 (en) Method and apparatus for initialization of read latency tracking circuit in high-speed DRAM
US6333893B1 (en) Method and apparatus for crossing clock domain boundaries
US8411521B2 (en) System and method for controlling timing of output signals
KR20200083641A (en) Apparatus and method comprising memory instructions for semiconductor memory
US7230864B2 (en) Circuit for generating data strobe signal of semiconductor memory device
US10270445B2 (en) Half-frequency command path
US11748035B2 (en) Command address input buffer bias current reduction
US11348633B2 (en) Selectively controlling clock transmission to a data (DQ) system
JP4079507B2 (en) Memory control system and memory control method
US7181638B2 (en) Method and apparatus for skewing data with respect to command on a DDR interface
US10777242B2 (en) Semiconductor device and semiconductor system including the semiconductor device for aligning an internal data strobe signal using an offset code
JP2002358782A (en) Semiconductor memory
WO2024148657A1 (en) Write-leveling system and write-leveling method
US20190267058A1 (en) Semiconductor device, semiconductor system including the semiconductor device, and method of operating the semiconductor device and system
US8429438B2 (en) Method and apparatus for transferring data between asynchronous clock domains
US11705896B2 (en) Apparatuses and methods for delay measurement initialization
US11302386B2 (en) Distributed bias generation for an input buffer

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23915426

Country of ref document: EP

Kind code of ref document: A1