Memory module and method of operating the same

By introducing virtual interface training operations into the memory module and simulating the function of the data buffer, the problems of limited number of memory devices and large latency in LRDIMM type memory modules are solved, and more efficient memory operations are achieved.

CN112530484BActive Publication Date: 2024-09-24SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010535290.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-18
Filing Date
2020-06-12
Publication Date
2024-09-24
Estimated Expiration
2040-06-12

AI Technical Summary

Technical Problem

The lack of data buffers in LRDIMM type memory modules results in a limited number of memory devices on the printed circuit board and the potential for delays in read and write operations.

Method used

A memory module is designed, which uses the host interface to communicate with the host through the device controller and the memory device without including a data buffer, performs virtual interface training operations, and simulates the function of the data buffer to reduce latency.

Benefits of technology

Without increasing the number of memory devices, the read and write delays are reduced, and the capacity and operating efficiency of the memory module are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112530484B_ABST
    Figure CN112530484B_ABST
Patent Text Reader

Abstract

A memory module and an operation method thereof are disclosed. The memory module includes: a device controller that communicates with a host device based on a first interface including a first clock signal, a first data signal, and a first data strobe signal, and operates in one of a first operation mode or a second operation mode according to an operation mode control value from the host device; and a memory device that communicates with the device controller based on a second interface including a second data signal and a second data strobe signal. The device controller includes: a logic circuit that, when training is performed on a third interface recognized by the host device as a virtual interface in the first operation mode, sends a predetermined training result value to the host device according to the training control value from the host device.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This patent application claims the priority benefit of Korean Patent Application No. 10-2019-0114889 filed on September 18, 2019 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field

[0002] Embodiments of the inventive concepts disclosed herein relate to a semiconductor device, and more particularly, to a memory module supporting an interface training operation performed by a host. Background Art

[0003] The computing system includes a main memory for temporarily storing data used by the processor. The main memory is manufactured to operate according to standards such as dual in-line memory modules (DIMMs), registered DIMMs (RDIMMs), and load-reduced DIMMs (LRDIMMs). LRDIMM-type memory modules include data buffers. However, RDIMM-type memory modules do not include data buffers.

[0004] The data buffer of the LRDIMM type memory module may be mounted on a printed circuit board. Thus, since the data buffer occupies a partial area of ​​the printed circuit board, only a limited number of memory devices may be mounted on the printed circuit board. Furthermore, since data is read or written through the data buffer, a delay may be additionally generated in the read and write operations performed on the LRDIMM type memory module. Summary of the invention

[0005] At least one exemplary embodiment of the inventive concept provides a memory module capable of operating as an LRDIMM type without including a data buffer.

[0006] According to an exemplary embodiment, a memory module includes: a device controller that communicates with a host device based on a first interface including a first clock signal, a first data signal, and a first data strobe signal, and operates in one of a first operation mode or a second operation mode according to an operation mode control value from the host device; and a memory device that communicates with the device controller based on a second interface including a second data signal and a second data strobe signal. The device controller includes: a logic circuit that, when training is performed on a third interface recognized by the host device as a virtual interface in the first operation mode, sends a predetermined training result value to the host device according to the training control value from the host device.

[0007] According to an exemplary embodiment, an operating method of a memory module including a device controller and a memory device includes: performing an initialization operation in one of a first operating mode or a second operating mode according to an operating mode control value from a host device; after performing the initialization operation in the first operating mode, receiving a training mode enable signal from the host device for training a virtual interface between the memory device and a virtual data buffer identified by the host device as included in the memory module; after receiving the training mode enable signal, receiving a training control value corresponding to a delay value of the virtual interface from the host device; and sending a predetermined training result value to the host device according to the received training control value.

[0008] According to an exemplary embodiment, a memory module includes: a device controller that communicates with a host device based on a first interface; and a memory device that communicates with the device controller based on a second interface. When a first training operation is performed on the first interface by the host device, the device controller sends a training result value obtained according to the first training operation to the host device. When a second training operation is performed on a third interface that is a virtual interface by the host device, the device controller sends a predetermined training result value to the host device. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The inventive concept will become apparent by describing in detail exemplary embodiments of the inventive concept with reference to the accompanying drawings.

[0010] Figure 1 is a block diagram illustrating a computing system according to an exemplary embodiment of the inventive concept.

[0011] Figure 2 is a block diagram illustrating a memory module according to an exemplary embodiment of the inventive concept.

[0012] Figure 3 It shows that Figure 2 A block diagram of an example of a memory module recognized by a host controller when the memory module operates in a first operating mode.

[0013] Figure 4 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 A flowchart of an exemplary operation of a memory module.

[0014] Figure 5 FIG. 2 is a diagram showing a method for performing a memory interface training operation according to an exemplary embodiment of the inventive concept. Figure 2 A block diagram of an example of a device controller.

[0015] Figure 6 Show Figure 5 Example of a control register.

[0016] Figure 7is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of an MRE(P) training operation for a memory module.

[0017] Figure 8 FIG. 1 shows an example of an MRE (P) training operation according to an exemplary embodiment of the inventive concept. Figure 2 An example of the operation of the host controller.

[0018] Fig. 9 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example DWL training operation for a memory module.

[0019] Fig.10 It is shown Figure 2 Flowchart of an example of a memory module performing MRD training operations.

[0020] Fig.11 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of a memory module performing MWD training operations.

[0021] Fig.12 is a diagram showing a method for performing a host interface training operation according to an exemplary embodiment of the inventive concept Figure 2 A block diagram of an example of a device controller.

[0022] Fig.13 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of a memory module performing a HWL training operation.

[0023] Fig.14 is a diagram showing a method for performing a host interface training operation according to an exemplary embodiment of the inventive concept Figure 2 A block diagram of an example of a device controller.

[0024] Fig.15 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 A flowchart of an example of a memory module performing a HIW training operation. DETAILED DESCRIPTION

[0025] Below, embodiments of the inventive concept are described in detail and clearly to the extent that a person skilled in the art can implement the inventive concept.

[0026] In the specification, the "interface" between two devices refers to the signals exchanged between the two devices and the signals used to exchange signals. For example, the interface may include data signals, data strobe signals, clock signals, etc.

[0027] In the specification, 'interface training' refers to an operation of selecting an optimized delay value obtained by adjusting a delay value (ie, a phase or timing value) of a signal exchanged between two devices and a signal used to exchange the signal.

[0028] Figure 1 is a block diagram illustrating a computing system according to an exemplary embodiment of the inventive concept. Figure 1 , the computing system 1000 includes a substrate 1001 , a processor 1100 , a main memory 1200 , a system interconnect 1300 , a storage device 1400 , a user input / output device 1500 , and a modem 1600 .

[0029] The substrate 1001 may be a motherboard or a printed circuit board on which the processor 1100, the main memory 1200, the system interconnect 1300, the storage device 1400, the user input / output device 1500, and the modem 1600 are mounted. The substrate 1001 may include first to fifth connectors 1010 to 1050 on which the processor 1100, the main memory 1200, the storage device 1400, the user input / output device 1500, and the modem 1600 are mounted. The connectors 1010 to 1050 may be conductive pads. The substrate 1001 may be manufactured to include the system interconnect 1300.

[0030] The processor 1100 may include a central processing unit (CPU) or an application processor that controls the computing system 1000 and performs various operations. The processor 1100 may include a host controller 1110 (e.g., a control circuit) configured to control the main memory 1200. The processor 1100 may store a code (e.g., an executable code) necessary to perform an operation in the main memory 1200. The operation may generate data, write data, and read written data.

[0031] The main memory 1200 may be connected to the substrate 1001 through the second connector 1020. The main memory 1200 may include a dynamic random access memory (DRAM). The main memory 1200 may be a storage class memory (SCM) including a non-volatile memory such as a flash memory or a phase change memory. The main memory 1200 may be based on a dual in-line memory module (DIMM).

