Error pin training using graphics DDR memory

The described method simplifies the link training process for PAM4 receivers in GDDR memory systems by setting PAM4 drivers to specified levels and sweeping reference voltages, addressing the complexity and duration issues in high-speed data transmission, thereby enhancing the efficiency and scalability of GDDR memory systems for GPUs.

JP7955354B2Active Publication Date: 2026-11-24ADVANCED MICRO DEVICES INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2024526597
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-06-30
Filing Date
2022-10-28
Publication Date
2026-11-24
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

The complexity and duration of link training processes for high-speed data transmission in graphics double data rate (GDDR) memory, particularly with multi-level pulse amplitude modulation (PAM) signaling, pose challenges in achieving efficient and scalable memory systems.

Method used

A method and circuit design for training PAM4 receivers in GDDR memory systems, involving setting PAM4 drivers to specified output levels, sweeping reference voltages, and comparing them with received voltages to determine optimal levels, facilitated by a training control circuit and error mode register, simplifying the training process.

Benefits of technology

This approach reduces the complexity and duration of link training, enabling efficient and scalable high-bandwidth data transmission in GDDR memory systems, particularly for graphics processing units (GPUs).

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955354000001
    Figure 0007955354000001
  • Figure 0007955354000002
    Figure 0007955354000002
  • Figure 0007955354000003
    Figure 0007955354000003
Patent Text Reader

Abstract

The receiver is trained to receive a signal via the data bus. The volatile memory is instructed via the data bus to place a selected pulse amplitude modulation (PAM) driver into a mode having a specified steady-state output level. In a receiver circuit coupled to the selected PAM driver, a respective reference voltage associated with the specified steady-state output level is swept across a voltage range and the respective reference voltage is compared to a voltage received from the PAM driver to determine a respective voltage level received from the PAM driver.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND ART

[0001] Modern dynamic random-access memory (DRAM) provides high memory bandwidth by increasing the speed of data transmission on a bus connecting the DRAM to one or more data processors such as a graphics processing unit (GPU) or a central processing unit (CPU). DRAM is typically inexpensive and dense, which allows a large amount of DRAM to be integrated per device. Most DRAM chips sold today comply with various double data rate (DDR) DRAM standards promoted by the Joint Electron Devices Engineering Council (JEDEC). Typically, several DDR DRAM chips are combined on a single printed circuit board to form a memory module that can provide not only relatively high speed but also scalability. However, while these enhancements have improved the speed of DDR memory used in the main memory of computer systems, further improvements are required.

[0002] One type of DDR DRAM known as graphics double data rate (GDDR) memory has pushed the boundaries of data transmission rates to accommodate the high bandwidth required for graphics applications. As new GDDR standards are developed, they tend to support higher data rates. However, operation at these higher data rates generally requires improvements to the process of training the transmit and receive circuits of the data link. Also, when the number of signaling levels employed on a signaling link exceeds two, the link training process becomes complicated. BRIEF DESCRIPTION OF THE DRAWINGS

[0003] [Figure 1] This is a block diagram showing a data processing system according to several embodiments. [Figure 2] This is a block diagram of the GDDR PHY-DRAM link in the data processing system shown in Figure 1. [Figure 3] This block diagram shows a read clock circuit for selectively providing a read clock signal from memory to a memory controller via a memory bus, according to several embodiments. [Figure 4] The following are flowcharts illustrating the process for training a PAM4 receiver according to several embodiments. [Figure 5] This is an "eye" diagram showing various signaling levels that can be adopted in conjunction with the process shown in Figure 4. [Modes for carrying out the invention]

[0004] In the following description, the use of the same reference numeral in different drawings indicates similar or identical items. Unless otherwise specified, the word “coupled” and its associated verb forms include both direct and indirect electrical connections by means well known in the art, and unless otherwise specified, any description of a direct connection also means an alternative embodiment using a preferred form of indirect electrical connection.

[0005] A method is used to train a receiver that receives signals via a data bus. This method includes instructing a volatile memory via the data bus to set a selected pulse-amplitude modulation 4-level (PAM4) driver to a mode having a specified steady-state output level, and then waiting for a predetermined period of time. In a receiver circuit coupled to the selected PAM4 driver, the method includes sweeping each reference voltage associated with the specified steady-state output level over a voltage range and comparing each reference voltage to a voltage received from the PAM4 driver to determine each voltage level received from the PAM4 driver. The specified steady-state output level is then changed, and the process of sweeping each reference voltage and determining the voltage level is repeated for the new output level.

