Techniques for training command bus to memory device

By adopting a simplified command bus training mode (CATM) and optimizing firmware for LPDDR4/LPDDR5 devices, the inefficiencies and complexities in training command buses are addressed, enhancing training speed and accuracy, and reducing device lock-ups.

JP7582577B2Active Publication Date: 2024-11-13INTEL CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2020157943
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-12-10
Filing Date
2020-09-18
Publication Date
2024-11-13
Estimated Expiration
2040-09-18

AI Technical Summary

Technical Problem

The challenge of efficiently training command buses in memory devices due to variations in memory device design and reduced geometries, leading to complex and time-consuming processes that can impact signaling accuracy and cause device hang-ups, especially in LPDDR4 and LPDDR5 standards, is addressed.

Method used

Implementing a simplified command bus training mode (CATM) for DDR5 memory devices and optimizing firmware adjustments for LPDDR4/LPDDR5 devices by using internal circuitry to return parity values, reducing the need for extensive sampling and improving training efficiency.

Benefits of technology

This approach enhances command bus training speed and accuracy, minimizing firmware work and reducing the risk of device lock-ups, thereby improving overall system performance and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007582577000001
    Figure 0007582577000001
  • Figure 0007582577000002
    Figure 0007582577000002
  • Figure 0007582577000003
    Figure 0007582577000003
Patent Text Reader

Abstract

To provide a memory controller configured to minimize coordination work of firmware, implementing command bus training modes on memory devices, to shorten an amount of time to train a command bus and increase quality of command bus training.SOLUTION: Techniques for command bus training to a memory device include, by a controller, triggering a memory device to enter a first command bus training mode or a second command bus training mode, and outputting a command / address (CA) pattern via a command bus and compressing a sampled CA pattern returned from the memory device based on whether the memory device was triggered to be in the first command bus training mode or the second command bus training mode.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The description generally relates to techniques for command bus training to memory devices. [Background technology]

[0002] Standardization of memory subsystem processes can enable interoperability between different device manufacturers. Standardization allows devices with different architectural designs and different processing technologies to be built that function according to predefined guidelines. Memory devices receive commands from a memory controller via a command bus, which is traditionally trained to ensure that signaling between devices meets a target standard. Training can refer to the repeated testing of various I / O (input / output) interface parameters to determine the settings that provide the most accurate signaling on the signal lines. A common term for signal accuracy is finding the center or center of the signal eye. Memory technologies need to train their command bus timing and voltage sampling points to be in the center or center of the signal eye for optimal performance. [Brief description of the drawings]

[0003] [Figure 1] 1 illustrates an exemplary system.

[0004] [Diagram 2] 1 illustrates an exemplary second system.

[0005] [Diagram 3] 3 illustrates an exemplary third system.

[0006] [Figure 4A] 1 shows an exemplary first timing diagram. [Figure 4B] 1 shows an exemplary first timing diagram.

[0007] [Diagram 5] An exemplary first table is shown.

[0008] [Figure 6] 13 shows an exemplary second timing diagram.

[0009] [Figure 7] An exemplary second table is shown.

[0010] [Figure 8] 1 illustrates an exemplary logic flow.

[0011] [Figure 9] 1 illustrates an exemplary fourth system.

[0012] [Figure 10] 1 illustrates an exemplary device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Variations in the way signals are sent and received between a memory controller and one or more memory devices can arise due to differences in memory device design, as well as memory device feature reductions, package size reductions, channel bandwidth increases, and signaling frequencies. Thus, with significant variations in memory channel layouts, it is unlikely that memory device suppliers will guarantee that memory devices will operate in a default state without command bus training. Command bus training is particularly complex because it is an unrelated problem in that the command bus may be the only way to communicate with memory devices that may not have a sideband communication channel. However, that same command bus requires proper centering. Attempting to complete command bus training outside of a standardized training mode (e.g., to address complex crosstalk or interference situations) is also difficult because errors on the command bus can cause memory devices to hang or lock up. If a memory device hangs or locks up, the reset flow or process can be lengthy and expensive.

[0014] As described herein, references to memory devices may apply to various memory types. Memory devices may refer to volatile memory technologies. Volatile memory is memory whose state (and thus the data stored therein) is indeterminate when power to the device is removed. Non-volatile memory refers to memory whose state is determinate even when power to the device is removed. Dynamic volatile memory requires that data stored in the device be refreshed to maintain the state. An example of dynamic volatile memory is dynamic random access memory (DRAM) or some variation such as synchronous DRAM (SDRAM). The memory subsystems described herein may be implemented using any of a variety of standards, including DDR3 (Double Data Rate Version 3, JESD79-3, first published by JEDEC (JEDEC Electronic Equipment Engineering Council) on June 27, 2007), DDR4 (DDR Version 4, JESD79-4, first published by JEDEC in September 2012), LPDDR3 (Low Power DDR Version 3, JESD209-3B, first published by JEDEC in August 2013), LPDDR4 (Low Power DDR Version 4, JESD209-4, first published by JEDEC in August 2014), WIO2 (WIDE I / O2), and DDR4 (DDR5, JESD512). DDR4 (DDR5 Version 5, currently under discussion by JEDEC), or combinations of memory technologies and technologies based on derivatives or extensions of such specifications.

[0015] A DRAM memory device designed to operate according to the LPDDR4 or LPDDR5 standard or specification may have a command bus training (CBT) mode that samples the command / address (CA) value received over the command bus when the chip select (CS) signal is toggled, and returns the sampled CA value on the data bus to the memory controller. The receiving memory controller may use this feedback to adjust the voltage reference (VrefCA) of the command bus (e.g., LPDDR5 mode register (MR) MR12.OP[6:0]). The receiving memory controller may use this feedback to adjust the relative timing between the command bus and the clock (CLK), typically with a phase interpolator, or to adjust advanced signaling techniques associated with higher command bus frequencies, such as transmitter or receiver equalization techniques. The CBT mode allows for training of the LPDDR4 or LPDDR5 command bus, which is a time-consuming process that typically must be performed through firmware / software. For example, these LPDDR4 / LPDDR5 CBT modes may require firmware / software to program the CA pattern, send the CA pattern to the DRAM over the command bus, read the sampled value returned on the data bus, and perform firmware / software checks for correctness. Because each of these steps is orchestrated by firmware, in some instances the command bus training may only take one sample per few microseconds. A rate of one sample per few microseconds may severely limit the number of CA patterns that can be tested within an acceptable period of time. This limited sampling rate may also adversely affect the quality of the command bus training, given that normal operation of an LPDDR4 or LPDDR5 DRAM memory device may provide the opportunity to collect / observe multiple samples per nanosecond.Therefore, when LPDDR4 / LPDDR5 CBT mode is implemented through the memory controller firmware / software, thousands of potential sampling points may be lost to observe whether the CA pattern is correct or not.

[0016] DRAM memory devices designed to operate according to the proposed DDR5 specification will support a command bus training mode called Command Address Training Mode (CATM). CATM samples the CA value when CS toggles and returns the result on the data bus of these types of DDR5 memory devices. However, instead of returning the actual sampled CA value, the DDR5 memory device contains internal circuitry that returns only the parity of the sampled CA value. CATM greatly simplifies error checking of the CA pattern, since the memory controller logic only needs to check whether the data bus is driven high (parity value indicating an error) or low (parity value indicating no error) by the memory device. As a result, the memory controller logic located for command bus training of the DDR5 memory device does not need to compare the CA pattern transmitted over the command bus with the memory device sampled CA pattern returned over the data bus.

[0017] The simplified parity check of CA patterns by logic in DDR5 memory devices during CATM removes most of the tuning work that firmware needs to do compared to LPDDR4 and LPDDR5 memory devices during their respective command bus training modes. However, LPDDR4 and LPDDR5 memory devices do not have internal circuitry and logic to implement a command bus training mode similar to CATM. Therefore, a technique is needed to minimize firmware tuning work in a memory controller that implements a command bus training mode in an LPDDR4 or LPDDR5 memory device to reduce the time to train the command bus and improve the quality of the command bus training.

[0018] FIG. 1 illustrates an exemplary system 100. In some examples, as shown in FIG. 1, system 100 includes a processor and elements of a memory subsystem in a computing device. Processor 110 represents a processing unit of a computing platform that may run an operating system (OS) and applications, which may collectively be referred to as a host or user of the memory subsystem. The OS and applications perform operations that result in memory accesses. Processor 110 may include one or more separate processors. Each separate processor may include a single processing unit, a multi-core processing unit, or a combination thereof. A processing unit may be a primary processor, such as a central processing unit (CPU), a peripheral processor, such as a graphics processing unit (GPU), or a combination thereof. Memory accesses may be initiated by devices such as a network controller or a hard disk controller. Such devices may be integrated with the processor in some systems, attached to the processor via a bus (e.g., a PCI Express bus), or a combination thereof. System 100 may be implemented as a system-on-chip (SOC) or a stand-alone component.

[0019] References to memory devices may apply to various memory types. Memory devices often refer to volatile memory technologies such as DRAM. In addition to or alternatively to volatile memory, in some examples, references to memory devices may refer to non-volatile memory devices whose state is deterministic even when power to the device is interrupted. In one example, the non-volatile memory device is a block-addressable memory device such as NAND or NOR technology. The memory device may include, but is not limited to, byte-addressable or block-addressable types of non-volatile memory having a three-dimensional (3-D) cross-point memory structure (hereinafter referred to as "3-D cross-point memory") that includes a chalcogenide phase change material (e.g., chalcogenide glass). Non-volatile types of memory may include other types of byte-addressable or block-addressable non-volatile memory such as, but not limited to, multi-threshold level NAND flash memory, NOR flash memory, single or multi-level phase change memory (PCM), resistive memory, nanowire memory, ferroelectric transistor random access memory (FeTRAM), antiferroelectric memory, resistive memory including metal oxide based, oxygen defect based, and conductive bridge random access memory (CB-RAM), spintronic magnetic junction memory, magnetic tunnel junction (MTJ) memory, domain wall (DW) spin-orbit transfer (SOT) memory, thyristor-based memory, magnetoresistive random access memory (MRAM) incorporating memristor technology, spin-transfer torque MRAM (STT-MRAM), or any combination of the above.

[0020] References herein to "RAM" or "RAM device" may apply to any memory device that allows random access, whether volatile or non-volatile. References to "DRAM," "SDRAM," "DRAM device," or "SDRAM device" may refer to a volatile random access memory device. The memory device, SDRAM, or DRAM may refer to the die itself, a packaged memory product that includes one or more dies, or both. In some examples, a system with volatile memory that requires refreshing may also include at least some non-volatile memory.

[0021] The memory controller 120 may represent one or more memory controller circuits or memory devices of the system 100, as shown in FIG. 1. The memory controller 120 may also include logic and / or functionality to generate memory access commands in response to execution of operations by the processor 110. In some examples, the memory controller 120 may access one or more memory devices 140. In these examples, the memory devices 140 may be SDRAM devices according to any of the above. The memory devices 140 may be organized and managed through various channels, which may be coupled in parallel to multiple memory devices via buses and signal lines. Each channel may be independently operable. Thus, separate channels may be accessed and controlled independently, and timing, data transfer, command and address exchange, and other operations may be separate for each channel. Coupling may refer to electrical coupling, communicative coupling, physical coupling, or a combination thereof. Physical coupling may include direct contact. An electrical coupling includes, for example, an interface or interconnect that allows electrical flow between components, or allows signaling between components, or both. A communicative coupling includes, for example, a connection, including a wired connection or a wireless connection, that enables components to exchange data.

[0022] According to some examples, the settings for each channel are controlled by separate mode registers or other register settings. In these examples, memory controller 120 may manage separate memory channels, although system 100 may be configured to have multiple channels managed by a single memory controller, or to have multiple memory controllers on a single channel. In one example, memory controller 120 is part of processor 110, such that the logic and / or functionality of memory controller 120 is implemented on the same die as processor 110 or in the same package space.