[0032] The main memory 1200 may include a device controller 1210 (eg, a control circuit). The device controller 1210 may control the main memory 1200 based on a command provided from the host controller 1110. For example, the device controller 1210 may write data to a memory device included in the main memory 1200, or may read data from the memory device.

[0033] The system interconnect 1300 may provide a communication channel between the processor 1100, the storage device 1400, the user input / output device 1500, and the modem 1600. The system interconnect 1300 may be based on one of various standards such as Peripheral Component Interconnect Express (PCIe), Non-Volatile Memory Express (NVMe), Advanced eXtensible Interface (AXI), and ARM Microcontroller Bus Architecture (AMBA).

[0034] The storage device 1400 may be connected to the substrate 1001 through the third connector 1030. The storage device 1400 may be used as an auxiliary memory of the computing system 1000. The storage device 1400 may store raw data of an application and an operating system driven by the processor 1100 and user data. The storage device 1400 may include a hard disk drive (HDD), a solid state drive (SSD), an optical disk drive (ODD), etc.

[0035] The user input / output device 1500 may be connected to the base 1001 via the fourth connector 1040. The user input / output device 1500 may be configured to exchange information with a user. The user input / output device 1500 may include a user input device (such as a keyboard, a mouse, a touch panel, an operation sensor, and a microphone) that can receive information from a user. The user input / output device 1500 may include a user output device (such as a display device, a speaker, a beam projector, and a printer) that can provide information to a user.

[0036] The modem 1600 may be connected to the substrate 1001 through the fifth connector 1050. The modem 1600 may be configured to exchange data with an external device wiredly or wirelessly. In an exemplary embodiment, the modem 1600 may be integrated with the substrate 1001 or the processor 1100.

[0037] Figure 2 is a block diagram illustrating a memory module according to an exemplary embodiment of the inventive concept. Figure 2 The memory module 2000 and the host controller 3000 can be respectively Figure 1 The main memory 1200 corresponds to the host controller 1110 .

[0038] Reference Figure 2 , the memory module 2000 includes a device controller 100 and a plurality of memory devices 210 to 2n0. The device controller 100 and the memory devices 210 to 2n0 may be implemented with different semiconductor packages and may be mounted on one printed circuit board. For example, the number of the memory devices 210 to 2n0 may be 9, but the inventive concept is not limited thereto.

[0039] The device controller 100 communicates with the host controller 3000 through a host interface. The host interface may include signals exchanged between the device controller 100 and the host controller 3000. For example, the host interface may include a data signal DQ and a data strobe signal DQS.

[0040] The device controller 100 may receive a command CMDe, an address ADDRe, a clock signal CK, a data signal DQ, and a data strobe signal DQS from the host controller 3000. In an exemplary embodiment, the device controller 100 latches the level of the data signal DQ based on the transition timing of the data strobe signal DQS. For example, the device controller 100 may latch the level of the data signal DQ whenever the data strobe signal DQS transitions from one logic level to a different logic level. The signal received by the device controller 100 from the host controller 3000 is not limited thereto, and the device controller 100 may receive various signals (e.g., control signals) from the host controller 3000. The device controller 100 may send the data signal DQ and the data strobe signal DQS to the host controller 3000.

[0041] The device controller 100 may communicate with the memory devices 210 to 2n0 based on a controller interface. The controller interface may include signals exchanged between the device controller 100 and the memory devices 210 to 2n0. For example, the controller interface may include a data signal CDQ and a data strobe signal CDQS.

[0042] The device controller 100 may send a command CMDi, an address ADDRi, a clock signal MCK, a data signal CDQ, and a data strobe signal CDQS to each of the memory devices 210 to 2n0. The device controller 100 may receive the data signal CDQ and the data strobe signal CDQS from each of the memory devices 210 to 2n0. In an exemplary embodiment, the device controller 100 latches the level of the data signal CDQ based on the transition timing of the data strobe signal CDQS. For example, the device controller 100 may latch the level of the data signal CDQ whenever the data strobe signal CDQS transitions from one logic level to a different logic level.

[0043] The device controller 100 may transmit a command CMDi, an address ADDRi, and a clock signal MCK to at least one of the memory devices 210 to 2n0 in response to a command CMDe, an address ADDRe, and a clock signal CK transmitted from the host controller 3000. The device controller 100 may transmit a command CMDi, an address ADDRi, and a clock signal MCK to at least one of the memory devices 210 to 2n0 in response to a selection signal from the host controller 3000.

[0044] The device controller 100 may transmit the data signal CDQ and the data strobe signal CDQS to the relevant memory device based on the data signal DQ and the data strobe signal DQS. For example, the device controller 100 may transmit the data signal CDQ and the data strobe signal CDQS to the first memory device 210 through the fifth signal line 105 and the sixth signal line 106 based on the data signal DQ and the data strobe signal DQS received through the first signal line 101 and the second signal line 102, respectively. The device controller 100 may transmit the data signal CDQ and the data strobe signal CDQS to the nth memory device 2n0 through the seventh signal line 107 and the eighth signal line 108 based on the data signal DQ and the data strobe signal DQS received through the third signal line 103 and the fourth signal line 104, respectively.

[0045] In an exemplary embodiment, the device controller 100 transmits the data signal DQ transmitted from the host controller 3000 to the memory device without modification. In this case, the value of the data signal DQ may be the same as the value of the data signal CDQ transmitted from the device controller 100 to the memory device. In another embodiment, the device controller 100 processes the data signal DQ transmitted from the host controller 3000 to generate a processed data signal, and transmits the processed data signal to the memory device. In this case, the value of the data signal DQ may be different from the value of the data signal CDQ transmitted from the device controller 100 to the memory device.

[0046] Based on the command CMDi and the address ADDRi, the device controller 100 may read the data signal CDQ from each of the memory devices 210 to 2n0 or may write the data signal CDQ to each of the memory devices 210 to 2n0. For example, when the command CMDi is a read command, the device controller 100 may receive the data signal CDQ from one of the memory devices 210 to 2n0 indicated by the address ADDRi or from a location within one of the memory devices 210 to 2n0 indicated by the address ADDRi.

[0047] In response to the command CMDi and the address ADDRi, each of the memory devices 210 to 2n0 may output the data signal CDQ from the internal memory unit or may store the data signal CDQ in the internal memory unit. In order to output the data signal CDQ, each of the memory devices 210 to 2n0 may send the data signal CDQ and the data strobe signal CDQS to the device controller 100. In order to store the data signal CDQ, each of the memory devices 210 to 2n0 may receive the data signal CDQ and the data strobe signal CDQS from the device controller 100. In an exemplary embodiment, each of the memory devices 210 to 2n0 latches the level of the data signal CDQ based on the transition timing of the data strobe signal CDQS. For example, each of the memory devices 210 to 2n0 may latch the level of the data signal CDQ whenever the transition of the data strobe signal CDQS occurs.

[0048] Each of the memory devices 210 to 2n0 may operate based on the clock signal MCK. For example, each of the memory devices 210 to 2n0 may generate a data strobe signal CDQS from the clock signal MCK.

[0049] Each of the memory devices 210 to 2n0 may be a volatile memory such as a DRAM or a nonvolatile memory such as a flash memory, a PRAM, an RRAM, or an MRAM.

[0050] The device controller 100 includes a control logic circuit 110, a first register 120, a second register 130, and a buffer training support logic circuit 140. In an exemplary embodiment, the control logic circuit 110 stores a control value associated with the operation of the device controller 100 in the first register 120 in response to a command CMDe and an address ADDRe. The device controller 100 operates according to the control value stored in the first register 120. For example, the device controller 100 may operate in a first operation mode or a second operation mode according to the control value stored in the first register 120. That is, the device controller 100 may operate in an operation mode selected by the host controller 3000 from among the first operation mode and the second operation mode. For example, the control value may be set to a first value for selecting the first operation mode, or may be set to a second other value for selecting the second operation mode.