[0006] The physical layer (PHY) circuitry for coupling to volatile memory via a data bus includes a pulse amplitude modulation 4-level (PAM4) receiver and a receiver control circuit. The receiver includes a decoder circuit and three sub-receiver circuits, each sub-receiver circuit including an output coupled to the decoder circuit, a first input coupled to a data bus terminal, and a second input coupled to its respective reference voltage circuit. The receiver control circuit is operable to (a) instruct the volatile memory via the data bus to put a selected PAM4 driver into a mode having a specified steady-state output level, (b) wait for a predetermined period of time, (c) sweep the reference voltage of each of the one reference voltage circuits over a range of voltages and compare the reference voltage with the voltage received from the selected PAM4 driver to determine the respective voltage level received from the selected PAM4 driver, and (d) after performing (a) to (c), change the specified steady-state output level and repeat (a) to (c).

[0007] The memory system includes volatile memory, a data bus coupled to the volatile memory, and a memory controller. The memory controller includes a physical layer (PHY) circuit coupled to the data bus and a receiver control circuit. The PHY circuit includes a pulse amplitude modulation 4-level (PAM4) receiver including three sub-receiver circuits, each sub-receiver circuit including a first input coupled to a data bus terminal and a second input coupled to its respective reference voltage circuit. The receiver control circuit is operable to (a) instruct the volatile memory via the data bus to put a selected PAM4 driver into a mode having a specified steady-state output level, (b) wait for a predetermined period of time, (c) sweep the reference voltage of each of the reference voltage circuits over a range of voltages and compare the reference voltage with the voltage received from the selected PAM4 driver to determine the respective voltage level received from the selected PAM4 driver, and (d) after performing (a) to (c), change the specified steady-state output level and repeat (a) to (c).

[0008] Figure 1 is a block diagram showing a data processing system 100 in several embodiments. The data processing system 100 generally includes a data processor in the form of a graphics processing unit (GPU) 110, a host central processing unit (CPU) 120, double data rate (DDR) memory 130, and graphics DDR (GDDR) memory 200.

[0009] The GPU 110 is a discrete graphics processor with very high performance for optimized graphics processing, rendering, and display, but requires high memory bandwidth to perform these tasks. The GPU 110 generally includes a set of command processors 111, graphics single instruction multiple data (SIMD) cores 112, a set of caches 113, a memory controller 114, a DDR physical interface circuit (DDR PHY) 115, and a GDDR PHY 116. Although a GPU is shown in this embodiment, the GPU 110 could be any of various data processing elements, such as a machine learning parallel accelerator processor.

[0010] The command processor 111 is used to interpret high-level graphics instructions, such as those specified in the OpenGL programming language. The command processor 111 has bidirectional connections to the memory controller 114 for receiving high-level graphics instructions such as OpenGL instructions, bidirectional connections to the cache 113, and bidirectional connections to the graphics SIMD core 112. Upon receiving high-level instructions, the command processor uses the cache 113 as temporary storage to issue low-level instructions for rendering, geometric processing, shading, and rasterizing data such as frame data. In response to graphics instructions, the graphics SIMD core 112 executes the low-level instructions on large datasets in a highly parallel manner. The command processor 111 and the cache 113 are used for temporary storage of input data and output (e.g., rendered and rasterized) data. The cache 113 also has bidirectional connections to the graphics SIMD core 112 and bidirectional connections to the memory controller 114.

[0011] The memory controller 114 has a first upstream bidirectional port connected to the command processor 111, a second upstream bidirectional port connected to the cache 113, a first downstream bidirectional port to the DDR PHY 115, and a second downstream bidirectional port to the GDDR PHY 116. As used herein, “upstream” ports are on the side of the circuit facing the data processor and away from memory, while “downstream” ports are in the direction away from the data processor and towards memory. The memory controller 114 controls the timing and ordering of data transfers between the DDR memory 130 and the GDDR memory 200. The DDR and GDDR memories have asymmetric access, i.e., access to open pages in memory is faster than access to closed pages. The memory controller 114 stores memory access commands and processes them in no particular order for efficiency, for example, by prioritizing access to open pages while adhering to specific quality of service objectives.

