Computing system performing duty cycle regulator training and duty cycle regulator training method thereof
Through the multi-stage DCA training operation, the duty cycle of the internal clock signal of the memory device is adjusted, which solves the time delay and application failure problems caused by DCA training in the existing technology, and improves the signal integrity and read tolerance of the data signal.
Patent Information
- Application Number
- CN202410196078.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-06-12
- Filing Date
- 2024-02-22
- Publication Date
- 2024-09-24
AI Technical Summary
Existing technologies that use duty cycle adjuster (DCA) training may cause time delays or application failures when command even gaps are not observed, and it is difficult to effectively adjust the internal clock of the memory device to improve the signal integrity of the data signal.
By performing a multi-stage DCA training operation, DCA codes corresponding to internal clock signals with different phase differences are selected, and the duty cycle of the internal clock signal of the memory device is adjusted to improve the eye window size and signal integrity of the data signal. The specific method includes selecting an internal clock signal with a phase difference of 180° in the first training operation, selecting internal clock signals with a phase difference of 90° and 270° in the second training operation, and generating a score by measuring the eye window size to determine the optimal DCA. code.
It realizes efficient adjustment of the internal clock signal duty cycle in the memory device, improves the read tolerance and signal integrity of the data signal, avoids the problems of time delay and application failure, and ensures the effectiveness of DCA training.
Smart Images