[0051] In an exemplary embodiment, the first operation mode refers to a mode for operating in accordance with the LRDIMM standard, and the second operation mode refers to a mode for operating in accordance with the RDIMM standard. When the device controller (e.g., 100) operates in the first operation mode, the memory module 2000 can be identified by the host controller 3000 as a memory module of the LRDIMM type. When the device controller (e.g., 100) operates in the second operation mode, the memory module 2000 can be identified by the host controller 3000 as a memory module of the RDIMM type. That is, the memory module 2000 can be operated as an LRDIMM or an RDIMM according to the control value received from the host controller 3000.

[0052] In the case where the memory module 2000 operates in the first operation mode, as shown in FIG. Figure 3 As shown in , the host controller 3000 may recognize that the memory module 2000 includes a data buffer corresponding to each of the memory devices 210 to 2n0.

[0053] Figure 3 It shows that Figure 2 A block diagram of an example of a memory module recognized by a host controller (eg, 3000) when the memory module operates in a first operation mode. Figure 3 , the host controller 3000 may recognize that the memory module 4000 includes the device controller 300, the data buffer 400, and the memory device 500. In this case, the device controller 300 may receive the command CMDe, the address ADDRe, and the clock signal CK.

[0054] The host controller 3000 may recognize that the data buffer 400 and the memory device 500 communicate based on the memory interface. In this case, the memory interface may include a first signal exchanged between the data buffer 400 and the memory device 500 and a second signal for exchanging the first signal. For example, the memory interface may include a data signal MDQ, a data strobe signal MDQS, and a clock signal BCK.

[0055] The host controller 3000 may recognize that the data buffer 400 receives the data signal DQ and the data strobe signal DQS and that the data buffer 400 operates based on the clock signal BCK provided from the device controller 300. In this case, it may be recognized that the clock signal BCK is generated based on the clock signal CK. The host controller 3000 may recognize that the data buffer 400 transmits the data signal MDQ and the data strobe signal MDQS to the memory device 500 based on the data signal DQ and the data strobe signal DQS. The host controller 3000 may recognize that the data buffer 400 receives the data signal MDQ and the data strobe signal MDQS from the memory device 500.

[0056] The host controller 3000 may recognize that the memory device 500 receives the data signal MDQ and the data strobe signal MDQS from the data buffer 400 and transmits the data signal MDQ and the data strobe signal MDQS to the data buffer 400. In this case, it may be recognized that the memory device 500 operates based on the clock signal MCK provided from the device controller 300 and that the clock signal MCK is generated based on the clock signal CK.

[0057] In this way, in the case where the memory module 2000 operates in the first operation mode, even if the memory module 2000 does not actually include a data buffer, the host controller 3000 can recognize that the memory module 2000 is used as the memory module 4000. In this case, the host controller 3000 can recognize that the data buffer 400 and the memory device 500 communicate based on the memory interface. That is, the data buffer 400 can be a virtual data buffer recognized by the host controller 3000 as included in the memory module 2000. Therefore, the memory interface can be a virtual interface between the virtual data buffer 400 and the memory device 500.

[0058] Since the memory module 2000 is identified as the memory module 4000 by the host controller 3000, the host controller 3000 can identify that both the host interface and the memory interface exist. For example, the host controller 3000 can identify that the data signal DQ, the data strobe signal DQS, the data signal MDQ, the data strobe signal MDQS and the clock signal BCK all need to be generated. In this way, the host controller 3000 can perform a host interface training operation and a memory interface training operation. The host controller 3000 can perform an interface training operation before the memory module 2000 performs a normal operation. Examples of normal operations may include a read operation and a write operation.

[0059] Return to Figure 2, because the memory module 2000 does not include a data buffer, a host interface may exist between the memory module 2000 and the host controller 3000, but a memory interface may not exist between the data buffer and the memory device (i.e., the memory interface is a virtual interface). That is, the memory module 2000 may perform a host interface training operation, but may not perform a memory interface training operation. In order for the memory module 2000 to operate in the first operation mode, the memory interface training operation may be normally performed by the host controller 3000. In this way, the memory module 2000 may replicate the memory interface training operation (i.e., the memory interface training operation is not actually performed). The host controller 3000 may recognize that the memory interface training operation is normally performed according to the training copy operation of the memory module 2000.

[0060] The control logic circuit 110 receives a command CMDe and an address ADDRe for a memory interface training operation from the host controller 3000. In an exemplary embodiment, the control logic circuit 110 provides a training control value to the buffer training support logic circuit 140 based on the received command CMDe and the received address ADDRe. The buffer training support logic circuit 140 may generate a predetermined training result value according to the provided training control value, and may transmit the generated training result value to the host controller 3000 through the data signal DQ. That is, the buffer training support logic circuit 140 may replicate the memory interface training operation by transmitting the predetermined training result value to the host controller 3000. For example, the buffer training support logic circuit 140 transmits the predetermined training result value to the host controller 3000 instead of performing the memory interface training operation to generate the actual training result value.

[0061] The host controller 3000 may select a final delay value (ie, a final phase value or a final timing value) of the memory interface based on the training result value. For example, the host controller 3000 may select Figure 3 The host controller 3000 may select the final delay value of the data strobe signal MDQS by using the data buffer 400 of the host controller 3000. The host controller 3000 may provide the selected final delay value to the memory module 2000. The control logic circuit 110 may store the final delay value in the buffer training support logic circuit 140. In this way, the host controller 3000 may recognize that the memory interface training operation has been completed normally. For example, the host controller 3000 receives a valid predetermined training result value instead of receiving a signal or an error message indicating that the memory interface training operation cannot be performed due to the lack of a data buffer. Figures 5 to 11 The training replica operations performed by the buffer-based training support logic 140 are described more fully.

[0062] The device controller 100 may receive a command CMDe and an address ADDRe for a host interface training operation from the host controller 3000. The device controller 100 actually performs the host interface training operation based on the received command CMDe and the received address ADDRe. The device controller 100 provides the training result value generated by the training operation to the host controller 3000. The host controller 3000 may select a final delay value of the host interface based on the training result value. The host controller 3000 may store the selected final delay value in an internal register. In this way, the host interface training operation may be completed.

[0063] In an exemplary embodiment, buffer training support logic circuit 140 is used for host interface training operations. Figures 12 to 15 A host interface training operation of the device controller 100 is described.

[0064] The device controller 100 may automatically perform the controller interface training operation regardless of the command of the host controller 3000. For example, the control logic circuit 110 may perform the controller interface training operation, and may store the final delay value of the controller interface selected by the training operation in the second register 130. In this way, the device controller 100 may transmit or receive the data signal CDQ and the data strobe signal CDQS based on the final delay value stored in the second register 130.

[0065] The device controller 100 may perform training operations on controller interfaces between the memory devices 210 to 2n0 and the device controller 100, respectively. For example, the device controller 100 may train a first controller interface between the first memory device 210 and the device controller 100. The device controller 100 may train an nth controller interface between the nth memory device 2n0 and the device controller 100 independently of the first controller interface training operation. In this way, the second register 130 may store an optimized delay value of the first controller interface and an optimized delay value of the nth controller interface, respectively.

[0066] As described above, the memory module 2000 can operate in the first operation mode (i.e., LRDIMM type) without including a data buffer. In the case where the memory module 2000 has a predetermined size, since the memory module 2000 does not include a data buffer, the number of memory devices to be mounted on the memory module 2000 can be increased. Therefore, the capacity of the memory module 2000 can be increased. In addition, since data is transmitted between the host controller 3000 and the memory devices 210 to 2n0 without using a data buffer, the read latency and the write latency can be reduced.

[0067] Figure 4is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of exemplary operation of the memory module. Figure 2 and Figure 4 In operation S101, the memory module 2000 may be powered on or reset. The reset may occur after the memory module 2000 is powered on. In operation S102, the memory module 2000 is initialized to a first operation mode. For example, in the initialization operation, the host controller 3000 may select the first operation mode from among the first operation mode and the second operation mode. Thus, the memory module 2000 may perform the initialization operation according to the first operation mode thus selected.