[0012] The DDR PHY 115 has an upstream bidirectional port connected to a first downstream port of the memory controller 114 and a downstream port bidirectionally connected to the DDR memory 130. The DDR PHY 115 satisfies all specified timing parameters of the version of the DDR memory 130, such as DDR version 5 (DDR5), and performs timing calibration operations as instructed by the memory controller 114. Similarly, the GDDR PHY 116 has an upstream port connected to a second downstream port of the memory controller 114 and a downstream port bidirectionally connected to the GDDR memory 200. The GDDR PHY 116 satisfies all specified timing parameters of the version of the GDDR memory 200 and performs timing calibration operations as instructed by the memory controller 114. The GDDR memory 200 includes a set of mode registers 141 programmable on the GDDR PHY 116 to configure the GDDR memory 200 for operation.

[0013] During operation, the data processing system can be used as a graphics card or accelerator for high-bandwidth graphics processing performed by the graphics SIMD core 112. The host CPU 120, which runs the operating system or application program, sends graphics processing commands to the GPU 110 through the DDR memory 130, which acts as integrated memory for the GPU 110 and the host CPU 120. It can send commands to the GPU interface, for example, as OpenGL commands or through any other host CPU. OpenGL is a cross-language, cross-platform application programming interface for rendering 2D and 3D vector graphics. The host CPU 120 interacts with the GPU 110 using the application programming interface (API) to provide hardware-accelerated rendering.

[0014] The data processing system 100 uses two types of memory. The first type of memory is DDR memory 130, which is accessible by both the GPU 110 and the host CPU 120. As part of the high performance of the graphics SIMD core 112, the GPU 110 uses high-speed graphics double data rate (GDDR) memory.

[0015] Figure 2 is a block diagram showing the GDDR PHY-DRAM link 200 of the data processing system 100 of Figure 1, according to several embodiments. The GDDR PHY-DRAM link 200 includes a portion of the GPU 110 and GDDR memory 200 that communicate via a physical interface 260.

[0016] The GPU 110 includes a phase-locked loop (PLL) 210, a command and address ("C / A") circuit 220, a read clock circuit 230, a data circuit 240, and a write clock circuit 250. These circuits form part of the GDDR PHY 116 of the GPU 110.

[0017] The phase-locked loop 210 operates as a reference clock generation circuit, and "CK IN It has an input for receiving an input clock signal labeled " and an output.

[0018] The C / A circuit 220 includes a delay element 221, a selector 222, a transmission buffer 223 labeled "TX", and an "ERR" receiver 216. The delay element 221 has an input connected to the output of the PLL 210 and an output, and has a variable delay controlled by an input not specifically shown in Figure 2. The variable delay is memory controller 114 It is determined at startup and adjusted during operation by the compensation circuit. Selector 222 has a first input for receiving a first command / address value, a second input for receiving a second command / address value, and a control input connected to the output of delay element 221. Transmitter 223 has an input connected to the output of selector 222 and an output connected to the corresponding integrated circuit terminal for supplying a command / address signal labeled "C / A". Note that the C / A circuit 220 includes a set of individual buffers for each signal in the C / A signal group, configured similarly to the typical selector 222 and buffer 223 shown in Figure 2, but only a typical C / A circuit 220 is shown.

[0019] The read clock circuit 230 includes a receive buffer 231 labeled "RX" and a selector 232. The receive buffer 231 has an input connected to a corresponding integrated circuit terminal for receiving a signal labeled "RCK" and an output. The receive clock selector 232 has a first input connected to the output of the PLL 210, a second input connected to the output of the receive buffer 231, an output, and a control input for receiving a mode signal not shown in Figure 2.

[0020] The data circuit 240 includes a receive buffer 241, a latch 242, delay elements 243 and 244, a serializer 245, and a transmission buffer 246. The receive buffer 241 has a first input connected to an integrated circuit terminal that receives a data signal commonly labeled "DQ" and "V REF Latch 242 has a second input and output for receiving a reference voltage labeled "D". Latch 242 is a D-type latch having an input labeled "D" connected to the output of the receive buffer 241, a clock input, and an output labeled "Q" for providing the output data signal. The interface between the GDDR PHY 116 and the GDDR memory 200 implements a 4-level pulse amplitude modulation data signaling system known as "PAM4", which encodes two data bits to one of four nominal voltage levels. Thus, the receive buffer 241 identifies which of the four levels is indicated by the input voltage and outputs two data bits representing the state accordingly. For example, the receive buffer 241 defines four voltage ranges V REFBased on this, three slicing levels are generated, and three comparators can be used to determine which range the received data signal falls into. Data circuit 240 includes a latch that latches two data bits and is duplicated for each bit position. Delay element 243 has an input connected to the output of selector 232 and an output connected to the clock input of latch 242. Delay element 244 has an input connected to the output of PLL 210 and an output. Serializer 245 has an input for receiving a first data value at a given bit position and a second data value at a given bit position corresponding to a continuous cycle of bursts, a control input connected to the output of delay element 244, and an output connected to the corresponding DR terminal. Each data byte on the data bus has a set of data circuits, such as data circuit 240, for each bit of the byte. This duplication allows different data bytes with different routing on the printed circuit board to have different delay values.