[0023] The memory controller 120 includes an I / O interface circuit 122 that couples to a memory bus, such as the memory channel described above. The I / O interface circuit 122 (and the I / O interface circuit 142 of the memory device 140) may include pins, pads, connectors, signal lines, traces, or wires, or other hardware connecting devices, or a combination thereof. The I / O interface circuit 122 may include a hardware interface. As shown in FIG. 1, the I / O interface circuit 122 includes at least a driver / transceiver for the signal lines. Generally, wires in an integrated circuit interface couple with pads, pins, or connectors to interface signal lines or traces or other wires between devices. The I / O interface circuit 122 may include a driver, receiver, transceiver, or termination, or other circuit or combination of circuits, for exchanging signals on the signal lines between the memory controller 120 and the memory device 140. The exchange of signals includes at least one of sending or receiving. Although I / O interface circuit 122 is shown as coupling from memory controller 120 to I / O interface circuit 142 of memory device 140, it will be appreciated that in implementations of system 100 in which groups of memory devices 140 are accessed in parallel, multiple memory devices may include I / O interface circuitry to the same interface of memory controller 120. In implementations of system 100 that include one or more memory modules 170, I / O interface circuit 142 may include interface hardware for memory module 170 in addition to interface hardware for memory device 140. Other memory controllers 120 may include multiple separate interfaces to one or more of memory devices of memory device 140.

[0024] In some examples, the memory controller 120 may be coupled to the memory devices 140 via a number of signal lines. The number of signal lines may include at least a clock (CLK) 132, a command / address (CMD) 134, and write data (DQ) and read data (DQ) 136, as well as zero or more other signal lines 138. According to some examples, the configuration of signal lines coupling the memory controller 120 to the memory devices 140 may be collectively referred to as a memory bus. The CMD 134 signal line may be referred to as a "command bus," "C / A bus," or "ADD / CMD bus," or some other name that indicates the transfer of commands. The DQ 136 signal line may be referred to as a "data bus."

[0025] According to some examples, the independent channels may have various clock signals, command buses, data buses, and other signal lines. In these examples, the system 100 may be considered to have multiple "buses" in the sense that the independent interface paths may be considered as separate buses. It will be appreciated that the buses may include at least one of strobe signaling lines, alert lines, auxiliary lines, or other signal lines, or combinations of these additional signal lines, in addition to the signal lines shown in FIG. 1. It will also be appreciated that serial bus technology may be used to transmit signals between the memory controller 120 and the memory devices 140. An example of a serial bus technology is 8B10B encoding and transmission of high speed data with an embedded clock over a single differential signal pair in each direction. In some examples, the CMD 134 represents a signal line shared in parallel with multiple memory devices 140. In other examples, multiple memory devices share the encoded command signal lines of the CMD 134, each with a separate chip select (CS_n) signal line for selecting an individual memory device 140.

[0026] In some examples, the bus between memory controller 120 and memory device 140 includes an auxiliary command bus routed via signal lines included in CMD 134 and an auxiliary data bus carrying write and read data routed via signal lines included in DQ 136. In some examples, CMD 134 and DQ 136 may include separate bidirectional lines. In other examples, DQ 136 may include a unidirectional write signal line for writing data from the host to the memory and a unidirectional line for reading data from the memory to the host.

[0027] According to some examples, signal lines included in other 138 may extend the memory bus or auxiliary bus according to the memory technology and system design selected. For example, strobe line signal lines for DQS. Based on the design of system 100 or memory technology implementation, the memory bus may have more or less bandwidth for each memory device included in memory device 140. The memory bus may support memory devices included in memory device 140 having either a ×32 interface, a ×16 interface, a ×8 interface, or other interface. By convention, “xW” (W is an integer referring to the interface size or interface width of the interface of memory device 140) represents the number of signal lines that exchange data with memory controller 120. The interface size of these memory devices may be a controlling factor for the number of memory devices that may be used simultaneously per channel in system 100 or coupled in parallel to the same signal lines. In some examples, high bandwidth memory devices, wide interface memory devices, or stacked memory devices, or a combination thereof, may enable the use of wider interfaces, such as a x128 interface, a x256 interface, a x512 interface, a x1024 interface, or other data bus interface widths.

[0028] In some examples, the memory device 140 and the memory controller 120 exchange data over the data bus via the signal lines included in DQ 136 in bursts or in a series of consecutive data transfers. A burst corresponds to a number of transfer cycles related to the bus frequency. A given transfer cycle may be a full clock cycle of transfers occurring on the same clock or strobe signal edge (e.g., rising edge). In some examples, every clock cycle, referring to a cycle of the system clock, may be divided into multiple unit intervals (UIs), with each UI being a transfer cycle. For example, a double data rate transfer triggers on both edges (e.g., rising and falling) of the clock signal. A burst may last for a configurable number of UIs, which may be a configuration stored in a register or triggered on the fly. For example, a series of eight consecutive transfer periods may be considered a burst length of 8 (BL8), with each memory device 140 being able to transfer data at each UI. Thus, a ×8 memory device operating at BL8 may transfer 64 bits of data (8 data signal lines × 8 data bits transferred per line via the burst). It will be appreciated that this simple example is merely illustrative and not limiting.

[0029] According to some examples, memory devices 140 represent memory resources of system 100. In these examples, each memory device included in memory devices 140 is a separate memory die. The separate memory devices may interface with multiple (e.g., two) channels per device or die. A given memory device of memory devices 140 may include an I / O interface circuit 142 and may have a bandwidth determined by an interface width associated with the implementation or configuration of the given memory device (e.g., ×16, or ×8, or some other interface bandwidth). I / O interface circuit 142 may enable the memory device to interface with memory controller 120. I / O interface circuit 142 may include a hardware interface and may operate in cooperation with I / O interface circuit 122 of memory controller 120.

[0030] In some examples, multiple memory devices 140 may be connected in parallel to the same command and data bus (e.g., via CMD 134 and DQ 136). In other examples, multiple memory devices 140 may be connected in parallel to the same command bus but to different data buses. For example, system 100 may be configured with multiple memory devices 140 coupled in parallel, with each memory device responding to commands and accessing memory resources 160 internal to each memory device. For write operations, individual memory devices of memory devices 140 may write a portion of an entire data word, and for read operations, individual memory devices may fetch a portion of an entire data word. As a non-limiting example, a particular memory device may provide or receive 8 bits of a 128-bit data word for a read or write operation, or 8 or 16 bits of a 256-bit data word (depending on whether it is a ×8 or ×16 device), respectively. The remaining bits of the word may be provided or received in parallel by other memory devices.

[0031] According to some examples, memory device 140 may be located directly on a motherboard of a computing device or a host system platform (e.g., a PCB (printed circuit board) on which processor 110 is located). Memory device 140 may be organized into memory module 170. In some examples, memory module 170 may represent a dual in-line memory module (DIMM). In some examples, memory module 170 may represent other organization or configuration of multiple memory devices that share at least a portion of access circuitry or control circuitry, which may be a separate circuit, separate device, or separate board from the host system platform. In some examples, memory module 170 may include multiple memory devices 140 and may include support for multiple separate channels for contained memory devices 140 located therein.

[0032] In some examples, memory device 140 may be integrated into the same package as memory controller 120, such as in a multi-chip module (MCM), package-on-package with through silicon vias (TSV), or other techniques or combinations thereof. Similarly, in some examples, memory device 140 may be integrated into memory module 170, which may itself be integrated into the same package as memory controller 120. It will be appreciated that in these and other examples, memory controller 120 may be part of processor 110 or may be integrated with processor 110.

[0033] As shown in FIG. 1, in some examples, memory device 140 includes memory resources 160. Memory resources 160 may represent individual arrays of memory locations or storage locations of data. Memory resources 160 may be managed as rows of data accessed via control of word lines (rows) and bit lines (individual bits within a row). Memory resources 160 may be organized as separate channels, ranks, and memory banks. A channel may refer to an independent control path to storage locations in memory device 140. A rank may refer to a common location in multiple memory devices (e.g., the same row address in different memory devices). A bank may refer to an array of memory locations in a given memory device of memory device 140. A bank may be divided into sub-banks with at least some of the shared circuitry (e.g., drivers, signal lines, control logic) for the sub-banks to allow separate addressing and access. It will be appreciated that channels, ranks, banks, sub-banks, groups of banks, or other organization of memory locations, and combinations of these organization may overlap in applications for accessing memory resources 160. For example, the same physical memory location may be accessed via a particular channel as a particular bank that may also belong to a rank. Thus, the organization of memory resources 160 may be understood in an inclusive rather than exclusive manner.

[0034] 1, memory device 140 includes one or more registers 144. Registers 144 may represent one or more storage devices or locations that provide configurations or settings for operational memory device 140. In one example, registers 144 may provide storage locations in memory device 140 that store data for access by memory controller 120 as part of control or management operations. For example, registers 144 may include one or more mode registers (MR) and / or may include one or more general purpose registers.

[0035] In some examples, by writing or programming one or more registers of registers 144, memory device 140 may be configured to operate in different “modes.” In these examples, command information written or programmed into one or more registers may trigger different modes within memory device 140. Additionally or alternatively, the different modes may trigger different operations from address information or other signal lines depending on the mode that is triggered. The programmed settings of registers 144 may indicate or trigger configuration of I / O settings (e.g., configuration of timing, termination, on-die termination (ODT), drivers, or other I / O settings).

[0036] According to some examples, the memory device 140 includes an ODT 146 as part of the interface hardware associated with the I / O interface circuit 142. The ODT 146 may provide a setting of an impedance applied to the interface to a given signal line. For example, the ODT 146 may be configured to apply an impedance to a signal line included in DQ 136 or CMD 134. The ODT setting of the ODT 146 may be changed based on whether a memory device of the memory device 140 is a selected target or a non-target memory device of an access operation. The ODT setting of the ODT 146 may affect the timing and reflection of signaling on a terminated signal line included in, for example, CMD 134 or DQ 136. Controlling the ODT setting of the ODT 146 may improve the matching of the applied impedance and load, enabling faster operation. The impedance and load may be applied to certain signal lines (e.g., CMD 134 and DQ 136) of the I / O interface circuit 142, 122, but not necessarily to all signal lines.

[0037] In some examples, as shown in FIG. 1, memory device 140 includes controller 150. Controller 150 may represent control logic within memory device 140 for controlling internal operations within memory device 140. For example, controller 150 decodes commands sent by memory controller 120 and generates internal operations to execute or fulfill the commands. Controller 150 may be referred to as an internal controller and is separate from host memory controller 120. Controller 150 may include logic and / or functionality for determining the mode to be selected based on programmed or default settings indicated in registers 144, and for configuring internal execution of operations to access memory resources 160 or other operations based on the selected mode. Controller 150 generates control signals to control the routing of bits within memory device 140 to provide an appropriate interface for the selected mode and to direct commands to the appropriate memory locations or addresses of memory resources 160. Controller 150 includes command (CMD) logic 152, which may decode command encodings received on command and address signal lines. Thus, the CMD logic 152 may be or may include a command decoder. Using the command logic 152, the memory device can identify commands and generate internal operations to carry out the requested command.

[0038] Referring back to memory controller 120, memory controller 120 includes CMD logic 124, which represents logic and / or functionality for generating commands to send to memory device 140. Generating a command can refer to preparing a command before it is scheduled or a queued command ready to be sent. Generally, signaling within the memory subsystem includes address information within or associated with a command to indicate or select one or more memory locations at which memory device 140 should execute the command. In response to scheduling a transaction for memory device 140, memory controller 120 can issue a command via I / O interface circuit 122 to cause memory device 140 to execute the command. In some examples, controller 150 of memory device 140 receives and decodes the command and address information received from memory controller 120 via I / O interface circuit 142. Controller 150 can control the timing of operation of logic, functions, and / or circuits within memory device 140 to execute the command based on the received command and address information. Controller 150 may be arranged to operate in compliance with a standard or specification, such as timing and signaling requirements of memory device 140. Memory controller 120 may implement compliance with the standard or specification through scheduling and control of access.