[0068] In operation S103, the memory module 2000 performs a memory interface training operation and a host interface training operation. The memory interface training operation and the host interface training operation may be controlled by the host controller 3000. The memory module 2000 may perform the training operation based on a command or a training control value sent from the host controller 3000. In an exemplary embodiment, a final delay value of the memory interface is selected by the host controller 3000 through the memory interface training operation. In an exemplary embodiment, a final delay value of the host interface is selected by the host controller 3000 through the host interface training operation.

[0069] After the training operation in operation S103 has been completed, in operation S104, the memory module 2000 tests the trained interface. The interface test operation for testing the trained interface may be controlled by the host controller 3000. The host controller 3000 may determine whether the interface training operation is performed normally according to the interface test operation.

[0070] After the test operation has been completed, in operation S105, the memory module 2000 performs a normal operation. In normal operation, the memory module 2000 can communicate with the host controller 3000 and the memory devices 210 to 2n0 based on the host interface and the controller interface. The controller interface training operation can be performed by the memory module 2000 alone. In normal operation, the memory module 2000 does not use the final delay value selected by the memory interface training operation.

[0071] Will refer to Figures 5 to 11 The memory interface training operations of the memory module 2000 are more fully described.

[0072] Figure 5 FIG. 2 is a diagram showing a method for performing a memory interface training operation according to an exemplary embodiment of the inventive concept. Figure 2 A block diagram of an example of a device controller. Figure 5, the device controller 100 includes a control logic circuit 110, a buffer training support logic circuit 140, and a selection circuit 150. The control logic circuit 110 may control the selection circuit 150 and the buffer training support logic circuit 140 based on a command CMDe and an address ADDRe provided from the host controller 3000.

[0073] In an exemplary embodiment, the selection circuit 150 transmits the data signal DQ to one of the first data path P1 and the second data path P2 based on the control signal SCC from the control logic circuit 110. The data signal DQ transmitted through the first data path P1 may be provided to the memory device or may be provided to a separate circuit of the device controller 100. The data signal DQ transmitted through the second data path P2 is provided to the buffer training support logic circuit 140. In addition, the selection circuit 150 may provide the data signal DQ input from one of the first data path P1 and the second data path P2 to the host controller 3000 based on the control signal SCC from the control logic circuit 110.

[0074] The control logic circuit 110 may control the selection circuit 150 so that the data signal DQ is transmitted to the device controller 100 or the host controller 3000 through the first data path P1 in a normal operation. The control logic circuit 110 may control the selection circuit 150 so that the data signal DQ is transmitted to the device controller 100 or the host controller 3000 through the second data path P2 in a memory interface training operation.

[0075] The buffer training support logic circuit 140 includes a buffer register 141, a control register 142, and a training result value generator 143. The buffer register 141 can store the data signal DQ transmitted through the second data path P2. The data signal DQ stored in the buffer register 141 can be sent to the host controller 3000 through the second data path P2.

[0076] The control register 142 may store a training control value associated with a memory interface training operation. The control logic circuit 110 may receive the training control value based on a command CMDe and an address ADDRe from the host controller 3000. The control logic circuit 110 may store the training control value received through the control signal BTC in the control register 142. The control logic circuit 110 may store the training control value in a location of the control register 142 indicated by the address ADDRe.

[0077] The training result value generator 143 may generate a predetermined training result value based on the training control value stored in the control register 142. The predetermined training result value may correspond to the actual training result value obtained by the training operation performed on the actual memory interface. That is, the predetermined training result value may be a copy value associated with the actual training result value. For example, the predetermined training result value may be generated according to a specific algorithm so that the memory interface training operation is completed normally, or the predetermined training result value may be pre-stored as a specific value. The generated training result value may be sent to the host controller 3000 through the buffer register 141.

[0078] As described above, in the memory interface training operation, the buffer training support logic circuit 140 replicates the memory interface training operation by generating a predetermined training result value according to the training control value. In this way, the memory interface training operation performed by the host controller 3000 can be completed normally. Therefore, the memory module 2000 can operate in the first operation mode without a data buffer.

[0079] Figure 6 Show Figure 5 An example of the control register. Figure 5 and Figure 6 The control register 142 may include a mode field MODE, a control field MRE(P), DWL, MRD (eg, MRD1, MRD2, MRD3, etc.) and MWD (eg, MWD1, MWD2, etc.) and data fields MPR and TSW.

[0080] The mode field MODE may guide a training mode. In a memory interface training operation, the mode field MODE may store one of various training modes of the memory interface training operation. For example, the training mode of the memory interface may include a mode of training data signal (MDQ) reception enable phase MRE(P) (hereinafter referred to as “MRE(P) training mode”), a mode of training write equalization (hereinafter referred to as “DWL training mode”), a mode of training read delay (hereinafter referred to as “MRD training mode”), and a mode of training write delay (hereinafter referred to as “MWD training mode”).

[0081] In MRE(P) training mode, you can choose Figure 3 The final delay value of the receive enable signal generated by the clock signal BCK of the data buffer 400. The final delay value of the receive enable signal selected in the MRE (P) training mode may be one of the delay values ​​adjusted within one cycle of the clock signal BCK.

[0082] In DWL training mode, you can choose Figure 3The final delay value of the data strobe signal MDQS transmitted from the data buffer 400 is selected in the DWL training mode. The final delay value of the data strobe signal MDQS selected in the DWL training mode may be one of a plurality of delay values ​​adjusted within one cycle of the data strobe signal MDQS.

[0083] In MRD training mode, you can select the final delay value of the receive enable signal and the delay from Figure 3 The final delay value of the data selection signal MDQS and the data signal MDQ received by the memory device 500 of the MRD training mode. The final delay value of the reception enable signal selected in the MRD training mode may be one of multiple multiples of one cycle of the clock signal BCK. That is, the delay may be selected in units of the cycle of the reception enable signal. The final delay value of the data selection signal MDQS and the data signal MDQ selected in the MRD training mode may be one of the delay values ​​adjusted within one cycle of the data selection signal MDQS.

[0084] In MWD training mode, you can choose Figure 3 The final delay value of the data strobe signal MDQS and the data signal MDQ sent by the data buffer 400 of the MWD training mode may be one of multiple multiples of one cycle of the data strobe signal MDQS. That is, the delay may be selected in units of the cycle of the data strobe signal MDQS. The final delay value of the data signal MDQ selected in the MWD training mode may be one of multiple delay values ​​adjusted within one cycle of the data strobe signal MDQS.

[0085] In the following, for the convenience of description, the final delay value selected within one cycle is referred to as a "partial cycle delay", and the final delay value is one selected from a multiple of one cycle is referred to as a "full cycle delay".

[0086] In the memory interface training operation, the mode field MODE may store a training mode value TMV indicating one of an MRE(P) training mode, a DWL training mode, an MRD training mode, and an MWD training mode.

[0087] The control field MRE(P) may store a training control value TCV_A used in the MRE(P) training mode. For example, the phase (ie, partial cycle delay) of the reception enable signal generated from the clock signal BCK may be adjusted according to the training control value TCV_A.

[0088] The control field DWL may store a training control value TCV_B used in a DWL training mode. For example, the phase (ie, partial cycle delay) of the data strobe signal MDQS transmitted from the data buffer 400 may be adjusted according to the training control value TCV_B.

[0089] The control fields MRD1 to MRD3 may store training control values ​​TCV_C to TCV_E used in the MRD training mode, respectively. For example, the full cycle delay of the reception enable signal and the phase (i.e., partial cycle delay) of the data strobe signal MDQS and the data signal MDQ input to the data buffer 400 may be adjusted according to the training control values ​​TCV_C to TCV_E.