Figure CN118690190A_ABST
Abstract
Description
Technical Field
[0001] Various example embodiments described herein relate to a semiconductor memory device, and more particularly, to a computing system including a memory device trained by adjusting a duty cycle adjuster (DCA) code and / or a DCA training method thereof. Background Art
[0002] Recently, various mobile devices and / or other electronic devices, such as smart phones, desktop computers, laptop computers, tablet PCs, and wearable devices, are widely used. These electronic devices generally include semiconductor memory devices for storing data. As an example of a semiconductor memory device, a dynamic random access memory DRAM device, which is a volatile memory, stores data by storing charges in a capacitor.
[0003] As the input / output speed of memory devices increases, the signal integrity (SI) characteristics of high-speed input data signals (DQ) are relatively degraded. One method to solve or improve the signal integrity problem is to use a duty cycle adjuster (DCA) training method. Through DCA training, the read margin of the data signal DQ and / or the data selection signal DQS can be increased by adjusting the internal clock of the memory device using a DCA code.
[0004] However, in order to set a good or optimal duty cycle through such DCA training, too much time delay may occur.Alternatively or additionally, the application of the DCA code may fail when no command even gaps are observed. Summary of the invention
[0005] Various example embodiments provide a memory device, a computing system, and / or a DCA training method thereof, to which DCA training capable of providing a high read margin may be applied.
[0006] According to various example embodiments, a training method of a memory device that adjusts an eye window of a data signal in response to a duty cycle adjuster (DCA) code includes performing a first training operation that selects a first DCA code corresponding to a first internal clock signal having a phase difference of 180° with respect to a reference internal clock signal, and performing a second training operation that selects a second DCA code and a third DCA code corresponding to a second internal clock signal and a third internal clock signal, respectively, having phase differences of 90° and 270° with respect to the reference internal clock signal. In the first training operation, the eye window size of the data signal is measured in units of two unit intervals, and in the second training operation, the eye window size of the data signal is measured in units of one unit interval.
[0007] Alternatively or additionally, according to various example embodiments, a computing system configured to adjust the duty cycle of four mutually orthogonal internal clock signals by a duty cycle adjuster (DCA) code includes: a memory device configured to generate a data signal or a data strobe signal having a changed duty cycle in response to a code value of the DCA code, and a memory controller configured to perform a first training operation, the first training selecting a first DCA code corresponding to a first internal clock signal, the first internal clock signal having a phase difference of 180° relative to a reference internal clock signal, and performing a second training operation, the second training operation selecting a second DCA code and a third DCA code corresponding to a second internal clock signal and a third internal clock signal, respectively, the second internal clock signal and the third internal clock signal having a phase difference of 90° and 270° relative to the reference internal clock signal. The memory controller is configured to generate a score by measuring an eye window size in units of two unit intervals of a data signal output from the memory device during the first DCA training.
[0008] Alternatively or additionally, according to various example embodiments, a training method for a memory device for adjusting characteristics of a data signal and / or a data strobe signal by receiving a duty cycle regulator DCA code includes: performing a first training of writing a code to select a first DCA code corresponding to a first internal clock signal IBCLK and selecting a code by measuring an eye window size of an output data signal. And performing a second training of writing a combination code to select a combination code of a second DCA code and a third DCA code corresponding to a second internal clock signal QCLK and a third internal clock signal QBCLK, respectively, and measuring an eye window size of an output data signal. In the first training, the eye window size of the data signal is measured in units of two unit intervals. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other objects and features will become apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings.
[0010] Figure 1 is a block diagram showing the structure of a memory system according to various example embodiments.
[0011] Figure 2 Yes Description Figure 1 A block diagram of a memory device.
[0012] Figure 3 is a timing diagram exemplarily showing a change in the duty ratio of a data strobe signal adjusted according to a DCA code.
[0013] Figure 4 is a flow chart showing a DCA training method according to an embodiment of the present invention.
[0014] Figure 5 is shown in more detail Figure 3 Flow chart of operation S120.
[0015] Figure 6 is a diagram illustrating operations occurring between a memory controller and a memory device in selecting an optimal or good DCA code for a third internal clock signal IBCLK.
[0016] Figure 7 is a timing diagram exemplarily illustrating a change of a data signal DQ according to adjustment of a third internal clock signal IBC LK according to some example embodiments.
[0017] Figure 8 is a diagram illustrating a method of measuring an eye window size according to a D CA scan of a third internal clock signal IBCLK according to various example embodiments.
[0018] Fig. 9 is a diagram illustrating an example of a method of generating a score for each DCA code according to a DCA scan of a third internal clock signal IBCLK.
[0019] Fig.10 is shown in more detail Figure 3 Flow chart of operation S130.
[0020] Fig.11 is a diagram illustrating operations occurring between a memory controller and a memory device in selecting an optimal or good DCA code for a second internal clock signal QCLK and a fourth internal clock signal QBCLK.
[0021] Fig.12is a timing diagram exemplarily illustrating a change of a data signal DQ according to adjustments of a second internal clock signal Q CLK and a fourth internal clock signal QBCLK according to some example embodiments.
[0022] Fig.13A and Fig. 13B : is a table showing a method of generating a score for each DCA code according to a DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0023] Fig.14 is a block diagram illustrating a computing system according to some example embodiments.
[0024] Fig.15 is a block diagram illustrating a mobile system according to some example embodiments.
[0025] Fig.16 is a cross-sectional diagram of a memory system according to some example embodiments. DETAILED DESCRIPTION
[0026] It should be understood that both the foregoing general description and the following detailed description are merely examples and should be considered to provide additional description. Reference numerals are indicated in detail in various embodiments, examples of which are indicated in the reference drawings. Wherever possible, the same reference numerals are used in the specification and drawings to refer to the same or similar parts.
[0027] Hereinafter, DRAM will be used as an example of a semiconductor memory device to explain the features and / or functions of various inventive concepts. However, based on the teachings herein, those of ordinary skill in the art will readily understand other advantages and capabilities of the example embodiments. The example embodiments may be implemented or applied through other embodiments. In addition, the detailed description may be modified and / or changed according to viewpoints and applications without significantly departing from the scope, spirit, and other purposes of the inventive concept.
[0028] Figure 1 is a block diagram showing the structure of a memory system according to various example embodiments. Figure 1 , the memory system 1000 includes a memory controller 1100 and a memory device 1300. The memory controller 1100 performs duty cycle regulator DCA training of the memory device 1300 to adjust the duty cycle (or duty ratio) of the data signal DQ or the data strobe signal DQS. The DCA training can be applied, for example, when booting and / or initializing the memory system 1000, but the application time of the DCA training is not limited to the disclosure herein.
[0029] The memory controller 1100 may perform access operations of writing data to the memory device 1300 and / or reading data stored in the memory device 1300. The memory controller 1100 may generate clock signals CKt and CKc, commands CMD, and addresses ADDR for writing data to the memory device 1300 and / or for reading data stored in the memory device 1300. The memory controller 1100 may be at least one of a chipset for controlling the memory device 1300, a system on chip SoC such as a mobile application processor AP, a CPU, and a GPU.
[0030] In particular, the memory controller 1100 may adjust the duty cycle of the data signal DQ and / or the data strobe signal DQS output from the memory device 1300 through DCA training. The memory device 1300 generates a four-phase internal clock (e.g., ICLK, QCLK, IBCLK, and QBCLK), whose duty cycle is adjusted according to the DCA code. The size of the eye window of the data strobe signal DQS and the data signal DQ of the memory device 1300 is adjusted by adjusting the duty cycle of the four-phase internal clocks ICLK, QCLK, IBCLK, and QBCLK. For example, the memory controller 1100 may adjust the duty cycle of the internal clocks ICLK, QCLK, IBCLK, and QBCLK of the memory device 1300 by adjusting the DCA code. In some example embodiments, the signal integrity (SI) characteristics of the data strobe signal DQS and the data signal DQ output from the memory device 1300 may be adjusted. Adjustment of the duty cycle of the four-phase internal clocks ICLK, QCLK, IBCLK, and QBCLK may be a factor in determining the eye window size and / or signal integrity of the data signal DQ.
[0031] The memory controller 1100 can adjust the duty cycle of each phase with high precision by sequentially adjusting the internal clock signals ICLK, QCLK, IBCLK, and QBCLK via DCA training of the memory device 1300. Alternatively or additionally, when the internal clock signal (e.g., IBCLK) is first trained, the eye window size of two unit intervals (hereinafter referred to as UI) of the data signal DQ to be output is measured. The score of each DCA code can be generated based on the measured eye window size. The duty cycle of the internal clock IBCLK is determined by selecting the DCA code corresponding to the maximum value in the generated scores. Therefore, even if the command even gap in which the order of the even / odd unit intervals is important is not observed, there is no possibility or a limited possibility that the DCA codes between phases are mixed. Alternatively or additionally, the memory controller 1100 uses a random training mode to implement DCA training in an environment closer to a highly actual use environment.
[0032] The memory device 1300 may perform DCA training according to a DCA code written by the memory controller 1100. The memory device 1300 generates a 4-phase internal clock 4P_CLK, whose duty cycle is adjusted according to the DCA code written by the memory controller 1100. The 4-phase internal clock 4P_CLK may be an internal clock signal ICLK, QCLK, IBCLK, and QBCLK, each having a 90° phase difference. In some example embodiments, one internal clock signal (e.g., ICLK) may have a fixed duty cycle. Additionally or alternatively, the DCA code may be used to adjust the duty cycle of the remaining three internal clock signals (e.g., QCLK, IBCLK, QBCLK). For these features, the memory device 1300 may include a duty cycle regulator 1350, a clock generator circuit 1360, and an input / output circuit 1370.
[0033] The duty cycle regulator 1350 generates a 4-phase internal clock signal 4P_CLK, whose duty cycle is adjusted according to the DCA code written by the memory controller 1100. The 4-phase internal clock signal 4P_CLK can be generated based on the clock signals CKt and CKc and / or based on the write clock signals WCKt and WCKc provided from the memory controller 1100. Generally, the first internal clock signal ICLK can be a fixed internal clock signal, and its duty cycle is not adjusted by the DCA code. On the other hand, the second internal clock signal QCLK has a phase difference of 90° with the first internal clock signal ICLK or relative to the first internal clock signal ICLK, the third internal clock signal IBCLK has a phase difference of 180° with the first internal clock signal ICLK or relative to the first internal clock signal ICLK, and the fourth internal clock signal QBCLK has a phase difference of 270° with the first internal clock signal ICLK. The duty cycle regulator 1350 can adjust the duty cycles of the second internal clock signal to the fourth internal clock signal according to the written DCA code.
[0034] The clock generator circuit 1360 generates a clock signal and / or a data strobe signal DQS according to the 4-phase internal clock 4P_CLK provided from the duty cycle adjuster 1350. The clock generator circuit 1360 may increase and / or decrease an even clock duty cycle of the data strobe signal DQS according to the second internal clock QCLK having an increased or decreased duty cycle. Similarly, the clock generator circuit 1360 may increase and / or decrease an even clock duty cycle or an odd clock duty cycle of the data strobe signal DQS according to the third internal clock IBCLK or the fourth internal clock QBCLK having an increased or decreased duty cycle.
[0035] The input / output circuit 1370 outputs the read data Dout as the data signal DQ by using the clock signal or the data strobe signal DQS provided from the clock generator circuit 1360. The data signal DQ is transmitted to the memory controller 1100 in synchronization with the data strobe signal DQS generated by the clock generator circuit 1360.
[0036] The memory device 1300 may be implemented as a volatile memory device. The volatile memory device may be implemented as at least one of a random access memory RAM, a dynamic RAM (DRAM), or a static RAM (SRAM) or may include at least one of a random access memory RAM, a dynamic RAM (DRAM), or a static RAM (SRAM) or be included in at least one of a random access memory RAM, a dynamic RAM (DRAM), or a static RAM (SRAM), but is not limited thereto. For example, the memory device 1300 may correspond to or may include one or more of a double data rate synchronous dynamic random access memory (DDR SDRAM), a low power double data rate (LPDDR) SDRAM, a graphic double data rate (GDDR) SDRAM, a Rambus dynamic random access memory (RDRAM), etc. Alternatively or additionally, the memory device 1300 may be implemented as or may include a high bandwidth memory HBM or be included in a high bandwidth memory HBM.
[0037] The memory system 1000 may be implemented to be included in a personal computer PC and / or a mobile device. The mobile device includes a laptop computer, a mobile phone, a smart phone, a tablet PC, a personal digital assistant PDA, an enterprise digital assistant EDA, a digital camera, a digital video camera, a portable multimedia player PMP, a personal navigation device or a portable navigation device PND, a handheld game console, a mobile Internet device MID, a wearable computer, an Internet of Things IoT device, an Internet of Everything IoE, or a drone.
[0038] Figure 2 It is shown Figure 1 A block diagram of a memory device. Figure 2 , the memory device 1300 may include a cell array 1310, a sense amplifier 1315, an address decoder 1320, a command decoder 1330, a mode register set 1340, a duty cycle regulator 1350, a clock generator circuit 1360, an input / output circuit 1370 and an input / output sense amplifier 1380.
[0039] The cell array 1310 includes a plurality of memory cells. The write data received by the input / output sense amplifier 1380 may be written into the plurality of memory cells by the sense amplifier 1315. Other components may be included, such as but not limited to a row driver (not shown) and / or a redundancy analysis engine (not shown); example embodiments are not limited thereto. The data written into the memory cell is selected by the command CMD and the address ADDR of the memory controller 1100 and sensed by the sense amplifier 1315. The data sensed by the sense amplifier 1315 may be transmitted to the input / output sense amplifier 1380 and then transmitted to the input / output circuit 1370.
[0040] The address decoder 1320 receives an address ADDR of a memory cell to be accessed. When data is stored in the memory cell and / or when data is read from the memory cell, the address ADDR may be transmitted to the cell array 1310 as a row address and a column address through the address decoder 1320.
[0041] The command decoder 1330 may access the mode register set MRS 1340 for setting various modes and / or operations of the memory device 1300. The command decoder 1330 may identify the attributes of the input command by referring to externally applied signals (e.g., one or more of row address strobe / RAS, column address strobe / CAS, write enable / WE). For example, a general auto-refresh operation is input by a combination of control signals ( / RAS, / CAS, / WE). Then, the refresh operation of the cell array 1310 may be triggered by the command decoder 1330. In addition, the command decoder 1330 may write data into the mode register set 1340 according to an externally provided command and address. For example, the DCA code provided for the DCA training of the example embodiment is written into the mode register set 1340 by the command decoder 1330.
[0042] The mode register group 1340 sets the internal mode register in response to the MRS command and the address ADDR for specifying the operation mode of the memory device 1300. The mode register group 1340 of the example embodiment may include a DCA code register 1345, in which a DCA code for adjusting the duty cycle of the data signal DQ and / or the data strobe signal DQS is written. The mode register write MRW command may be used to write the DCA code into the DCA code register 1345. The DCA code for adjusting the duty cycle of each internal clock signal QCLK, IBCLK, and QBCLK is written into the DCA code register 1345. The DCA code may be written in units of multiple steps for reducing or increasing the duty cycle of the internal clock signal within the DCA range of "-7 to +7". For example, if the current DCA code of the second internal clock signal QCLK is a "-7" step, the DCA code of the second internal clock signal QCLK may be written in a "-5" step to increase the duty cycle of the data strobe signal DQS. In order to reduce the duty cycle, a DCA code value lower than the step size of the current DCA code may be written to the DCA code register 1345. Typically, the DCA code register 1345 is set so that the first internal clock signal ICLK cannot be adjusted, and the second to fourth internal clock signals QCLK, IBCLK, and QBCLK may be adjusted. However, the range of the adjustable internal clock signals is not limited thereto.
[0043] The duty cycle regulator 1350 generates internal clock signals ICLK, QCLK, IBCLK and QBCLK according to the DCA code written into the mode register set 1340. The duty cycle regulator 1350 generates the internal clock signals ICLK, QCLK, IBCLK and QBCLK using externally provided clock signals CK_t and CK_c or write clock signals WCK_t and WCK_c.
[0044] The clock generator circuit 1360 generates a clock signal and / or a data strobe signal DQS according to the internal clock signals ICLK, QCLK, IBCLK, and QBCLK provided from the duty cycle adjuster 1350. The clock generator circuit 1360 may increase and / or decrease an even clock duty cycle of the data strobe signal DQS according to the second internal clock QCLK having an increased or decreased duty cycle. Similarly, the clock generator circuit 1360 may increase and / or decrease an even clock duty cycle or an odd clock duty cycle of the data strobe signal DQS according to the third internal clock IBCLK or the fourth internal clock QBCLK having an increased or decreased duty cycle.
[0045] The input / output circuit 1370 outputs the read data Dout as the data signal DQ by using the clock signal or the data strobe signal DQS provided from the clock generator circuit 1360. The data signal DQ is transmitted to the memory controller 1100 in synchronization with the data strobe signal DQS generated by the clock generator 1360.
[0046] Alternatively or additionally, in some example embodiments, the memory cells included in the cell array 1310 may be or may include nonvolatile memory cells, and the memory device 1300 includes a nonvolatile memory such as an electrically erasable programmable read-only memory EEPROM, a flash memory, a phase change random access memory PRAM, a resistance random access memory RRAM, a nano floating gate memory NFGM, a polymer random access memory PoRAM, a magnetic random access memory MRAM, a ferroelectric random access memory FRAM, etc. One or more of the above. Hereinafter, the memory device 1300 is described as a DRAM, but it will be well understood that the technical spirit of the example embodiments is not limited thereto.
[0047] As described above, the memory device 1300 may be set to a DCA code that increases, for example, maximizes the eye window of the data signal DQ through DCA training.
[0048] Figure 3 is a timing diagram exemplarily showing a change in the duty ratio of a data strobe signal adjusted according to a DCA code. Figure 3 , shows a change in the data strobe signal DQS when the DCA code of the second internal clock signal QCLK among the four-phase internal clock signals ICLK, QCLK, IBCLK, and QBCLK increases or decreases.
[0049] The second internal clock signal QCLK has a 90° phase difference with the first internal clock signal ICLK. It can be assumed that the DCA code corresponding to the second internal clock signal QCLK currently written is in the "0" step state. In addition, when the DCA code is increased by a "+2" step by writing the DCA code, the rising edge of the second internal clock signal QCLK retreats, as shown in the dotted circle 1351. The retraction of the rising edge of the second internal clock signal QCLK increases the amplitude of the even duty cycle period of the data select signal DQS. On the other hand, when the DCA code is reduced by a "-2" step by writing the DCA code, the rising edge of the second internal clock signal QCLK advances like the dotted circle 1352. The rising edge of the second internal clock signal QCLK reduces the amplitude of the even duty cycle period of the data select signal DQS in advance.
[0050] In the above, the writing effect of the DCA code for adjusting the second internal clock signal QCLK among the internal clock signals ICLK, QCLK, IBCLK and QBCLK has been briefly described. Similarly, the size of the duty cycle of the data selection signal DQS can be adjusted by adjusting the DCA codes of the third to fourth internal clock signals IBCLK and QBCLK.
[0051] Figure 4 is a flow chart illustrating a DCA training method according to some example embodiments. Figure 4 , the memory system 1000 of various example embodiments (refer to Figure 1 ) performs DCA training on the third internal clock IBCLK, and then sequentially performs DCA training on the second and fourth internal clocks (QCLK, QBCLK). In particular, the size of the eye window is measured in units of two unit intervals UI to calculate the fraction during the training of the third internal clock IBCLK. In some example embodiments, the size of the eye window is measured as one unit interval UI to calculate the fraction during the training of the second and fourth internal clocks (QCLK, QBCLK).
[0052] In operation S110, the memory controller 1100 checks whether a DCA support mode exists in the memory device 1300. This may be because the memory device before a specific generation may not support DCA training. At this time, it may also be checked whether the internal clock signals ICLK, QCLK, IBCLK, and QBCLK are synchronized. For example, the memory controller 110 may check whether the internal clock signals ICLK and IBCLK maintain a phase difference of 180°.
[0053] In operation S120, the memory controller 1100 performs DCA training on the third internal clock signal IBCLK of the memory device 1300. The DCA training of the third internal clock signal IBCLK is or includes the following. First, the memory controller 1100 scans the data signal DQ while changing the DCA code of the third internal clock signal IBCLK of the memory device 1300. For example, the memory controller 1100 writes the DCA code of the third internal clock signal IBCLK into the memory device 1300 from a step size of "-7" to a step size of "+7", and measures the eye window size of the output data signal DQ at each step size.
[0054] Here, DCA scanning refers to an input / output operation for measuring the eye window size of a data signal DQ or a data strobe signal output from the memory device 1300 when the DCA code is changed. For example, DCA scanning refers to an operation of repeatedly writing a DCA code to the memory device 1300 and detecting a data pattern in order to find a DCA code that provides a good (e.g., optimal or maximum) eye window size. The DCA scanning can be performed by receiving a pattern of a data signal DQ output according to a DCA code written to the memory device 1300 by the memory controller 1100 and measuring the eye window size of the received data pattern. Here, as a data pattern for DCA training, a pattern such as a predetermined fixed pattern or pre-committed random data can be used.
[0055] For each DCA code written in the DCA scan of the third internal clock signal IBCLK, the eye window size of two unit intervals (2-UI) of the output data signal DQ is measured. A score for each DCA code can be generated from the measured eye window size of two unit intervals (2-UI). Then, the DCA training of the third internal clock signal IBCLK is completed by selecting the DCA code with the maximum score. Here, the score of each DCA code can be generated with the same value. In order to solve or improve this problem, a method of selecting a good or maximum score value by linking the scores before and after the DCA code to be scanned can be used. The score generation method will be described in more detail through the accompanying drawings described later.
[0056] In operation S130, the memory controller 1100 performs DCA training on the second internal clock signal QCLK and the fourth internal clock signal QBCLK. At this time, the DCA code value of the third internal clock signal IBCLK is fixed to the optimal value determined in operation S120. The memory controller 1100 measures the eye window size of the data signal DQ corresponding to all combinations of the DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. That is, the memory controller 1100 scans the DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. The memory controller 1100 writes the DCA code of each of the second internal clock signal QCLK and the fourth internal clock signal QBCLK while changing from a step size of "-7" to a step size of "+7", and measures the eye window size of the data signal DQ at each step size. For example, a DCA scan is performed on all combinations (255=15×15 cases) of 15 cases in the DCA code range “-7 to +7” of the second internal clock signal QCLK and 15 cases in the DCA code range “-7 to +7” of the fourth internal clock signal QBCLK.
[0057] The pattern of the data signal DQ output according to the DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK is received by the memory controller 1100. Then, the memory controller 1100 measures the eye window size of the data signal DQ and generates a score. In the DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK, the eye window size of the data signal DQ of one unit interval (1-UI) is measured. The score of each DCA code combination can be generated according to the measured eye window size of one unit interval (1-UI).
[0058] The DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK may be determined by selecting a DCA code having or based on the maximum score of each DCA code combination. Here, the same score may be generated between each DCA code combination. In this case, for more accurate DCA code selection, the score may be calculated by summing the eye window sizes adjacent to the top, bottom, left and right sides of the two-dimensional array combined with the DCA code. And, among the summed score values, a DCA code combination corresponding to or based on the maximum score value may be selected as the best or good DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. When the best or good DCA code combination is determined, the memory controller 1100 writes the selected DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK into the memory device 1300.
[0059] In the above, a DCA training method for an internal clock signal according to some example embodiments has been described. First, the best or good DCA code is selected by scanning the DCA code of the third internal clock signal IBCLK. Subsequently, the best or good DCA code combination can be selected by performing a DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. When calculating the score for selecting the DCA code, a method of summing the values before and after the corresponding steps of the two-dimensional array or the top and bottom and left and right values can be used. Thus, the adjustment accuracy of each DCA code or each DCA code combination can be increased.
[0060] Figure 5 is shown in more detail Figure 3 Flow chart of operation S120. Figure 5 In operation S120, the memory controller 1100 (see Figure 1 )Determine the DCA code of the third internal clock signal IBCLK by performing DCA training.
[0061] In operation S121, the memory controller 1100 writes the DCA code of the third internal clock signal IBCLK to the memory device 1300 (see Figure 2 ) of the DCA code register 1345 (see Figure 2 ). For the DCA scan of the third internal clock signal IBCLK, the DCA code of the third internal clock signal IBCLK must be changed when the DCA codes of the remaining internal clock signals QCLK and QBCLK are fixed to a default value or a step size of "0". For example, the memory controller 1100 may first write the DCA code of the third internal clock signal IBCLK with a step size of "-7", and then measure the size of the eye window of the output data signal DQ. In addition, when executing the DCA scan loops S121, S122, S123, and S124, the memory controller 1100 may gradually increase the DCA code of the third internal clock signal IBCLK to a step size of "+7". Alternatively or additionally, in some example embodiments, it will be well understood that for the DCA scan of the third internal clock signal IBCLK, the DCA code may be gradually reduced from a step size of "+7" to a step size of "-7".
[0062] In operation S122, the memory controller 1100 measures the eye window size or timing margin of the output data signal DQ according to the DCA code value of the third internal clock signal IBCLK written in operation S121. At this time, the memory controller 1100 measures the size of the eye window of the output data signal DQ in units of two UIs. For example, the sum of the eye window sizes of the even unit interval (Even_UI) and the odd unit interval (Odd_UI) of the data signal DQ may be measured.
[0063] In operation S123, the memory controller 1100 determines whether the DCA code of the third internal clock signal IBCLK written in operation S121 is the final case of the code scan. For example, the memory controller 1100 determines whether all DCA scans of the DCA code of the third internal clock signal IBCLK have been completed. If the DCA code of the third internal clock signal IBCLK written in operation S121 is determined to be the final case ("Yes" direction), the process moves to operation S125. On the other hand, if the DCA code of the third internal clock signal BCLK written in operation S121 is determined to be the final case ("No" direction), the process moves to operation S124.
[0064] In operation S124, the memory controller 1100 selects a DCA code that increases or decreases the step size from the DCA code of the third internal clock signal IBCLK written in operation S121. For example, if the DCA code is selected at the step size "-7" in operation S121, the memory controller 1100 may select the DCA code of the third internal clock signal IBCLK at the step size "-6" for the subsequent DCA scan. When the selection of the DCA code for the subsequent DCA scan is completed, the process returns to operation S121. And the DCA scan cycle (S121, S122, S123, S124) will be repeated until all DCA cases are completed.
[0065] In operation S125, the memory controller 1100 generates a score for each DCA code in the write DCA scan cycle (S121, S122, S123, and S124). That is, for every 15 cases of the DCA code of the third internal clock signal IBCLK from the step length of "-7" to the step length of "+7", a score corresponding to the eye window size of the data signal is generated. At this time, the eye window size is the size of two unit intervals (2-UI). The eye window size can be measured according to or based on one or more of the vertical length, horizontal length, area, or combination of the eye window. In particular, even when the score of each DCA code is equal, the combined score obtained by adding the score of the corresponding DCA code to the score of the DCA code located before and after can also be used to increase discrimination. For example, the combined score of the DCA code "2" step length can be determined as the sum of the scores of the DCA code "1" step length, the DCA code "2" step length, and the DCA code "3" step length.
[0066] In operation S126, the memory controller 1100 selects the best or good DCA code for the third internal clock signal IBCLK according to the determined score or combined score. For example, the memory controller 1100 may select a DCA code that provides or is based on the maximum score in the determined score or combined score as the good or best or good DCA code for the third internal clock signal IBCLK.
[0067] In operation S127 , the memory controller 1100 writes the DCA code of the selected third internal clock signal IBCLK to the DCA code register 1345 of the memory device 1300 .
[0068] In the above, the detailed process of operation S120 for selecting the best or good DCA code of the third internal clock signal IBCLK has been exemplarily described. However, it will be well understood that the process for selecting the good or best DCA code of the third internal clock signal IBCLK is not limited to the described sequence and can be changed in various ways.
[0069] Figure 6 is a diagram showing operations occurring between a memory controller and a memory device in the process of selecting a good or optimal DCA code for a third internal clock signal IBCLK. Figure 6 , the memory controller 1100 measures the eye window size of two unit intervals UI of the data signal DQ through DCA scanning. Then, the best or good DCA code can be selected by converting the measured double eye window size into a fraction.
[0070] First, in operation S121a, the memory controller 1100 writes the DCA code "-7" step of the third internal clock signal IBCLK into the DCA code register 1345 of the memory device 1300. At this time, the DCA codes of the second internal clock signal QCLK and the fourth internal clock signal QBCLK may maintain their initial values without changing. Then, the memory device 1300 adjusts the duty cycle of the third internal clock signal IBCLK corresponding to the DCA code "-7" step, and sends a data pattern corresponding to the data signal DQ to the memory controller 1100.
[0071] In operation S122a, the memory controller 1100 measures the eye window size or timing margin of the output data signal DQ according to the setting of the DCA code "-7" step size. At this time, the memory controller 1100 measures the size of the eye window of the output data signal DQ in units of two UI. That is, the sum of the eye window sizes of the even unit interval Even_UI and the odd unit interval Odd_UI of the data signal DQ can be measured. The measured eye window size in units of two unit intervals 2-UI is stored in a separately provided memory. This completes the first DCA scan cycle, which performs the writing of the DCA code and the measurement of the eye window size.
[0072] Subsequently, a second DCA scan cycle in which a DCA code "-6" step length is written and the eye window size of the data signal is measured, and a third DCA scan cycle in which a DCA code "-5" step length is written and the eye window size of the data signal is measured will be performed sequentially. In this way, it proceeds to the 15th DCA scan cycle indicated by operation S121b. In the 15th DCA scan cycle, the DCA code "+7" step length is written into the memory device 1300, and the data signal DQ corresponding thereto is output. Then, in operation S122b, the memory controller 1100 measures the eye window size or timing margin of the output data signal DQ according to the setting of the DCA code "+7" step length. At this time, the memory controller 1100 measures the size of the eye window of the output data signal DQ in units of two UI. The measured eye window size in units of two unit intervals 2-UI is stored in a separately provided memory. This completes the 15th DCA scan cycle, which performs the writing of the DCA code and the measurement of the eye window size.
[0073] In operation S125, the memory controller 1100 generates a score for each DCA code of the data signal DQ measured in the first to fifteenth DCA scan cycles. That is, for every 15 cases from the DCA "-7" step to the "+7" step of the third internal clock signal IBCLK, a score is given according to the eye window size of the data signal. In this case, the eye window size is a value measured in units of two unit intervals 2-UI. In particular, even if the score of each DCA code is equal, a combined score obtained by adding the score of the corresponding DCA code to the scores of the DCA codes located before and after the DCA code to increase the discrimination can be used.
[0074] In operation S126, the memory controller 1100 selects the best or good DCA code for the third internal clock signal IBCLK according to the determined score or combined score. For example, the memory controller 1100 may select the DCA code that provides the maximum score among the determined scores or combined scores as the best or good DCA code for the third internal clock signal IBCLK.
[0075] In operation S127 , the memory controller 1100 writes the DCA code of the selected third internal clock signal IBCLK to the DCA code register 1345 of the memory device 1300 .
[0076] Figure 7 is a timing diagram exemplarily illustrating a change in a data signal DQ according to an adjustment of a third internal clock signal IBCLK according to some example embodiments. Figure 7, when the duty ratio of the third internal clock signal IBCLK is adjusted by changing the DCA code, the duty ratio between two unit intervals 2-UI of the data signal DQ is adjusted.
[0077] For the DCA scan of the third internal clock signal IBCLK, the DCA codes of the remaining internal clock signals QCLK and QBCLK are fixed to a default value or a DCA "0" step. The memory controller 1100 measures the eye window size of the data signal DQ while sequentially changing the DCA code of the third internal clock signal IBCLK. As described above, the memory controller 1100 may gradually increase the DCA code of the third internal clock signal IBCLK from a "-7" step to a "+7" step. The writing order of the DCA code may also be reduced from a "+7" step to a "-7" step. The order of writing the DCA code is not limited to the disclosure of the present invention.
[0078] When the DCA code is adjusted, the rising edge portion of the third internal clock signal IBCLK with a phase of 180° advances or retreats. Then, the unit of the data signal DQ generated by the third internal clock signal IBCLK can increase or decrease the size of the unit interval UI. That is, assuming that the data pattern output by the data signal DQ is output from the unit interval UI0, the change in the size of the eye window may cause the boundaries of the unit intervals UI1 and UI2 to move forward or backward. Similarly, the boundaries of the unit intervals UI3 and UI4, the boundaries of the unit intervals UI5 and UI6, the boundaries of the unit intervals UI7 and UI8, and the boundaries of the unit intervals UI9 and UI10 can advance or retreat.
[0079] Figure 8 is a diagram illustrating a method of measuring an eye window size according to a DCA scan of a third internal clock signal IBCLK according to various example embodiments. Figure 8 , the memory controller 1100 changes the DCA code of the third internal clock signal IBCLK of the memory device 1300 and measures the size of two unit intervals 2-UI of the eye window of the output data signal DQ.
[0080] A data pattern outputted through the data signal DQ according to the DCA code written by the DCA scan for the third internal clock signal IBCLK may be outputted from the unit interval UI0. The memory controller 1100 receives the output data pattern and measures the eye window size of the received data pattern. At this time, as the data pattern, a predetermined fixed pattern may be used, or pre-committed random data may be used.
[0081] In the DCA scan of the third internal clock signal IBCLK, the eye window size of two unit intervals 2-UI of the output data signal DQ is measured for each input DCA code. The score of each DCA code can be generated from the measured eye window size of two unit intervals 2-UI. Fig. 9 A method of generating a score is described. The two unit intervals in which the eye window size is measured are, for example, "UI0+UI1", "UI2+UI3", "UI4+UI5", "UI6+UI7", "UI8+UI9", "UI10+UI11", "UI12+UI13", "UI14+UI15". The eye window size values of a plurality of two unit intervals 2-UI are changed to an average value or other representative value and stored as the eye window size value of the corresponding DCA code.
[0082] Fig. 9 is a diagram showing an example of a method of generating a score for each DCA code according to a DCA scan of a third internal clock signal IBCLK. Fig. 9 , the memory controller 1100 changes the DCA code of the third internal clock signal IBCLK of the memory device 1300 and measures the size of two unit intervals 2-UI of the eye window of the output data signal DQ.
[0083] When the size of the eye window of two unit intervals of the output data signal DQ is measured, a raw score 1510 of each DCA code is generated. In the raw score 1510, the window size of each DCA code may have the same value. That is, the maximum value should be selected from the generated scores, but there may be a tie in the raw score 1510. That is, in the raw score 1510, DCA codes -2, 1, and 5 may each have the same score "50". Even in this case, as a technique for selecting an optimal or good DCA code, a combined score 1250 may be generated in the present invention.
[0084] The combined score 1520 is generated by summing three consecutive scores in the raw score 1510. For example, the combined score 1520 of the DCA code "-6" can be obtained by adding the values of the raw scores 1510 of the DCA codes -7, -6, and -5. Alternatively or additionally, the combined score 1520 of the DCA code "-7" located at the edge can be obtained by adding the values of the raw scores 1510 of the DCA codes 7, -7, and -6. The combined score 1520 of the DCA code "-4" can be obtained by adding the values of the raw scores 1510 of the DCA codes -5, -4, and -3. When the combined score 1520 of each DCA code is calculated in this way, in the raw score 1510, scores having the same score appear as different values according to the scores of the adjacent DCA codes. That is, when the combined score 1520 is calculated, the DCA code "5" appears as a combined score value "148". Therefore, the DCA code of the third internal clock signal IBCLK can be selected as "5".
[0085] Fig.10 is shown in more detail Figure 4 Flow chart of operation S130. Fig.10 In operation S130, the memory controller 1100 (see Figure 1 ) performs DCA training to determine the DCA codes of the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0086] In operation S131, the memory controller 1100 writes the DCA code of the second internal clock signal QCLK into the memory device 1300 (see Figure 2 ) of the DCA code register 1345 (see Figure 2 ). For example, the DCA code of the second internal clock signal QCLK may be written into the mode register set MRS using the per-DRAM addressability PDA mode. At this time, the DCA code of the third internal clock signal IBCLK has been set to an optimal value.
[0087] In operation S132, the storage controller 1100 writes the DCA code of the fourth internal clock signal QBCLK into the DCA code register 1345 of the storage device 1300. Similarly, by activating the PDA mode, the DCA code of the fourth internal clock signal QBCLK can be written into the mode register group MRS. Through steps S131 and S132, a combination of the DCA code of the second internal clock signal QCLK and the DCA code of the fourth internal clock signal QBCLK is input. For example, at the time of initial input, the DCA code of the second internal clock signal QCLK "-7" step length and the DCA code of the fourth internal clock signal QBCLK "-7" step length can be input. The selection of this combination will repeat the DCA scan cycle (S131, S132, S133, S134, S135) until the DCA code of the second internal clock signal QCLK "7" step length and the DCA code of the fourth internal clock signal QBCLK "7" step length are reached. In addition, it has been described that the DCA code of the second internal clock signal QCLK and the DCA code of the fourth internal clock signal QBCLK are sequentially written through steps S131 and S132, but the present invention is not limited thereto. The DCA codes of the second internal clock signal QCLK and the fourth internal clock signal QBCLK may be written in reverse order or simultaneously.
[0088] In operation S133, the memory controller 1100 measures the eye window size or timing margin of the output data signal DQ according to the DCA code written in steps S131 and S132. At this time, the memory controller 1100 measures the eye window size of the output data signal DQ in units of one UI.
[0089] In operation S134, the memory controller 1100 determines whether the DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK written in steps S131 and S132 is the final case. That is, the memory controller 1100 determines whether the DCA scan of all cases of the DCA code of the second internal clock signal QCLK and the DCA code of the fourth internal clock signal QBCLK has been completed. If the DCA code written in steps S131 and S132 is determined to be the final case ("Yes" direction), the process proceeds to operation S136. On the other hand, if it is determined that the DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK written in steps S131 and S132 is not the final case ("No" direction), the process proceeds to operation S135.
[0090] In operation S135, the memory controller 1100 changes the combination written in steps S131 and S132. For example, assume that the DCA code "-7" step of the second internal clock signal QCLK and the DCA code "-7" step of the fourth internal clock signal QBCLK are input in the previous cycle. Then, the memory controller 1100 can change the DCA code of the second internal clock signal QCLK to "-6" step and the DCA code of the fourth internal clock signal QBCLK to "-7" step in the next cycle. The method of selecting the DCA code combination is not limited to the above method. However, all DCA code situations of the second internal clock signal QCLK and the fourth internal clock signal QBCLK should be input through the DCA scan cycle (S131, S132, S133, S134, S135). When the selection of the DCA code for the subsequent DCA scan is completed, the process returns to operation S131. And the DCA scanning cycle (S131, S132, S133, S134, S135) will be repeated until all DCA cases are completed.
[0091] In operation S136, the memory controller 1100 generates a score for each DCA code combination written in the DCA scan cycle. That is, for each of the 225 (15×15) cases of the DCA code combination (-7, -7) of the second and fourth internal clock signals (QCLK, QBCLK) to the last combination (+7, +7), a score representing the quality of the data signal DQ is generated. That is, the eye window size of the data signal DQ is measured for each DCA code combination. In this case, the eye window size is the size of a single unit interval UI. The eye window size can be measured according to the vertical, horizontal, area, or combination of the eye window.
[0092] In particular, according to the scoring method of the present invention, even if the scores of each DCA code combination are equal, a combined score obtained by adding the score of the corresponding DCA code to the scores of the DCA codes located before, after, and to the left and right can be used to increase the discrimination. The method of calculating the combined score of the second internal clock signal QCLK and the fourth internal clock signal QBCLK will be described in more detail with reference to the accompanying drawings to be described later.
[0093] In operation S137, the memory controller 1100 selects the best or good DCA code for the second internal clock signal QCLK and the fourth internal clock signal QBCLK according to the determined score or combined score. For example, the memory controller 1100 may select a DCA code that provides a maximum score among the determined scores or combined scores as the best or good DCA code for the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0094] In operation S138 , the memory controller 1100 writes the DCA code of the selected second and fourth internal clock signals QCLK and QBCLK into the DCA code register 1345 of the memory device 1300 .
[0095] In the above, the detailed process of operation S130 for selecting the best or good DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK has been exemplarily described. However, it will be well understood that the process for selecting the best DCA code of the second internal clock signal QCLK and the fourth internal clock signal QBCLK is not limited to the described order and can be changed in various ways.
[0096] Fig.11 is a diagram showing operations occurring between a memory controller and a memory device in the process of selecting an optimal or good DCA code for a second internal clock signal QCLK and a fourth internal clock signal QBCLK. Fig.11 , the memory controller 1100 measures the eye window size of the data signal DQ through DCA scanning. In addition, the best or good DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK can be selected by converting the measured eye window size into a fraction.
[0097] First, in operation S131a, the memory controller 1100 writes the DCA code "-7" step of the second internal clock signal QCLK into the DCA code register 1345 of the memory device 1300. At this time, the DCA code of the third internal clock signal IBCLK has been set to the optimal value. In operation S132a, the DCA code "-7" step of the fourth internal clock signal QBCLK is written into the DCA code register 1345 of the memory device 1300. Then, the memory device 1300 sends the data signal DQ having a characteristic corresponding to the DCA code combination (-7, -7) of the second internal clock signal QCLK and the fourth internal clock signal QBCLK to the memory controller 1100.
[0098] In operation S133a, the memory controller 1100 measures the eye window size or timing margin of the output data signal DQ according to the DCA code combination (-7, -7) of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. At this time, the memory controller 1100 measures the size of the eye window of the output data signal DQ in units of one UI. The measured eye window size is stored in a separately provided memory. Then, the first cycle of writing the DCA code and measuring the eye window size is completed.
[0099] Subsequently, the memory controller 1100 will execute a second cycle of writing the DCA code combination (-6, -7) of the second internal clock signal QCLK and the fourth internal clock signal QBCLK and measuring the eye window size of the data signal DQ. And a third cycle of writing the DCA code combination (-5, -7) of the second and fourth internal clock signals QCLK, QBCLK and measuring the eye window size of the data signal DQ will be executed. If the 255th cycle is executed in this way, the measurement of the eye window size corresponding to the DCA code combination 7 and 7 of the second internal clock signal QCLK and the fourth internal clock signal QBCLK will be completed.
[0100] In operation S136, the memory controller 1100 generates a score for each DCA code combination of the data signal DQ measured in the first cycle to the 255th cycle. That is, the memory controller 1100 generates a score for each of the 255 cases corresponding to the DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. In particular, even if the scores of each DCA code combination are equal, a combined score obtained by adding the score of the corresponding DCA code to the scores of the DCA codes located before, after, and to the left and right can be used to increase the discrimination.
[0101] In operation S137, the memory controller 1100 selects an optimal or good DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK according to the determined score or combination score. For example, the memory controller 1100 may select a DCA code combination that provides a maximum score in the determined score or combination score as the optimal or good DCA code for the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0102] In operation S138 , the memory controller 1100 writes the DCA code of the selected second and fourth internal clock signals QCLK and QBCLK into the DCA code register 1345 of the memory device 1300 .
[0103] Fig.12 is a timing diagram exemplarily illustrating a change in a data signal DQ according to adjustments of a second internal clock signal QCLK and a fourth internal clock signal QBCLK according to some example embodiments. Fig.12 , when the duty ratios of the second internal clock signal QCLK and the fourth internal clock signal QBCLK are adjusted by changing the DCA code, the even and odd duty ratios of the data signal DQ are adjusted.
[0104] For the DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK, the DCA code of the third internal clock signal IBCLK is fixed to the optimal setting value selected in the previous step. The memory controller 1100 measures the eye window size of the data signal DQ while sequentially changing the DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. As described above, the memory controller 1100 can gradually increase the 255 DCA code combinations of the second internal clock signal QCLK and the fourth internal clock signal QBCLK from (-7, -7) to (+7, +7). At this time, the selection order of the DCA code combination can be selected in various ways.
[0105] When the DCA code combination is adjusted, the rising edge portion of each of the second internal clock signal QCLK and the fourth internal clock signal QBCLK having phases of 90° and 180° advances or retreats. Then, the size of the unit interval UI of the data signal DQ can be increased or decreased according to the duty cycle change of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. That is, assuming that the data pattern output by the data signal DQ is output from the unit interval UI0, the size change of the eye window can make the boundaries of all unit intervals advance or retreat.
[0106] Fig.13A and Fig. 13B is a table showing a method of generating a score for each DCA code according to a DCA scan of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. Fig.13A and Fig. 13B , the raw fraction 1610 and the combined fraction 1620 may be used for the eye window size of the data signal DQ for each DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0107] refer to Fig.13A , the eye window size of the data signal DQ output for each DCA code combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK is stored as a raw fraction 1610. To indicate a combination of the second internal clock signal QCLK and the fourth internal clock signal QBCLK, the second internal clock signal QCLK may be arranged horizontally and the fourth internal clock signal QBCLK may be arranged vertically. For example, the eye window size of the data signal DQ corresponding to the DCA code combination (-5, 0) of the second internal clock signal QCLK and the fourth internal clock signal QBCLK has a raw fraction 1610 value of "41".
[0108] The highest score in the raw score 1610 is "45". However, the score "45" is a tie score measured in a plurality of cases. For example, the same score "45" is measured in the DCA code combinations (0, -1), (0, 0), and (0, 1) of the second internal clock signal QCLK and the fourth internal clock signal QBCLK. Therefore, it may not be easy to select an optimal or good DCA code combination in this case. An alternative solution to this problem is a combined score 1620 generated by combining adjacent scores.
[0109] refer to Fig. 13B , a combined score 1620 of the second internal clock signal QCLK and the fourth internal clock signal QBCLK may be obtained by adding the raw score values of the DCA code (M, N), the upper and lower DCA codes {(M, n-1), (M, N+1)}, and the left and right DCA codes {(m-1, N), (M+1, N)}. Then, the combined scores 1620 of the DCA codes (0, -1), (0, 0), and (0, 1) for which a tie of "45" is recorded in the raw score 1610 are "265", "268", and "267". Therefore, the DCA code combination (0, 0) corresponding to the highest value "268" of the combined score may be determined as the best or good DCA code for the second internal clock signal QCLK and the fourth internal clock signal QBCLK.
[0110] Fig.14 2 is a block diagram illustrating a computing system 2000 according to some example embodiments. Fig.14 , the computing system 2000 may include a processor 2050 , a chipset 2100 , an input / output controller 2200 , and a memory device 2300 .
[0111] The processor 2050 executes software (applications, operating system, device drivers) running on the computing system 2000. The processor 2050 will execute an operating system (OS, not shown) loaded on the memory device 2300. The processor 2050 will execute various application programs to be driven based on the operating system OS.
[0112] The chipset 2100 controls the connection between the processor 2050, the memory device 2300, and the input / output controller 2200. The chipset 2100 may include a north bridge for controlling the processor 2050 and the memory device 2300 and a south bridge for controlling the input / output controller 2200; however, example embodiments are not limited thereto. For example, the chipset 2100 may be provided without distinguishing the functions of the north bridge and the south bridge.
[0113] In particular, the chipset 2100 of the example embodiment can adjust the duty cycle of the internal clock signals ICLK, QCLK, IBCLK and QBCLK having four orthogonal phases of the memory device 2300 by writing a DCA code. To this end, the chipset 2100 includes a memory controller 2150 that performs DCA training. The memory controller 2150 determines the DCA code by performing training on the internal clock signal IBCLK in a first training sequence. At this time, the eye window size is measured in units of two unit intervals UI of the data signal DQ output from the memory device 2300. In addition, the eye window size measured for each DCA code can be generated as a combined score added to the front eye window size and the rear eye window size. The memory controller 2150 sets the memory device 2300 by selecting the maximum value of the combined score. In a state where the determined DCA code for the internal clock signal IBCLK is set, the memory controller 2150 executes a second training sequence for determining the DCA code for the internal clock signals QCLK and QBCLK. At this time, the memory controller 2150 measures the eye window size in units of one unit interval UI of the data signal to generate a fraction. Similarly, when the DCA codes of the internal clock signals QCLK and QBCLK are arranged in the row and column directions, a fraction can be generated by combining the eye window sizes of adjacent cases in the row and column directions. Here, it should be understood that the function of the chipset 2150 or the function or configuration of the memory controller 2150 can be integrated into the processor 2050.
[0114] The I / O (input / output) controller 2200 controls the data flow between the processor 2050 and one or more input / output interfaces (e.g., wired and wireless network interfaces) and I / O devices. For example, the input / output controller 2200 may control the data flow between the processor 2050 and at least one of a keyboard, a mouse, a trackball, a pen, a touch screen, a display, a monitor, a speaker, and a printer.
[0115] The memory device 2300 can be used with Figure 1 The memory device 1300 of the present invention operates substantially the same as the memory device 1300 of the present invention. For example, in the memory device 2300, the duty cycle of at least one of the internal clock signals ICLK, QCLK, IBCLK, and QBCLK can be adjusted by the DCA code, and the duty cycle of the data signal DQ or the data strobe signal DQS can be set. Figure 1 The configurations are basically the same, so the description of each configuration will be omitted.
[0116] Fig.15 is a block diagram illustrating a mobile system according to some example embodiments. Fig.15 , the computing system 2000 may include an application processor 3100 and a memory device 3300 .
[0117] The application processor 3100 can adjust the duty cycle of the internal clock signals ICLK, QCLK, IBCLK and QBCLK of the memory device 3300 having four orthogonal phases by writing the DCA code. The application processor 3100 determines the DCA code by performing training on the internal clock signal IBCLK in the first training sequence. At this time, the eye window size is measured in units of two unit intervals UI of the data signal DQ output from the memory device 3300. In addition, the eye window size measured for each DCA code can be generated as a combined score added to the front eye window size and the rear eye window size. The application processor 3100 sets the memory device 3300 by selecting the maximum value of the combined score. In the state where the DCA code of the determined internal clock signal IBCLK is set, the application processor 3100 executes a second training sequence for determining the DCA code of the internal clock signals QCLK and QBCLK. In this case, the application processor 3100 generates a score by measuring the eye window size in units of one unit interval UI of the data signal. Similarly, when the DCA codes of the internal clock signals QCLK and QBCLK are arranged in the row and column directions, a score may be generated by combining the eye window sizes of adjacent cases in the row and column directions.
[0118] The memory device 3300 can be used with Figure 1 That is, in the memory device 3300, the duty cycle of at least one of the internal clock signals ICLK, QCLK, IBCLK, and QBCLK can be adjusted by the DCA code, and the duty cycle of the data signal DQ or the data strobe signal DQS can be set. Figure 1 The configurations of the memory device 3300 are substantially the same, and thus description of each configuration will be omitted. In this embodiment, the memory device 3300 may be implemented as a low power DDR (LPDDR) memory optimized for a mobile environment.
[0119] Fig.16 is a cross-sectional view of a memory system according to some example embodiments. Fig.16 , a memory system 4000 implemented as a stacked semiconductor device may include a package substrate 4100 , an interposer 4150 , a processor 4200 , a logic die 4300 , and a high bandwidth memory 4400 including a plurality of DRAM dies 4410 , 4420 , 4430 , and 4440 .
[0120] The memory system 4000 uses an interposer 4150 to connect the high bandwidth memory 4400 and the processor 4200. The interposer 4150 is disposed on the package substrate 4100 and is electrically connected to the package substrate 4100 through a flip chip bump FB. The interposer 4150 may connect the logic die 4300 and the processor 4200. The interposer 4150 may be connected between the physical layer 4350 of the logic die 4300 and the physical layer 4250 of the processor 4200, and provide a physical path formed using a conductive material. Therefore, the logic die 4300 and the processor 4200 may send and receive signals to each other through the interposer 4150.
[0121] The processor 4200, the logic die 4300, and the stacked DRAM dies 4410, 4420, 4430, and 4440 may be disposed on the interposer 4150. To implement the memory system, through silicon via (TSV) lines are formed in the plurality of DRAM dies 4410, 4420, 4430, and 4440. The TSV lines may be electrically connected to micro bumps MB formed between the plurality of DRAM dies 4410, 4420, 4430, and 4440.
[0122] Although high bandwidth memory 4400 is shown as including four DRAM dies 4410, 4420, 4430, and 4440, the number of DRAM dies can be changed in various ways. For example, high bandwidth memory 4400 configured in a stacked manner can include 8, 12, or 16 HBM dies. Logic die 4300 and DRAM dies 4410, 4420, 4430, and 4440 can be stacked and electrically connected to each other through silicon through electrodes (TSV). For example, memory system 1000 can be implemented based on HBM or HMC standards.
[0123] In some example embodiments, the processor 4200 may adjust the duty cycle of the four orthogonal phase internal clock signals ICLK, QCLK, IBCLK, and QBCLK of the high bandwidth memory 4400 by writing a DCA code. The processor 4200 determines the DCA code by performing training on the internal clock signal IBCLK in a first training sequence. At this time, the eye window size is measured in units of two unit intervals UI of the data signal DQ output from the high bandwidth memory 4400. In addition, the eye window size measured for each DCA code may be generated as a combined fraction added to the previous and subsequent eye window sizes. The processor 4200 configures the high bandwidth memory 4400 by selecting or selecting based on the maximum value of the combined fraction. In a state where the determined DCA code for the internal clock signal IBCLK is set, the processor 4200 executes a second training sequence for determining the DCA code of the internal clock signals QCLK and QBCLK. In this case, the processor 4200 measures the eye window size in units of one unit interval UI of the data signal to generate a fraction. Similarly, when the DCA codes of the internal clock signals QCLK and QBCLK are arranged in the row and column directions, a score may be generated by combining the eye window sizes of adjacent cases in the row and column directions.
[0124] Each of the plurality of DRAM dies 4410, 4420, 4430, and 4440 may be connected to Figure 1 The memory device 1300 of the embodiment of the present invention operates substantially the same. For example, the duty cycle of at least one of the internal clock signals ICLK, QCLK, IBCLK, and QBCLK of each of the plurality of DRAM dies 4410, 4420, 4430, and 4440 may be adjusted by the DCA code, and the duty cycle of the data signal DQ or the data strobe signal DQS may be set. The components of each of the plurality of DRAM dies 4410, 4420, 4430, and 4440 are similar to Figure 1 The components are basically the same, so the description of each component will be omitted.
[0125] Any or all of the elements described with reference to the drawings may communicate with any or all of the other elements described with reference to the drawings. For example, any element may communicate unidirectionally and / or bidirectionally and / or broadcast with any or all of the other elements in the drawings to transmit and / or exchange and / or receive information, such as but not limited to data and / or commands, in a manner such as serial and / or parallel via a bus such as a wireless and / or wired bus (not shown). The information may be in various formats encoded, such as analog and / or digital formats.
[0126] Any of the elements and / or functional blocks disclosed above may include or be implemented in a processing circuit, such as hardware including a logic circuit; a hardware / software combination, such as a processor executing software; or a combination thereof. For example, the processing circuit may more specifically include, but is not limited to, a central processing unit (CPU), an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a system on a chip (SoC), a programmable logic unit, a microprocessor, an application specific integrated circuit (ASIC), etc. The processing circuit may include an electrical component such as at least one of a transistor, a resistor, a capacitor, etc. The processing circuit may include an electronic component such as a logic gate, and the logic gate includes at least one of an AND gate, an OR gate, a NAND gate, a NOT gate, etc.
[0127] The above are example embodiments for performing various descriptions of the present invention. In addition to the above example embodiments, the present invention may also include simple design changes or easily changeable embodiments. In addition, the inventive concept will include techniques that can be easily modified and implemented using the embodiments. Therefore, the scope of the inventive concept should not be limited to the above example embodiments, and should be defined by the claims and the equivalents of the claims of the inventive concept and the claims described later. In addition, the example embodiments are not necessarily mutually exclusive. For example, some example embodiments may include one or more features described with reference to one or more drawings, and may also include one or more other features described with reference to one or more other drawings.
Claims
1. A training method for a memory device that adjusts an eye window of a data signal in response to a duty cycle adjuster (DCA) code, the training method include: performing a first training operation, the first training operation selecting a first DCA code corresponding to a first internal clock signal, the first internal clock signal having a phase difference of 180° relative to a reference internal clock signal; as well as performing a second training operation, the second training operation selecting a second DCA code and a third DCA code corresponding to a second internal clock signal and a third internal clock signal, respectively, the second internal clock signal and the third internal clock signal having a phase difference of 90° and 270° with respect to the reference internal clock signal, In the first training operation, the eye window size of the data signal is measured in units of two unit intervals, and in the second training operation, the eye window size of the data signal is measured in units of one unit interval.
2. The method according to claim 1, in, The first training operation includes: writing a code value of the first DCA code to the memory device; and The eye window size of the data signal output from the memory device is measured in response to the code value.
3. The method according to claim 2, in, Writing the code value of the first DCA code and measuring the eye window size of the data signal are iteratively looped until applied to all cases of the code value.
4. The method according to claim 3, further comprising: include: After the iteration loop is completed, a score is generated for each of the cases.
5. The method according to claim 4, further comprising: include: A score corresponding to any one of all the cases is generated by combining the eye window size measured in the previous case, the eye window size measured in the subsequent case, and the eye window size measured in any one case.
6. The method according to claim 4, further comprising: include: A code value corresponding to the maximum value among the scores of each of all cases is selected as the first DCA code.
7. The method according to claim 1, in, The second training operation includes: writing a combined code value of the second DCA code and the third DCA code into the memory device; and In response to the combined code value, an eye window size of the data signal output from the memory device is measured.
8. The method according to claim 7, in, Writing the combined code value of the second DCA code and measuring the eye window size of the data signal are iteratively performed until applied to all cases of the combined code value.
9. The method according to claim 8, further comprising: include: After the iteration loop is completed, a score is generated for each of the cases.
10. The method according to claim 9, in, In response to the DCA code value of the second internal clock signal and the DCA code value of the third internal clock signal being arranged into rows and columns in all cases of the combined code value, the method includes generating each score for all cases by combining eye window sizes of cases adjacent to each other in the row and column directions.
11. A computing system for adjusting the duty cycle of four mutually orthogonal internal clock signals by means of a duty cycle adjuster (DCA) code, include: a memory device configured to generate a data signal and / or a data strobe signal having a changed duty cycle in response to a code value of the DCA code; as well as a memory controller configured to perform a first training operation and a second training operation, wherein the first training operation selects a first DCA code corresponding to a first internal clock signal, the first internal clock signal having a phase difference of 180° with respect to a reference internal clock signal, and the second training operation selects a second DCA code and a third DCA code corresponding to a second internal clock signal and a third internal clock signal, respectively, the second internal clock signal and the third internal clock signal having a phase difference of 90° and 270° with respect to the reference internal clock signal, Wherein the memory controller is configured to generate a score by measuring an eye window size in units of two unit intervals of the data signal output from the memory device during the first DCA training.
12. The system according to claim 11, in, The memory controller is configured to write a code value of the first DCA code into the memory device during the first DCA training, and to measure the eye window size of the data signal output from the memory device in response to the code value to generate the score.
13. The system according to claim 12, in, The code value of the first DCA code corresponds to any one of a step size of "-7" to a step size of "7".
14. The system according to claim 13, in, During the first DCA training, the second DCA code and the third DCA code are fixed to a default value or “0”.
15. The system according to claim 12, in, The memory controller is configured to combine an eye window size measured in a previous case, an eye window size measured in a subsequent case, and an eye window size measured in any one case to generate a score corresponding to any one case during the first DCA training.
16. The system according to claim 12, in, The memory controller is configured to write a combined code value of the second DCA code and the third DCA code into the memory device during the second DCA training, and measure an eye window size of the data signal output from the memory device in units of one unit interval in response to the combined code value.
17. The system according to claim 16, in, When the DCA code value of the second internal clock signal and the DCA code value of the third internal clock signal are arranged in rows and columns in all cases of the combined code value, the memory controller generates each score for all cases by combining eye window sizes of cases adjacent to each other in the row and column directions.
18. A method for training a memory device by receiving a duty cycle adjuster (DCA) code to adjust the characteristics of a data signal and / or a data strobe signal, include: executing a first training of writing code to select a first DCA code corresponding to a first internal clock signal and selecting the code by measuring an eye window size of an output data signal; as well as performing a second training of writing a combination code to select a combination code of a second DCA code and a third DCA code corresponding to a second internal clock signal and a third internal clock signal, respectively, and measuring an eye window size of the output data signal, In the first training, the eye window size of the data signal is measured in units of two unit intervals.
19. The method according to claim 18, in, In the first training, a score corresponding to any one case is generated by combining an eye window size measured in a previous case, an eye window size measured in a subsequent case, and the eye window size measured in any one case.
20. The method according to claim 18, in, In the second training, when the DCA code value of the second internal clock signal and the DCA code value of the third internal clock signal are arranged in rows and columns in all cases of the combined code value, the method includes generating each score for all cases by combining eye window sizes of cases adjacent to each other in the row and column directions.
Citation Information
Cited By
Method and apparatus for duty cycle adjustment of receiving side parallel interface
CN122050450A
Method and apparatus for duty cycle adjustment for receive-side parallel interface
CN122050450B