[0021] The write clock circuit 250 includes a delay element 251, a selector 252, and a transmission buffer 253. The delay element 251 has an input connected to the output of the PLL 210 and an output. The selector 252 has a first input for receiving a first clock state signal, a second input for receiving a second clock voltage, a control input connected to the output of the delay element 251, and an output. The transmission buffer 253 has an input connected to the output of the selector 252, a first output connected to a corresponding integrated circuit terminal to provide a true write clock signal labeled "WCK_t", and a second output connected to a corresponding integrated circuit terminal to provide a complementary write clock signal labeled "WCK_c".

[0022] The GDDR memory 200 generally includes a write clock receiver 270, a command / address receiver 280, and a data path transceiver 290. The write clock receiver 270 includes a receive buffer 271, a buffer 272, a frequency divider 273, a buffer / tree 274, and a frequency divider 275. The receive buffer 271 has a first input connected to an integrated circuit terminal of the GDDR memory 200 that receives the WCK_t signal, a second input connected to an integrated circuit terminal of the GDDR memory 200 that receives the WCK_c signal, and an output. In the example shown in Figure 2, the output of the receive buffer 271 is a clock signal having a nominal frequency of 8 GHz. The buffer 272 has an input connected to the output of the receive buffer 271, and an output. The frequency divider 273 has an input connected to the output of the buffer 272, and an output for providing a divided clock having a nominal frequency of 4 GHz. The frequency divider 275 has an input connected to the output of the buffer / tree 274, and an output for providing a clock signal labeled "CK4" having a nominal frequency of 2 GHz.

[0023] The command / address receiver 280 includes a receive buffer 281 and a slicer 282. The receive buffer 281 has a first input connected to a corresponding integrated circuit terminal of the GDDR memory 200 that receives the C / A signal, and a V REF a second input for receiving the output, and an output. The C / A input signal is received as a normal binary signal having two logic state levels and is considered non-return-to-zero (NRZ) signal encoding. The slicer 282 has a set of two data latches, each having a D input connected to the output of the receive buffer 281, a clock input for receiving a corresponding one of the outputs of the frequency divider 275, and a Q output for providing a corresponding C / A signal. A PAM4 driver 215, also labeled "ERR", is included to provide Command and Address (CA) parity and write CRC information, as described further below.

[0024] The data path transceiver 290 includes a serializer 291, a transmitter 292, a serializer 293, a transmitter 294, a receive buffer 295, and a slicer 296. The serializer 291 has an input for receiving a first read clock level, a second input for receiving a second read clock level, a select input connected to the output of the buffer / tree 274, and an output. The transmitter 292 has an input connected to the output of the serializer 293, and an output connected to the RCK terminal of the GDDR memory 200. The serializer 293 has an input for receiving a first read data value, a second input for receiving a second data value, a select input connected to the output of the buffer / tree 274, and an output connected to the DQ terminal of the GDDR memory 200. The transmitter 294 has an input connected to the output of the serializer 293, and an output connected to a corresponding DQ terminal of the GDDR memory 200. The receive buffer 295 has a first input connected to a corresponding DQ terminal of the GDDR memory 200, a second input for receiving a V REF value, and an output. The slicer 296 has a set of four data latches, each having a D input connected to the output of the receive buffer 295, a clock input connected to the output of the buffer / tree 274, and a Q output for providing a corresponding DQ signal.

[0025] The interface 260 includes a set of physical connections routed from bond pads of the GPU 110 die, through package impedance to package terminals, through traces on a printed circuit board to package terminals of the GDDR memory 200, and through package impedance to bond pads of the GDDR memory 200 die.

[0026] Figure 3 is a block diagram showing a portion of the physical layer (PHY) circuitry on a system-on-chip (SOC) and a portion of the memory system 300, according to several embodiments. The illustrated portion of the memory system 300 includes a PAM4 driver 215, a PAM4 receiver 216, a training control circuit 310, an error mode register 320, and a control, command / address parity and cyclic redundancy check circuit 330 labeled "CTRL / CA PARITY / CRC".