[0090] The control fields MWD1 and MWD2 may store training control values ​​TCV_F and TCV_G used in the MWD training mode. For example, the full cycle delay of the data strobe signal MDQS sent from the data buffer 400 and the phase (i.e., partial cycle delay) of the data signal MDQ sent from the data buffer 400 may be adjusted according to the training control values ​​TCV_F and TCV_G.

[0091] The data field MPR may store expected data ED used in a training operation. For example, an operation of comparing specific data with expected data ED may be performed in a memory interface training operation.

[0092] The data field TSW may store the comparison result CR generated in the training operation. For example, in the memory interface training operation, a value corresponding to the comparison result CR comparing specific data with expected data ED may be stored in the data field TSW.

[0093] In the interface training operation, the control logic circuit 110 may write values ​​into corresponding fields of the control register 142 based on the command CMDe and the address ADDRe. In an exemplary embodiment, the training control values ​​TCV_A to TCV_G of the control fields MRE(P), DWL, MRD1 to MRD3, MWD1, and MWD2 may be in Figure 4 The first training control value TCV_A may be stored in the initialization operation or may be provided from the host controller 3000 in the corresponding training mode. For example, the first training control value TCV_A may be stored in the initialization operation and then may be provided from the host controller 3000 after the initialization operation (e.g., in the MRE (P) training mode).

[0094] The training result value generator 143 may generate a training result value based on the value written into the field of the control register 142. For example, in a memory interface training operation, the training result value generator 143 may generate a predetermined training result value based on the training control values ​​TCV_A to TCV_G of the control fields MRE(P), DWL, MRD1 to MRD3, MWD1, and MWD2 of the control register 142.

[0095] Figure 7is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of an MRE(P) training operation of a memory module. Figure 2 as well as Figures 5 to 7 In operation S111, the memory module 2000 receives an MRE (P) training mode enable signal from the host controller 3000 based on the command CMDe and the address ADDRe. For example, in response to the MRE (P) training mode enable signal, the control logic circuit 110 may write a training mode value TMV corresponding to the MRE (P) training mode into the mode field MODE of the control register 142.

[0096] In operation S112, the memory module 2000 transmits a predetermined training result value to the host controller 3000 according to the training control value TCV_A. For example, the training result value generator 143 may generate a predetermined training result value according to the training control value TCV_A stored in the control field MRE(P) of the control register 142. Here, the training control value TCV_A may correspond to a partial cycle delay value of the reception enable signal generated from the clock signal BCK, and the predetermined training result value may correspond to the predetermined training result value generated by the training control value TCV_A based on the training control value TCV_A from the control field MRE(P). Figure 3 The training result value generated by sampling the clock signal BCK by the data selection signal MDQS sent by the memory device 500 corresponds to the value obtained by the data selection signal MDQS sent by the memory device 500. The generated training result value can be sent to the host controller 3000 through the buffer register 141.

[0097] In operation S113, the memory module 2000 receives a new training control value TCV_A from the host controller 3000. For example, the control logic circuit 110 may write the received new training control value TCV_A into the control field MRE(P) of the control register 142. Therefore, the value of the control field MRE(P) may vary.

[0098] In operation S114, the memory module 2000 determines whether the new training control value TCV_A is the final training control value TCV_A. When the new training control value TCV_A is the final training control value TCV_A, the MRE (P) training operation is terminated. In this case, the control field MRE (P) of the control register 142 can store the final training control value TCV_A. That is, the final partial cycle delay value of the reception enable signal can be set.

[0099] When the new training control value TCV_A is not the final training control value TCV_A, the memory module 2000 may perform operations S112 and S113 again. For example, the memory module 2000 may transmit a predetermined training result value to the host controller 3000 according to the new training control value TCV_A.

[0100] The host controller 3000 may select a final training control value TCV_A based on at least one training result value transmitted from the memory module 2000. For example, when the final training control value TCV_A is selected based on the at least one training result value, in operation S113, the host controller 3000 may transmit the selected final training control value TCV_A to the memory module 2000. When the final training control value TCV_A is not selected based on the at least one training result value, in operation S113, the host controller 3000 may transmit a new training control value TCV_A to the memory module 2000 to receive the new training result value.

[0101] Figure 8 FIG. 2 shows an example of an MRE (P) training operation according to an exemplary embodiment of the inventive concept. Figure 2 An example of the operation of the host controller. Figure 2 and Figure 8 , the memory module 2000 may perform an MRE(P) training operation based on the 1st training control value TCV_A1 to the 64th training control value TCV_A64. For example, when one cycle of the clock signal CK is divided into 64 time periods, the 1st training control value TCV_A1 to the 64th training control value TCV_A64 may indicate delay values ​​corresponding to 64 phases, respectively. That is, the memory module 2000 may perform an MRE(P) training operation based on 64 different training control values ​​TCV_A1 to TCV_A64.

[0102] The memory module 2000 may transmit a predetermined training result value according to each training control value to the host controller 3000. For example, the memory module 2000 may transmit "0" as a training result value to the host controller 3000 in the 1st time period t1 to the 32nd time period t32 according to each of the 1st training control value TCV_A1 to the 32nd training control value TCV_A32. The memory module 2000 may transmit "1" as a training result value to the host controller 3000 in the 33rd time period t33 to the 64th time period t64 according to each of the 33rd training control value TCV_A33 to the 64th training control value TCV_A64.

[0103] The host controller 3000 may select the final training control value TCV_A based on the 64 training result values ​​sent from the memory module 2000. For example, when the training result value changes from "0" to "1", the host controller 3000 may select the 33rd training control signal value TCV_A33 corresponding to the 33rd time period t33 as the final training control value TCV_A. Thereafter, the host controller 3000 may send the 33rd training control value TCV_A33 to the memory module 2000 as the final training control value TCV_A.

[0104] As described above, the host controller 3000 may select a final partial cycle delay value of the reception enable signal based on a plurality of training result values ​​transmitted from the memory module 2000. Figure 8 The final partial cycle delay value selection method described above is only an example, and the host controller 3000 may use the same method as reference 1. Figure 8 The methods described herein are different methods for selecting a final fractional cycle delay value for a receive enable signal.

[0105] Fig. 9 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of a DWL training operation of a memory module. Figure 2 , Figure 5 , Figure 6 and Fig. 9 In operation S121, the memory module 2000 receives a DWL training mode enable signal. The DWL training mode enable signal may be based on a command CMDe and an address ADDRe from the host controller 3000. For example, in response to the DWL training mode enable signal, the control logic circuit 110 may write a training mode value TMV corresponding to the DWL training mode into the mode field MODE of the control register 142.

[0106] In operation S122, the memory module 2000 sends a predetermined training result value to the host controller 3000 according to the training control value TCV_B. For example, the training result value generator 143 may generate a predetermined training result value according to the training control value TCV_B stored in the control field DWL of the control register 142. Here, the training control value TCV_B may be generated by the training control value TCV_B from Figure 3 The training result value may correspond to the partial cycle delay value of the data strobe signal MDQS of the data buffer 400, and the predetermined training result value may correspond to the value obtained by sampling the clock signal MCK based on the data strobe signal MDQS. The generated training result value may be sent to the host controller 3000 through the buffer register 141.

[0107] In operation S123, the memory module 2000 receives a new training control value TCV_B. For example, the control logic circuit 110 may write the received new training control value TCV_B into the control field DWL of the control register 142. Therefore, the value of the control field DWL may vary.

[0108] In operation S124, the memory module 2000 determines whether the new training control value TCV_B is the final training control value TCV_B. When the new training control value TCV_B is the final training control value TCV_B, the DWL training operation is terminated. In this case, the control field DWL of the control register 142 may store the final training control value TCV_B. That is, the DWL training operation may be selected from Figure 3 The memory module 2000 may further perform operations S122 and S123 again when the new training control value TCV_B is not the final training control value TCV_B.