[0039] According to some examples, memory controller 120 includes scheduler 130, which represents logic and / or functionality for generating and ordering transactions to send to memory device 140. From one perspective, it can be said that the primary function of memory controller 120 is to schedule memory accesses and other transactions to memory device 140. Such scheduling can include generating the transactions themselves to implement requests for data by processor 110 and to maintain data integrity (e.g., with refresh-related commands). A transaction can include one or more commands, and the commands and / or data are transferred over one or more timing cycles, such as a clock cycle or unit interval. A transaction can be for access, such as a read command or a write command or related commands, or a combination thereof, and other transactions can include memory management commands for configuration, settings, data integrity, or other commands or combinations thereof.

[0040] In some examples, memory controller 120 includes refresh (REF) logic 126. REF logic 126 may be used for volatile memory resources that require a refresh to maintain a defined state. REF logic 126 may indicate, for example, the location of the refresh and the type of refresh to perform. REF logic 126 may trigger a self-refresh in memory device 140, or perform an external refresh, which may be referred to as an auto-refresh command, by sending a refresh command, or a combination thereof. According to some examples, system 100 supports an all-bank refresh and a bank-by-bank refresh. In an all-bank refresh, banks in all memory devices 140 coupled in parallel are refreshed. In a bank-by-bank refresh, a given bank in a given memory device of memory device 140 is refreshed. In some examples, controller 150 in memory device 140 includes REF logic 154 for applying the refresh in memory device 140. REF logic 154 may, for example, generate an internal operation to perform the refresh according to an external refresh received from memory controller 120. The REF logic 154 may determine whether a refresh is directed to the memory device 140 and may determine which memory resources 160 to refresh in response to the command.

[0041] According to some examples, memory controller 120 includes I / O training circuit 128. I / O training circuit 128 refers to circuitry in memory controller 120 for performing training of the I / O interconnect between memory controller 120 and memory device 140. Training can refer to applying various settings to determine settings that improve signaling quality. Training can include iterative operations to test various settings, which can include voltage settings, timing settings, or other settings, or combinations thereof. I / O training circuit 128 can set parameters associated with I / O interface circuit 142 and transceivers of I / O interface circuit 122. In some examples, I / O training circuit 128 enables command bus signal training of signal lines included in CMD 134.

[0042] Training may refer to the testing and setting of electrical and / or timing parameters that control the data signal eye. The data signal eye refers to the average timing and shape of the rising and falling edges of a signal received on one or more signal lines. The eye height and width comply with the timing and voltage level requirements necessary to trigger a logic value and / or a change in logic value on one or more signal lines. Command bus training may be according to any example of command bus or C / A bus training described herein. In some examples, the I / O training circuit 128 may provide a command bus training mode according to any example described herein.

[0043] In some examples, memory device 140 includes I / O sampling and feedback logic 180. I / O training circuit 128 may operate in coordination with CMD logic 124 to enable testing of various signaling parameters to train signals routed over various signal lines coupled between memory controller 120 and memory device 140. I / O sampling and feedback logic 180 may sample these various signal lines during training and provide feedback to memory controller 120 to identify settings that provide signaling characteristics that enable memory controller 120 and memory device 140 to exchange information, such as commands from memory controller 120 and data to be written to or received from memory device 140.

[0044] According to some examples, memory device 140 transitions to the command bus training mode based on a command from CMD logic 124. If memory device 140 is arranged or configured to operate according to the proposed DDR5 specification, the command bus training mode may be CATM, as described in more detail below. If memory device 140 is arranged or configured to operate according to the LPDDR4 or LPDDR5 specification, the command bus training mode may be LPDDR4 / LPDDR5 CBT mode. As described further below, either type of command bus training mode may enable a system, such as system 100, to train CA signals routed to one or more memory devices via command bus signal lines, such as CA signals routed to memory device 140 via signal lines included in CMD 134. For example, with memory device 140 in command bus training mode, logic and / or functionality of memory controller 120, such as CMD logic 124, can send commands and / or signals to memory device 140 to train the voltage margining, timing margining, or phase margining, or a combination thereof (which may collectively be referred to as signal margining), of CA signals routed through CMD 134 to align the CA signals with a memory subsystem clock signal, which is a clock signal included in CLK 132.

[0045] Also, as described further below, the command logic of the memory controller, similar to the CMD logic 124 of the memory controller 120, may include or have access to an error detection circuit, such as an I / O training circuit 128, that can facilitate error detection of the sampled signal by the memory device based on a common set of CA algorithms for generating CA patterns for both DDR5 memory devices or LPDDR4 / LPDDR5 memory devices placed in their respective CATM or CBT modes. For example, the I / O training circuit included within the memory controller 120 may include at least some error checking hardware that allows the CMD logic 124 to quickly and efficiently determine whether the sampled CA pattern is correct or has one or more errors. According to some examples, this type of I / O training circuit, including or having access to error checking hardware, may enable the memory controller to operate with a wider range of memory devices, including operation with DDR5 memory devices or LPDDR4 / LPDDR5 memory devices that utilize a common set of CA patterns and / or CA training algorithms, to train the command bus for various types of memory devices or memory technologies. The error checking hardware can also simplify any firmware or software adjustments required when implementing command bus training for LPDDR4 / LPDDR5 memory devices.

[0046] FIG. 2 illustrates an exemplary system 200. In some examples, as shown in FIG. 2, the system 200 includes a memory controller 220 and a memory device 240. In these examples, also as shown in FIG. 2, the memory controller 220 includes, but is not limited to, a CMD logic 224, an I / O training circuit 228, and an I / O interface circuit 222. CLK 232, CMD 234, DQ 236, and others 238 couple the I / O interface circuit 222 with an I / O interface circuit 242, as shown in FIG. 2. CLK 232, CMD 234, DQ 236, and others 238 may include similar signal lines and memory bus functions as described above for CLK 132, CMD 134, DQ 136, and others 138 shown in FIG. 1.

[0047] In some examples, as shown in FIG. 2, the memory device 240 includes an I / O sampling and feedback logic 280 and an I / O interface circuit 242. Logic and / or functionality of the I / O training circuit 228, such as the pattern circuit 227 or the error detection circuit 229, may facilitate command bus training of either a DDR5 memory device or an LPDDR4 / 5 memory device. For the exemplary system 200, the memory device 240 may be arranged or designed to operate in compliance with the LPDDR4 specification or the LPDDR5 specification. For an LPDDR4 / 5 memory device, the CMD logic 224 may indicate in some examples that the error detection circuit 229 requires at least some compression of the sampled CA pattern returned to the memory controller 220 to provide a compressed representation of the sampled CA pattern. As described further below, the error detection circuit 229 may be arranged to implement various compression schemes on the returned CA pattern.

[0048] According to some examples, the pattern circuit 227 may include programmable logic or functionality to enable the pattern circuit 227 to generate CA patterns based on one or more CA training algorithms provided by firmware or software executed by the CMD logic 224. For example, the firmware or software executed by the CMD logic 224 may provide one or more CA training algorithms to the pattern circuit 227 to generate CA patterns. Although not shown in FIG. 2, the pattern circuit 227 may utilize one or more types of circuits to generate pseudorandom CA patterns, such as one or more linear feedback shift registers (LFSRs). For example, a seed value may be indicated by one or more CA training algorithms and then used by the pattern circuit 227 to generate pseudorandom CA patterns. In some examples, the pattern circuit 227 may utilize multiple LFSRs to simulate the effects of complex crosstalk or power supply stresses on signals routed through signal lines included in the CMD 234 coupled between the memory controller 220 and the memory device 240. The pattern circuit 227 may create different frequency components by masking the LFSR pattern using a variable frequency square wave. The memory controller 220 may transition to various internal states to expose the command bus training method to side effects of these internal states. The internal states may include, but are not limited to, a low power state, or updating internal transmission settings based on temperature changes. As described in more detail below, the generated patterns may be routed over command bus signal lines included in the CMD 234 based on the initiation of a CBT mode implemented according to the LPDDR4 or LPDDR5 specifications.

[0049] In some examples, the error detection circuit 229 of the I / O training circuit 228 may include circuitry that can facilitate error detection of a sampled CA pattern observed by the I / O sampling and feedback logic 280 in response to initiation of a CBT mode. For these examples, the sampled CA pattern may be observed by the I / O sampling and feedback logic 280 based on a CA pattern routed over signal lines included in the CMD 234. The sampled CA pattern may be sent back over a data bus having signal lines included in the DQ 236. In one example, the error detection circuit 229 may include circuitry for compressing the returned sampled CA pattern such that firmware or software executed by the CMD logic 224 can determine whether the sampled CA pattern is correct or has one or more errors.

[0050] According to some examples, compressing the returned sampled CA pattern may include compressing the returned sampled CA pattern into a single parity bit value using one or more exclusive OR (XOR) gates. In these examples, the pattern circuit 227 may implement a CA training algorithm that generates a pseudorandom pattern on an even number of signal lines included in the CMD 234 to create even parity. Thus, if the compressed sampled CA pattern generates a parity value of "0", the software or firmware implemented by the CMD logic 224 may determine that the CA pattern was sampled without error. If the compressed sampled CA pattern generates a parity value of "1", the software or firmware implemented by the CMD logic 224 may determine that the CA pattern was sampled with an error and that corrective action (e.g., adjusting electrical or timing parameters associated with the signals transmitted via the signal lines included in the CMD 234) is required.

[0051] In some examples, compressing the sampled CA pattern may include using circuitry to calculate a cyclic redundancy check (CRC) value to represent the sampled CA pattern to be compressed. For these examples, the pattern circuitry 227 may implement a CA training algorithm that has an expected M+1 bit CRC value (where "M" represents any positive integer) of the CA pattern generated on a signal line included in the CMD 234. The expected M+1 CRC value may be maintained by software or firmware executed by the CMD logic 224. When the sampled CA pattern is returned via DQ 236, the error detection circuitry 229 calculates a CRC value for the sampled CA pattern. The CRC value may then be forwarded to software or firmware executed by the CMD logic 224. The software or firmware executed by the CMD logic 224 may then determine whether the CRC value representing the sampled CA pattern to be compressed matches the expected M+1 CRC value of the CA pattern generated / transmitted. If the provided CRC values ​​match the expected M+1 CRC values, the software or firmware determines that the sampled CA pattern is error-free, and if the provided CRC values ​​do not match the expected M+1 CRC values, the software or firmware determines that the sampled CA pattern contains an error and that corrective action is required.

[0052] According to some examples, compressing the sampled CA pattern may include using a circuit to generate a signature value to represent the sampled CA pattern to be compressed. The circuit used to generate the signature value may include a multiple input shift register (MISR). For these examples, the pattern circuit 227 may implement a CA training algorithm having an expected M+1 bit signature value for the CA pattern to be generated on a signal line included in the CMD 234. The expected M+1 signature value may be maintained by software or firmware executed by the CMD logic 224. When the sampled CA pattern is returned via DQ 236, the error detection circuit 229 calculates a signature value for the sampled CA pattern by inputting the sampled CA pattern into the MISR. The signature value output from the MISR may then be forwarded to software or firmware executed by the CMD logic 224. The software or firmware executed by the CMD logic 224 may then determine whether the signature value representing the sampled CA pattern to be compressed matches the expected M+1 signature value for the CA pattern to be generated / transmitted. If the provided signature value matches the expected M+1 signature value, the software or firmware determines that the sampled CA pattern is error-free. If the provided signature value does not match the expected M+1 signature value, the software or firmware determines that the sampled CA pattern contains an error and that corrective action is required.

[0053] Figure 3 illustrates an exemplary system 300. In some examples, as shown in Figure 3, system 300 includes memory controller 220 as described above for Figure 2, and memory device 340. For these examples, CLK 332, CMD 334, DQ 336, and others 338, shown in Figure 3 as coupling I / O interface circuitry 222 with I / O interface circuitry 342, may include similar signal lines and memory bus functions as described above for CLK 132, CMD 134, DQ 136, and others 138 shown in Figure 1.