[0027] Although a PAM4 driver is shown in this embodiment, the technology of this specification is applicable to PAM signaling having three or more PAM levels, for example, PAM3, PAM4, PAM6, and PAM8 drivers and receivers.

[0028] The illustrated portion of the memory system 300 is suitable for use with a DRAM compliant with GDDR memory employing multi-level PAM signaling, such as the illustrated GDDR PHY-DRAM link shown in Figure 2. In this embodiment, the PAM4 driver 215 sends (drives) a signal to the "ERR" pin of the GDDR PHY via the memory bus to the host SOC. The PAM4 driver 215 has an input that receives a 2-bit signal labeled "DIN<1:0>" and an output connected to the ERR pin labeled "ERR(PAM4)". The ERR pin carries the PAM4 signal sent asynchronously by the GDDR DRAM to the host system-on-chip (SOC) and communicates command and address (CA) parity and write CRC information provided by the CTRL / CA PARITY / CRC circuit 330 to the host SOC.

[0029] The PAM4 receiver 216 is part of the host SOC's PHY circuitry for coupling to the DRAM. The PAM4 receiver 216 has an input connected to the ERR pin of the PHY, a second input for receiving a reference voltage "VR_L3", a third input for receiving a reference voltage "VR_L2", and a fourth input for receiving a reference voltage "VR_L1". The PAM4 receiver 216 includes a decoder circuit 302 having three inputs labeled "A01", "A02", and "A03", and three sub-receiver circuits 304, 306, and 308, each sub-receiver circuit having an output coupled to the respective input of the decoder circuit 302, a first input connected to the first input of the PAM4 receiver 216, and a second input connected to receive one of each of the reference voltages VR_L3, VR_L2, and VR_L1. Each sub-receiver is implemented as a voltage comparator that compares a reference voltage at its input with the voltage received via the ERR pin, outputting "1" if the ERR voltage is higher than the reference voltage, and "0" if the ERR voltage is lower than the reference voltage.

[0030] The PAM4 scheme allows the data transmission bandwidth to be twice that of a given clock speed, but makes training various bit lanes of the PHY more difficult than training conventional PHY bit lanes employing two signaling levels. Therefore, training for the various DQ drivers and receivers employed in the GDDR PHY 116 (e.g., Figures 2, 241, 246, 294, 295) is longer and more complex than training for GDDR PHYs that interface with two-level signaling. The training control circuit 310 includes digital logic for controlling a simplified PAM training process for the PAM4 driver 215 and PAM4 receiver 216. The training control circuit 310 includes connections to PHY digital control logic (not shown) and, in this embodiment, communication connections to an error mode register 320 on DRAM via a mode register set (MRS) command interface.

[0031] The error mode register 320 on the DRAM can be programmed with MRS programming commands through the GDDR command interface and generally holds values ​​for controlling the operating modes of the CTRL / CA PARITY / CRC circuit 330 and its associated PAM4 driver 215. The CTRL / CA PARITY / CRC circuit 330 has an input connected to the error mode register 320, an input (not shown) for receiving control and CA data to generate parity and CRC information, and an output connected to the PAM4 driver 215 for providing a DIN<1:0> signal.

[0032] In operation, the PAM4 receiver 216 receives data asynchronously, i.e., data is received asynchronously without referencing the RCK. In this embodiment, the PAM4 driver 215 transmits data at a rate of 4 Gbps, which is a lower rate than the rate used for the DQ line of the GDDR PHY 116. Therefore, link training for the PAM4 receiver 216 is provided in a more efficient and simplified version than that employed for the DQ line. The training control circuit 310 programs the error mode register 320 to put the CTRL / CA PARITY / CRC circuit 330 into various modes for performing the simplified training process, as further illustrated with reference to Figure 4. In this embodiment, the selectable ERR-related mode register states for the training control circuit 310 are normal mode (the CTRL / CA PARITY / CRC circuit 330 operates normally and provides parity information), forced "00" mode, forced "01" mode, forced "10" mode, and forced "11" mode. In forced mode, the value of DIN<1:0>, and therefore the value sent by the PAM4 driver 215, is forced to a constant value representing one of the PAM levels that the PAM4 driver 215 can send.