[0109] The host controller 3000 may select the final training control value TCV_B based on at least one training result value transmitted from the memory module 2000. For example, the host controller 3000 may select the final training control value TCV_B based on the at least one training result value transmitted from the memory module 2000. Figure 8 A similar method to the method described for selecting the final training control value (TCV_A) is used to select the final training control value TCV_B.

[0110] Fig.10 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of performing an MRD training operation in a memory module. Figure 2 , Figure 5 , Figure 6 and Fig.10 In operation S131, the memory module 2000 receives an MRD training mode enable signal from the host controller 3000. The MRD training mode enable signal may be based on a command CMDe and an address ADDRe from the host controller 3000. For example, in response to the MRD training mode enable signal, the control logic circuit 110 may write a training mode value TMV corresponding to the MRD training mode into the mode field MODE of the control register 142.

[0111] In operation S132, the memory module 2000 stores the expected data ED from the host controller 3000. For example, the host controller 3000 may instruct Figure 3 The buffer control word (BCW) register (not shown) of the data buffer 400 stores the expected data ED. Therefore, the control logic circuit 110 may store the expected data ED in the data field MPR corresponding to the BCW register of the control register 142. In this case, the expected data ED may be the same data as the specific data pre-stored in each of the memory devices 210 to 2n0.

[0112] In operation S133, the memory module 2000 sends a predetermined training result value to the host controller 3000 according to the training control values ​​TCV_C to TCV_E. For example, the training result value generator 143 may generate a predetermined training result value according to the training control values ​​TCV_C to TCV_E stored in the control fields MRD1 to MRD3 of the control register 142. Here, the training control values ​​TCV_C to TCV_E may correspond to a full cycle delay of a reception enable signal, a partial cycle delay of a data strobe signal MDQS, and a partial cycle delay of a data signal MDQ, respectively, and the reception enable signal, the data strobe signal MDQS, and the data signal MDQ are used to read specific data from the memory device 500. In addition, the predetermined training result value may correspond to the predetermined training result value stored in advance in the memory device 500. Figure 3 The expected data ED in the BCW register of the data buffer 400 corresponds to a comparison result between the specific data read from the memory device 500 and the expected data ED in the BCW register of the data buffer 400 .

[0113] The predetermined training result value may be a first value (e.g., "1") indicating that the two data match or a second value (e.g., "0") indicating that the two data are different. For example, the training result value generator 143 may generate a predetermined training result value to have a first value regardless of the training control values ​​TCV_C to TCV_E. In another example, in the case where specific training control values ​​TCV_C to TCV_E are stored in the control fields MRD1 to MRD3, the training result value generator 143 may generate a predetermined training result value corresponding to the first value. The training result value generator 143 may store the generated training result value as a comparison result CR in the data field TSW of the control register 142. The training result value stored in the control register 142 may be sent to the host controller 3000 through the buffer register 141.

[0114] In operation S134, the memory module 2000 receives new training control values ​​TCV_C to TCV_E. For example, the control logic circuit 110 may write the new training control values ​​TCV_C to TCV_E into the control fields MRD1 to MRD3 of the control register 142. Therefore, the values ​​of the control fields MRD1 to MRD3 may vary.

[0115] In operation S135, the memory module 2000 may determine whether the new training control values ​​TCV_C to TCV_E are the final training control values ​​TCV_C to TCV_E. When the new training control values ​​TCV_C to TCV_E are the final training control values ​​TCV_C to TCV_E, the MRD training operation is terminated. In this case, the control fields MRD1 to MRD3 of the control register 142 may store the final training control values ​​TCV_C to TCV_E. That is, the final full-cycle delay value of the receiving enable signal and the input to Figure 3 The memory module 2000 may perform operations S133 and S134 again when the new training control values ​​TCV_C to TCV_E are not the final training control values ​​TCV_C to TCV_E.

[0116] The host controller 3000 may select the final training control values ​​TCV_C to TCV_E based on at least one training result value transmitted from the memory module 2000. For example, in the case where the training result value is a first value, the host controller 3000 may select the corresponding training control values ​​TCV_C to TCV_E as the final training control values ​​TCV_C to TCV_E. In another example, in the case where each of the training result values ​​corresponding to various combinations of the training control values ​​TCV_C to TCV_E is a first value, the host controller 3000 may select one of the various combinations of the training control values ​​TCV_C to TCV_E as the final training control values ​​TCV_C to TCV_E.

[0117] Fig.11 is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of a memory module performing MWD training operations. Figure 2 , Figure 5 , Figure 6 and Fig.11 In operation S141, the memory module 2000 receives an MWD training mode enable signal from the host controller 3000. The MWD training mode enable signal may be based on a command CMDe and an address ADDRe from the host controller 3000. For example, in response to the MWD training mode enable signal, the control logic circuit 110 may write a training mode value TMV corresponding to the MWD training mode into the mode field MODE of the control register 142.

[0118] In operation S142, the memory module 2000 stores the expected data ED from the host controller 3000. For example, the host controller 3000 may instruct Figure 3The BCW register of the data buffer 400 stores the expected data ED. Therefore, the control logic circuit 110 may store the expected data ED in the data field MPR of the control register 142 corresponding to the BCW register.

[0119] In operation S143, the memory module 2000 sends a predetermined training result value to the host controller 3000 according to the training control values ​​TCV_F and TCV_G. For example, the training result value generator 143 may generate a predetermined training result value according to the training control values ​​TCV_F and TCV_G stored in the control fields MWD1 and MWD2 of the control register 142. Here, the training control values ​​TCV_F and TCV_G may correspond to a full cycle delay of the data strobe signal MDQS and a partial cycle delay of the data signal MDQ, respectively, and the data strobe signal MDQS and the data signal MDQ are used to write specific data into the memory device 500. The predetermined training result value may correspond to the training result value stored in advance in the memory device 500. Figure 3 The comparison result of comparing the expected data ED in the BCW register of the data buffer 400 with the specific data read from the memory device 500 corresponds to the comparison result. The specific data read from the memory device 500 may be data output from the memory device 500 after the expected data ED is written into the memory device 500.

[0120] The predetermined training result value may be a first value (e.g., "1") indicating that the two data match or a second value (e.g., "0") indicating that the two data are different. For example, the training result value generator 143 may generate a predetermined training result value to have a first value regardless of the training control values ​​TCV_F and TCV_G. In another example, in the case where specific training control values ​​TCV_F and TCV_G are stored in the control fields MWD1 and MWD2, the training result value generator 143 may generate a predetermined training result value corresponding to the first value. The training result value generator 143 may store the generated training result value as a comparison result CR in the data field TSW of the control register 142. The training result value stored in the control register 142 may be sent to the host controller 3000 through the buffer register 141.

[0121] In operation S144, the memory module 2000 receives new training control values ​​TCV_F and TCV_G. For example, the control logic circuit 110 may write the received new training control values ​​TCV_F and TCV_G into the control fields MWD1 and MWD2 of the control register 142. Therefore, the values ​​of the control fields MWD1 and MWD2 may vary.

[0122] In operation S145, the memory module 2000 determines whether the new training control values ​​TCV_F and TCV_G are the final training control values ​​TCV_F and TCV_G. When the new training control values ​​TCV_F and TCV_G are the final training control values ​​TCV_F and TCV_G, the MWD training operation is terminated. In this case, the control fields MWD1 and MWD2 of the control register 142 may store the final training control values ​​TCV_F and TCV_G. That is, the final full-cycle delay value of the data strobe signal MDQS and the final partial-cycle delay value of the data signal MDQ may be set, and the data strobe signal MDQS and the data signal MDQ may be set from Figure 3 When the new training control values ​​TCV_F and TCV_G are not the final training control values ​​TCV_F and TCV_G, the memory module 2000 may perform operations S143 and S144 again.

[0123] The host controller 3000 may select final training control values ​​TCV_F and TCV_G based on at least one training result value transmitted from the memory module 2000. The host controller 3000 may select final training control values ​​TCV_F and TCV_G as shown in FIG. Fig.10 The final training control values ​​TCV_F and TCV_G are selected as described in the MRD training operation.