[0054] In some examples, logic and / or functionality of the I / O training circuit 228, such as the pattern circuit 227 or the error detection circuit 229, as previously described, may facilitate command bus training of either a DDR5 memory device or an LPDDR4 / 5 memory device. For the exemplary system 300, the memory device 340 may be arranged or designed to operate in compliance with the proposed DDR5 specification. For a DDR5 memory device, the CMD logic 224 may indicate that compression of the sampled CA pattern returned to the memory controller 220 is not required by the error detection circuit 329. No compression is required due to the DDR5 memory device including an XOR circuit of the memory device that aids in compressing the sampled CA pattern. As described further below, the I / O sampling feedback logic 380 includes an XOR circuit 382 for compressing the sampled CA pattern at the memory device 340.

[0055] According to some examples, as described above, pattern circuitry 227 may include programmable logic or functionality to enable pattern circuitry 227 to generate CA patterns based on one or more CA training algorithms provided by firmware or software executed by CMD logic 224. As described in more detail below, the generated patterns may be routed over command bus signal lines included in CMD 334 based on the initiation of a CATM implemented in accordance with the proposed DDR5 specification.

[0056] In some examples, the error detection circuit 229 of the I / O training circuit 228 may include circuitry that can facilitate error detection in a sampled CA pattern observed by the I / O sampling and feedback logic 380 in response to initiation of CATM. For these examples, the sampled CA pattern may be observed by the I / O sampling and feedback logic 380 based on the CA pattern being routed over signal lines included in CMD 334. The sampled CA pattern may be compressed into a parity value by an XOR circuit 382, ​​and the parity value is sent back over signal lines included in DQ 336.

[0057] In one example, the error detection circuitry 229 may forward the parity value to the software or firmware implemented by the CMD logic 224. Also, in these examples, the pattern circuitry 227 may implement a CA training algorithm that generates a pseudo-random pattern on an even number of signal lines included in the CMD 334 to create even parity. Thus, if the returned parity value is "0", the software or firmware implemented by the CMD logic 324 may determine that the CA pattern was sampled without error. If the returned parity value is "1", the software or firmware implemented by the CMD logic 324 may determine that the CA pattern was sampled with an error and that corrective action (e.g., adjusting electrical or timing parameters associated with signals transmitted over signal lines included in the CMD 334) is required.

[0058] 4A and 4B show an example diagram 400. In some examples, diagram 400 may be a timing diagram associated with an implementation of mode 1 command bus training (CBT) for a memory device arranged to operate according to the LPDDR5 specification, such as memory device 240 shown in FIG. 2 and described above. Examples are not limited to mode 1 CBT.

[0059] According to some examples, signal 410 represents a clock signal routed through signal lines included in CLK 332, which may include a primary clock signal CK_t and a complementary clock signal CK_c. For Mode 1 CBT, the clock signal runs continuously. The timing of CLK signal 410 has various timing indicators, such as Ta0, Ta1, . . ., Td0, Td1, . . ., etc. Various sections of the timing show timing that is not necessarily continuous, but may be continuous. Multiple breaks (BR) are shown. These breaks are merely representative. In some examples, command bus training while memory device 340 implements Mode 1 CBT may establish alignment between CK signal 410 and command bus (CA) signal 430.

[0060] In some examples, CA signals 430 illustrate example CA signals routed over a command bus, which may include seven signal lines [6:0] as shown in Figure 4. For example, the seven signal lines of CA signals 430 may be routed through CMD 334 coupled between memory controller 220 and memory device 240. The number of signal lines illustrated in Figure 4 is merely an example.

[0061] According to some examples, logic and / or functionality of memory controller 220 may enable mode 1 CBT by issuing a first mode register write (MRW-1) command followed by a second MRW-2 command as shown in FIG. 4A, which shows CMD signal 440 indicating a transition to CBT. FIG. 4A also shows CA signal 430 indicating a valid MRW command (approximately near Ta0). A valid MRW command is issued while asserting chip select (CS_n) signal 420 as shown in FIG. 4A. CMD signal 440 indicates a command that is decoded based on the signal of CA signal 430. In some examples, the MRW command may be issued by memory controller 220 writing or programming a general-purpose register of a mode register in memory device 240. The mode 1 CBT MRW command may be triggered by writing or programming a specific bit pattern to the general-purpose register.

[0062] According to some examples, the WCK_t, WCK_c signals 460 may represent signals transmitted over signal lines included in CLK 132 that capture the toggling of the state of the DQ[7] signal 450. In some examples, the DQ[7] signal 450 may represent a signal line coupled to an eighth pin of an eight-pin data bus, while the DQ[6:0] signals 470 may represent signal lines coupled to the other seven pins of the eight-pin data bus. For these examples, the DQ[7] signal 450 and the DQ[6:0] signals 470 may be included in the DQ 236 that is coupled between the memory controller 220 and the memory device 240.

[0063] In some examples, as shown in FIG. 4A, following tCAENT, the CS_n signal 420 may be driven high while the DQ[7] signal 450 is also driven high and CA pattern A is sent from the memory controller 220 via the command bus training CA[6:0] signal 430 as indicated by the CMD signal 440 around Td1 (e.g., based on a pattern generated by the pattern circuitry 227). In these examples, the sample 442 may be observed as CA pattern A. The sample 442 may be observed, for example, by the I / O sampling and feedback logic 280 of the memory device 240. The sample 442 may then be sent via the DQ[6:0] signal 470 as shown in FIG. 4A to indicate the resulting sampled CA pattern A around Td4.

[0064] As shown in Figure 4B, following CA pattern A and its corresponding samples 442, a second CA pattern B and corresponding samples 444 are shown. Figure 4B also shows both of these samples being transmitted via DQ[6:0] signals 470 near Tb0 and Td0. The examples are not limited to two CA patterns, and any number of CA patterns may be transmitted and received while memory device 240 is in mode 1 CBT.

[0065] 4B, the first and second MRW commands are sent on the CMD signal 440 near Tg0. For these examples, the CS_n signal 420 is driven high and the DQ[7] signal 450 is driven low to issue the MRW-1 and MRW-2 commands to end Mode 1 CBT. After tMRD, the memory device 240 may then be ready for normal operation.

[0066] FIG. 5 illustrates an exemplary table 500. In some examples, the table 500 includes AC parameters for command bus training of a memory device implementing Mode 1 CBT as described above for the diagram 400 of FIG. 4A and FIG. 4B and as described in the LPDDR5 specification. The AC parameters included in the table 500 refer to timing parameters for signaling on signal lines while the memory device is implementing Mode 1 CBT. In these examples, the signaling occurs on either rising or falling edges, or both. The timing parameters included in the table 500 refer to requirements to meet timing from one signal change to another signal change that triggers an action by one or more logic, functions, or circuits of the memory device.

[0067] Line 502 identifies tCBTWCKPRE_static, which represents a timing parameter that defines a static WCK period associated with a toggle of the DQ[7] signal. Line 504 identifies tWCK2DQYH, which represents a timing parameter that relates to a setup margin between the DQ[7] signal and the WCK_t, WCK_c signals. Line 506 identifies tDQ7HWCK, which represents a timing parameter that relates to a hold margin between the DQ[7] signal and the WCK_t, WCK_c signals. Line 508 identifies tDQ7HCK, which represents a timing parameter that relates to clocks and commands that are valid after the DQ[7] signal is asserted (high). Line 510 identifies tCHPRECS, which represents a valid clock requirement before the CS_n signal is asserted. Line 512 identifies tCKPSTCS, which represents a timing parameter that relates to a valid clock requirement after the CS_n signal is asserted. Line 514 identifies tCAENT, which represents a timing parameter for the delay time from when the DQ[7] signal is asserted to the CA bus training for a given CA pattern. Line 516 identifies tADR, which represents a timing parameter for an asynchronous data read. Line 518 identifies tCACD, which represents a timing parameter for the delay from CA bus training command to CA bus training command. Line 520 identifies tCKDQ7L, which represents a timing parameter for the CK_t, CK_c signals and commands valid via the CA[6:0] signals before the DQ[7] signal is deasserted (low). Line 522 identifies tDQ7LWCK, which represents a timing parameter for the DQ[7] signal being deasserted to a static WCK.

[0068] The example table 500 shown shows the minimum / maximum time in either nanoseconds (ns) or clock cycles for each parameter / symbol. In some examples, the CK cycle may be based on the CK_t, CK_c signals, and the WCK cycle may be based on the WCK_t, WCK_c signals.

[0069] 6 illustrates an example diagram 600. In some examples, diagram 600 may be a timing diagram associated with a CATM implementation of a memory device arranged to operate in accordance with the proposed DDR5 specification, such as memory device 340 illustrated in FIG.

[0070] According to some examples, signal 610 represents a clock signal routed through signal lines included in CLK 332, which may include a primary clock signal CK_t and a complementary clock signal CK_c. In the case of CATM, the clock signal runs continuously. The timing of CLK signal 610 has various timing indicators, such as t0, t1,..., t(a+1), t(a+2),..., etc. Various sections of the timing show timing that is not necessarily continuous, but may be continuous. Multiple breaks (BR) are shown in the figure. These breaks are merely representative. In some examples, command bus training while memory device 340 implements CATM may establish alignment between CK signal 610 and command bus (CA) signal 620.

[0071] In some examples, CA signals 620 illustrate example CA signals routed over a command bus, which may include 14 signal lines [13:0] as shown in Figure 6. For example, the 14 signal lines of CA signals 620 may be routed through CMD 334 coupled between memory controller 220 and memory device 340. The number of signal lines illustrated in Figure 6 is merely an example.

[0072] According to some examples, logic and / or functionality of memory controller 220 may enable CATM by issuing a multi-purpose command (MPC) indicated by CMD signal 630. CA signal 620 indicates a CATM transition command (approximately near t0). CATM is terminated or disabled based on assertion of chip select (CS_n) signal 640 for two or more cycles of CK signal 610 (approximately around tc+6 to tc+8) while sending a no operation (NOP) command via CA signal 620 as shown in FIG. 6. CMD signal 630 indicates a command that is decoded based on the signal of CA signal 620. In some examples, MPC may be issued by memory controller 220 writing or programming a multi-purpose register of a mode register in memory device 340. CATM transition command may be triggered by writing or programming a specific bit pattern to the multi-purpose register.

[0073] In some examples, MPC extends over multiple tCK cycles, during which the CS_n signal 620 is only asserted for a single tCK cycle while in CATM. Once in CATM, no other commands are interpreted by the memory device 340. The memory device samples only the CA pattern sent from the pattern circuit 227, generates a parity value by the XOR circuit 382, ​​and sends back the parity value for the sampled CA pattern via the DQ signal 660. In some examples, as shown in FIG. 6, while in CATM, the memory controller 220 holds or maintains the CA signal 620 in a deselect (DES) command encoding and holds the CA signal in a CA command when the CA pattern is not sampled from the CA signal 620. As seen in the CMD signal 630, the difference between the DES command and the CA command is the assertion or deassertion of the CS_n signal 640.

[0074] According to some examples, the DQS_t and DQS_c signals 650 represent data strobe signals (DQS), which may include complementary DQS_t and DQS_c signals. The particular signaling of the data strobes conveyed via the DQS_t and DQS_c signals 650 is not a limitation on the diagram 600. The CS_n signal 640 may represent a chip select signal of the memory device 340, and the I / O sampling and feedback logic 380 may obtain a number of samples, such as sample 642 and sample 644. In some examples, once CATM is enabled in the memory device 340, the I / O sampling and feedback logic 380 samples the CA pattern transmitted on the CA signal 620 on a rising CK edge, starting from a rising edge of the clock signal 610 after a delay of tCATM_Entry, which may represent a delay period that may start after tCATM_Entry. In another implementation, more or fewer samples may be used.

[0075] In some examples, the delay from when sample 642 or sample 644 is observed to when the output of the respective parity value (e.g., as determined by XOR circuit 382) generates an output signal via DQ signal 660 is designated as tCATM_Valid. The period tCATM_DQ_Window represents the period during which I / O sampling and feedback logic 380 or memory device 340 drives the output result of the respective parity value on DQ signal 660 and may be shorter or longer than that shown in FIG. 6 depending on the system configuration. I / O sampling and feedback logic 380 may drive an output as indicating a value of 0 or 1 depending on the parity value. For example, as shown in FIG. 6, the output on DQ signal 660 is a "0" for sample 642 and a "1" for sample 644.