[0033] Figure 4 shows a flowchart 400 of a process for training a PAM4 receiver according to several embodiments. Figure 5 shows an "eye" diagram 500 illustrating various signaling levels that may be employed with the process in Figure 4. Referring to both Figures 4 and 5, the process shown in flowchart 400 is suitable for use with various GDDR PHY circuits, such as those shown in Figures 2 and 3, to implement a simplified training process for PAM4 receivers, such as PAM4 receiver 216, which are trained to receive signals from DRAM or other volatile memory.

[0034] Generally, this process has the advantage of reducing the complexity of ERR pin training, for example, training performed during system boot or DRAM PHY reset. Ideally, the system should avoid training the ERR pin entirely, but such an approach is often impractical due to process, voltage, and temperature changes associated with the PHY driver and receiver circuitry. The illustrated process has the advantage of providing a low-cost training method that is easy to implement and operates quickly, compared to a typical PAM4 receiver training process. Generally, the illustrated process employs a DC level driven by a DRAM device on the ERR pin to train the host ERR receiver reference voltage (VREF) level.

[0035] The process begins in block 402 by training the receiver for the ERR pin. In this example, a PAM4 receiver is used as shown, but a similar process can be used with other types of PAM receivers, such as a PAM6 or PAM8 receiver.

[0036] In block 404, a receiver control circuit, such as the training control circuit 310 (Figure 3), instructs the DRAM via the data bus to set the selected PAM4 driver to a mode having a specified steady-state output level. In this embodiment, an MRS command, such as forced "01", is stored in the error mode register 320 to instruct the CTRL / CA PARITY / CRC circuit 330 to set the specified output level. In other embodiments, another method can be used to achieve the specified DC output level, for example, by transmitting a training pattern of bits having repeating values ​​for the desired steady-state DC output level. Referring to block 404, the MRS command may be issued at any time before, after, or during command address (CA) training on the PHY. During this training time, it is preferable that host ERR termination is applied to ensure an appropriate reference signal level.

[0037] Next, in block 406, the process waits for a predetermined period. After this waiting period, it is assumed that the DRAM has set the ERR pin to a specified DC state at a commanded DC output level driven by a PAM4 driver such as the PAM4 driver 215. The DC output levels of the PAM4 drivers are labeled "00", "01", "10", and "11" and are shown in Figure 5.

[0038] In block 408, the process then sweeps one of the reference voltage circuits providing voltages VR_L1, VR_L2, and VR_L3 by continuously varying the voltage over a voltage range and comparing the reference voltage with the voltage received from the selected PAM4 driver after each change to determine the respective voltage level received from the selected PAM4 driver. In this embodiment, as shown in block 410, determining a specific received voltage level is performed by one of the multiple sub-receiver circuits of the PAM4 receiver, e.g., sub-receivers 304, 306, and 308. When the reference voltage passes the voltage received by one of the selected sub-receivers, the sub-receiver changes the received value from low to high (if the reference voltage is swept upward) or from high to low (if the reference voltage is swept downward). This detected crossover point is saved in block 414 to appropriately set all reference voltages VR_L1, VR_L2, and VR_L3.

[0039] As shown in block 412, the process is repeated for all PAM levels, but in other embodiments, it is not necessary to repeat it for all levels. For example, block 412 may instead repeat the process for a specified subset of PAM levels. For example, levels "01", "10", and "11" may be trained by repeating blocks 404-410, and level "00" may be assumed to be 0 volts.

[0040] In block 414, a reference voltage level for continuous operation of the PAM4 receiver is set based on the crossover point detected in block 410. Preferably, the reference voltage is selected as the average of two surrounding crossover points, but other selection methods may be used. These settings establish a "window" for the range of voltage levels in which a particular value is recognized as received by the PAM4 receiver.