[0124] As described above, in the memory interface training operation, the memory module 2000 may replicate the training operation by generating a predetermined training result value according to the training control value in various training modes.

[0125] Next, we will refer to Figures 12 to 15 The host interface training operation of the memory module 2000 is described more fully.

[0126] Fig.12 is a diagram showing the operation for performing host interface training Figure 2 A block diagram of an example of a device controller. Fig.12 The device controller 100 performs a training write leveling mode (hereinafter, referred to as “HWL training mode”) among various training modes of the host interface training operation. In the HWL training mode, a delay value of a data strobe signal DQS from the host controller 3000 may be adjusted.

[0127] and Figure 5 Compared with the device controller 100, Fig.12 The device controller 100 further includes a sampling circuit 160, and Fig.12 The device controller 100 may be similar to Figure 5 The device controller 100 operates, and therefore, additional description will be omitted to avoid redundancy.

[0128] Reference Fig.12 In the HWL training mode, the device controller 100 includes a control logic circuit 110, a buffer training support logic circuit 140, a selection circuit 150, and a sampling circuit 160. For example, through the control signal BTC, the control logic circuit 110 can write the training mode value TMV corresponding to the HWL training mode into the mode field MODE of the control register 142.

[0129] The selection circuit 150 may receive a data strobe signal DQS having a specific delay value from the host controller 3000. The selection circuit 150 may transmit the data strobe signal DQS to the third data path P3 based on the control signal SCC from the control logic circuit 110. The data strobe signal DQS transmitted through the third data path P3 may be provided to the sampling circuit 160. The sampling circuit 160 may sample the clock signal CK based on the data strobe signal DQS. The sampling circuit 160 may operate based on the control signal SAC from the control logic circuit 110. The sampling circuit 160 may provide the sampling clock signal S_CK to the selection circuit 150 through the first data path P1. The selection circuit 150 may transmit the sampling clock signal S_CK to the host controller 3000 through the data signal DQ.

[0130] The host controller 3000 may select a final delay value of the data strobe signal DQS based on the sampling clock signal S_CK. For example, the host controller 3000 may select a final delay value of the data strobe signal DQS based on the sampling clock signal S_CK. Figure 8 That is, the final delay value of the data strobe signal DQS transmitted from the host controller 3000 may be set according to the HWL training mode.

[0131] In the case where it is impossible to select the final delay value, the host controller 3000 may change the delay value, and may transmit the data strobe signal DQS having another delay value to the device controller 100. In this way, the device controller 100 may sample the clock signal CK based on the data strobe signal DQS having another delay value, and may transmit the sampled clock signal S_CK to the host controller 3000.

[0132] exist Fig.12 , the sampling circuit 160 is located outside the buffer training support logic circuit 140, but the inventive concept is not limited thereto. In another embodiment, the sampling circuit 160 is located inside the buffer training support logic circuit 140. In this case, the control logic circuit 110 may control the selection circuit 150 so that the data strobe signal DQS is transmitted to the buffer training support logic circuit 140.

[0133] Fig.13is a diagram showing an exemplary embodiment according to the inventive concept Figure 2 Flowchart of an example of a memory module performing a HWL training operation. Figure 2 , Fig.12 and Fig.13 In operation S151, the memory module 2000 receives a HWL training mode enable signal from the host controller 3000. In operation S152, the memory module 2000 performs a sampling operation on the clock signal CK based on the data strobe signal DQS transmitted from the host controller 3000. In operation S153, the memory module 2000 transmits the sampling clock signal S_CK to the host controller 3000.

[0134] In the case where a normal operation or any other training operation is performed after the final delay value of the data strobe signal DQS is selected by the host controller 3000, the HWL training operation is terminated. In the case where the final delay value of the data strobe signal DQS is not selected by the host controller 3000, operations S152 and S153 may be repeatedly performed until the final delay value is selected.

[0135] Fig.14 is a diagram showing a method for performing a host interface training operation according to an exemplary embodiment of the inventive concept Figure 2 A block diagram of an example of a device controller. Fig.14 The device controller 100 performs a training write delay mode (hereinafter, referred to as a "HIW training mode") among various training modes of the host interface training operation. In the HIW training mode, the delay value of the data signal DQ from the host controller 3000 can be adjusted. Figure 5 Compared with the device controller 100, Fig.14 The device controller 100 also includes a comparator 144 (eg, a comparison circuit) in the buffer training support logic circuit 140, and Fig.14 The device controller 100 may be similar to Figure 5 The device controller 100 operates, and therefore, additional description will be omitted to avoid redundancy.

[0136] Reference Fig.14 In the HIW training mode, the control logic circuit 110 may control the buffer training support logic circuit 140 and the selection circuit 150. For example, the control logic circuit 110 may write the training mode value TMV corresponding to the HIW training mode into the mode field MODE of the control register 142 through the control signal BTC.

[0137] The control logic circuit 110 may write the expected data ED into the data field MPR of the control register 142. The expected data ED may be provided from the host controller 3000 through the command CMDe and the address ADDRe. The control logic circuit 110 may control the selection circuit 150 so that the specific data PD identical to the expected data ED is written into the buffer register 141. The specific data PD may be provided from the host controller 3000 through the data signal DQ. In this case, the data signal DQ may have a phase corresponding to the delay value set by the host controller 3000.

[0138] The selection circuit 150 may receive the data signal DQ from the host controller 3000. The selection circuit 150 may transmit the data signal DQ to the second data path P2 based on the control signal SCC from the control logic circuit 110. The data signal DQ transmitted through the second data path P2 may be provided to the buffer register 141. Therefore, the buffer register 141 may store specific data PD.

[0139] The comparator 144 may compare the specific data PD stored in the buffer register 141 with the expected data ED stored in the control register 142 to generate a comparison result CR. The comparator 144 may store the comparison result CR in the data field TSW of the control register 142. For example, in the case where the specific data PD and the expected data ED match, the comparator 144 may generate a first value (e.g., “1”) as the comparison result CR. In the case where the specific data PD and the expected data ED are different, the comparator 144 may generate a second value (e.g., “0”) as the comparison result CR.

[0140] Even if specific data PD and expected data ED having the same value are provided from the host controller 3000, the value of the specific data PD stored in the buffer register 141 may vary according to the phase difference between the data signal DQ and the data strobe signal DQS. In the case where the final delay value of the data strobe signal DQS is set by the HWL training operation, the value of the specific data PD stored in the buffer register 141 may vary according to the delay value of the data signal DQ. Therefore, the comparator 144 may generate the first value or the second value as the comparison result CR according to the delay value of the data signal DQ.

[0141] The comparison result CR stored in the control register 142 may be transmitted to the host controller 3000 through the buffer register 141. In this case, the selection circuit 150 may provide the host controller 3000 with the data signal DQ provided through the second data path P2 based on the control signal SCC.

[0142] The host controller 3000 may select a final delay value of the data signal DQ based on the comparison result CR. Fig.10 The final delay value is selected as described in the MRD training operation.

[0143] In the case where it is impossible to select the final delay value, the host controller 3000 may change the delay value, and may transmit the data signal DQ (i.e., specific data PD) having another delay value (i.e., another phase) to the device controller 100. Therefore, the device controller 100 may generate a comparison result CR based on the data signal DQ having another delay value, and may transmit the generated comparison result CR to the host controller 3000.

[0144] Fig.15 is a diagram showing an exemplary embodiment according to the disclosure Figure 2 Flowchart of an example of a memory module performing a HIW training operation. Figure 2 , Fig.14 and Fig.15 In operation S161, the memory module 2000 receives a HIW training mode enable signal from the host controller 3000. In operation S162, the memory module 2000 compares specific data PD transmitted from the host controller 3000 with expected data ED to generate a comparison result. Here, the specific data PD may be transmitted from the host controller 3000 through a data signal DQ, and the expected data ED may be transmitted from the host controller 3000 through a command CMDe and an address ADDRe. In operation S163, the memory module 2000 transmits the comparison result CR to the host controller 3000.