[0076] FIG. 7 illustrates an example table 700. In some examples, table 700 includes AC parameters for command bus training of a memory device implementing CATM as described above for diagram 600 of FIG. 6 and as described in the proposed DDR5 specification. The AC parameters included in table 700 refer to timing parameters for signaling on signal lines while the memory device is implementing CATM. In these examples, the signaling occurs on either rising or falling edges, or both. The timing parameters included in table 700 refer to requirements to meet timing from one signal change to another signal change that triggers an action by one or more logic, functions, or circuits of the memory device.

[0077] Line 702 identifies tCATM_Entry, which represents a timing parameter that defines a delay or window or time between registering a CATM transition command and beginning acquisition of samples for command bus training. Line 704 identifies tCATM_Exit, which represents a timing parameter that defines a time between registering a CATM exit command and exiting CATM. Line 706 identifies tCATM_Exit_Delay, which represents a timing parameter that defines a delay time after indicating the end of CATM. Line 708 identifies tCATM_Valid, which represents a timing parameter from sample evaluation to output of sample evaluation results to the data bus (DQ). A minimum time of 20 nanoseconds (ns) is shown for lines 702 and 706. Maximum times of 14 ns and 20 ns are shown for lines 704 and 708, respectively.

[0078] Row 710 identifies tCATM_DQ_Window, which represents the time when output to the data bus (DQ) is available. The time when output is available defines the window during which the memory controller can read the result. The exemplary table shown shows the minimum possible time of 2nCK or two clock cycles.

[0079] Row 712 identifies tCATM_CS_Exit, which represents the time the CS_n signal is held low to register an exit command. Reference to holding the CS_n signal low may refer to an action by the memory controller to drive a logic low on the CS_n signal line. In the example of table 700, both parameters are shown as having a minimum time of 2nCK and a maximum time of 8nCK.

[0080] The present specification includes logic flows that represent example methodologies for implementing novel aspects of the disclosed architecture. While for purposes of simplicity of explanation, one or more methodologies depicted herein are illustrated and described as a series of acts, those skilled in the art will understand and appreciate that these methodologies are not limited to the order of acts. Accordingly, some acts may occur in a different order than those depicted and described herein and / or concurrently with other acts derived from those depicted and described herein. For example, those skilled in the art will understand and appreciate that a methodology may alternatively be represented as a series of interrelated states or events, such as in a state diagram. Moreover, not all acts depicted in a methodology may be required for a novel implementation.

[0081] The logical flows and / or portions of the logical flows may be implemented in software, firmware, and / or hardware. In software and firmware embodiments, the logical flows may be implemented by computer-executable instructions stored on at least one non-transitory computer-readable or machine-readable medium, such as optical, magnetic, or semiconductor storage. These embodiments are not limited in this context.

[0082] FIG. 8 illustrates an example logic flow 800. As shown in FIG. 8, logic flow 800 may include actions by a memory controller (e.g., memory controller 220) and either a DDR memory device (e.g., memory device 340) or an LPDDR5 memory device (e.g., memory device 240 during command bus (CA) training). In some examples, the memory controller trains an I / O interface between the memory controller and the memory device in response to a reset or initialization condition (802). In these examples, a chip select (CS) signal line is trained separately from other signal lines of the command bus of the I / O interface (804). According to some examples, the memory controller sends a command or a series of commands based on the memory type to the memory device to trigger a transition to a command bus training mode (806). In response to the trigger, the DDR5 memory device transitions to a CA training mode (CATM) (808A) or the LPDDR5 memory device transitions to a command bus training (CBT) mode (808B).

[0083] In some examples, while the memory device is in the CA training mode, the memory controller drives a CA pattern on the command bus (810). In some examples, the memory device samples the CA pattern (812A / B). If the memory device is a DDR5 memory device, an XOR circuit in the DDR5 memory may XOR the sampled CA pattern (812A) and then output a parity value on the data bus to represent the sampled CA pattern to be compressed (816A). If the memory device is an LPDDR5 memory device, the entire sampled CA pattern is output on the data bus (816B).

[0084] According to some examples, the memory controller reads the data bus (818). In one example, if what is read from the data bus is the sampled CA pattern (820, “Pattern” branch), the memory controller utilizes error detection circuitry to compress the sampled CA pattern (e.g., into an XOR parity value, a CRC value, or a signature value) (822). The memory device evaluates the compressed value to indicate that the CA pattern was sampled correctly (824). In some examples, if the memory controller determines that the CA pattern was not sampled correctly (826, “No” branch), the memory controller may cause the memory device to modify at least one I / O interface parameter and repeat driving the CA pattern on the CA bus (810).

[0085] According to some examples, if the command bus (CB) is trained (826, "Yes" branch), the memory controller triggers an end of command bus training (828). In response to triggering an end of command bus training, the DDR5 memory device exits CATM and sets parameters for the command bus to be trained (830A), or the LPDDR5 memory device exits CBT mode and sets parameters for the command bus to be trained (830B). In some examples, after training the command bus, the memory controller may separately train the data bus for the data pattern to be written to the memory device (832).

[0086] 9 illustrates an exemplary system 900. In some examples, the system 900 may be a computing system in which a memory system may implement a CA training mode. The system 900 represents a computing device according to any of the examples described herein, and may be a laptop computer, a desktop computer, a tablet computer, a server, a gaming or entertainment control system, a scanner, a copier, a printer, a routing or switching device, an embedded computing device, a smartphone, a wearable device, an Internet of Things device, or other electronic device.

[0087] System 900 includes a processor 910, which provides processing, operational management, and execution of instructions for system 900. Processor 910 may include any type of microprocessor, central processing unit (CPU), graphics processing unit (GPU), processing core, or other processing hardware that provides processing for system 900, or a combination of processors. Processor 910 controls the overall operation of system 900 and may be or include one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), or programmable logic devices (PLDs), or the like, or a combination of such devices.

[0088] In one example, the system 900 includes an interface 912 coupled to the processor 910, which may represent a higher speed or high throughput interface for system components requiring a higher bandwidth connection, such as the memory subsystem 920 or the graphics interface component 940. The interface 912 represents an interface circuit that may be a standalone component or may be integrated on the processor die. If present, the graphics interface 940 interfaces to a graphics component for providing a visual display to a user of the system 900. In one example, the graphics interface 940 may drive a high definition (HD) display that provides output to the user. High definition may refer to a display with a pixel density of approximately 100 PPI (pixels per inch) or greater, and may include formats such as full HD (e.g., 1080p), retina display, or 4K (ultra high definition or UHD), etc. In one example, the display may include a touch screen display. In one example, the graphics interface 940 generates a display based on data stored in the memory 930 and / or operations performed by the processor 910.

[0089] Memory subsystem 920 represents the main memory of system 900 and provides storage for code executed by processor 910 or data values ​​used in the execution of routines. Memory 930 of memory subsystem 920 may include one or more memory devices, such as read-only memory (ROM), flash memory, one or more types of random access memory (RAM), such as DRAM, or other memory devices, or a combination of such devices. Memory 930 stores and hosts, among other things, an operating system (OS) 932 that provides a software platform for executing instructions in system 900. Furthermore, applications 934 may execute on the software platform of OS 932 from memory 930. Applications 934 represent programs having their own operating logic for performing one or more functions. Processes 936 represent agents or routines that provide auxiliary functions to OS 932, or one or more applications 934, or a combination thereof. OS 932, applications 934, and processes 936 provide the software logic for providing functionality to system 900. In one example, memory subsystem 920 includes a memory controller 922, which is a memory controller for generating and issuing commands to memory 930. It will be appreciated that memory controller 922 may be a physical part of processor 910 or a physical part of interface 912. For example, memory controller 922 may be an integrated memory controller that is integrated on circuitry with processor 910.

[0090] Although not specifically shown, it will be understood that system 900 may include one or more buses or bus systems between devices, such as a memory bus, a graphics bus, or an interface bus. A bus or other signal lines may communicatively or electrically couple components to one another or communicatively and electrically couple components. A bus may include physical communication lines, point-to-point connections, bridges, adapters, controllers, or other circuits, or combinations thereof. A bus may include, for example, one or more of a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or Industry Standard Architecture (ISA) bus, a Small Computer System Interface (SCSI) bus, a Universal Serial Bus (USB), or an Institute of Electrical and Electronics Engineers (IEEE) Standard 1394 bus.

[0091] In one example, the system 900 includes an interface 914, which may be coupled to the interface 912. The interface 914 may be a slower interface than the interface 912. In one example, the interface 914 represents an interface circuit, which may include standalone components and integrated circuits. In one example, multiple user interface and / or peripheral components are coupled to the interface 914. The network interface 950 provides the system 900 with the ability to communicate with remote devices (e.g., servers or other computing devices) over one or more networks. The network interface 950 may include an Ethernet adapter, a wireless interconnection component, a cellular network interconnection component, a Universal Serial Bus (USB), or other wired or wireless standards-based or proprietary interface. The network interface 950 may exchange data with a remote device, which may include transmitting data stored in memory or receiving data stored in memory.

[0092] In one example, the system 900 includes one or more input / output (I / O) interfaces 960. The I / O interfaces 960 can include one or more interface components (e.g., audio, alphanumeric, haptic / touch, or other interface connections) through which a user interacts with the system 900. The peripheral interfaces 970 can include any hardware interfaces not specifically mentioned above. Peripherals generally refer to devices that depend on the system 900 to connect. A dependent connection is one in which the system 900 provides a software or hardware platform, or both, on which operations are performed and through which a user interacts.

[0093] In one example, the system 900 includes a storage subsystem 980 for storing data in a non-volatile manner. In one example, in a particular system implementation, at least certain components of the storage subsystem 980 can overlap with components of the memory subsystem 920. The storage subsystem 980 includes a storage device 984, which may be or may include any conventional medium for non-volatilely storing large amounts of data, such as one or more magnetic, solid-state, or optical-based disks, or a combination thereof. The storage device 984 holds code or instructions and data 986 in a persistent state (i.e., values ​​are retained despite interruption of power to the system 900). While the storage device 984 may be generally considered a "memory," the memory 930 is typically an execution or operating memory for providing instructions to the processor 910. While the storage device 984 is non-volatile, the memory 930 may include volatile memory (i.e., values ​​or states of data are indeterminate when power is interrupted to the system 900). In one example, the storage subsystem 980 includes a controller 982 for interfacing with a storage device 984. In one example, the controller 982 can be a physical part of the interface 914 or the processor 910, or can include circuitry or logic in both the processor 910 and the interface 914.

[0094] The power source 902 provides power to the components of the system 900. More specifically, the power source 902 typically interfaces to one or more power supplies 904 in the system 900 to provide power to the components of the system 900. In one example, the power supply 904 includes an AC-DC (alternating current to direct current) adapter for plugging into a wall outlet. Such AC power can be a renewable energy (e.g., solar power) source 902. In one example, the power source 902 includes a DC power source, such as an external AC-DC converter. In one example, the power source 902 or the power supply 904 includes wireless charging hardware for charging by proximity to a charging magnetic field. In one example, the power source 902 can include an internal battery or fuel cell source.

[0095] In one example, the memory subsystem 920 includes CA training logic 990. The CA training logic 990 may include logic in the memory controller 922 to trigger a CA training mode or a command bus training mode and send a signal to train the CA signal line. The memory 930 may include logic to provide feedback in response to a CA pattern driven on the CA signal line. In the CA training mode, the memory 930 may indicate sampled values ​​to be compressed or a complete CA pattern sampled in response to a given CA pattern driven on the CA signal line. The CA training may be according to any example described herein.

[0096] 10 illustrates an exemplary device 1000. In some examples, the device 1000 may be a mobile device in which a memory system may implement a CA training mode. The device 1000 represents a mobile computing device, such as a computing tablet, a mobile phone or smartphone, a wireless-enabled e-reader, a wearable computing device, an Internet of Things device, or other mobile device, or an embedded computing device. It will be understood that some of these components are shown in a general manner, and not all components of such a device are shown in the device 1000.