[0041] In an exemplary scenario in which the PAM4 receiver 216 (Figure 3) is trained, a force "11" command is loaded into the error mode register 320, causing the PAM4 driver 215 to output the "11" level, which is the highest level shown in Figure 5. The reference voltage VR_L3 is then changed at a specified pace, starting at a specified level such as the typical level shown in Figure 5, by increasing the voltage level of VR_L3 until the sub-receiver 304 changes from outputting "1" to outputting "0", indicating that VR_L3 has exceeded the actual voltage level received at the ERR terminal. The force "10" command is then loaded, causing the PAM4 driver 215 to output the "10" level, and VR_L2 is similarly swept from a specified value until the sub-receiver 306 detects a crossover. An example of sweeping the voltage level of a reference voltage VR_L2 is shown in Figure 5, which shows six different voltage levels 501, 502, 503, 504, 505, and 506 to which VR_L2 is changed. Voltage levels 501-506 are shown spread out over time during the eye period, but this display is for illustrative purposes only, and the actual timing of the reference voltage change and measurement will differ depending on the embodiment. For example, in one embodiment, the measurement is performed at the same point in the eye. In another embodiment, the measurement is performed at the same speed as the change in the reference voltage and the recognition of the output of the sub-receiver circuit. At each voltage level, the process compares the reference voltage to the voltage received via the PAM4 driver to determine whether it is higher or lower. In this embodiment, the comparison is performed using each sub-receiver circuit (e.g., 306 in Figure 3) for the reference voltage. When the output of the sub-receiver circuit transitions from LOW to HIGH, the process detects that the swept reference voltage has become higher than the received voltage. While six voltage levels are shown, generally, more voltage levels spaced appropriately apart are used to detect the received voltage level with a resolution suitable for use in a receiver. For example, the voltage level may increase with each change by a selected voltage increase greater than the minimum increase provided by the reference voltage generation circuit or the minimum available increase.

[0042] Next, a forced "01" command is loaded, causing the PAM4 driver 215 to output a "01" level, and VR_L1 is swept upward until the sub-receiver 308 detects a crossover. Finally, a forced "00" command may also be included, in which case VR_L1 is swept downward until a crossover is detected. In the case of a downward sweep, the crossover point is detected by the output of each sub-receiver circuit transitioning from HIGH to LOW, indicating that the swept reference voltage has become lower than the received voltage. It can be understood that for the "01" and "10" levels, a downward sweep of a reference voltage above the specified level may be used instead of an upward sweep of a reference voltage below the specified level.

[0043] As shown in block 416, after the reference level is set, another optional step in training is to enable the mode register setting in the DRAM device to set the ERR pin to toggle mode in order to perform phase training. In such a process, the center of the “eye” as shown in Figure 5 is adjusted by adjusting the phase delay or phase lead at which the PAM4 receiver value is measured until an optimal value is received. In block 416, the ERR pin can be configured to periodically repeat all or a subset of the four levels at the expected toggle frequency of the ERR pin in normal operation in order to phase train each aperture in the eye diagram. In some embodiments, such phase training is useful under certain operating modes.

[0044] As shown in block 418, another optional step is to provide a reference voltage level determined in block 414 for use by other PAM4 receivers in the PHY circuit, based on the efficient level training process performed in blocks 404-414. For example, block 418 may include providing the determined reference voltage levels for VR_L1, VR_L2, and VR_L3 to the training process for a DQ receiver (e.g., 241 in Figure 2) for purposes such as DQ VREF level adaptation, or to provide an initial VREF level setting for use when training or operating the DQ receiver.

[0045] An integrated circuit or multiple integrated circuits, including a reference voltage generating circuit or any part thereof, as described herein, can be described or represented by a computer-accessible data structure in the form of a database or other data structure that can be read and used by a program, and the integrated circuit can be manufactured directly or indirectly. For example, this data structure may be a behavioral-level description or register-transfer-level (RTL) description of hardware functions in a high-level design language (HDL) such as VeriLog or VHDL. The description may be read by a synthesis tool that can synthesize the description to generate a netlist containing a list of gates from a synthesis library. The netlist contains a set of gates that also represent the functions of the hardware, including the integrated circuit. The netlist can then be arranged and routed to generate a dataset describing the geometric shapes to be applied to a mask. The mask can then be used in various semiconductor manufacturing steps to manufacture the integrated circuit. Alternatively, the database on a computer-accessible storage medium may, if desired, be a netlist (with or without a synthesis library) or a dataset, or Graphic Data System (GDS) II data.

[0046] While specific embodiments have been described, various modifications to these embodiments will be apparent to those skilled in the art. For example, various PAM4 driver designs can be used with different numbers of PAM levels. Furthermore, various methods can be used to instruct the PAM4 driver to transmit desired steady-state values ​​for an efficient training process. The disclosed technology is applicable to a wide variety of integrated circuits that use high-speed data transmission. In one particular example, one integrated circuit may be a data processor, system-on-a-chip (SOC), or graphics processing unit (GPU), and the other integrated circuit may be DDR or GDDR SDRAM, but the technology described herein can be used with many other types of integrated circuits. Also, the transmission medium may differ between embodiments depending on the physical structure of the memory bus and may include traces on a printed circuit board, bond wires, through-silicon vias (TSVs), etc.

[0047] Therefore, the attached claims are intended to cover all modifications of the disclosed embodiments that fall within the scope of the disclosed embodiments.