[0145] In the case where a normal operation or any other training operation is performed after the final delay value of the data signal DQ is selected by the host controller 3000, the HIW training operation may be terminated. In the case where the final delay value of the data signal DQ is not selected by the host controller 3000, operations S162 and S163 may be repeatedly performed until the final delay value is selected.

[0146] As described above, the memory module 2000 may perform an actual training operation for a host interface training operation. The final delay values ​​of the data signal DQ and the data strobe signal DQS may be set based on the values ​​generated by the actual training operation. Therefore, in the normal operation of the first operation mode, the host controller 3000 may send the data signal DQ and the data strobe signal DQS having the set final delay values ​​to the memory module 2000.

[0147] As described above, the training operation is performed based on the expected data ED stored in the data field MPR, but the inventive concept is not limited thereto. In another embodiment, the expected data ED may be generated from a specific register (e.g., a linear feedback shift register (LFSR)) in the device controller 100. The training operation including the data comparison operation may be performed on the expected data ED generated from the specific register.

[0148] The memory module according to at least one embodiment of the inventive concept can be operated as an LRDIMM type without including a data buffer. Because the memory module according to the inventive concept does not include a data buffer, the number of memory devices to be included in the memory module can be increased. In addition, read latency and write latency can be reduced.

[0149] Although the inventive concept has been described with reference to exemplary embodiments of the inventive concept, it will be apparent to those skilled in the art that various changes and modifications can be made to the inventive concept without departing from the spirit and scope of the inventive concept.

Claims

1. A memory module, the memory module include: a device controller configured to: communicate with a host device based on a first interface including a first clock signal, a first data signal, and a first data strobe signal, and operate in one of a first operation mode or a second operation mode according to an operation mode control value from the host device; as well as a memory device configured to communicate with the device controller based on a second interface including a second data signal and a second data strobe signal, The device controller includes a first logic circuit, the first logic circuit being configured to: when training is performed on a third interface recognized by the host device as a virtual interface in the first operation mode, send a predetermined training result value to the host device according to a training control value from the host device, The training is an operation of obtaining an optimized delay value by adjusting the delay value of the interface. The third interface is a virtual interface between the memory device and a virtual data buffer, which is recognized by the host device as included in the memory module.

2. The memory module according to claim 1, in, The first logic circuit comprises: a control register configured to store a training control value from a host device; and The training result value generator is configured to generate a predetermined training result value according to the stored training control value.

3. The memory module according to claim 2, in, When the phase of the receive enable signal of the third interface is trained by the host device, the training result value generator generates a first training result value according to the first training control value, the first training control value corresponds to the delay value of the receive enable signal generated from the operation clock signal of the virtual data buffer, and the control register stores a final delay value of the receive enable signal selected by the host device based on the first training result value.

4. The memory module according to claim 2, in, When write leveling of the third interface is trained by the host device, the training result value generator generates a second training result value according to the second training control value, the second training control value corresponds to the delay value of the third data selection signal sent from the virtual data buffer, and the control register stores a final delay value of the third data selection signal selected by the host device based on the second training result value.

5. The memory module according to claim 2, in, When the read delay of the third interface is trained by the host device, the training result value generator generates a third training result value according to the third training control value and the fourth training control value, the third training control value corresponds to the delay value of the third data signal received by the virtual data buffer, the fourth training control value corresponds to the delay value of the fourth data selection signal received by the virtual data buffer, and the control register stores the final delay value of the third data signal and the final delay value of the fourth data selection signal selected by the host device based on the third training result value.

6. The memory module according to claim 2, in, When the write delay of the third interface is trained by the host device, the training result value generator generates a fourth training result value according to a fifth training control value, the fifth training control value corresponds to the delay value of the fourth data signal sent from the virtual data buffer, and the control register stores a final delay value of the fourth data signal selected by the host device based on the fourth training result value.

7. The memory module according to claim 2, in, When the write latency of the first interface is trained by the host device in the first operation mode, the first logic circuit further includes: a buffer register configured to store specific data according to a second write operation; and a comparator configured to compare specific data stored in the buffer register with expected data to generate a comparison result, The final delay value of the first data signal is selected by the host device based on the comparison result.

8. The memory module according to claim 1, in, The device controller also includes: a sampling circuit configured to: sample the first clock signal based on the first data strobe signal when the write equalization phase of the first interface is trained by the host device in the first operation mode, The final delay value of the first data strobe signal is selected by the host device based on the sampled first clock signal.

9. The memory module according to claim 1, in, The memory module is recognized by the host device as a low load dual in-line memory module in the first operating mode, and The memory module is recognized by the host device as a registered dual in-line memory module in the second operation mode.

10. The memory module according to claim 1, in, The device controller also includes: a second logic circuit configured to perform a training operation on the second interface; and The interface register is configured to store a final delay value of the second interface selected according to a training operation of the second interface.

11. A method for operating a memory module comprising a device controller and a memory device, the method comprising: include: performing an initialization operation in one of a first operation mode or a second operation mode according to an operation mode control value from the host device; receiving, after performing an initialization operation in the first operation mode, a training mode enable signal from the host device for training a virtual interface between the memory device and a virtual data buffer recognized by the host device as included in the memory module; receiving, after receiving the training mode enable signal, a training control value corresponding to the delay value of the virtual interface from the host device; as well as sending a predetermined training result value to the host device according to the received training control value, The training is an operation of obtaining an optimized delay value by adjusting the delay value of the interface.

12. The operating method according to claim 11, in, The training mode enable signal includes a first training mode enable signal for training the phase of the receive enable signal of the virtual interface, and The training control value includes a first training control value corresponding to a delay value of a reception enable signal generated from an operation clock signal of the virtual data buffer.

13. The operating method according to claim 11, in, The training mode enable signal includes a second training mode enable signal for training write leveling of the virtual interface, and The training control value includes a second training control value corresponding to a delay value of a first data strobe signal sent from the virtual data buffer.

14. The operating method according to claim 11, in, The training mode enable signal includes a third training mode enable signal for training a read latency of the virtual interface, and The training control value includes a third training control value and a fourth training control value, the third training control value corresponds to a delay value of a first data signal received by the virtual data buffer, and the fourth training control value corresponds to a delay value of a second data selection signal received by the virtual data buffer.

15. The operating method according to claim 11, in, The training mode enable signal includes a fourth training mode enable signal for training a write latency of the virtual interface, and The training control value includes a fifth training control value corresponding to a delay value of the second data signal sent from the virtual data buffer.

16. The operating method according to claim 11, further comprising: include: receiving, after performing an initialization operation in the first operation mode, a fifth training mode enable signal from the host device for training write leveling of a host interface between the host device and the device controller; after receiving the fifth training mode enable signal, sampling the operation clock signal of the device controller based on the third data strobe signal transmitted from the host device; as well as The sampled operational clock signal is sent to the host device.

17. The operating method according to claim 11, further comprising: include: receiving, after performing an initialization operation in the first operation mode, a sixth training mode enable signal from the host device for training a write latency of a host interface between the host device and the device controller; after receiving the sixth training mode enable signal, comparing specific data sent from the host device with expected data to generate a comparison result; as well as The comparison result is sent to the host device.

18. A memory module, the memory module include: a device controller configured to communicate with a host device based on a first interface; as well as a memory device configured to communicate with the device controller based on a second interface, When the host device performs a first training operation on the first interface, the device controller sends a training result value obtained according to the first training operation to the host device, and When the host device performs a second training operation on the third interface as the virtual interface, the device controller sends a predetermined training result value to the host device. The third interface is a virtual interface between the memory device and a virtual data buffer, which is recognized by the host device as included in the memory module.

19. The memory module according to claim 18, in, The device controller is also configured to: performing a third training operation on the second interface; and The memory device is communicated based on the delay value of the second interface selected according to the third training operation.