[0097] The device 1000 includes a processor 1010, which performs the primary processing operations of the device 1000. The processor 1010 may include one or more physical devices, such as a microprocessor, an application processor, a microcontroller, a programmable logic device, or other processing means. The processing operations performed by the processor 1010 include the execution of an operating platform or operating system on which applications and device functions are executed. The processing operations include operations related to I / O (input / output) with a human user or other devices, operations related to power management, operations related to connecting the device 1000 to another device, or combinations thereof. The processing operations may also include operations related to audio I / O, display I / O or other interface connections, or combinations thereof. The processor 1010 may execute data stored in memory. The processor 1010 may write or edit data stored in memory.

[0098] In one example, the device 1000 includes one or more sensors 1012. The sensors 1012 represent built-in sensors, or interfaces to external sensors, or a combination thereof. The sensors 1012 enable the device 1000 to monitor or detect one or more conditions of the environment or device in which the device 1000 is implemented. The sensors 1012 may include environmental sensors (such as temperature sensors, motion detectors, light detectors, cameras, chemical sensors (e.g., carbon monoxide sensors, carbon dioxide sensors, or other chemical sensors), pressure sensors, accelerometers, gyroscopes, medical or physiological sensors (e.g., biosensors, heart rate monitors, or other sensors that detect physiological attributes), or other sensors, or combinations thereof. The sensors 1012 may also include sensors for biometric authentication systems, such as fingerprint recognition systems, face detection or recognition systems, or other systems that detect or recognize features of a user. The sensors 1012 should be understood broadly and are not intended to impose limitations on the many different types of sensors that may be implemented in the device 1000. In one example, the one or more sensors 1012 couple to the processor 1010 via a front-end circuit that is integrated with the processor 1010. In one example, the one or more sensors 1012 couple to the processor 1010 via another component of the device 1000.

[0099] In one example, device 1000 includes an audio subsystem 1020, which represents hardware (e.g., audio hardware and audio circuitry) and software (e.g., drivers, codecs) components associated with providing audio functionality to a computing device. Audio functionality may include speaker or headphone output and microphone input. Devices for such functionality may be integrated into device 1000 or may be connected to device 1000. In one example, a user interacts with device 1000 by providing audio commands that are received and processed by processor 1010.

[0100] The display subsystem 1030 represents hardware components (e.g., display devices) and software components (e.g., drivers) that provide a visual display for presentation to a user. In one example, the display includes a haptic component or touch screen element for a user to interact with the computing device. The display subsystem 1030 includes a display interface 1032, which includes a particular screen or hardware device used to provide a display to a user. In one example, the display interface 1032 includes logic separate from the processor 1010 (e.g., a graphics processor) for performing at least some processing related to the display. In one example, the display subsystem 1030 includes a touch screen device that provides both output and input to a user. In one example, the display subsystem 1030 includes a high definition (HD) display that provides output to a user. High definition can refer to a display with a pixel density of approximately 100 PPI (pixels per inch) or greater and can include formats such as full HD (e.g., 1080p), retina display, or 4K (ultra high definition or UHD), etc. In one example, the display subsystem includes a touch screen display. In one example, the display subsystem 1030 generates display information based on data stored in memory and / or operations performed by the processor 1010 .

[0101] The I / O controller 1040 represents hardware devices and software components associated with interaction with a user. The I / O controller 1040 may operate to manage hardware that is part of the audio subsystem 1020 or the display subsystem 1030, or both. Additionally, the I / O controller 1040 represents connection points for additional devices that connect to the device 1000 through which a user may interact with the system. For example, devices that may be attached to the device 1000 may include a microphone device, a speaker or stereo system, a video system or other display device, a keyboard or keypad device, or other I / O devices for use with specific applications, such as card readers or other devices.

[0102] As discussed above, the I / O controller 1040 can interact with the audio subsystem 1020 or the display subsystem 1030, or both. For example, input through a microphone or other audio device may provide input or commands for one or more applications or functions of the device 1000. Furthermore, audio output may be provided instead of or in addition to a display output. In another example, if the display subsystem includes a touch screen, the display device also functions as an input device that may be at least partially managed by the I / O controller 1040. There may also be additional buttons or switches on the device 1000 to provide I / O functions managed by the I / O controller 1040.

[0103] In one example, the I / O controller 1040 manages devices such as accelerometers, cameras, light or other environmental sensors, gyroscopes, a global positioning system (GPS), or other hardware or sensors 1012 that may be included in the device 1000. The inputs may be part of direct user interaction as well as providing environmental input to the system to affect its operation (such as filtering noise, adjusting the display for brightness detection, applying a flash to the camera, or other functions).

[0104] In one example, the device 1000 includes a power management 1050 that manages battery power usage, battery charging, and functions related to power saving operations. The power management 1050 manages power from a power source 1052 that provides power to the components of the device 1000. In one example, the power source 1052 includes an AC-DC (alternating current to direct current) adapter for plugging into a wall outlet. Such AC power can be renewable energy (e.g., solar power, motion-based power). In one example, the power source 1052 includes only DC power, which can be provided by a DC power source such as an external AC-DC converter. In one example, the power source 1052 includes wireless charging hardware for charging by proximity to a charging magnetic field. In one example, the power source 1052 can include an internal battery or fuel cell source.

[0105] The memory subsystem 1060 includes a memory device 1062 for storing information in the device 1000. The memory subsystem 1060 may include non-volatile (state does not change when power to the memory device is interrupted) or volatile (state is indeterminate when power to the memory device is interrupted) memory devices or a combination thereof. The memory subsystem 1060 may store application data, user data, music, photos, documents, or other data, as well as system data (whether long-term or temporary) associated with the execution of applications and functions of the device 1000. In one example, the memory subsystem 1060 includes a memory controller 1064 (which may be considered part of the control of the device 1000 and potentially part of the processor 1010). The memory controller 1064 includes a scheduler for generating and issuing commands that control access to the memory device 1062.

[0106] The connectivity functionality 1070 includes hardware devices (e.g., wireless or wired connectors and communication hardware, or a combination of wired and wireless hardware) and software components (e.g., drivers, protocol stacks) to enable the device 1000 to communicate with external devices. The external devices can be separate devices such as other computing devices, wireless access points or base stations, and peripherals such as headsets, printers, or other devices. In one example, the device 1000 exchanges data with the external devices for storage in memory or display on a display device. The exchanged data can include data to be stored in memory or data already stored in memory for reading, writing, or editing the data.

[0107] The connectivity functionality 1070 can include multiple different types of connectivity functionality. For generalization, the device 1000 is shown with a cellular connectivity functionality 1072 and a wireless connectivity functionality 1074. The cellular connectivity functionality 1072 generally refers to a cellular network connectivity functionality provided by a wireless carrier, such as provided via GSM (Global System for Mobile Communications) or a variant or derivative thereof, CDMA (Code Division Multiple Access) or a variant or derivative thereof, TDM (Time Division Multiplexing) or a variant or derivative thereof, LTE (Long Term Evolution, also known as "4G"), or other cellular service standards. The wireless connectivity functionality 1074 refers to a non-cellular wireless connectivity functionality and can include a personal area network (such as Bluetooth), a local area network (such as WiFi), a wide area network (such as WiMax), or other wireless communication, or a combination thereof. Wireless communication refers to the transfer of data by the use of modulated electromagnetic radiation through a non-solid medium. Wired communication occurs through a solid communication medium.

[0108] Peripheral connections 1080 include hardware interfaces and connectors, as well as software components (e.g., drivers, protocol stacks) for making peripheral connections. It will be appreciated that device 1000 may be a peripheral device ("to" 1082) to other computing devices, as well as have peripheral devices ("from" 1084) connected thereto. Device 1000 typically has a "docking" connector for connecting to other computing devices, such as for purposes of managing (e.g., downloading, uploading, modifying, synchronizing) content on device 1000. Additionally, docking connectors may enable device 1000 to connect to certain peripherals that allow device 1000 to control content output, for example, to an audiovisual or other system.

[0109] In addition to proprietary docking connectors or other proprietary connection hardware, device 1000 can make peripheral connections 1080 through common or standards-based connectors. Common types can include Universal Serial Bus (USB) connectors (which can include any of a number of different hardware interfaces), DisplayPort, including MiniDisplayPort (MDP), High-Definition Multimedia Interface (HDMI), Firewire, or other types.

[0110] In one example, the memory subsystem 1060 includes CA training logic 1090. The CA training logic 1090 may include logic in the memory controller 1064 to trigger a CA training mode or a command bus training mode and send a signal to train the CA signal lines. The memory 1162 may include logic to provide feedback in response to a CA pattern driven on the CA signal lines. In the CA training mode, the memory 1162 may indicate sampled values ​​to be compressed or a complete CA pattern sampled in response to a given CA pattern driven on the CA signal lines. The CA training mode may be according to any example described herein.

[0111] One or more aspects of at least one example may be implemented by representative instructions stored on at least one machine-readable medium that represent various logic within a processor, which, when read by a machine, computing device, or system, cause the machine, computing device, or system to create logic for performing the techniques described herein. Such expressions are known as "IP cores" and may be similar to IP blocks. IP cores may be stored on tangible machine-readable media and delivered to various customers or manufacturing facilities to be loaded into manufacturing machines that actually create the logic or processors.

[0112] Various examples may be implemented using a combination of hardware elements, software elements, or both. In some examples, hardware elements may include devices, components, processors, microprocessors, circuits, circuit elements (e.g., transistors, resistors, capacitors, and inductors, etc.), integrated circuits, ASICs, PLDs, DSPs, FPGAs, memory units, logic gates, registers, semiconductor devices, chips, microchips, chipsets, etc. In some examples, software elements may include software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, procedures, software interfaces, APIs, instruction sets, computing code, computer code, code segments, computer code segments, words, values, symbols, or any combination thereof. Determining whether an example is implemented using hardware and / or software elements may vary according to any number of factors, such as desired computational speed, power levels, heat tolerance, processing cycle budget, input data rates, output data rates, memory resources, data bus speeds, and other design or performance constraints desired for a given implementation.

[0113] Some examples may include an article of manufacture or at least one computer-readable medium. The computer-readable medium may include a non-transitory storage medium for storing logic. In some examples, the non-transitory storage medium may include one or more types of computer-readable storage media capable of storing electronic data, including volatile or non-volatile memory, removable or non-removable memory, erasable or non-erasable memory, and writable or rewritable memory. In some examples, the logic may include various software elements, such as software components, programs, applications, computer programs, application programs, system programs, machine programs, operating system software, middleware, firmware, software modules, routines, subroutines, functions, methods, procedures, software interfaces, APIs, instruction sets, computing code, computer code, code segments, computer code segments, words, values, symbols, or any combination thereof.

[0114] According to some examples, a computer-readable medium may include a non-transitory storage medium for storing or maintaining instructions that, when executed by a machine, computing device, or system, cause the machine, computing device, or system to perform methods and / or operations according to the described examples. The instructions may include any suitable type of code, such as source code, compiled code, interpreted code, executable code, static code, dynamic code, and the like. The instructions may be implemented according to a predefined computer language, style, or syntax for instructing a machine, computing device, or system to perform a particular function. The instructions may be implemented using any suitable high-level, low-level, object-oriented, visual, compiled, and / or interpreted programming language.

[0115] Some examples may be described using the phrase "in one example" or "an example" along with derivatives thereof. These terms mean that the particular feature, structure, or characteristic described in connection with the example is included in at least one example. The appearances of the phrase "in one example" in various places in this specification are not necessarily all referring to the same example.

[0116] Some examples may be described using the terms "coupled" or "connected," along with derivatives thereof. These terms are not necessarily intended as synonyms for each other. For example, descriptions using the terms "connected" and / or "coupled" may indicate that two or more elements are in direct physical or electrical contact with each other. However, the terms "coupled" or "coupled with" may also mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0117] To the extent that various operations or functions are described herein, these operations or functions may be described or defined as software code, instructions, configurations, and / or data. The content may be directly executable ("object" or "executable" form), source code, or difference code ("delta" or "patch" code). The software content described herein may be provided via a product in which the content is stored, or via a method of operating a communication interface to transmit data over the communication interface. A machine-readable storage medium can cause a machine to perform the described functions or operations and includes any mechanism for storing information in a form accessible by a machine (e.g., a computing device, an electronic system, etc.), such as recordable / non-recordable media (e.g., read-only memory (ROM), random access memory (RAM), magnetic disk storage media, optical storage media, flash memory devices, etc.). A communication interface includes any mechanism for interfacing to any medium, such as a hardwired medium, a wireless medium, an optical medium, etc., for communicating with another device, such as a memory bus interface, a processor bus interface, an Internet connection, a disk controller, etc. The communications interface may be configured by providing configuration parameters and / or sending signals to prepare the communications interface to provide data signals describing the software content. The communications interface may be accessed via one or more commands or signals sent to the communications interface.