Claims

1. A method for training a receiver, The process involves instructing a volatile memory via the data bus to set a selected PAM driver, operating at at least three pulse amplitude modulation (PAM) levels, to a mode having a specified steady-state output level, While the selected PAM driver is in a mode having the specified steady-state output level, a receiver circuit coupled to the selected PAM driver includes sweeping each reference voltage associated with the specified steady-state output level over a voltage range, comparing each reference voltage with the voltage received from the PAM driver, and determining each voltage level received from the PAM driver. method.

2. The selected PAM driver is instructed to toggle at the expected operating speed through (i) all of its output levels and (ii) any subset of its output levels, This includes performing phase training of the receiver circuit while the selected PAM driver is toggled, The method according to claim 1.

3. The volatile memory is instructed via the data bus to set the selected PAM driver to a mode having a second specified steady-state output level. While the selected PAM driver is in a mode having the second designated steady-state output level, a receiver circuit coupled to the selected PAM driver includes sweeping each of the second reference voltages associated with the second designated steady-state output level over a voltage range, comparing each of the second reference voltages with the voltage received from the PAM driver, and determining each of the second voltage levels received from the PAM driver. The method according to claim 1.

4. This includes setting initial levels for two reference voltages associated with an additional PAM receiver coupled to the volatile memory, based on the respective voltage levels and the respective second voltage levels. The method according to claim 3.

5. The selected PAM driver is connected to a designated output terminal of the volatile memory that provides command and address (CA) parity and write cyclic redundancy check (CRC) information to the host. Commanding the volatile memory via the data bus is performed by issuing a mode register set (MRS) command to the volatile memory. The method according to claim 4.

6. The aforementioned additional PAM receiver is a receiver for the data input / output (DQ) terminal of the data bus. The method of claim 5.

7. Sweeping each reference voltage associated with the specified steady-state output level over a voltage range includes selecting one of at least two sub-receiver circuits and sweeping the reference voltage coupled to the selected sub-receiver circuit from the at least two sub-receiver circuits. The method according to claim 1.

8. A physical layer (PHY) circuit for coupling to volatile memory via a data bus, A PAM receiver operating at at least three pulse amplitude modulation (PAM) levels, A receiver control circuit is provided, The PAM receiver is Decoder circuit and The system comprises at least two sub-receiver circuits, each including an output coupled to the decoder circuit, a first input coupled to the data bus terminal, and a second input coupled to the respective reference voltage circuit. The receiving control circuit is, The system is capable of instructing the volatile memory via the data bus to set a selected PAM driver to a mode having a specified steady-state output level, and while the selected PAM driver is in the mode having the specified steady-state output level, it is capable of sweeping one reference voltage of each of the sub-receiver circuits over a voltage range, comparing the reference voltage with the voltage received from the selected PAM driver, and determining the respective voltage levels received from the selected PAM driver. PHY circuit.

9. The receiver control circuit is The selected PAM driver is instructed to toggle at the expected operating speed through (i) all of its output levels and (ii) any subset of its output levels. The selected PAM driver is operable to perform phase training of the PAM receiver while it is toggled. The PHY circuit according to claim 8.

10. The receiver control circuit is The volatile memory is instructed via the data bus to set the selected PAM driver to a mode having a second specified steady-state output level. While the selected PAM driver is in a mode having the second designated steady-state output level, it is operable to sweep each of the second reference voltages associated with the second designated steady-state output level over a voltage range, compare each of the second reference voltages with the voltage received from the PAM driver, and determine each of the second voltage levels received from the PAM driver. The PHY circuit according to claim 8.

11. The receiver control circuit is The initial levels for two reference voltages associated with an additional PAM receiver coupled to the volatile memory are operable to be set based on the respective voltage levels and the respective second voltage levels. The PHY circuit according to claim 10.

12. The selected PAM driver is connected to a designated output terminal of the volatile memory that provides command and address (CA) parity and write cyclic redundancy check (CRC) information to the host. Commanding the volatile memory via the data bus is performed by issuing a mode register set (MRS) command to the volatile memory. The PHY circuit according to claim 11.

13. The aforementioned additional PAM receiver is a receiver for the data input / output (DQ) terminal of the data bus. The PHY circuit according to claim 12.

Citation Information

Patent Citations

  • Integrated Controller for Training of Memory Physical Layer Interface

    JP2017523488A

  • Multi-level signaling in memory with wide system interface

    US20200267032A1