[0118] The following examples relate to further illustrations of the technology disclosed herein.

[0119] [Example 1] An exemplary memory controller may include command logic for generating a first command to trigger a memory device to enter one of a first command bus training mode or a second command bus training mode to train a CA interface of the memory device. The memory controller may include an I / O training circuit for causing a CA pattern to be output via a command bus coupled to the CA interface of the memory device. The I / O training circuit may compress a sampled CA pattern received from the memory device via a data bus coupled to the DQ interface of the memory device to generate a first compressed value based on the memory device being in the first command bus training mode and forward the first compressed value to the command logic. Alternatively, the I / O training circuit may forward a second compressed value received from the memory device via the data bus. The second compressed value may represent a sampled CA pattern to be compressed at the memory device based on the memory device being in the second command bus training mode.

[0120] The memory controller of example 1 may include command logic for determining whether a CA pattern transmitted over the command bus matches a sampled CA pattern using the first compressed value or the second compressed value. The command logic may adjust one or more electrical or timing parameters associated with a CA interface of the memory device when the transmitted CA pattern does not match the sampled CA pattern.

[0121] [Example 3] The memory controller of Example 1 may include an I / O training circuit for generating a CA pattern output via an even number of signal lines included in the command bus. The first compressed value or the second compressed value is an even parity value of 0 based on a CA pattern that matches a sampled CA pattern transmitted via the even number of signal lines.

[0122] [Example 4] The memory controller of Example 3, wherein the second command bus training mode is CATM and the memory device is an SDRAM device compatible with a double data rate standard. The SDRAM device may have circuitry for generating an even parity value of 0 from the sampled CA pattern and for indicating the even parity value of 0 for the sampled CA pattern via the data bus.

[0123] [Example 5] The memory controller of Example 3, wherein the first command bus training mode is a CBT mode and the memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include one or more XOR gates to generate an even parity value of 0 from the sampled CA pattern received from the SDRAM device.

[0124] [Example 6] The memory controller of Example 1, wherein the first command bus training mode is a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include circuitry for calculating a CRC value from a sampled CA pattern received from the SDRAM device to generate a first compressed value and forwarding the CRC value to the command logic. The command logic may use the CRC value to determine whether a CA pattern transmitted over the command bus matches the sampled CA pattern, and may adjust one or more electrical or timing parameters associated with a CA interface of the memory device if the CA pattern is determined not to match the sampled CA pattern.

[0125] [Example 7] The memory controller of Example 1, wherein the first command bus training mode is a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include a multi-input shift register for generating a signature value from a sampled CA pattern received from the SDRAM device to generate a first compressed value and forwarding the signature value to the command logic. The command logic may use the signature value to determine whether a CA pattern transmitted over the command bus matches the sampled CA pattern and adjust one or more electrical or timing parameters associated with the CA interface of the memory device if the CA pattern is determined not to match the sampled CA pattern.

[0126] [Example 8] The memory controller of Example 1, wherein the CA pattern output via the command bus may include a CA pattern generated based on the same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

[0127] [Example 9] An exemplary system may include a memory device having a CA interface and a DQ interface. The system may include a command bus coupled to the CA interface, a data bus coupled to the DQ interface, and a memory controller coupled to the command bus and the data bus. The memory controller may include command logic for generating a first command to trigger the memory device to transition to one of a first command bus training mode or a second command bus training mode to train the CA interface. The memory controller may include an I / O training circuit for causing a CA pattern to be output via the command bus. The I / O training circuit may compress a sampled CA pattern received from the memory device via the data bus to generate a first compressed value based on the memory device being in the first command bus training mode and forward the first compressed value to the command logic. Alternatively, the I / O training circuit may forward a second compressed value received from the memory device via the data bus. The second compressed value may represent a sampled CA pattern compressed at the memory device based on the memory device being in the second command bus training mode.

[0128] [Example 10] The system of Example 9, wherein the command logic is for determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value. The command logic is also for adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern.

[0129] [Example 11] The system of Example 9, wherein the I / O training circuit is for generating a CA pattern to be output via an even number of signal lines included in the command bus. The first compressed value or the second compressed value may be an even parity value of 0 based on a CA pattern that matches a sampled CA pattern transmitted via the even number of signal lines.

[0130] [Example 12] The system of Example 11, wherein the second command bus training mode can be CATM. The memory device can be an SDRAM device compatible with a double data rate standard. The SDRAM device can have circuitry for generating an even parity value of 0 from the sampled CA pattern and for indicating an even parity value of 0 for the sampled CA pattern via the data bus.

[0131] [Example 13] The system of Example 11, wherein the first command bus training mode may be a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include one or more exclusive XOR gates to generate an even parity value of 0 from the sampled CA pattern received from the SDRAM device.

[0132] Example 14: The system of Example 9, wherein the first command bus training mode may be a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include circuitry for calculating a CRC value from the sampled CA pattern received from the SDRAM device to generate a first compressed value and forwarding the CRC value to the command logic. The command logic may use the CRC value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern and adjust one or more electrical or timing parameters associated with the CA interface of the memory device if the CA pattern is determined to not match the sampled CA pattern.

[0133] [Example 15] The system of Example 9, wherein the first command bus training mode may be a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The I / O training circuit may include a multi-input shift register for generating a signature value from a sampled CA pattern received from the SDRAM device to generate a first compressed value and forwarding the signature value to the command logic. The command logic may use the signature value to determine whether a CA pattern transmitted over the command bus matches the sampled CA pattern. The command logic may adjust one or more electrical or timing parameters associated with the CA interface of the memory device if the CA pattern is determined not to match the sampled CA pattern.

[0134] [Example 16] The system of Example 9, wherein the CA patterns output via the command bus may include CA patterns generated based on the same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

[0135] [Example 17] An exemplary method may include generating a first command in a memory controller to trigger a memory device to transition to one of a first command bus training mode or a second command bus training mode to train a CA interface of the memory device. The method may include causing a CA pattern to be output via a command bus coupled to a CA interface of the memory device. For these examples, depending on whether the memory device is triggered to be in the first command bus training mode or the second command bus training mode, the method may include receiving a sampled CA pattern from the memory device via a data bus coupled to a DQ interface of the memory device based on the memory device being in the first command bus training mode and compressing the received sampled CA pattern to generate a first compressed value, or may include receiving a second compressed value received from the memory device via the data bus, the second compressed value representing a sampled CA pattern compressed at the memory device based on the memory device being in the second command bus training mode. The method may include using the first compressed value or the second compressed value to determine whether the CA pattern transmitted via the command bus matches the sampled CA pattern. The method may include adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern.

[0136] [Example 18] The method of Example 17 may include generating a CA pattern to be output via an even number of signal lines included in the command bus. The method may include the first compressed value or the second compressed value being an odd parity value of 1 based on a CA pattern that does not match a sampled CA pattern transmitted via the even number of signal lines.

[0137] The method of example 18, wherein the second command bus training mode is CATM. The memory device may be an SDRAM device compatible with a double data rate standard. The SDRAM device may have circuitry for generating an odd parity value of 1 from the sampled CA pattern and indicating the odd parity value of 1 for the sampled CA pattern via the data bus.

[0138] [Example 20] The method of Example 18, wherein the first command bus training mode may be a CBT mode. The memory device may be an SDRAM device compatible with a double data rate standard. The method may include generating, using one or more XOR gates in the memory controller, an odd parity value of 1 from the sampled CA pattern received from the SDRAM device.

[0139] [Example 21] The method of Example 17, wherein the first command bus training mode is a CBT mode and the memory device may be an SDRAM device compatible with a double data rate standard. The method may include calculating a CRC value from the sampled CA pattern received from the SDRAM device to generate the first compressed value. The method may include using the CRC value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern.

[0140] [Example 22] The method of Example 17, where the first command bus training mode may be a CBT mode and the memory device may be an SDRAM device compatible with a double data rate standard. The method may include generating a signature value from a sampled CA pattern received from the SDRAM device to generate a first compressed value. The method may include using the signature value to determine whether a CA pattern transmitted over the command bus matches the sampled CA pattern.

[0141] [Example 23] The method of Example 17, wherein the CA pattern output via the command bus may include a CA pattern generated based on the same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

[0142] [Example 24] At least one exemplary machine-readable medium may include a plurality of instructions that, when executed by a system, may cause the system to perform a method according to any one of Examples 17-23.

[0143] [Example 25] An exemplary apparatus may include means for carrying out the method according to any one of Examples 17 to 23.

[0144] It is emphasized that the Abstract of the Disclosure is provided to comply with Title 37 of the Code of Federal Regulations. Chapter 1.72(b) requires an Abstract that will allow the reader to quickly ascertain the nature of the technical disclosure. The Abstract is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. In addition, it will be noted that in the above Detailed Description, various features are grouped together in a single example for the purpose of streamlining the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the claimed examples require more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive subject matter lies in less than all features of a single disclosed example. Thus, the following claims are hereby incorporated into the Detailed Description, with each claim standing on its own as a separate example. In the appended claims, the terms "including" and "in which" are used as the plain English equivalents of the respective terms "comprising" and "wherein," respectively. Moreover, terms such as "first," "second," and "third" are used merely as labels and are not intended to impose numerical requirements on these objects.

[0145] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. (Item 1) command logic for generating a first command to trigger a memory device to enter one of a first command bus training mode or a second command bus training mode to train a command-address (CA) interface of the memory device; an input / output (I / O) training circuit for outputting a CA pattern via a command bus coupled to the CA interface of the memory device; A memory controller comprising: The above I / O training circuit is compressing a sampled CA pattern received from the memory device via a data bus coupled to a DQ interface of the memory device to generate a first compressed value based on the memory device being in the first command bus training mode, and forwarding the first compressed value to the command logic; or transferring a second compressed value received from the memory device via the data bus, the second compressed value representing the sampled CA pattern compressed at the memory device based on the memory device being in the second command bus training mode; It is also intended to Memory controller. (Item 2) The command logic further includes: determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern; For the purpose of Item 1. The memory controller of item 1. (Item 3) the I / O training circuit is for generating the CA pattern to be output via an even number of signal lines included in the command bus; the first compressed value or the second compressed value is an even parity value of 0 based on the CA pattern that matches the sampled CA pattern and is transmitted via the even number of signal lines; Item 1. The memory controller of item 1. (Item 4) The second command bus training mode is a command address training mode (CATM), the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards, the SDRAM device having circuitry for generating the even parity value of 0 from the sampled CA pattern and for indicating the even parity value of 0 for the sampled CA pattern via the data bus; Item 3. The memory controller of item 3. (Item 5) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit has one or more exclusive OR (XOR) gates for generating the even parity value of 0 from the sampled CA pattern received from the SDRAM device; Item 3. The memory controller of item 3. (Item 6) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit includes circuitry for calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value and for transmitting the CRC value to the command logic; The above command logic is: using said CRC value to determine whether said CA pattern transmitted over said command bus matches said sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when the CA pattern is determined to not match the sampled CA pattern. For the purpose of Item 1. The memory controller of item 1. (Item 7) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit has a multi-input shift register for generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value, and for transferring the signature value to the command logic; The above command logic is: Using the signature value, determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when the CA pattern is determined to not match the sampled CA pattern. For the purpose of Item 1. The memory controller of item 1. (Item 8) 2. The memory controller of claim 1, wherein the CA pattern output via the command bus includes the CA pattern generated based on a same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode. (Item 9) a memory device having a command address (CA) interface and a DQ interface; a command bus coupled to the CA interface; a data bus coupled to the DQ interface; a memory controller coupled to said command bus and said data bus; A system comprising: The memory controller is command logic for generating a first command to trigger the memory device to enter one of a first command bus training mode or a second command bus training mode to train the CA interface; An input / output (I / O) training circuit for outputting CA patterns via the command bus; having The above I / O training circuit is compressing a sampled CA pattern received from the memory device via the data bus to generate a first compressed value based on the memory device being in the first command bus training mode, and forwarding the first compressed value to the command logic; or transferring a second compressed value received from the memory device via the data bus, the second compressed value representing the sampled CA pattern compressed at the memory device based on the memory device being in the second command bus training mode; It is also intended to system. (Item 10) The command logic further includes: determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern; For the purpose of Item 10. The system according to item 9. (Item 11) the I / O training circuit is for generating CA patterns to be output via an even number of signal lines included in the command bus; the first compressed value or the second compressed value is an even parity value of 0 based on the CA pattern that matches the sampled CA pattern and is transmitted via the even number of signal lines; Item 10. The system according to item 9. (Item 12) The second command bus training mode is a command address training mode (CATM), the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards, the SDRAM device having circuitry for generating the even parity value of 0 from the sampled CA pattern and for indicating the even parity value of 0 for the sampled CA pattern via the data bus; Item 12. The system according to item 11. (Item 13) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit includes one or more exclusive OR (XOR) gates for generating the even parity value of 0 from the sampled CA pattern received from the SDRAM device; Item 12. The system according to item 11. (Item 14) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit includes circuitry for calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value and for transmitting the CRC value to the command logic; The above command logic is: using said CRC value to determine whether said CA pattern transmitted over said command bus matches said sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when the CA pattern is determined to not match the sampled CA pattern. For the purpose of Item 10. The system according to item 9. (Item 15) The first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards; the I / O training circuit has a multi-input shift register for generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value, and for transferring the signature value to the command logic; The above command logic is: Using the signature value, determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when the CA pattern is determined to not match the sampled CA pattern. For the purpose of Item 10. The system according to item 9. (Item 16) 10. The system of claim 9, wherein the CA pattern output via the command bus includes the CA pattern generated based on the same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode. (Item 17) generating, at a memory controller, a first command to trigger a memory device to enter one of a first command bus training mode or a second command bus training mode to train a command-address (CA) interface of the memory device; outputting a CA pattern through a command bus coupled to the CA interface of the memory device; depending on whether the memory device is triggered to be in the first command bus training mode or the second command bus training mode; receiving a sampled CA pattern from the memory device via a data bus coupled to a DQ interface of the memory device based on the memory device being in the first command bus training mode, and compressing the received sampled CA pattern to generate a first compressed value; or receiving a second compressed value received from the memory device via the data bus, the second compressed value representing the sampled CA pattern compressed at the memory device based on the memory device being in the second command bus training mode; and determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern. A method for providing the above. (Item 18) generating the CA pattern to be output via an even number of signal lines included in the command bus; Equipped with the first compressed value or the second compressed value is an odd parity value of 1 based on the CA pattern that does not match the sampled CA pattern and is transmitted via the even number of signal lines; Item 17. The method according to item 17. (Item 19) The second command bus training mode is a command address training mode (CATM), the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with double data rate standards, the SDRAM device having circuitry for generating the one odd parity value from the sampled CA pattern and for indicating the one odd parity value for the sampled CA pattern via the data bus; Item 19. The method according to item 18. (Item 20) The first command bus training mode is a command bus training (CBT) mode, The memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method includes: generating the one odd parity value from the sampled CA pattern received from the SDRAM device using one or more exclusive OR (XOR) gates in the memory controller. Further comprising Item 19. The method according to item 18. (Item 21) The first command bus training mode is a command bus training (CBT) mode, and the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method includes: calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value; determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the CRC value; 18. The method of claim 17, further comprising: (Item 22) The first command bus training mode is a command bus training (CBT) mode, and the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method includes: generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value; determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the signature value; 18. The method of claim 17, further comprising: (Item 23) Item 18. The method of item 17, wherein the CA pattern output via the command bus includes the CA pattern generated based on the same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

Claims

1. command logic for generating a first command to trigger a memory device to enter one of a first command bus training mode or a second command bus training mode to train a command-address (CA) interface of the memory device; an input / output (I / O) training circuit for outputting a CA pattern via a command bus coupled to the CA interface of the memory device; A memory controller comprising: The I / O training circuit includes: compressing a sampled CA pattern received from the memory device via a data bus coupled to a DQ interface of the memory device to generate a first compressed value based on the memory device being in the first command bus training mode, and forwarding the first compressed value to the command logic; or transferring a second compressed value received from the memory device over the data bus, the second compressed value representing the sampled CA pattern to be compressed at the memory device based on the memory device being in the second command bus training mode. It is also intended to Memory controller.

2. The command logic further comprises: determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern; For the purpose of The memory controller of claim 1 .

3. the I / O training circuit is for generating the CA pattern to be output via an even number of signal lines included in the command bus; the first compressed value or the second compressed value is an even parity value of 0 based on the CA pattern that matches the sampled CA pattern and is transmitted via the even number of signal lines; 3. The memory controller according to claim 1 or 2.

4. the second command bus training mode is a command address training mode (CATM); the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, the SDRAM device having circuitry for generating the even parity value of 0 from the sampled CA pattern and for indicating the even parity value of 0 for the sampled CA pattern via the data bus. The memory controller of claim 3 .

5. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuitry having one or more exclusive-OR (XOR) gates for generating the even parity value of 0 from the sampled CA pattern received from the SDRAM device.

5. The memory controller according to claim 3.

6. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuit includes circuitry for calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value and for transmitting the CRC value to the command logic; The command logic includes: using the CRC value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when it is determined that the CA pattern does not match the sampled CA pattern. For the purpose of The memory controller according to claim 1 .

7. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuit has a multi-input shift register for generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value, and for transferring the signature value to the command logic; The command logic includes: using the signature value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when it is determined that the CA pattern does not match the sampled CA pattern. For the purpose of The memory controller of claim 1 .

8. 8. The memory controller of claim 1, wherein the CA patterns output via the command bus include the CA patterns generated based on a same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

9. a memory device having a command address (CA) interface and a DQ interface; a command bus coupled to the CA interface; a data bus coupled to the DQ interface; a memory controller coupled to the command bus and the data bus; A system comprising: The memory controller includes: command logic for generating a first command to trigger the memory device to enter one of a first command bus training mode or a second command bus training mode to train the CA interface; an input / output (I / O) training circuit for outputting a CA pattern via the command bus; having The I / O training circuit includes: compressing a sampled CA pattern received from the memory device via the data bus to generate a first compressed value based on the memory device being in the first command bus training mode, and forwarding the first compressed value to the command logic; or transferring a second compressed value received from the memory device over the data bus, the second compressed value representing the sampled CA pattern to be compressed at the memory device based on the memory device being in the second command bus training mode. It is also intended to system.

10. The command logic further comprises: determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern; For the purpose of The system of claim 9.

11. the I / O training circuit is for generating a CA pattern to be output via an even number of signal lines included in the command bus; the first compressed value or the second compressed value is an even parity value of 0 based on the CA pattern that matches the sampled CA pattern and is transmitted via the even number of signal lines; 11. A system according to claim 9 or 10.

12. the second command bus training mode is a command address training mode (CATM); the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, the SDRAM device having circuitry for generating the even parity value of 0 from the sampled CA pattern and for indicating the even parity value of 0 for the sampled CA pattern via the data bus. The system of claim 11.

13. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuit includes one or more exclusive-OR (XOR) gates for generating the even parity value of 0 from the sampled CA pattern received from the SDRAM device.

13. A system according to claim 11 or 12.

14. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuit includes circuitry for calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value and for transmitting the CRC value to the command logic; The command logic includes: using the CRC value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when it is determined that the CA pattern does not match the sampled CA pattern. For the purpose of A system according to any one of claims 9 to 13.

15. the first command bus training mode is a command bus training (CBT) mode; the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with the double data rate standard; the I / O training circuit has a multi-input shift register for generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value, and for transferring the signature value to the command logic; The command logic includes: using the signature value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device when it is determined that the CA pattern does not match the sampled CA pattern. For the purpose of A system according to any one of claims 9 to 14.

16. 16. The system of claim 9, wherein the CA patterns output via the command bus include the CA patterns generated based on a same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

17. generating, at a memory controller, a first command to trigger a memory device to enter one of a first command bus training mode or a second command bus training mode to train a command-address (CA) interface of the memory device; outputting a CA pattern via a command bus coupled to the CA interface of the memory device; depending on whether the memory device is triggered into the first command bus training mode or the second command bus training mode; receiving a sampled CA pattern from the memory device via a data bus coupled to a DQ interface of the memory device based on the memory device being in the first command bus training mode, and compressing the received sampled CA pattern to generate a first compressed value; or receiving a second compressed value received from the memory device via the data bus, the second compressed value representing the sampled CA pattern to be compressed at the memory device based on the memory device being in the second command bus training mode; and determining whether the CA pattern transmitted over the command bus matches the sampled CA pattern using the first compressed value or the second compressed value; adjusting one or more electrical or timing parameters associated with the CA interface of the memory device if the transmitted CA pattern does not match the sampled CA pattern. A method for providing the above.

18. generating the CA pattern to be output via an even number of signal lines included in the command bus; Equipped with the first compressed value or the second compressed value is an odd parity value of 1 based on the CA pattern that does not match the sampled CA pattern and is transmitted via the even number of signal lines; 20. The method of claim 17.

19. the second command bus training mode is a command address training mode (CATM); the memory device being a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, the SDRAM device having circuitry for generating the odd parity value of 1 from the sampled CA pattern and for indicating the odd parity value of 1 for the sampled CA pattern via the data bus.

20. The method of claim 18.

20. the first command bus training mode is a command bus training (CBT) mode; The memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method comprises: generating the odd parity value of 1 from the sampled CA pattern received from the SDRAM device using one or more exclusive OR (XOR) gates in the memory controller. Further comprising 20. The method of claim 18 or 19.

21. the first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method comprises: calculating a cyclic redundancy check (CRC) value from the sampled CA pattern received from the SDRAM device to generate the first compressed value; using the CRC value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern; 21. The method of any one of claims 17 to 20, further comprising:

22. the first command bus training mode is a command bus training (CBT) mode, the memory device is a synchronous dynamic random access memory (SDRAM) device compatible with a double data rate standard, and the method comprises: generating a signature value from the sampled CA pattern received from the SDRAM device to generate the first compressed value; and using the signature value to determine whether the CA pattern transmitted over the command bus matches the sampled CA pattern.

22. The method of any one of claims 17 to 21, further comprising:

23. 23. The method of claim 17, wherein the CA patterns output via the command bus include the CA patterns generated based on a same CA training algorithm that may be implemented for the first command bus training mode and the second command bus training mode.

24. A program for causing a system to execute the method according to any one of claims 17 to 23.

25. Apparatus comprising means for carrying out the method according to any one of claims 17 to 23.

26. A machine-readable recording medium storing the program according to claim 24.

Citation Information

Patent Citations

  • Phase calibration circuit, memory card control device, and phase calibration method

    JP2011090361A

  • Memory device employing command / address calibration

    JP2012208936A

  • Input-output circuit for supporting multiple-input shift register (MISR) function and memory device including the same

    US20170294236A1

  • Host Controller Apparatus, Host Controller Device, and Method for a Host Controller for Determining Information Related to a Time Shift for Transmitting Instructions on a Command and Address Bus, Host Controller and Computer System

    US20190042519A1