Terminal resistance adjustment program, terminal resistance adjustment method and information processing device

The method addresses impedance mismatch issues by optimizing termination resistors using measured and estimated eye patterns, enhancing transmission quality and reducing maintenance efforts in CPU-memory systems.

JP2024148551AInactive Publication Date: 2024-10-18FUJITSU LTD

Patent Information

Application Number
JP2023061763
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-05
Publication Date
2024-10-18
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional methods struggle to adjust termination resistance of memories to prevent impedance mismatch-induced signal reflections between CPUs and memories, leading to suboptimal transmission characteristics and increased maintenance costs due to manufacturing variations and environmental changes.

Method used

A method involving setting initial values for termination resistors, measuring eye patterns, and estimating optimal resistance settings through a program that adjusts termination resistors to ensure high transmission quality by optimizing eye patterns across multiple memory combinations.

Benefits of technology

Facilitates efficient and automated adjustment of termination resistors during device startup, improving transmission characteristics and reducing maintenance time and costs by optimizing resistance settings based on measured and estimated eye patterns.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024148551000001_ABST
    Figure 2024148551000001_ABST
Patent Text Reader

Abstract

To make it easy to adjust terminal resistances of memories.SOLUTION: A system control unit 120 initializes settings of terminal resistances of respective memories #0 to #2 connected to a memory bus #0, and measures first memory eye patterns of the respective memories #0 to #2. The system control unit 120 sets the terminal resistances of the respective memories #0 to #2 to four corner settings, and measures second memory eye patterns of the respective memories #0 to #2. The system control unit 120 estimates third memory eye patterns of the respective memories #0 to #2 for respective intermediate settings other than initial settings and four corner settings based upon the first memory eye patterns and second memory eye patterns of the respective memories #0 to #2. The system control unit 120 determines setting values of the terminal resistances of the respective memories #0 to #2 based upon the third memory eye patterns of the respective memories #0 to #2 so that criteria are satisfied.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a termination resistance adjustment program, a termination resistance adjustment method, and an information processing device. [Background technology]

[0002] In recent years, the data communication environment between the CPU (Central Processing Unit) and memory has become more severe due to various factors. For example, eye patterns tend to shrink due to faster transmission speeds and lower voltages. In DDR (Double Data Rate) 4, the transmission speed per channel exceeds 2400 Mbps on a single-ended parallel bus.

[0003] In addition, in large-scale systems, the multi-layering of the board makes it more susceptible to noise, and it is desirable to be able to accommodate a variety of memory mounting conditions. Although various memory specifications are defined by the Joint Electron Device Engineering Council (JEDEC) standards, impedance mismatches caused by differences between manufacturers can cause signal reflections on the transmission path between the CPU and memory.

[0004] Prior art techniques include connecting the termination resistance control pad of a memory chip having a long wiring length between the data bus on a module substrate and a data input / output pad to a termination resistance control wiring, controlling the on / off of the termination resistance from an ODT terminal, and connecting the termination resistance control pad of a memory chip having a short wiring length between the data bus on a module substrate and a data input / output pad to a fixed potential so as to turn on the termination resistance. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2009-294864 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, in the conventional technology, it is difficult to adjust the termination resistance of the memory that is inserted to avoid reflections caused by impedance mismatch on the transmission path between the CPU and the memory.

[0007] In one aspect, the present invention aims to make it easier to adjust the termination resistance of a memory. [Means for solving the problem]

[0008] In one embodiment, a termination resistance adjustment program is provided that sets an initial value for each of a plurality of memories connected to a CPU in a local device via a memory bus, measures a first memory eye pattern for each of the memories, measures a second memory eye pattern for each of the memories for each of specific combinations that can be obtained when any of a plurality of setting values ​​that can be set for the termination resistance of each of the memories is set to each of the termination resistances of each of the memories, among all possible combinations that can be obtained when any of the minimum or maximum values ​​of the plurality of setting values ​​is set, and estimates a third memory eye pattern for each of the memories for each of other combinations other than the initial value and the specific combination among all possible combinations based on the measured first memory eye pattern and second memory eye pattern of each of the memories, and determines a setting value for the termination resistance of each of the memories so as to satisfy a standard for transmission quality between the CPU and each of the memories based on the estimated third memory eye pattern of each of the memories. Effect of the Invention

[0009] Advantageous Effects of Invention According to one aspect of the present invention, an effect is achieved in that it is possible to easily adjust the termination resistance of a memory. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is an explanatory diagram showing an example of the device configuration of a server device 100. As shown in FIG. [Diagram 2] FIG. 2 is an explanatory diagram showing a transmission system between the CPU and memory. [Diagram 3] FIG. 3 is an explanatory diagram illustrating an example of a termination resistor. [Figure 4] FIG. 4 is an explanatory diagram showing an example of signal reception in the CPU. [Diagram 5] FIG. 5 is an explanatory diagram showing changes in eye patterns due to differences in termination resistance. [Figure 6] FIG. 6 is an explanatory diagram showing an example of three types of eye patterns. [Figure 7] FIG. 7 is an explanatory diagram showing an image of a common eye pattern. [Figure 8] FIG. 8 is a block diagram showing an example of a functional configuration of the server device 100. As shown in FIG. [Figure 9] FIG. 9 is an explanatory diagram illustrating an example of an eye pattern. [Figure 10] FIG. 10 is an explanatory diagram showing combinations of termination resistors in a memory. [Figure 11] FIG. 11 is an explanatory diagram showing an example of a memory eye pattern estimation. [Figure 12] FIG. 12 is an explanatory diagram (part 1) showing an example of creating an estimated waveform. [Figure 13] FIG. 13 is an explanatory diagram (part 2) showing an example of creating an estimated waveform. [Figure 14] FIG. 14 is an explanatory diagram (part 3) showing an example of creating an estimated waveform. [Figure 15] FIG. 15 is an explanatory diagram (part 4) showing an example of creating an estimated waveform. [Figure 16] FIG. 16 is an explanatory diagram showing an example of rewriting the value of the error portion. [Figure 17] FIG. 17 is an explanatory diagram showing an image of the estimated waveform. [Figure 18] FIG. 18 is an explanatory diagram showing an example of the contents of the waveform management table 1800. [Figure 19] FIG. 19 is an explanatory diagram showing an example of a memory eye pattern in a provisional optimum setting. [Figure 20]FIG. 20 is an explanatory diagram showing an example of a common eye pattern of a provisional optimum setting. [Figure 21] FIG. 21 is an explanatory diagram showing the relationship between a memory eye pattern and a common eye pattern. [Figure 22] FIG. 22 is an explanatory diagram showing an enlarged example of a common eye pattern. [Figure 23] FIG. 23 is an explanatory diagram (part 1) showing an example of a combination of termination resistors of memories #1 and #2. [Figure 24] FIG. 24 is an explanatory diagram (part 2) showing an example of a combination of termination resistors of memories #1 and #2. [Diagram 25] FIG. 25 is an explanatory diagram showing an example of searching for a termination resistor in memory training. [Figure 26] FIG. 26 is a flowchart (part 1) showing an example of a procedure of the termination resistance adjustment process of the system control unit 120. [Figure 27] FIG. 27 is a flowchart (part 2) illustrating an example of the termination resistance adjustment process procedure of the system control unit 120. [Figure 28] FIG. 28 is a flowchart (part 3) illustrating an example of the termination resistance adjustment process procedure of the system control unit 120. [Figure 29] FIG. 29 is a flowchart (part 4) illustrating an example of a termination resistance adjustment process procedure of the system control unit 120. [Diagram 30] FIG. 30 is a flowchart (part 1) illustrating an example of a specific processing procedure of the estimated waveform creation processing. [Diagram 31] FIG. 31 is a flowchart (part 2) illustrating an example of a specific processing procedure of the estimated waveform creation processing. [Diagram 32] FIG. 32 is an explanatory diagram (part 1) showing an example of a common eye pattern according to the embodiment. [Diagram 33] FIG. 33 is an explanatory diagram (part 2) showing an example of a common eye pattern according to the embodiment. [Diagram 34] FIG. 34 is an explanatory diagram (part 3) showing an example of a common eye pattern according to the embodiment. [Diagram 35]FIG. 35 is an explanatory diagram (part 4) showing an example of a common eye pattern according to the embodiment. [Diagram 36] FIG. 36 is an explanatory diagram (part 1) showing an example of a memory eye pattern according to an embodiment. [Figure 37] FIG. 37 is an explanatory diagram (part 2) showing an example of a memory eye pattern according to an embodiment. [Figure 38] FIG. 38 is an explanatory diagram (part 3) showing an example of a memory eye pattern according to the embodiment. [Figure 39] FIG. 39 is an explanatory diagram (part 1) showing memory eye patterns for each setting according to the embodiment. [Diagram 40] FIG. 40 is an explanatory diagram (part 1) showing an example of creating an estimated waveform according to an embodiment. [Diagram 41] FIG. 41 is an explanatory diagram (part 1) showing an example of a combination of termination resistors according to an embodiment. [Diagram 42] FIG. 42 is an explanatory diagram (part 2) showing an example of creating an estimated waveform according to the embodiment. [Diagram 43] FIG. 43 is an explanatory diagram (part 2) showing an example of a combination of termination resistors according to an embodiment. [Diagram 44] FIG. 44 is an explanatory diagram (part 2) showing memory eye patterns for each setting according to the embodiment. [Diagram 45] FIG. 45 is a diagram illustrating an example of the contents of the waveform management table 1800 according to the embodiment. [Figure 46] FIG. 46 is a diagram (part 5) illustrating an example of a common eye pattern according to the embodiment. [Figure 47] FIG. 47 is an explanatory diagram (part 6) showing an example of a common eye pattern according to the embodiment. [Figure 48] FIG. 48 is an explanatory diagram (part 7) showing an example of a common eye pattern according to the embodiment. [Figure 49] FIG. 49 is an explanatory diagram (part 3) showing an example of a combination of termination resistors according to an embodiment. [Figure 50] FIG. 50 is an explanatory diagram (part 8) showing an example of a common eye pattern according to the embodiment. [Figure 51] FIG. 51 is an explanatory diagram (part 4) showing an example of a combination of termination resistors according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, with reference to the accompanying drawings, embodiments of a termination resistance adjusting program, a termination resistance adjusting method, and an information processing device according to the present invention will be described in detail.

[0012] (Embodiment) First, a device configuration example of an information processing device according to an embodiment will be described. In the following description, a case where the information processing device according to the embodiment is applied to a "server device 100" will be described. However, the information processing device according to the embodiment may also be applied to a PC (Personal Computer), a tablet terminal, etc.

[0013] Fig. 1 is an explanatory diagram showing an example of the device configuration of a server device 100. In Fig. 1, the server device 100 has a main board 110, a system control unit 120, and a communication I / F (Interface) 130. Each component is connected to each other by a bus 140.

[0014] The main board 110 includes a CPU 101 and a memory 102. The CPU 101 is responsible for the overall control of the server device 100. The memory 102 is, for example, a dual inline memory module (DIMM) memory (maximum 24 DIMMs). The CPU 101 and memory 102 in the main board 110 are connected by a memory bus 150. The memory bus 150 is a bus for exchanging signals between the CPU 101 and the memory 102. The memory bus 150 will be described later with reference to FIG. 2.

[0015] The system control unit 120 includes a micro processing unit (MPU) 103, a synchronous dynamic random access memory (SDRAM) 104, and an SD card 105. The MPU 103 controls the system control unit 120. The SDRAM 104 is used as a memory (main storage device) of the MPU 103.

[0016] The SD card 105 stores a program (for example, this termination resistance adjustment program). Specifically, for example, the SD card 105 stores this termination resistance adjustment program, and the SDRAM 104 is used as a work area for the MPU 103. The program stored in the SD card 105 is loaded into the MPU 103, causing the MPU 103 to execute the coded process.

[0017] The communication I / F 130 is connected to a network through a communication line, and is connected to an external computer through the network. The network is, for example, a local area network (LAN), a wide area network (WAN), the Internet, etc. The communication I / F 130 manages the interface between the network and the inside of the device, and controls input and output of data from the external computer.

[0018] The system control unit 120 has a function of controlling and monitoring the hardware of the main body of the server device 100. Specifically, for example, the system control unit 120 performs an initial diagnosis when the device is started up. In the initial diagnosis, for example, memory training between the CPU and memory (DIMM) and link-up confirmation of various communication paths (PCI: Peripheral Component Interconnect) are performed. The system control unit 120 may also have a security function, a firmware update function, and the like.

[0019] Although not shown in the figures, the server device 100 has, in addition to the above-mentioned components, for example, a power supply unit, a cooling fan, a temperature sensor, etc. Furthermore, in addition to the above-mentioned components, the server device 100 may have, for example, an input device, an output device, an auxiliary storage device, a portable recording medium, etc. Examples of the input device include a keyboard and a mouse. Examples of the output device include a display. Examples of the auxiliary storage device include a hard disk drive (HDD) and a solid state drive (SSD). Examples of the portable recording medium include a compact disc (CD)-ROM, a digital versatile disk (DVD), and a universal serial bus (USB) memory, etc.

[0020] (CPU-memory transmission system) Next, the transmission system (memory bus 150) between the CPU 101 and the memory 102 shown in FIG. 1 will be described.

[0021] Fig. 2 is an explanatory diagram showing a transmission system between a CPU and a memory. In Fig. 2, a CPU 101 includes a plurality of memory controllers (e.g., memory controllers #0, #1) and a plurality of I / O circuits (e.g., I / O circuits #0, #1). However, in Fig. 2, the I / O circuits are simply represented as "I / O".

[0022] Here, CPU 101 is connected to memories #0 to #5 via memory buses #0 and #1. Memories #0 to #5 are included in memory 102 shown in FIG. 1. Memory buses #0 and #1 are included in memory bus 150 shown in FIG. 1. Memory 102 is equipped with multiple slots, and up to three memory slots can be installed on the same memory bus. In the following description, "slot" and "memory" may be treated as having the same meaning.

[0023] System control unit 120 is connected to CPU 101 and controls memory controllers (e.g., memory controllers #0 and #1) within CPU 101. Memory controller #0 controls the transmission and reception of signals between I / O circuit #0 and memories #0 to #2. Memory controller #1 controls the transmission and reception of signals between I / O circuit #1 and memories #3 to #5.

[0024] Memory access includes memory write and memory read. Memory write is, for example, an operation of writing data from I / O circuit #0 of CPU 101 to memories #0 to #2. Memory read is, for example, an operation of reading data from memories #3 to #5 by I / O circuit #1 of the CPU.

[0025] In this embodiment, a case where the termination resistance between the CPU 101 and the memory 102 is adjusted for memory read will be described. The termination resistance is a resistor inserted to avoid reflected noise caused by impedance mismatch. Impedance mismatch is a state in which the impedance of the side sending out a signal does not match the impedance of the side receiving the signal in an electric circuit.

[0026] Impedance mismatch causes the waveform to be reflected at the mismatched area, and the reflected wave becomes noise, distorting the signal waveform. As shown in Figure 2, reflected noise is likely to occur when multiple memories are mounted on the same memory controller, or when the mounted memories have different rank numbers (number of dies). This is caused by a lack of impedance matching in the transmission path, which causes the waveform to be distorted.

[0027] The reflected noise caused by impedance mismatch can be improved by adjusting the resistance to an optimal value so that impedance matching is achieved at the transmitting end, transmission path, and receiving end. Therefore, determining the optimal termination resistance between the CPU and memory is important for stable communication.

[0028] Here, the termination resistor between the CPU and memory will be described with reference to FIG.

[0029] Fig. 3 is an explanatory diagram showing an example of a termination resistor. Fig. 3 shows a state in which a memory mounted in Slot-A among Slots-A, B, and C is driven (outputs a signal) and received by a CPU 301. The CPU 301 corresponds to, for example, the CPU 101. The Slots-A, B, and C correspond to, for example, the slots of the memory 102.

[0030] Rtt Park is the termination resistance of the memory installed in the slot other than the one being driven. In the example of Figure 3, the memory in Slot-A is driven, and the termination resistances of the memory in Slot-B and Slot-C are Rtt Park B and Rtt Park C.

[0031] Although not shown in the figure, when the memory in Slot-B is operating, the termination resistances of the memories in Slot-A and Slot-C become Rtt Park A and Rtt Park C. Also, when the memory in Slot-C is operating, the termination resistances of the memories in Slot-A and Slot-B become Rtt Park A and Rtt Park B.

[0032] Here, various memory specifications are defined by JEDEC standards. However, impedance mismatch due to differences between manufacturers can cause signal reflections on the transmission path between the CPU and memory. In addition, power supply noise and crosstalk noise caused by interference between signals can cause transmission characteristics to deteriorate.

[0033] Conventionally, the termination resistance of signals between a CPU and memory is determined by a fixed setting value through a pre-evaluation. This pre-evaluation is performed, for example, using an eye pattern. The eye pattern is an index for evaluating the transmission quality between a CPU and memory. The setting value of the termination resistance is determined to be the value of the termination resistance under the condition that the eye pattern is the widest.

[0034] In the example of Figure 3, when the memory in Slot-A is in the output state (driven), the termination resistances Rtt Park B and Rtt Park C of the memories in Slot-B and C are adjusted. The termination resistance of the memory in each slot is inside the memory and is a variable resistor, so it can be selected from multiple values ​​(for example, 34Ω, 40Ω, 48Ω, 60Ω, 80Ω, 120Ω, 240Ω).

[0035] In the preliminary evaluation, the combination of termination resistance of the memory in Slot-B and C that opens the eye pattern the most is selected from among multiple values. If the termination resistance of the memory in Slot-B and C is not adjusted appropriately, the eye pattern will become smaller due to reflected noise. The same applies when the memory in Slot-B and C is in the output state (driven).

[0036] Here, the eye pattern will be explained using Fig. 4. The eye pattern corresponds to the waveform of a digital transmission signal superimposed for each bit.

[0037] Fig. 4 is an explanatory diagram showing an example of signal reception in a CPU. Fig. 4 shows a state in which a memory 402 (driver) is driven to output a signal, and a CPU 401 (receiver) receives the signal. A specific pattern (a random combination of 0 and 1) is output from the memory 402.

[0038] CPU 401 reads this random pattern one bit at a time. The bits read by CPU 401 are superimposed to form eye pattern 410. Eye pattern 410 corresponds to circular portion 411 (hatched portion) in Fig. 4. The wider this circular portion 411 is, the better the transmission characteristics are, and the receiving side can correctly determine whether the signal is 0 or 1.

[0039] The horizontal axis of eye pattern 410 is the time axis, and represents the delay value (setting) adjusted by I / O circuit 403 of CPU 401 for reception timing. The vertical axis of eye pattern 410 is the voltage axis, and represents the threshold voltage (Vref) used for 0 / 1 determination. A method for creating eye patterns will be described later with reference to FIG. 9.

[0040] In conventional pre-evaluation, when determining the termination resistance of memory, the actual device was used to measure the eye pattern while changing the termination resistance setting of each memory, and the termination resistance setting was determined by searching for the setting that results in the largest opening. As shown in Figure 3, when the memory in Slot-A is in the output state (driven), the termination resistance setting was determined by changing the termination resistance (Rtt Park B, Rtt Park C) in the memory in Slot-B and C.

[0041] Here, we will explain the change in eye pattern due to differences in termination resistance by taking one signal data in the memory of Slot-A as an example with reference to Figure 5. Here, the termination resistance in the memory of Slot-B is "Rtt Park B = 60Ω", and the termination resistance in the memory of Slot-C is "Rtt Park C = 34Ω, 40Ω, 48Ω, 60Ω".

[0042] Fig. 5 is an explanatory diagram showing changes in eye patterns due to differences in termination resistance. In Fig. 5, eye patterns 501 to 504 show eye patterns of one signal data in the memory of Slot-A measured while changing the settings of the termination resistance in the memories of Slot-B and C in a pre-evaluation using an actual device.

[0043] In this case, among eye patterns 501 to 504, the opening of eye pattern 501 is the largest when the termination resistors of Slot-B and C are set to 60 Ω and 34 Ω, respectively. However, this is just one example, and when the combinations of termination resistors of Slot-B and C are adjusted with the total number of termination resistor settings, there are a maximum of 49 (=7*7) combinations if the number of termination resistor settings is seven.

[0044] A characteristic of termination resistors is that as the resistance value is reduced, the entire waveform rises slightly upwards. This is because when the termination resistor is connected to the power supply side, a force called pull-up is applied. When the termination resistor is connected to the ground side, a force called pull-down is applied, causing the entire waveform to fall downwards. In this case, the larger the resistance value, the weaker the force, and the smaller the resistance value, the stronger the force.

[0045] The termination resistance setting determined in this way through advance evaluation varies depending on the memory installation conditions (vendor, memory capacity, slot position), but remains the same under the same memory installation conditions (same vendor, same memory capacity, same slot position). For this reason, there are cases where the transmission characteristics deteriorate due to manufacturing variations in the CPU, memory, and board.

[0046] For example, due to manufacturing variations in CPUs, boards, and memory (DIMMs), some data signals may not meet the criteria, resulting in transmission errors. In such cases, it may be necessary to replace the memory, which will increase maintenance work and costs due to component replacement.

[0047] As a countermeasure, if the memory termination resistance could be optimally adjusted for each device configuration, the transmission characteristics would improve and transmission errors could be prevented. However, adjusting the memory termination resistance in the past took a huge amount of time and effort. Even if the memory termination resistance was adjusted in advance for each device, the optimal setting may change due to changes in the environment (for example, temperature, humidity, deterioration of characteristics due to aging, etc.).

[0048] For this reason, it is desirable to adjust the memory termination resistance each time each device is started up. For example, it is possible to adjust the memory termination resistance during memory training, which is performed when the device is started up. Memory training is a process (calibration) for adjusting the strobe point used when the CPU writes to and reads from the memory. The strobe point is the voltage setting (threshold voltage) and time setting (delay) that determine whether data is Hi (1) or Low (0). The strobe point is also called the decision point.

[0049] In conventional memory training, the device initializes the memory and reads various settings (driving capability, slew rate, termination resistance, delay, threshold voltage). Next, the device measures the eye pattern by changing the delay and threshold voltage, adjusts the threshold voltage from the measured eye pattern, and determines the strobe point by adjusting the delay at the adjusted threshold voltage.

[0050] In conventional memory training, the termination resistance of the memory is not adjusted, and a fixed setting value determined in advance by evaluation is used. In this memory training, the termination resistance of the memory is adjusted, so that the termination resistance can be adjusted every time each device is started. For the technology to obtain the strobe point from the eye pattern, for example, refer to JP 2021-111031 A.

[0051] However, the JEDEC standard specifies a total of seven termination resistor settings (34Ω, 40Ω, 48Ω, 60Ω, 80Ω, 120Ω, 240Ω). In the example shown in Figure 3, the termination resistor settings are set to the initial settings, and the termination resistor settings (Rtt PARK B, Rtt PARK C) that widen the eye pattern of Slot-A are searched for. Next, the termination resistor settings (Rtt PARK C, Rtt PARK A) that widen the eye pattern of Slot-B are searched for, and finally, the termination resistor settings (Rtt PARK A, Rtt PARK B) that widen the eye pattern of Slot-C are searched for.

[0052] The problem here is that when the eye pattern of Slot-A is adjusted with termination resistors (Rtt PARK B, Rtt PARK C) and the eye pattern of Slot-B is adjusted with termination resistors (Rtt PARK C, Rtt PARK A), the termination resistor (Rtt PARK C) may not necessarily have a unique setting value.

[0053] For example, the value of the termination resistor (Rtt PARK C) that maximizes the eye pattern of Slot-A and the eye pattern of Slot-B may differ. Similar problems occur for other eye patterns. For this reason, it is desirable to measure all possible values ​​to find the optimal value, but this would result in a huge amount of adjustment time.

[0054] Even in pre-evaluation, performing all possible measurements to find the optimal value would take an enormous amount of time for adjustment. In order to reduce the amount of work, it is possible to narrow down the setting value of the termination resistor when searching for the optimal value. However, narrowing down the setting value of the termination resistor too much makes it difficult to find the optimal value. On the other hand, if the setting value cannot be narrowed down too much, it will still take a lot of time for adjustment.

[0055] For example, even if seven setting values ​​are narrowed down to five, a total of 125 (=5*5*5) measurements are required to find the optimal value among them. Performing 125 measurements would require more than four hours of adjustment time. If this adjustment were to be performed during memory training at startup for each device, the startup time would be extended, which would be unacceptable.

[0056] In this embodiment, a termination resistance adjustment method is described that automatically adjusts the termination resistance of memory by memory training performed at the time of starting up the device in order to optimize the transmission characteristics between the CPU and memory. As described above, it is difficult to actually measure all the huge combinations of termination resistance settings due to the constraints of startup time. For this reason, in this termination resistance adjustment method, the combinations of termination resistance settings are narrowed down to a few, and from the actual waveforms measured based on those, estimated waveforms for the remaining settings are obtained, and the estimated waveforms are used to adjust the termination resistance in a short time.

[0057] (3 types of eye patterns) First, three types of eye patterns used in this termination resistance adjustment method will be described with reference to Figure 6. This termination resistance adjustment method uses a "data signal eye pattern," a "memory eye pattern," and a "common eye pattern."

[0058] The eye pattern of the data signal is the eye pattern of a data signal (one signal) received by an I / O circuit (e.g., I / O circuits #0, #1) of CPU 101 from a memory (e.g., memories #0 to #5). The eye pattern is expressed, for example, on a matrix with delay on the horizontal axis and threshold voltage on the vertical axis, with an area where transmission is possible without errors represented as "0" and an area where transmission is impossible due to errors represented as "1".

[0059] The eye pattern of a memory is obtained by superimposing the eye patterns of each data signal for each memory (for example, memories #0 to #5) centered on the strobe point. The eye pattern of a memory may be referred to as a memory eye pattern.

[0060] A common eye pattern is a single eye pattern created by superimposing the eye patterns of memories connected to the same memory bus, centered around the strobe point. In this termination resistance adjustment method, the strobe point is used not only to determine the binary value of each data signal, but also to adjust the memory termination resistance (superimposing the eye patterns).

[0061] For example, the number of connection data signals per CPU is 864 (=2*3*2*72) if there are 2 memory controllers (memory buses), 3 memories (DIMMs), 2 memory ranks, and 72 data signals. The number of eye patterns of data signals per memory is 144 (=2*72) if there are 2 memory ranks and 72 data signals. The number of eye patterns of data signals per memory bus is 432 (=3*2*72) if there are 3 memories, 2 memory ranks, and 72 data signals.

[0062] Fig. 6 is an explanatory diagram showing an example of three types of eye patterns. In Fig. 6, eye patterns #0 to #71 are eye patterns of each data signal in memory #3. For example, if the data signals in memory #3 are "data signals #0 to #71," eye patterns #0 to #71 are eye patterns of each data signal #0 to #71 in memory #3.

[0063] Memory eye pattern 610 is a superposition of eye patterns #0 to #71 of all data signals #0 to #71 in memory #3. Memory eye pattern 610 is created, for example, by aligning and adding together eye patterns #0 to #71 at the strobe points of each data signal.

[0064] Memory eye pattern 620 is a superposition of the eye patterns of all data signals in memory #4. Memory eye pattern 630 is a superposition of the eye patterns of all data signals in memory #5. In the case of one memory with multiple ranks, the memory eye pattern is, for example, the sum of the eye patterns of each rank.

[0065] In this way, in this termination resistance adjustment method, the strobe point is used as the center value to align multiple eye patterns into one. Termination resistance cannot be set for each data signal, but only on a memory-by-memory basis. For this reason, the eye patterns of data signals are grouped together for each memory. However, because the signal characteristics are nearly identical within a memory, the characteristics of the acquired data can be used without being impaired even if the eye patterns are superimposed.

[0066] Common eye pattern 640 is a superposition of memory eye patterns 610, 620, 630 of all memories #3 to #5 connected to memory bus #1 of the same channel. However, memories #3 to #5 are connected to memory bus #1 (see FIG. 2). Common eye pattern 640 is created by aligning and adding together memory eye patterns 610, 620, 630 at the strobe points of each memory #3 to #5 (data signals).

[0067] Fig. 7 is an explanatory diagram showing an image of a common eye pattern. Fig. 7 shows a schematic diagram of memory eye patterns 701-705 of multiple memories connected to a memory bus of the same channel superimposed on each other. However, for the sake of explanation, the memory eye patterns 701-705 of each memory are made to vary.

[0068] Common eye pattern 700 corresponds to the common open area (hatched area) when multiple memory eye patterns 701-705 are superimposed. Each memory eye pattern 701-705 is a superposition of eye patterns of all data signals in memory units. Center 710 indicates the center where the eye patterns are aligned at the strobe point.

[0069] The vertical axis indicates the voltage axis code value of the strobe point as 0. The horizontal axis indicates the time axis tap value of the strobe point as 0. The overlapping common eye patterns 700 open in common (hatched area) corresponds to the transmittable area of ​​the memory.

[0070] (Example of Functional Configuration of Server Device 100) Next, an example of the functional configuration of the server device 100 will be described.

[0071] Fig. 8 is a block diagram showing an example of a functional configuration of the server device 100. In Fig. 8, the server device 100 includes a measurement unit 801, an estimation unit 802, and a determination unit 803. The measurement unit 801 to the determination unit 803 are functions that constitute a control unit 800, and specifically, the functions are realized by, for example, causing the MPU 103 to execute a program stored in a storage device such as the SD card 105 of the system control unit 120 shown in Fig. 1, or by the communication I / F 130. The processing results of each functional unit are stored in a storage device such as the SD card 105.

[0072] In the following description, the memory buses in the server device 100 may be written as "memory buses #0 to #m" (m is an integer equal to or greater than 0). Any of the memory buses #0 to #m may be written as "memory bus #i" (i=0, 1, ..., m). Memory bus #i is, for example, memory buses #0 and #1 shown in FIG. 2. A plurality of memories connected to the CPU 101 in the server device 100 via the memory bus #i may be written as "memory #0 to #n" (n is a natural number equal to or greater than 1). Memories #0 to #n are, for example, memories #0 to #2 (see FIG. 2) connected to the CPU 101 via the memory bus #0. Any of the memories #0 to #n may be written as "memory #j" (j=0, 1, ..., n).

[0073] Measurement unit 801 measures the first memory eye pattern of each memory #j of memories #0 to #n connected to CPU 101 in its own device via memory bus #0. Here, the first memory eye pattern is a memory eye pattern measured by setting an initial value to each termination resistor of each memory #j.

[0074] The memory eye pattern is a superposition of the eye patterns of each data signal read from memory #j. The eye pattern is a superposition of the waveforms of the data signals (digital transmission signals) read from memory #j for each bit. The initial value is a setting value of the termination resistor that is predetermined for each memory #j. The initial value is determined, for example, by a simulation using existing technology.

[0075] In existing simulations, for example, the optimum termination resistance value is found by setting temperature, voltage, noise, etc., taking into account the characteristics of each memory #j. However, due to variations in the characteristics of each memory #j, the characteristics of CPU 101, and the characteristics of the transmission line, the value obtained by the simulation is not necessarily the optimum value. The initial value may be determined manually based on past experience.

[0076] Specifically, for example, the measurement unit 801 sets an initial value to each of the termination resistors of each memory #j and measures the first eye pattern of each data signal read from each memory #j. For example, when measuring the first memory eye pattern of memory #0 connected to CPU 101 via memory bus #0 shown in FIG. 2, an initial value is set to each of the termination resistors of memories #1 and #2.

[0077] Moreover, when measuring the first memory eye pattern of memory #1, initial values ​​are set in the termination resistors of memories #0 and #2. Moreover, when measuring the first memory eye pattern of memory #2, initial values ​​are set in the termination resistors of memories #0 and #1. Note that a specific processing example for measuring the eye pattern (first eye pattern) of a data signal will be described later with reference to FIG. 9.

[0078] Then, the measurement unit 801 measures the first memory eye pattern of each memory #j by aligning and overlapping the first eye patterns of each measured data signal at a strobe point. The strobe point is the voltage setting (threshold voltage) and time setting (delay) that determine whether the data is Hi (1) or Low (0).

[0079] More specifically, for example, the measurement unit 801 measures the first memory eye pattern by comparing the delay of the first eye pattern of each data signal and the value at the point where the threshold voltage is the same. In the first memory eye pattern, for example, the part without error in the first eye pattern of all data signals is "0", and the part with an error in the first eye pattern of at least any of the data signals is "1". The part without error "0" means that transmission is possible. The part with an error "1" means that transmission is not possible.

[0080] In the following description, the setting of the termination resistance of each memory #j to its initial value may be referred to as the “initial setting.” The measured first memory eye pattern of each memory #j is stored in a waveform management table 1800 as shown in FIG. 18, which will be described later, in association with the initial value of the termination resistance of each memory #j.

[0081] Furthermore, the measurement unit 801 measures the second memory eye pattern of each memory #j for each specific combination of all combinations of the termination resistor of each memory #j. All combinations are all possible combinations when any one of a plurality of setting values ​​(resistance values) that can be set in the termination resistor of each memory #j is set in each of the termination resistors of each memory #j.

[0082] The multiple set values ​​are determined in advance. For example, the multiple set values ​​may be the seven set values ​​(34Ω, 40Ω, 48Ω, 60Ω, 80Ω, 120Ω, and 240Ω) defined by the JEDEC standard. The multiple set values ​​may also be a part of the seven set values ​​(for example, five values: 34Ω, 40Ω, 48Ω, 60Ω, and 80Ω).

[0083] The specific combinations are possible when the minimum or maximum of multiple set values ​​(resistance values) is set for the termination resistance of each memory #j. For example, memories #0 to #n are "memories #0 to #2" and multiple set values ​​are "34Ω, 40Ω, 48Ω, 60Ω, 80Ω."

[0084] In this case, the total number of combinations is 125 (=5*5*5). Also, the number of specific combinations is 8 (=2*2*2). For example, a specific combination is (resistance value of memory #0, resistance value of memory #1, resistance value of memory #2). In this case, the specific combinations are, for example, "(34Ω, 34Ω, 34Ω), (80Ω, 34Ω, 34Ω), (34Ω, 80Ω, 34Ω), (34Ω, 34Ω, 80Ω), (80Ω, 80Ω, 34Ω), (80Ω, 34Ω, 80Ω), (34Ω, 80Ω, 80Ω), (80Ω, 80Ω, 80Ω)."

[0085] Specifically, for example, the measurement unit 801 measures the second eye pattern of each data signal read from each memory #j for each specific combination. Then, the measurement unit 801 measures the second memory eye pattern of each memory #j by aligning and overlapping the second eye patterns of each measured data signal at the strobe point.

[0086] For example, when measuring the second memory eye pattern of memory #0 connected to CPU 101 via memory bus #0 as shown in Fig. 2, a specific combination of values ​​(resistance value of memory #1, resistance value of memory #2) is set for each of the termination resistors of memories #1 and #2. In this case, measuring unit 801 measures the second eye pattern of each data signal read from memory #0. Then, measuring unit 801 measures the second memory eye pattern of memory #0 by aligning and overlapping the second eye patterns of each measured data signal at the strobe point.

[0087] Furthermore, when measuring the second memory eye pattern of memory #1, a specific combination of values ​​(resistance value of memory #0, resistance value of memory #2) is set for each of the termination resistors of memories #0 and #2. In this case, the measurement unit 801 measures the second eye pattern of each data signal read from memory #1. Then, the measurement unit 801 measures the second memory eye pattern of memory #1 by aligning and overlapping the second eye patterns of each measured data signal at the strobe point.

[0088] Furthermore, when measuring the second memory eye pattern of memory #2, a specific combination of values ​​(resistance value of memory #0, resistance value of memory #1) is set for each of the termination resistors of memories #0 and #1. In this case, the measurement unit 801 measures the second eye pattern of each data signal read from memory #2. Then, the measurement unit 801 measures the second memory eye pattern of memory #2 by aligning and overlapping the second eye patterns of each measured data signal at the strobe point.

[0089] Note that, among the specific combinations, the measurement of the second memory eye pattern may be omitted for combinations that produce the same measurement results as other combinations. For example, (34Ω, 34Ω, 34Ω) and (80Ω, 34Ω, 34Ω) have different resistance values ​​for memory #0, but the resistance values ​​for memories #1 and #2 are the same. Therefore, when measuring the second memory eye pattern of memory #0, the measurement of the second memory eye pattern can be omitted for either the combination of (34Ω, 34Ω, 34Ω) or (80Ω, 34Ω, 34Ω).

[0090] In the following description, the setting in which the termination resistors of each memory #j are set to a specific combination of values ​​may be referred to as a “corner setting.” The measured second memory eye pattern of each memory #j is stored in a waveform management table 1800 as shown in FIG. 18, which will be described later, in association with the specific combination.

[0091] The estimation unit 802 estimates a third memory eye pattern of each memory #j for each combination other than the initial value and the specific combination among all combinations based on the measured first memory eye pattern of each memory #j and the second memory eye pattern of each memory #j.

[0092] Specifically, for example, the estimation unit 802 sequentially estimates the third memory eye pattern of memory #j by combining waveform A (memory eye pattern) and waveform B (memory eye pattern) from the first memory eye pattern of memory #j, the second memory eye pattern of memory #j, and the estimated new memory eye pattern (third memory eye pattern) of memory #j for each of the other combinations.

[0093] Here, waveform A is a memory eye pattern in which the termination resistance value of the first memory different from memory #j is smaller than the other combinations and the termination resistance value of the memory other than the first memory is the same as the other combinations, while waveform B is a memory eye pattern in which the termination resistance value of the first memory is larger than the other combinations and the termination resistance value of the memory other than the first memory is the same as the other combinations.

[0094] As a result, the estimation unit 802 synthesizes the two measured or estimated memory eye patterns (waveforms A and B) and interpolates new memory eye patterns, thereby sequentially estimating the third memory eye pattern of memory #j for each of the other combinations.

[0095] An example of an estimation of the third memory eye pattern of the memory #j will be described later with reference to Figures 10 to 17. The estimated third memory eye pattern of each memory #j is stored in a waveform management table 1800 as shown in Figure 18, which will be described later, in association with other combinations, for example.

[0096] The determination unit 803 determines the set value of the termination resistor of each memory #j. For example, the determination unit 803 determines the set value of the termination resistor of each memory #j based on the estimated third memory eye pattern of each memory #j so as to satisfy a predetermined criterion. Here, the criterion is a standard regarding the transmission quality between the CPU 101 and the memory 102, and can be set arbitrarily.

[0097] The criteria is defined, for example, using a reference value that indicates the size of the area of ​​the common eye pattern (area of ​​the opening), and is set so that if the area of ​​the common eye pattern is equal to or larger than the reference value, the transmission quality required of the server device 100 can be ensured.

[0098] Specifically, for example, the determination unit 803 identifies a combination that maximizes the third common eye pattern obtained by superimposing the estimated third memory eye patterns of each memory #j among other combinations other than the specific combination included in all combinations of the termination resistors of each memory #j. To explain in more detail, for example, the determination unit 803 creates the third common eye pattern by aligning and superimposing the third memory eye patterns of each memory #j at the strobe point for each of the other combinations.

[0099] Next, determining unit 803 calculates the area of ​​the created third common eye pattern for each of the other combinations. The area of ​​the common eye pattern is the size of the opening of the common eye pattern, and is expressed by, for example, the set numbers (number of points) of the time axis and voltage axis, which are the transmittable area (area without errors) of the common eye pattern.

[0100] Then, the determining unit 803 identifies, from among the other combinations, a combination that maximizes the area of ​​the calculated third common eye pattern. The identified combination is a combination of termination resistors of each memory #j that is expected to maximize the opening of the common eye pattern and to maximize the transmission quality between the CPU 101 and the memory 102 among the other combinations.

[0101] In the following description, among the combinations other than the initial values ​​and specific combinations included in all combinations of the termination resistors of each memory #j, the combination that maximizes the third common eye pattern may be referred to as a "tentative optimum setting." In addition, the case where the area of ​​the common eye pattern is equal to or greater than a reference value may be referred to as "satisfying the criteria," and the case where the area of ​​the common eye pattern is less than the reference value may be referred to as "not satisfying the criteria." The third common eye pattern and the area of ​​the third common eye pattern are stored in a waveform management table 1800 as shown in FIG. 18, which will be described later, in association with other combinations, for example.

[0102] Next, the measurement unit 801 measures the fourth memory eye pattern of each memory #j for the tentative optimal setting identified by the determination unit 803. Specifically, for example, the measurement unit 801 measures the fourth eye pattern of each data signal read from each memory #j for the tentative optimal setting. Then, the measurement unit 801 measures the fourth memory eye pattern of each memory #j by aligning and overlapping the fourth eye patterns of each measured data signal at the strobe point.

[0103] For example, when measuring the fourth memory eye pattern of memory #0 connected to CPU 101 via memory bus #0 as shown in FIG. 2, provisional optimum setting values ​​(resistance value of memory #1, resistance value of memory #2) are set for the termination resistors of memories #1 and #2. In this case, measuring unit 801 measures the fourth eye pattern of each data signal read from memory #0. Then, measuring unit 801 measures the fourth memory eye pattern of memory #0 by aligning and overlapping the fourth eye patterns of each measured data signal at the strobe point.

[0104] Furthermore, when measuring the fourth memory eye pattern of memory #1, the termination resistors of memories #0 and #2 are set to provisional optimum setting values ​​(resistance value of memory #0, resistance value of memory #2). In this case, the measurement unit 801 measures the fourth eye pattern of each data signal read from memory #1. Then, the measurement unit 801 measures the fourth memory eye pattern of memory #1 by aligning and overlapping the fourth eye patterns of each measured data signal at the strobe point.

[0105] Furthermore, when measuring the fourth memory eye pattern of memory #2, the termination resistors of memories #0 and #1 are set to provisional optimum setting values ​​(resistance value of memory #0, resistance value of memory #1). In this case, the measurement unit 801 measures the fourth eye pattern of each data signal read from memory #2. Then, the measurement unit 801 measures the fourth memory eye pattern of memory #2 by aligning and overlapping the fourth eye patterns of each measured data signal at the strobe point.

[0106] As a result, the measuring unit 801 actually measures the memory eye pattern of each memory #j for the provisional optimum setting (the combination expected to provide the highest transmission quality).

[0107] Next, the determining unit 803 judges whether or not the criteria are satisfied based on a fourth common eye pattern obtained by superimposing the measured fourth memory eye patterns of each memory #j. To explain in more detail, for example, the determining unit 803 calculates the area of ​​the fourth common eye pattern. Then, if the area of ​​the calculated fourth common eye pattern is equal to or greater than a reference value, the determining unit 803 judges that the criteria are satisfied. On the other hand, if the area of ​​the calculated fourth common eye pattern is less than the reference value, the determining unit 803 judges that the criteria are not satisfied.

[0108] Here, if it is determined that the criteria are met based on the fourth common eye pattern, the determination unit 803 determines the identified provisional optimal setting (the combination among other combinations that results in the largest area of ​​the common eye pattern) as the setting value of the termination resistance of each memory #j.

[0109] On the other hand, when it is determined that the criteria are not satisfied based on the fourth common eye pattern, the determining unit 803 may create a changed combination by changing any value of the identified temporary optimal setting to another value among the multiple setting values. The other value is, for example, a value (nearest value) among the multiple setting values ​​that is closest to the value before the change.

[0110] Then, the measurement unit 801 may measure the fifth memory eye pattern of each memory #j for the changed combination. Specifically, for example, the measurement unit 801 measures the fifth eye pattern of each data signal read from each memory #j for the changed combination. Then, the measurement unit 801 measures the fifth memory eye pattern of each memory #j by aligning and overlapping the fifth eye patterns of each measured data signal at the strobe point.

[0111] For example, when measuring the fifth memory eye pattern of memory #0 connected to CPU 101 via memory bus #0 shown in FIG. 2, the termination resistors of memories #1 and #2 are set with the changed combination values ​​(resistance value of memory #1, resistance value of memory #2). In this case, measurement unit 801 measures the fifth eye pattern of each data signal read from memory #0. Then, measurement unit 801 measures the fifth memory eye pattern of memory #0 by aligning and overlapping the fifth eye patterns of each measured data signal at the strobe point.

[0112] Furthermore, when measuring the fifth memory eye pattern of memory #1, the termination resistors of memories #0 and #2 are set with the changed combination values ​​(resistance value of memory #0, resistance value of memory #2). In this case, the measurement unit 801 measures the fifth eye pattern of each data signal read from memory #1. Then, the measurement unit 801 measures the fifth memory eye pattern of memory #1 by aligning and overlapping the fifth eye patterns of each measured data signal at the strobe point.

[0113] Furthermore, when measuring the fifth memory eye pattern of memory #2, the termination resistors of memories #0 and #1 are set with the changed combination values ​​(resistance value of memory #0, resistance value of memory #1). In this case, the measurement unit 801 measures the fifth eye pattern of each data signal read from memory #2. Then, the measurement unit 801 measures the fifth memory eye pattern of memory #2 by aligning and overlapping the fifth eye patterns of each measured data signal at the strobe point.

[0114] The determining unit 803 judges whether the criteria are satisfied based on a fifth common eye pattern obtained by superimposing the measured fifth memory eye patterns of each memory #j. Here, if it is judged that the criteria are satisfied based on the fifth common eye pattern, the determining unit 803 decides the changed combination as the setting value of the termination resistor of each memory #j. On the other hand, if it is judged that the criteria are not satisfied based on the fifth common eye pattern, the determining unit 803 may change the value to be changed among the tentative optimal setting values ​​and repeat the same process until the criteria are satisfied.

[0115] Here, an example of how to determine the value to be changed from the provisional optimum setting value will be described. For example, when determining that the criteria is not satisfied based on the fourth common eye pattern, the determining unit 803 identifies a memory that reduces the fourth common eye pattern from among the memories #0 to #n based on the fourth memory eye pattern of each memory #j.

[0116] Then, the determining unit 803 changes the termination resistance value of the memory other than the specified memory from among the tentative optimal setting values, thereby efficiently searching for a combination (changed combination) that can widen the opening of the common eye pattern (fifth common eye pattern).

[0117] At this time, for example, when the center of the fourth memory eye pattern of the identified memory is lower than the center of the fourth common eye pattern, the determining unit 803 may change the value of the termination resistor of the other memory to another value among a plurality of set values ​​that is smaller than the specified value and closest to the specified value. In this way, the determining unit 803 changes the value so that the common eye pattern is widened by pull-up.

[0118] Furthermore, when the center of the fourth memory eye pattern of the identified memory is above the center of the fourth common eye pattern, the determining unit 803 may change the value of the termination resistor of the other memory to another value among a plurality of set values ​​that is larger than the specified value and closest to the specified value. In this way, the determining unit 803 changes the value so that the common eye pattern is widened by pull down.

[0119] An example of specifying a memory that reduces the fourth common eye pattern will be described later with reference to Fig. 19 and Fig. 20. An example of changing values ​​included in the tentative optimum setting will be described later with reference to Fig. 23 and Fig. 24.

[0120] Furthermore, the determining unit 803 may determine whether or not the criteria are satisfied based on a first common eye pattern obtained by superimposing the first memory eye patterns of each memory #j. Here, if the criteria are satisfied, the determining unit 803 may determine an initial value as the setting value of the termination resistor of each memory #j.

[0121] Specifically, for example, the determining unit 803 creates a first common eye pattern by aligning and overlapping the first memory eye patterns of each memory #j at a strobe point. Next, the determining unit 803 calculates the area of ​​the created first common eye pattern. Note that the first common eye pattern and the area of ​​the first common eye pattern are stored in a waveform management table 1800 as shown in FIG. 18 described later in association with, for example, an initial value.

[0122] Then, the determining unit 803 judges whether the area of ​​the calculated first common eye pattern is equal to or larger than a reference value. If the area of ​​the first common eye pattern is equal to or larger than the reference value, the determining unit 803 judges that the first common eye pattern satisfies the criteria. On the other hand, if the area of ​​the first common eye pattern is less than the reference value, the determining unit 803 judges that the first common eye pattern does not satisfy the criteria.

[0123] If the first common eye pattern does not satisfy the criteria, measuring section 801 may measure the second memory eye pattern of each memory #j.

[0124] Furthermore, the determining unit 803 may determine whether or not the criteria are satisfied based on a second common eye pattern obtained by superimposing the second memory eye patterns of each memory #j. Here, if the criteria are satisfied, the determining unit 803 may determine a specific combination as the setting value of the termination resistor of each memory #j.

[0125] Specifically, for example, the determining unit 803 creates a second common eye pattern by aligning and overlapping the second memory eye patterns of each memory #j at the strobe point. Next, the determining unit 803 calculates the area of ​​the created second common eye pattern. Note that the second common eye pattern and the area of ​​the second common eye pattern are stored in a waveform management table 1800 as shown in FIG. 18 described later in association with, for example, a specific combination.

[0126] Then, the determining unit 803 judges whether the area of ​​the calculated second common eye pattern is equal to or larger than a reference value. If the area of ​​the second common eye pattern is equal to or larger than the reference value, the determining unit 803 judges that the second common eye pattern satisfies the criteria. On the other hand, if the area of ​​the second common eye pattern is less than the reference value, the determining unit 803 judges that the second common eye pattern does not satisfy the criteria.

[0127] If the second common eye pattern does not satisfy the criteria, the estimation unit 802 may estimate a third memory eye pattern of each memory #j.

[0128] Furthermore, the determination unit 803 may determine the provisional optimum setting as the setting value of the termination resistor of each memory #j without actually measuring the memory eye pattern of each memory #j for the identified provisional optimum setting. For example, the determination unit 803 may determine the provisional optimum setting as the setting value of the termination resistor of each memory #j, taking into consideration that the provisional optimum setting may have a higher transmission quality than other combinations.

[0129] The processes of the above-mentioned functional units (measurement unit 801 to determination unit 803) are executed, for example, in memory training when the server device 100 is started up. This allows the server device 100 to adjust the termination resistance of each memory #j in memory training every time the server device 100 is started up.

[0130] (Eye pattern measurement) Next, a specific processing example for measuring the eye pattern (first eye pattern) of a data signal will be described with reference to FIG.

[0131] Fig. 9 is an explanatory diagram showing an example of an eye pattern. In Fig. 9, eye pattern 900 is an example of an eye pattern measured when a data signal is read from memory #j. Eye pattern 900 is a waveform that indicates whether an I / O circuit in CPU 101 (for example, I / O circuits #0 and #1 shown in Fig. 2) can receive a data signal from memory #j.

[0132] The horizontal axis is the time axis. The vertical axis is the voltage axis. The time axis represents the delay (tap value) in the I / O circuit in CPU 101. One division on the time axis is one setting (smallest unit) of the delay value (timing). The voltage axis represents the threshold voltage (code value) that judges the signal in the I / O circuit. One division on the voltage axis is one setting (smallest unit) of the threshold voltage (Vref).

[0133] The two parameters (delay and threshold voltage) can be changed by the system control unit 120 instructing a memory controller (for example, memory controllers #0 and #1 shown in FIG. 2) in the CPU 101 to change the settings. The system control unit 120 determines the presence or absence of an error by, for example, changing the delay value on the time axis and the threshold voltage on the voltage axis within a certain range.

[0134] The presence or absence of an error is determined for each pair of delay value and threshold voltage. In the following explanation, points with errors (pairs of delay value and threshold voltage) in various eye patterns may be referred to as "error parts", and points without errors may be referred to as "no error parts".

[0135] Specifically, for example, the system control unit 120 determines whether a PRBS (Pseudo-Random Binary Sequence) data pattern, which is a pseudo-random binary signal sequence received by an I / O circuit in the CPU 101, is correct by comparing it with a PRBS pattern generated internally by the memory controller.

[0136] If the received data pattern matches the expected pattern, the system control unit 120 determines that there is no error. On the other hand, if the received data pattern does not match the expected pattern, the system control unit 120 determines that there is an error. The system control unit 120 holds the determination result and creates an eye pattern 900 by changing the two parameters over a wide range and checking the presence or absence of an error at each point.

[0137] In FIG. 9, the hatched portion of the eye pattern 900 means that there is no error and transmission is possible. Also, the portion other than the hatched portion means that there is an error and transmission is not possible. The number of settings without errors (the number of combinations of delay and threshold voltage) is used as the area of ​​the eye pattern 900 to determine the quality of the transmission characteristics. A strobe point (decision point) 901 is determined at the center of the eye pattern 900. For the procedure for determining the strobe point, for example, refer to JP 2021-111031 A.

[0138] (Memory eye pattern estimation example) Next, an example of estimating the third memory eye pattern of memory #j will be described with reference to FIGS.

[0139] In the following description, a specific example will be described in which memories #0 to #n are memories #0 to #2 connected to CPU 101 via memory bus #0 (see FIG. 2). Memory #0 is mounted in Slot A of main board 110 (see FIG. 1), memory #1 is mounted in Slot B, and memory #2 is mounted in Slot C. Each of memories #0 to #2 is a one-rank memory.

[0140] Here, an example will be described in which the third memory eye pattern of memory #0 is estimated for each combination other than the initial setting and the corner setting based on the first memory eye pattern of memory #0 and the second memory eye pattern of memory #0. However, the multiple setting values ​​that can be set for the termination resistors of each of memories #1 and #2 are "34Ω, 40Ω, 48Ω, 60Ω, 80Ω".

[0141] Fig. 10 is an explanatory diagram showing combinations of memory termination resistors. In Fig. 10, a matrix 1000 shows all combinations (rtt_park-B, rtt_park-C) of termination resistors of memories #1 and #2 when estimating the memory eye pattern of memory #0. rtt_park-B shows the termination resistor of memory #1 mounted in Slot B. rtt_park-C shows the termination resistor of memory #2 mounted in Slot C.

[0142] In the matrix 1000, reference numeral 1001 indicates the initial setting combination (48Ω, 48Ω). The initial setting is a setting obtained in advance by simulation. Reference numerals 1002 to 1005 indicate four corner setting combinations (34Ω, 34Ω), (34Ω, 80Ω), (80Ω, 34Ω), and (80Ω, 80Ω).

[0143] For example, the estimation unit 802 estimates a memory eye pattern P (third memory eye pattern) in the middle 1006 between the corner settings 1002 and 1003 from memory eye patterns A and B (second memory eye patterns) of the two corner settings 1002 and 1003 (see FIG. 11).

[0144] Furthermore, the estimation unit 802 estimates a memory eye pattern Q1 (third memory eye pattern) of an intermediate portion 1007 between the corner setting 1002 and the intermediate portion 1006. The estimation unit 802 also estimates a memory eye pattern Q2 (third memory eye pattern) of an intermediate portion 1008 between the corner setting 1003 and the intermediate portion 1006 (see FIG. 11).

[0145] Fig. 11 is an explanatory diagram showing an example of an estimated memory eye pattern. In Fig. 11, memory eye pattern P is an estimated waveform of an intermediate portion 1006 estimated from memory eye patterns A and B (actually measured waveforms) of two corner settings 1002 and 1003. Also, memory eye pattern Q2 is an estimated waveform of an intermediate portion 1008 estimated from memory eye pattern B (actually measured waveform) of corner setting 1003 and memory eye pattern P (estimated waveform) of intermediate portion 1006.

[0146] The estimation unit 802 estimates the memory eye pattern of the unmeasured memory #0 by performing the same processing vertically, horizontally, and diagonally on the matrix 1000. When processing vertically and horizontally, an estimated waveform is created by fixing one of two settings (rtt-park_B, rtt-park_C) and taking the middle of the other two settings as the other setting. When processing diagonally, the two settings have different values. For example, the middle setting of the two settings (34Ω, 34Ω) and (48Ω, 48Ω) is (40Ω, 40Ω). As a result, 21 estimated waveforms are created from the five measured waveforms, and 25 waveforms are obtained.

[0147] When estimating a predicted waveform by combining two waveforms, if there is an actually measured waveform (first memory eye pattern, second memory eye pattern), the estimation unit 802 gives priority to using the actually measured waveform rather than the predicted waveform, for example. Specifically, possible ways to select two waveforms when creating a predicted waveform include "both are estimated waveforms," ​​"one is an estimated waveform and the other is an actually measured waveform," and "both are actually measured waveforms." Since the actually measured waveform has higher data reliability than the predicted waveform, the estimation unit 802 gives priority to using the actually measured waveform when it is available.

[0148] Here, memory #0 has been used as an example, but as with memory #0, memory eye patterns (third memory eye patterns) are estimated for memories #1 and #2 for each of the combinations other than the initial setting and corner setting.

[0149] Here, a specific example of processing for creating an estimated waveform from two waveforms will be described. Here, an example will be described in which an intermediate memory eye pattern P (estimated waveform) 1006 is created from memory eye patterns A and B (actually measured waveforms) of two corner settings 1002 and 1003. Also, memory eye pattern A may be written as "waveform A", memory eye pattern B may be written as "waveform B", and memory eye pattern P may be written as "estimated waveform P".

[0150] 12 to 15 are explanatory diagrams showing examples of estimated waveform creation. In Fig. 12, first, the estimation unit 802 sets the error part of the waveform A (memory eye pattern) to "1" and the non-error part to "0". The estimation unit 802 also sets the error part of the waveform B (memory eye pattern) to "10" and the non-error part to "0".

[0151] Next, the estimation unit 802 creates an estimated waveform AB by adding together the two waveforms A and B. Specifically, for example, the estimation unit 802 creates an estimated waveform AB by adding together the values ​​of points where the delay and threshold voltage of the waveforms A and B are the same. In the estimated waveform AB, the part where there is an error only in the waveform A is "1", the part where there is an error only in the waveform B is "10", and the part where there is an error in both the waveforms A and B is "11". Also, the part where there is no error in both the waveforms A and B is "0". In FIG. 12, the difference in numerical values ​​is expressed by different hatching.

[0152] 13, next, in the vertical direction (voltage axis) of the estimated waveform AB, if the error section has consecutive values ​​of "10", the estimation unit 802 rewrites half of the values ​​closer to the center (strobe point) of the eye pattern to "0". In addition, in the vertical direction (voltage axis) of the estimated waveform AB, if the error section has consecutive values ​​of "1", the estimation unit 802 rewrites half of the values ​​closer to the center of the eye pattern to "0". In this way, the estimated waveform P1 is created. An example of rewriting the values ​​of the error section will be described later with reference to FIG. 16.

[0153] If the number of consecutive values ​​in the error section is an even number, 2n, the estimation unit 802 rewrites half, n, to 0. If the number of consecutive values ​​in the error section is an odd number, 2n+1, the estimation unit 802 rewrites n to 0. For example, if the number of consecutive values ​​in the error section is four, the estimation unit 802 rewrites two to 0. If the number of consecutive values ​​in the error section is three, the estimation unit 802 rewrites one to 0.

[0154] 14, when the error section has consecutive values ​​of "10" in the horizontal direction (time axis) of the estimated waveform AB, the estimation unit 802 rewrites the half of the values ​​closer to the center (strobe point) of the eye pattern to "0". Also, when the error section has consecutive values ​​of "1" in the horizontal direction (time axis) of the estimated waveform AB, the estimation unit 802 rewrites the half of the values ​​closer to the center of the eye pattern to "0". This creates the estimated waveform P2.

[0155] 15, the estimation unit 802 creates an estimated waveform P by superimposing the created estimated waveform P1 and estimated waveform P2. At this time, if either the estimated waveform P1 or P2 has a value of "0" indicating no error at a point where the delay and threshold voltage are the same, the estimation unit 802 sets the value of that point to "0" (logical AND). The reason for this will be described later with reference to FIG. 17.

[0156] Next, an example of rewriting the value of the error section will be described with reference to FIG.

[0157] Fig. 16 is an explanatory diagram showing an example of rewriting the value of the error part. In Fig. 16, when focusing on the vertical direction of the delay "0" of the estimated waveform AB, there are three consecutive values ​​of "10" in the error part. In this case, the estimation unit 802 rewrites the one (reference number 1601) near the center of the estimated waveform AB (eye pattern) to "0".

[0158] Moreover, when focusing on the horizontal direction of the threshold voltage "24" of the estimated waveform AB, there are two consecutive values ​​of "10" in the error section. In this case, the estimation unit 802 rewrites the one (reference number 1602) near the center of the estimated waveform AB (eye pattern) to "0." Note that FIG. 16 is an example, and the estimation unit 802 performs similar processing for all delays and threshold voltages.

[0159] Next, with reference to FIG. 17, when the estimated waveforms P1 and P2 are superimposed, if either the estimated waveforms P1, P2 has a value of "0" indicating no error, the reason for setting the value of that point to "0" will be explained.

[0160] Fig. 17 is an explanatory diagram showing an image of a predicted waveform. In Fig. 17, images of waveforms A and B are shown. When determining an intermediate waveform (presumed waveform) between two waveforms A and B, the vertical continuation number is between the vertical outlines (contours) of the two waveforms A and B at the same delay, and it may not be possible to determine the midpoint. In Fig. 17, the left end portion (e.g., points 1701-1703) and the right end portion (e.g., points 1704-1706) are smaller in the vertical direction than the inner waveform A, so that the midpoint cannot be determined.

[0161] Similarly, the number of horizontal continuations is the number between the horizontal outlines (contours) of two waveforms A and B at the same voltage threshold, and the midpoint may not be found. In Fig. 17, the upper part (e.g., points 1707-1709) and the lower part (e.g., points 1710-1712) cannot find the midpoint in the horizontal direction because the inner waveform A is smaller.

[0162] 15, when creating an estimated waveform P, an estimated waveform P1 calculated along the vertical axis and an estimated waveform P2 calculated along the horizontal axis are complementary to each other. For example, if either the estimated waveforms P1 or P2 has a value of "0" indicating no error at a point where the delay and threshold voltage are the same, the estimation unit 802 sets the value of that point to "0" (logical AND).

[0163] (Storage contents of waveform management table 1800) Next, the contents stored in the waveform management table 1800 of the system control unit 120 will be described. The waveform management table 1800 is realized by a storage device such as the SD card 105. Here, a number of setting values ​​that can be set for the termination resistance of each of the memories #0 to #2 are "34Ω, 40Ω, 48Ω, 60Ω, 80Ω."

[0164] Fig. 18 is an explanatory diagram showing an example of the contents of the waveform management table 1800. In Fig. 18, the waveform management table 1800 stores waveform management information (for example, waveform management information 1801 to 1803) for 125 (5*5*5) combinations of termination resistors in each of memories #0 to #2.

[0165] Each waveform management information indicates the memory eye pattern, common eye pattern, and common eye pattern area of ​​each memory #0 to #2 in association with the combination of termination resistance of memory #0 to #2. In Fig. 18, Slot A corresponds to memory #0. Slot B corresponds to memory #1. Slot C corresponds to memory #2.

[0166] For example, the waveform management information 1801 indicates memory eye patterns 1801-1 to 1801-3 of memories #0 to #2 in association with the termination resistor combination (34Ω, 34Ω, 34Ω) of memories #0 to #2. The waveform management information 1801 also indicates a common eye pattern 1801-4 and a common eye pattern area "103" in association with the termination resistor combination (34Ω, 34Ω, 34Ω) of memories #0 to #2.

[0167] Memory eye patterns 1801-1 to 1801-3 correspond to the second memory eye patterns of memories #0 to #2. Common eye pattern 1801-4 is obtained by aligning memory eye patterns 1801-1 to 1801-3 at the strobe points and overlapping them. Common eye pattern area "103" corresponds to the number of settings on the time axis and voltage axis that result in an error-free portion (0) in common eye pattern 1801-4.

[0168] For example, the determining unit 803 can refer to the waveform management table 1800 and specify the combination (excluding the initial setting and the corner setting) that maximizes the common eye pattern area as the provisional optimum setting combination.

[0169] (Example of searching for the optimum value of termination resistor) Next, we will explain an example of searching for the optimal value of the termination resistance when a common eye pattern (fourth common eye pattern) obtained by superimposing the memory eye patterns (fourth memory eye pattern) of each memory #0 to #2 measured with a combination of provisional optimal settings does not satisfy the criteria.

[0170] First, a case of identifying a memory that reduces the common eye pattern (fourth common eye pattern) from among the memories #0 to #2 will be described with reference to FIG. 19 and FIG.

[0171] Fig. 19 is an explanatory diagram showing an example of a memory eye pattern of a tentative optimum setting. In Fig. 19, memory eye pattern 1901 is a memory eye pattern (fourth memory eye pattern) of memory #0 (Slot A) measured with a tentative optimum setting combination. Memory eye pattern 1902 is a memory eye pattern (fourth memory eye pattern) of memory #1 (Slot B) measured with a tentative optimum setting combination. Memory eye pattern 1903 is a memory eye pattern (fourth memory eye pattern) of memory #2 (Slot C) measured with a tentative optimum setting combination.

[0172] The determining unit 803 sets the value of the error part in memory eye pattern 1901 to "1". Moreover, the determining unit 803 sets the value of the error part in memory eye pattern 1902 to "10". Moreover, the determining unit 803 sets the value of the error part in memory eye pattern 1901 to "100". However, the value of the error part may be a value other than 1, 10, or 100 as long as the values ​​are different between the memory eye patterns 1901 to 1903.

[0173] Next, determining section 803 creates a common eye pattern by superimposing memory eye patterns 1901 to 1903 by adding them together at each point (setting).

[0174] Fig. 20 is an explanatory diagram showing an example of a common eye pattern of a provisional optimum setting. In Fig. 20, a common eye pattern 2000 is a common eye pattern obtained by superimposing the memory eye patterns 1901 to 1903 (in which the values ​​of the error parts are 1, 10, and 100) shown in Fig. 19.

[0175] The determining unit 803 refers to the common eye pattern 2000 and identifies a point (setting) that has one 1 in the value. For example, the value "11" has two 1s. The value "100" has one 1. Values ​​with one 1 are 1, 10, and 100. A point with a value of "1" is a point where only the memory eye pattern 1901 of memory #0 has an error. At the point with a value of "1", memory #0 can be said to be a memory that reduces the opening of the common eye pattern 2000.

[0176] A point with a value of "10" is a point where only memory eye pattern 1902 of memory #1 is in error. At the point with a value of "10", memory #1 can be said to be the memory that is making the opening of common eye pattern 2000 smaller. A point with a value of "100" is a point where only memory eye pattern 1903 of memory #2 is in error. At the point with a value of "100", memory #2 can be said to be the memory that is making the opening of common eye pattern 2000 smaller.

[0177] Next, the determination unit 803 calculates the number of points with values ​​of 1, 10, and 100 that exist around the error-free part (0). For example, points that exist around the error-free part (0) include points adjacent to the error-free part (0) and points of the same value that are consecutive to that point.

[0178] Here, it is assumed that there are 58 points with a value of "1" in a lower portion 2001 of the opening (error-free portion (0)) of the common eye pattern 2000. Also, it is assumed that there are 31 points with a value of "100" in an upper portion 2002 of the opening (error-free portion (0)) of the common eye pattern 2000. In Fig. 20, only the periphery of the upper portion 2002 is picked up and the values ​​of each point are shown enlarged.

[0179] In this case, the determining unit 803 identifies memory #0 corresponding to the value "1" that exists most frequently around the error-free portion (0) as the memory that reduces the opening of the common eye pattern 2000. Then, the determining unit 803 selects memory #0 as the adjustment target (adjusting the termination resistance of memories #1 and #2).

[0180] Here, the numbers of points with values ​​of 1, 10, and 100 around the error-free portion (0) are calculated, but the present invention is not limited to this. For example, the determining unit 803 may calculate the numbers of points with values ​​of 1, 10, and 100 in the common eye pattern 2000. The determining unit 803 may then specify the memory #j corresponding to the value with the largest calculated number of points as the memory that is narrowing the opening of the common eye pattern 2000. The determining unit 803 may also specify the memory #j with the calculated number of points equal to or greater than a threshold as the memory that is narrowing the opening of the common eye pattern 2000.

[0181] Fig. 21 is an explanatory diagram showing the relationship between memory eye patterns and common eye patterns. Fig. 21 shows an image of a common eye pattern 2100 in which memory eye patterns 2101, 2102, and 2103 of memory #0 (Slot A), memory #1 (Slot B), and memory #2 (Slot C) are superimposed.

[0182] If memory #0 (Slot A) is identified as the memory narrowing the common eye pattern 2100, the system control unit 120 adjusts the termination resistors Rtt Park B and Rtt Park C of memory #1 (Slot B) and memory #2 (Slot C) so that the memory eye pattern of memory #0 moves and the common eye pattern opens.

[0183] Here, an example of expanding the common eye pattern by adjusting the termination resistance will be described.

[0184] Fig. 22 is an explanatory diagram showing an enlarged example of a common eye pattern. In Fig. 22, eye pattern 2201 shows an image of the memory eye pattern of memory #0 (Slot A). Eye pattern 2202 shows an image of the memory eye pattern of memory #1 (Slot B). Here, the memory eye pattern of memory #2 (Slot C) is omitted for simplicity.

[0185] The common eye pattern is the common portion of eye pattern 2201 and eye pattern 2202. In the example on the left side of Fig. 22, eye pattern 2201 is below eye pattern 2202. Here, to adjust the memory eye pattern of memory #0 (Slot A) and widen the common eye pattern, it is necessary to move the memory eye pattern (waveform) of memory #0 (Slot A) upward.

[0186] In this case, the determining unit 803 reduces the resistance value of the termination resistor Rtt Park. When the resistance value of the termination resistor Rtt Park is reduced, the waveform (eye pattern 2201) of memory #0 (Slot A) moves upward due to pull-up, and the common portion with the eye pattern 2202 increases, so that the common eye pattern is expected to expand (see the right side in FIG. 22).

[0187] (Example of terminating resistor adjustment) Next, an example of adjusting the termination resistor will be described with reference to Figures 23 and 24. Here, a case will be described in which, since memory #0 (Slot A) of memories #0 to #2 is identified as the memory that reduces the common eye pattern, the termination resistors Rtt Park B and Rtt Park C of memory #1 (Slot B) and memory #2 (Slot C) are adjusted.

[0188] Fig. 23 is an explanatory diagram (part 1) showing an example of combination of termination resistors of memories #1 and #2. In Fig. 23, a combination table 2300 shows combinations of resistance values ​​that can be taken by the termination resistors of memories #1 and #2. Here, multiple setting values ​​that can be set for the termination resistors of memories #1 and #2 are "34Ω, 40Ω, 48Ω, 60Ω, 80Ω." In addition, a provisional optimal setting combination of the termination resistors of memories #1 and #2 is "(Rtt Park B, Rtt Park C) = (48Ω, 60Ω)."

[0189] Here, it is assumed that the center of the memory eye pattern (fourth memory eye pattern) of memory #0 in the provisional optimum setting is lower than the center of the common eye pattern (fourth common eye pattern). The center of each eye pattern is, for example, a strobe point.

[0190] In this case, the determining unit 803 changes the value of at least one of the termination resistances of the memories #1 and #2 other than the memory #0 to another value that is smaller than the current value and closest to the current value. By reducing the resistance value, the upper side of the memory eye pattern of the memory #0 is expanded by pull-up, and the upper side of the common eye pattern is expected to be expanded.

[0191] There are three patterns for changing the termination resistance, for example, as indicated by stars (☆) in the combination table 2300. First, the determining unit 803 changes the termination resistance of memories #1 and #2 to (48Ω, 48Ω). Then, the determining unit 803 measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new setting after the change. Note that the termination resistance of memory #0 is the same as the provisional optimal setting. Then, the determining unit 803 calculates the area S1 of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0192] Furthermore, the determining unit 803 changes the termination resistances of memories #1 and #2 to (40Ω, 60Ω). Then, the determining unit 803 measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new settings after the change. Then, the determining unit 803 calculates the area S2 of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0193] Furthermore, the determining unit 803 changes the termination resistances of memories #1 and #2 to (40Ω, 48Ω). The determining unit 803 then measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new settings after the change. The determining unit 803 then calculates the area S3 of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0194] Next, the determining unit 803 identifies the maximum area Smax among the calculated areas S1 to S3. Then, if the identified maximum area Smax satisfies the criteria (is equal to or greater than the reference value), the determining unit 803 determines the changed combination corresponding to the maximum area Smax as the setting value of the termination resistors of the memories #1 and #2.

[0195] Here, the area S1 is assumed to be the maximum area Smax. In this case, the determining unit 803 determines the changed combination (48Ω, 48Ω) as the set value of the termination resistance of memories #1 and #2. If the maximum area Smax does not satisfy the criteria (is less than the reference value), the determining unit 803 re-specifies the memory that makes the common eye pattern smaller from memories #1 and #2 excluding memory #0, for example, and adjusts the termination resistance.

[0196] Next, assume that the center of the memory eye pattern (fourth memory eye pattern) of memory #0 in the provisional optimum setting is above the center of the common eye pattern (fourth common eye pattern).

[0197] Fig. 24 is an explanatory diagram (part 2) showing an example of combination of termination resistors of memories #1 and #2. In Fig. 24, a combination table 2400 shows combinations of resistance values ​​that can be taken by the termination resistors of memories #1 and #2. As in Fig. 23, multiple setting values ​​that can be set for the termination resistors of memories #1 and #2 are "34Ω, 40Ω, 48Ω, 60Ω, 80Ω". In addition, a provisional optimal setting combination of the termination resistors of memories #1 and #2 is "(Rtt Park B, Rtt Park C) = (48Ω, 60Ω)".

[0198] In this case, the determining unit 803 changes the value of at least one of the termination resistances of the memories #1 and #2 other than the memory #0 to another value that is larger than the current value and closest to the current value. By increasing the resistance value, the lower side of the memory eye pattern of the memory #0 is expanded by pull-down, and the lower side of the common eye pattern is expected to be expanded.

[0199] There are three patterns for changing the termination resistance, for example, as indicated by stars (☆) in combination table 2400. First, determining unit 803 changes the termination resistances of memories #1 and #2 to (48Ω, 80Ω). Then, determining unit 803 measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new settings after the change. Note that the termination resistance of memory #0 is the same as the provisional optimal setting. Then determining unit 803 calculates area S1' of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0200] Furthermore, the determining unit 803 changes the termination resistances of memories #1 and #2 to (60Ω, 60Ω). Then, the determining unit 803 measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new settings after the change. Then, the determining unit 803 calculates the area S2' of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0201] Furthermore, the determining unit 803 changes the termination resistances of memories #1 and #2 to (60Ω, 80Ω). Then, the determining unit 803 measures the memory eye pattern (fifth memory eye pattern) of each of memories #0 to #2 with the new settings after the change. Then, the determining unit 803 calculates the area S3' of a common eye pattern (fifth common eye pattern) obtained by superimposing the measured memory eye patterns of each of memories #0 to #2.

[0202] Next, the determining unit 803 identifies the maximum area Smax among the calculated areas S1' to S3'. Then, if the identified maximum area Smax satisfies the criteria (is equal to or greater than a reference value), the determining unit 803 determines the changed combination corresponding to the maximum area Smax as the setting value of the termination resistors of the memories #1 and #2.

[0203] Here, the area S1' is assumed to be the maximum area Smax. In this case, the determining unit 803 determines the changed combination (48Ω, 80Ω) as the set value of the termination resistance of memories #1 and #2. If the maximum area Smax does not satisfy the criteria (is less than the reference value), the determining unit 803 re-specifies the memory that makes the common eye pattern smaller from memories #1 and #2 excluding memory #0, for example, and adjusts the termination resistance.

[0204] (Example of searching for termination resistors in memory training) Next, an example of searching for a termination resistor in memory training by the system control unit 120 will be described with reference to Fig. 25. Here, a case will be described in which, after a combination of provisional optimum settings is obtained, an optimum value for the termination resistor is searched for from peripheral setting values.

[0205] Fig. 25 is an explanatory diagram showing an example of searching for termination resistors in memory training. As shown in Fig. 25, first, the system control unit 120 searches for a provisional optimum setting combination (setting 1) that maximizes the common eye pattern from among all combinations of termination resistors of memories #0 to #2 (Slot A to Slot C).

[0206] Next, system control unit 120 measures the memory eye pattern of each of memories #0 to #2 with the combination of the provisional optimal settings. Then, system control unit 120 superimposes the memory eye patterns of each of memories #0 to #2 to obtain a common eye pattern and determines whether the criteria are satisfied.

[0207] In FIG. 25, SlotA EYE opening indicates the area of ​​the memory eye pattern of memory #0. EYE means a transmission window and is equivalent to eye pattern. SlotB EYE opening indicates the area of ​​the memory eye pattern of memory #1. SlotC EYE opening indicates the area of ​​the memory eye pattern of memory #2. However, it is not necessary to calculate the areas of the memory eye patterns of memories #0 to #2. Common eye pattern EYE opening indicates the area of ​​the common eye pattern.

[0208] Here, the reference value is "150", and if the area of ​​the common eye pattern is 150 or more, the criterion is met. In setting 1, the SlotA eye opening is "140". The SlotB eye opening is "150". The SlotC eye opening is "145". The common eye pattern eye opening is "136". Note that it is not necessary to find the areas of the memory eye patterns of memories #0 to #2.

[0209] In this case, since the criteria is not met (first time (×)), the system control unit 120 continues to adjust the termination resistance so that the common eye pattern expands (setting 2). In setting 2, the SlotA EYE opening is "145". The SlotB EYE opening is "155". The SlotC EYE opening is "148". The common eye pattern EYE opening is "146".

[0210] In this case, since the criteria is not met (Continue (X)), the system control unit 120 continues to adjust the termination resistance so as to expand the common eye pattern (Setting 3). In Setting 3, the SlotA EYE opening is "150". The SlotB EYE opening is "156". The SlotC EYE opening is "152". The common eye pattern EYE opening is "148".

[0211] In this case, since the criteria is not met (Continue (X)), the system control unit 120 continues to adjust the termination resistance so as to expand the common eye pattern (Setting 4). In Setting 4, the Slot A EYE opening is "155". The Slot B EYE opening is "156". The Slot C EYE opening is "157". The common eye pattern EYE opening is "153".

[0212] In this case, the criteria are met. Therefore, the system control unit 120 determines the setting value of the termination resistance of each of memories #0 to #2 (Slots A to C) to Setting 4, and ends the adjustment of the termination resistance (End (◯)). This enables the system control unit 120 to adjust the termination resistance of each of memories #0 to #2 (Slots A to C) so as to satisfy the criteria for the transmission quality between the CPU 101 and each of memories #0 to #2.

[0213] (Procedure for adjusting the termination resistance of the system control unit 120) Next, a description will be given of a procedure for adjusting the termination resistance of the system control unit 120. The termination resistance adjustment process of the system control unit 120 is executed, for example, during memory training when the server device 100 is started up.

[0214] Here, memories #0 to #n are memories #0 to #2 connected to CPU 101 via memory bus #0. Memory #0 is mounted in Slot A of main board 110 (see FIG. 1), memory #1 is mounted in Slot B, and memory #2 is mounted in Slot C. Each of memories #0 to #2 is a one-rank memory.

[0215] 26 to 29 are flowcharts showing an example of a termination resistance adjustment processing procedure of the system control unit 120. In the flowchart of Fig. 26, first, the system control unit 120 measures the memory eye pattern (first memory eye pattern) of each memory #j of the memories #0 to #2 in the initial setting (step S2601).

[0216] Next, the system control unit 120 creates a common eye pattern (first common eye pattern) under initial settings by overlapping the measured memory eye patterns of each memory #j (step S2602). Then, the system control unit 120 determines whether the created common eye pattern under initial settings satisfies the criteria (step S2603).

[0217] If the criteria are met (step S2603: Yes), the system control unit 120 determines the initial setting value as the setting value of the termination resistor of each memory #j (step S2607), and ends the series of processes according to this flowchart. The determined setting value is set as the termination resistor of each memory #j.

[0218] This allows the system control unit 120 to end the adjustment of the termination resistance at that point when the criteria are met with the initial settings.

[0219] On the other hand, if the criteria are not met (step S2603: No), the system control unit 120 measures the memory eye pattern (second memory eye pattern) of each memory #j with the four corners set (step S2604).

[0220] For example, when measuring the memory eye pattern of memory #0 (Slot A), the four corner settings are a combination of the minimum and maximum values ​​of the termination resistance of memory #1 (Slot B) and memory #2 (Slot C). Specifically, the four corner settings are (Rtt ParkB, Rtt Park C) = (maximum setting value, maximum setting value), (maximum setting value, minimum setting value), (minimum setting value, maximum setting value), (minimum setting value, minimum setting value).

[0221] When measuring the memory eye pattern of memory #1 (Slot B), the four corner settings are a combination of the minimum and maximum values ​​of the termination resistance of memory #0 (Slot A) and memory #2 (Slot C). Specifically, the four corner settings are (Rtt Park A, Rtt Park C) = (maximum setting value, maximum setting value), (maximum setting value, minimum setting value), (minimum setting value, maximum setting value), (minimum setting value, minimum setting value).

[0222] When measuring the memory eye pattern of memory #2 (Slot C), the four corner settings are a combination of the minimum and maximum values ​​of the termination resistance of memory #0 (Slot A) and memory #1 (Slot B). Specifically, the four corner settings are (Rtt Park A, Rtt Park B) = (maximum setting value, maximum setting value), (maximum setting value, minimum setting value), (minimum setting value, maximum setting value), (minimum setting value, minimum setting value).

[0223] Next, the system control unit 120 creates a common eye pattern (second common eye pattern) for each corner setting by overlapping the measured memory eye patterns of each memory #j (step S2605).Then, the system control unit 120 determines whether the created common eye pattern for any of the corner settings satisfies the criteria (step S2606).

[0224] The settings for each corner are, for example, (Rtt ParkA, Rtt ParkB, Rtt Park C) = (maximum setting value, maximum setting value, maximum setting value), (maximum setting value, maximum setting value, minimum setting value), (maximum setting value, minimum setting value, maximum setting value), (maximum setting value, minimum setting value, minimum setting value), (minimum setting value, maximum setting value, minimum setting value), (minimum setting value, minimum setting value, maximum setting value), (minimum setting value, minimum setting value, minimum setting value).

[0225] For example, the common eye pattern for corner setting "(Rtt ParkA, Rtt ParkB, Rtt Park C) = (maximum setting value, minimum setting value, maximum setting value)" is a superposition of the memory eye pattern of memory #0 (SlotA) for corner setting "(Rtt ParkB, Rtt Park C) = (minimum setting value, maximum setting value)", the memory eye pattern of memory #1 (SlotB) for corner setting "(Rtt ParkA, Rtt Park C) = (maximum setting value, maximum setting value)", and the memory eye pattern of memory #2 (SlotC) for corner setting "(Rtt ParkA, Rtt ParkB) = (maximum setting value, minimum setting value)".

[0226] If the criteria are met (step S2606: Yes), the system control unit 120 determines the corner setting value that meets the criteria as the setting value of the termination resistor of each memory #j (step S2607), and ends the series of processes according to this flowchart.

[0227] As a result, when the criteria are satisfied with the corner setting, the system control unit 120 can end the adjustment of the termination resistance at that point. Note that, when there are multiple corner settings that satisfy the criteria, the system control unit 120 determines, for example, the value of the corner setting that has the largest area of ​​the common eye pattern among the multiple corner settings that satisfy the criteria, as the setting value of the termination resistance of each memory #j.

[0228] On the other hand, if the criteria are not met (step S2606: No), the system control unit 120 selects an unselected intermediate setting from among all combinations of termination resistors in memories #0 to #2 (step S2608), other than the initial settings and corner settings (hereinafter referred to as "intermediate settings").

[0229] Then, the system control unit 120 executes an estimated waveform creation process to estimate a memory eye pattern (third memory eye pattern) of each memory #j with the selected intermediate setting (step S2609). A specific processing procedure of the estimated waveform creation process will be described later with reference to Figs. 30 and 31.

[0230] Next, the system control unit 120 creates a common eye pattern (third common eye pattern) at the intermediate setting by overlapping the estimated memory eye patterns of each memory #j (step S2610).Then, the system control unit 120 determines whether there is an unselected intermediate setting among all the combinations of the termination resistors of the memories #0 to #2 (step S2611).

[0231] If there is an unselected intermediate setting (step S2611: Yes), system control unit 120 returns to step S2608. On the other hand, if there is no unselected intermediate setting (step S2611: No), system control unit 120 identifies the intermediate setting (tentative optimal setting) that maximizes the area of ​​the common eye pattern created in step S2610 (step S2612), and proceeds to step S2701 shown in FIG.

[0232] In the flowchart of FIG. 27, first, the system control unit 120 measures the memory eye pattern (fourth memory eye pattern) of each memory #j with the provisional optimum setting (step S2701).

[0233] Next, the system control unit 120 creates a common eye pattern (fourth common eye pattern) under the provisional optimum settings by superimposing the measured memory eye patterns of each memory #j (step S2702).Then, the system control unit 120 determines whether the created common eye pattern under the provisional optimum settings satisfies the criteria (step S2703).

[0234] If the criteria are met (step S2703: Yes), the system control unit 120 determines the provisional optimal setting value as the setting value of the termination resistor of each memory #j (step S2704), and ends the series of processes according to this flowchart.

[0235] On the other hand, if the criteria is not met (step S2703: No), system control unit 120 identifies a slot (memory) that makes the created common eye pattern (fourth common eye pattern) smaller from among memories #0 to #2 based on the measured memory eye pattern (fourth memory eye pattern) of each memory #j (step S2705). However, system control unit 120 excludes slots (memories) that have already been identified.

[0236] Next, the system control unit 120 judges whether or not Slot A (memory #0) has been identified (step S2706). If Slot A (memory #0) has been identified (step S2706: Yes), the system control unit 120 selects the termination resistors of Slots B and C (memory #1 and #2) as the adjustment targets (step S2707), and proceeds to step S2801 shown in FIG.

[0237] On the other hand, if Slot A (memory #0) has not been identified (step S2706: No), the system control unit 120 determines whether or not Slot B (memory #1) has been identified (step S2708). If Slot B (memory #1) has been identified (step S2708: Yes), the system control unit 120 selects the termination resistors of Slots A and C (memory #0 and #2) as targets for adjustment (step S2709), and proceeds to step S2801 shown in FIG.

[0238] On the other hand, if Slot B (memory #1) is not identified (step S2708: No), the system control unit 120 selects the termination resistors of Slots A and B (memory #0 and #1) as the targets for adjustment (step S2710) and proceeds to step S2801 shown in FIG. 28.

[0239] In the flowchart of FIG. 28, first, the system control unit 120 determines whether or not the portion where the memory specified in step S2705 makes the common eye pattern smaller is located above the center of the common eye pattern (step S2801).

[0240] For example, when the center of the memory eye pattern (fourth memory eye pattern) of the identified memory is lower than the center of the common eye pattern (fourth common eye pattern), the system control unit 120 determines that the part where the identified memory makes the common eye pattern smaller is above the center of the common eye pattern.

[0241] Here, if it is above the center of the common eye pattern (step S2801: Yes), the system control unit 120 reduces the value of at least one of the termination resistors selected as the adjustment target (step S2802) and proceeds to step S2804. At this time, the system control unit 120 changes, for example, one of multiple set values ​​to another value that is smaller than the pre-change value and closest to the changed value. However, the system control unit 120 excludes the value that has already been set. When the number of slots (number of memories) connected to the same channel is "3", there are three patterns for changing the termination resistor (for example, see FIG. 23).

[0242] On the other hand, if the value is not above the center of the common eye pattern (step S2801: No), the system control unit 120 increases the value of at least one of the termination resistors selected as the adjustment target (step S2803). At this time, the system control unit 120 changes the value to another value that is larger than the pre-change value and closest to the pre-change value among multiple setting values, for example. However, the system control unit 120 excludes the value that has already been set. When the number of slots (number of memories) connected to the same channel is "3", there are three patterns for changing the termination resistor (for example, see FIG. 24).

[0243] Then, system control unit 120 measures the memory eye pattern (fifth memory eye pattern) of each memory #j with the new setting in which the termination resistor value has been changed (step S2804). Next, system control unit 120 creates a common eye pattern (fifth common eye pattern) with the new setting by superimposing the measured memory eye patterns of each memory #j (step S2805).

[0244] Then, the system control unit 120 determines whether the created common eye pattern is wider than the common eye pattern (fourth common eye pattern) created in step S702 (step S2806). If the common eye pattern is not wider (step S2806: No), the system control unit 120 proceeds to step S2901 shown in FIG.

[0245] On the other hand, if the common eye pattern has expanded (step S2806: Yes), it is determined whether the common eye pattern with the new setting satisfies the criteria (step S2807). If the criteria are satisfied (step S2807: Yes), system control unit 120 determines the new setting value as the setting value of the termination resistor of each memory #j (step S2808), and ends the series of processes according to this flowchart.

[0246] On the other hand, if the criteria are not met (step S2807: No), the system control unit 120 determines whether there are other values ​​that can be set to the termination resistor selected as the adjustment target (step S2809). If there are other values ​​(step S2809: Yes), the process returns to step S2801.

[0247] On the other hand, if there is no other value (step S2809: No), the system control unit 120 judges whether or not there is an adjustable slot (memory) (step S2810). An adjustable slot (memory) is, for example, an unspecified slot (memory) that has not been specified in step S2705.

[0248] If there is an adjustable slot (memory) (step S2810: Yes), the system control unit 120 returns to step S2705 shown in Fig. 27. On the other hand, if there is no adjustable slot (memory) (step S2810: No), the system control unit 120 outputs an error (step S2811) and ends the series of processes according to this flowchart.

[0249] For example, the system control unit 120 may display an error message on a display (not shown) to the effect that since the termination resistance cannot be adjusted, it is not possible to ensure the transmission quality between the CPU 101 and the memory 102. This allows the user to understand that, for example, a measure such as replacing the memory of the server device 100 is necessary.

[0250] In the flowchart of FIG. 29, first, the system control unit 120 determines whether or not the portion where the memory specified in step S2705 makes the common eye pattern smaller is located above the center of the common eye pattern (step S2901).

[0251] If the resistor is above the center of the common eye pattern (step S2901: Yes), the system control unit 120 increases the value of at least one of the termination resistors selected as the adjustment target (step S2902) and proceeds to step S2904. In step S2902, the system control unit 120 performs adjustment in the opposite direction to step S2802 shown in FIG.

[0252] On the other hand, if the resistor is not located above the center of the common eye pattern (step S2901: No), the system control unit 120 decreases the value of at least one of the termination resistors selected as the adjustment target (step S2903). In step S2903, the system control unit 120 adjusts in the opposite direction to step S2803 shown in FIG.

[0253] Then, system control unit 120 measures the memory eye pattern (fifth memory eye pattern) of each memory #j with the new setting in which the termination resistor value has been changed (step S2904). Next, system control unit 120 creates a common eye pattern (fifth common eye pattern) with the new setting by superimposing the measured memory eye patterns of each memory #j (step S2905).

[0254] Then, the system control unit 120 judges whether the common eye pattern in the new setting satisfies the criteria (step S2906). If the criteria are satisfied (step S2906: Yes), the system control unit 120 determines the new setting value as the setting value of the termination resistor of each memory #j (step S2907), and ends the series of processes according to this flowchart.

[0255] On the other hand, if the criteria are not met (step S2906: No), the system control unit 120 determines whether there are other values ​​that can be set to the termination resistor selected as the adjustment target (step S2908). If there are other values ​​(step S2908: Yes), the process returns to step S2901.

[0256] On the other hand, if there is no other value (step S2908: No), the system control unit 120 judges whether or not there is an adjustable slot (memory) (step S2909). If there is an adjustable slot (memory) (step S2909: Yes), the system control unit 120 returns to step S2705 shown in FIG.

[0257] On the other hand, if there is no adjustable slot (memory) (step S2909: No), the system control unit 120 outputs an error (step S2910) and ends the series of processes according to this flowchart.

[0258] This allows the system control unit 120 to adjust the termination resistance of each memory #j in a short time during memory training when the server device 100 is started up so as to satisfy criteria regarding the transmission quality between the CPU 101 and each memory #j.

[0259] Next, a specific procedure of the estimated waveform creation process in step S2609 shown in Fig. 26 will be described with reference to Fig. 30 and Fig. 31. The estimated waveform creation process is executed for each of memories #0 to #2 based on the intermediate setting selected in step S2608 shown in Fig. 26.

[0260] Here, a case will be described in which an estimated waveform (new memory eye pattern) with an intermediate setting is estimated from two measured or estimated waveforms A and B (memory eye patterns).

[0261] 30 and 31 are flowcharts showing an example of a specific processing procedure of the estimated waveform creation process. In the flowchart of Fig. 30, first, the system control unit 120 sets the error portion of waveform A to "1" and the non-error portion to "0" (step S3001). Next, the system control unit 120 sets the error portion of waveform B to "10" and the non-error portion to "0" (step S3002).

[0262] Then, the system control unit 120 creates an estimated waveform AB by adding together the waveforms A and B (step S3003). Next, the system control unit 120 sets the delay of the estimated waveform AB to min (minimum value) (step S3004), and identifies a threshold voltage where 1s or 10s continue in the vertical direction of the error section of the estimated waveform AB (step S3005).

[0263] Next, the system control unit 120 judges whether the identified consecutive threshold voltages are even (2n) or odd (2n+1) (step S3006). If the consecutive threshold voltages are even (2n) (step S3006: even), the system control unit 120 sets the n centrally located threshold voltages of the estimated waveform AB to "0" (step S3007) and proceeds to step S3009.

[0264] On the other hand, if the number of consecutive threshold voltages is odd (2n+1) (step S3006: odd), the system control unit 120 sets the n central threshold voltages of the estimated waveform AB to "0" (step S3008). Then, the system control unit 120 determines whether or not all delays of the estimated waveform AB have been performed (step S3009).

[0265] If all delays have not been processed (step S3009: No), the system control unit 120 changes the delay of the estimated waveform AB (+1) (step S3010) and returns to step S3005. On the other hand, if all delays have been processed (step S3009: Yes), the system control unit 120 holds the estimated waveform AB processed for all delays as estimated waveform P1 (step S3011) and proceeds to step S3101 shown in FIG.

[0266] In the flowchart of Figure 31, first, the system control unit 120 sets the threshold voltage of the estimated waveform AB created in step S3003 as min (minimum value) (step S3101), and identifies delays in which 1s or 10s occur horizontally in the error section of the estimated waveform AB (step S3102).

[0267] Next, the system control unit 120 judges whether the identified consecutive delays are an even number (2n) or an odd number (2n+1) (step S3103). If the consecutive delays are an even number (2n) (step S3103: even), the system control unit 120 sets the n number of delays closest to the center of the waveform AB to "0" (step S3104) and proceeds to step S3106.

[0268] On the other hand, if the number of consecutive delays is odd (2n+1) (step S3103: odd), the system control unit 120 sets the n delays closest to the center of the estimated waveform AB to "0" (step S3105). Then, the system control unit 120 determines whether or not the process has been performed for all threshold voltages of the estimated waveform AB (step S3106).

[0269] If all threshold voltages have not been tested (step S3106: No), the system control unit 120 changes (+1) the threshold voltage of the estimated waveform AB (step S3107) and returns to step S3102. On the other hand, if all threshold voltages have been tested (step S3106: Yes), the system control unit 120 holds the estimated waveform AB tested for all threshold voltages as estimated waveform P2 (step S3108).

[0270] Then, the system control unit 120 creates an estimated waveform P for the intermediate setting by superimposing the created estimated waveform P1 and estimated waveform P2 (step S3109), and returns to the step that called the estimated waveform creation process. At this time, if either of the estimated waveforms P1 and P2 has a value of "0" indicating no error at a point where the delay and threshold voltage are the same, the system control unit 120 sets the value of that point to "0" (logical AND).

[0271] This allows the system control unit 120 to estimate the memory pattern of an unmeasured setting by using the memory pattern of each memory #j actually measured in the initial setting and the corner setting.

[0272] (Example) Next, an embodiment of the present termination resistance adjusting method will be described.

[0273] Here, the memory bus connecting the CPU 101 and the memory 102 is referred to as "memory bus #0 to #3." Also, assume that three memories (DIMMs) are connected to the same channel (memory bus). For convenience of explanation, the three memories connected to the same channel are referred to as "memory #0 to #2." Each of memories #0 to #2 is one rank.

[0274] (1) When memory training begins upon startup of server device 100, system control unit 120 measures the memory eye pattern of each of memories #0 to #2 in the initial setting, and obtains a common eye pattern for each of memory buses #0 to #3.

[0275] Here, the initial setting is 48Ω for all memories #0 to #2. There are five possible setting values: 34Ω, 40Ω, 48Ω, 60Ω, and 80Ω. The criteria is that the area of ​​the common eye pattern is 150 or more (reference value: 150). The criteria reference value can be set arbitrarily. If the reference value is made smaller, it becomes easier to meet the criteria, but reliability tends to decrease. If the reference value is made larger, reliability increases, but it becomes more difficult to meet the criteria and there is a tendency for errors to occur more frequently.

[0276] Fig. 32 is an explanatory diagram (part 1) showing an example of a common eye pattern according to an embodiment. Fig. 33 is an explanatory diagram (part 2) showing an example of a common eye pattern according to an embodiment. Here, as shown in Fig. 32, it is assumed that the area of ​​the common eye pattern 3204 of memory bus #0 is "230".

[0277] Common eye pattern 3204 is a superposition of memory eye patterns 3201-3203 of each of memories #0-#2 of memory bus #0. In this case, common eye pattern 3204 of memory bus #0 satisfies the criteria, so system control unit 120 ends memory training of memory bus #0. The termination resistance of each of memories #0-#2 connected to memory bus #0 is 48Ω.

[0278] On the other hand, for memory buses #1 to #3, the areas of the common eye pattern are assumed to be “142, 134, and 122,” respectively. For example, as shown in FIG. 33, the area of ​​common eye pattern 3304 of memory bus #1 is assumed to be “142.”

[0279] Common eye pattern 3304 is a superposition of memory eye patterns 3301-3303 of memories #0-#2 of memory bus #1. In this case, since common eye pattern 3304 of memory bus #1 does not satisfy the criteria, system control unit 120 continues memory training of memory bus #1.

[0280] (2) System control unit 120 measures the memory eye patterns for each of memories #0 to #2 of memory bus #1 at four corner settings (A, B, C, D) and obtains a common eye pattern for each. System control unit 120 also obtains a common eye pattern for memory buses #2 and #3 in the same manner.

[0281] Fig. 34 is an explanatory diagram (part 3) showing an example of a common eye pattern according to an embodiment. In Fig. 34, common eye patterns 3401 to 3404 are common eye patterns in the four corner settings (A, B, C, D) of memory bus #1. In the case of the memory eye pattern of memory #0, the combinations of the termination resistances (Rtt-Park) of memories #1 and #2 are "Setting A = (34Ω, 34Ω)", "Setting B = (80Ω, 34Ω)", "Setting C = (34Ω, 80Ω)", and "Setting D = (80Ω, 80Ω)". The same is true for the memory eye patterns of memories #1 and #2.

[0282] Here, in memory bus #1, the areas of common eye patterns 3401 to 3404 for settings A, B, C, and D are "121, 154, 151, and 103," respectively. In this case, settings A and D do not satisfy the criteria. On the other hand, settings B and C satisfy the criteria.

[0283] If there are multiple settings that satisfy the criteria, the system control unit 120 adopts the setting with the larger area. Therefore, the system control unit 120 sets the memory bus #1 to a setting value corresponding to setting B, and ends the memory training. The termination resistances of the memories #0 to #2 connected to the memory bus #1 are, for example, (80Ω, 80Ω, 34Ω).

[0284] Fig. 35 is an explanatory diagram (part 4) showing an example of a common eye pattern according to an embodiment. In Fig. 35, common eye patterns 3501 to 3504 are common eye patterns in the corner 4 settings (A, B, C, D) of memory bus #2.

[0285] For memory bus #2, the areas of common eye patterns 3501 to 3504 for settings A, B, C, and D are "121, 133, 138, and 103," respectively. In this case, the criteria are not met for all settings (settings A, B, C, and D). Therefore, system control unit 120 continues memory training for memory bus #2. For memory bus #3, the criteria are not met for all settings (settings A, B, C, and D), so further memory training is required.

[0286] Here, the memory eye patterns of the memories #0 to #2 measured with four corner settings (A, B, C, D) for the memory bus #2 will be described with reference to FIGS.

[0287] 36 to 38 are explanatory diagrams showing examples of memory eye patterns according to an embodiment. In Fig. 36, memory eye patterns 3601 to 3604 are memory eye patterns of memory #0 measured with four corner settings (A, B, C, D) for memory bus #2.

[0288] In Fig. 37, memory eye patterns 3701-3704 are memory eye patterns of memory #1 measured with four corner settings (A, B, C, D) for memory bus #2. In Fig. 38, memory eye patterns 3801-3804 are memory eye patterns of memory #2 measured with four corner settings (A, B, C, D) for memory bus #2.

[0289] (3) The system control unit 120 uses the memory eye patterns measured for memory bus #2 at the initial setting and the four-corner setting to obtain a memory eye pattern (estimated waveform) at the intermediate setting.

[0290] FIG. 39 is an explanatory diagram (part 1) showing memory eye patterns of each setting according to the embodiment. In FIG. 39, table 3900 shows memory eye patterns of each memory #0 to #2 in each setting (initial setting, setting A, setting B, setting C, setting D). In the case of the memory eye pattern of memory #1, the combinations of termination resistances (Rtt-Park) of memories #0 and #2 are "setting A=(34Ω, 34Ω)", "setting B=(80Ω, 34Ω)", "setting C=(34Ω, 80Ω)", and "setting D=(80Ω, 80Ω)". The same is true for the memory eye patterns of memories #0 and #2.

[0291] Fig. 40 is an explanatory diagram (part 1) showing an example of creating an estimated waveform according to the embodiment. In Fig. 40, an estimated waveform 4004 is an estimated waveform of setting E, which is an intermediate setting as shown in Fig. 41, estimated from a waveform 4001 (memory eye pattern) of setting A and a waveform 4002 of setting B for the eye pattern of memory #1 of memory bus #2. A waveform 4003 is a superposition of the waveform 4001 and the waveform 4002. The estimated waveform 4004 is obtained by replacing values ​​of consecutive error parts in the vertical and horizontal directions of the waveform 4003.

[0292] Fig. 41 is an explanatory diagram (part 1) showing an example of combination of termination resistors according to an embodiment. In Fig. 41, a combination table 4100 shows combinations of resistance values ​​that can be taken as termination resistors of memories #0 and #2 when determining the memory eye pattern of memory #1. Setting E is "setting E = (48 Ω, 34 Ω)". Similarly, the estimated waveform of setting H is estimated from, for example, the waveform 4001 of setting A and the initial setting waveform.

[0293] Fig. 42 is an explanatory diagram (part 2) showing an example of creating an estimated waveform according to the embodiment. In Fig. 42, an estimated waveform 4203 is an estimated waveform of setting F, which is an intermediate setting as shown in Fig. 43, estimated from waveform 4001 of setting A and waveform 4201 of setting C for the eye pattern of memory #1 of memory bus #2. Waveform 4202 is a superposition of waveform 4001 and waveform 4201. Estimated waveform 4203 is obtained by replacing values ​​of consecutive error parts in the vertical and horizontal directions of waveform 4202.

[0294] 43 is an explanatory diagram (part 2) showing an example of a combination of termination resistors according to an embodiment. In FIG. 43, setting F in a combination table 4100 is "setting F=(34Ω, 48Ω)." Similarly, an estimated waveform of setting G is estimated from, for example, a waveform 4001 of setting A and an estimated waveform 4004 of setting E.

[0295] In this way, the system control unit 120 can obtain the eye pattern of memory #1 for all combinations of the termination resistors of memories #0 and #2 that can be set by sequentially determining a new estimated waveform from the measured waveform and the estimated waveform. When determining a new estimated waveform from the measured waveform and the estimated waveform, one of the waveforms does not have to be the same setting; for example, it is possible to determine an estimated waveform for setting H, which is an intermediate setting between setting A and the initial setting. When determining the estimated waveform, if the measured waveform can be used for one or both, the measured waveform is given priority over the estimated waveform in consideration of reliability to determine the new estimated waveform.

[0296] Fig. 44 is an explanatory diagram (part 2) showing memory eye patterns of each setting according to the embodiment. In Fig. 44, table 3900 shows memory eye patterns of each of memories #0 to #2 in all settings (initial setting, setting A, setting B, setting C, setting D, setting E, setting F, setting G, setting H, ...).

[0297] (4) The system control unit 120 obtains a common eye pattern and an area of ​​the common eye pattern for all possible settings based on the memory eye patterns of the memories #0 to #2 in all settings (initial setting, setting A, setting B, setting C, setting D, setting E, setting F, setting G, setting H, etc.). However, the initial setting and the four corner settings may be excluded.

[0298] Fig. 45 is an explanatory diagram showing an example of the contents stored in the waveform management table 1800 according to the embodiment. In Fig. 45, the waveform management table 1800 stores, for the memory bus #2, waveform management information (for example, waveform management information 4501) for 125 (5*5*5) combinations of termination resistors of each of memories #0 to #2. However, in Fig. 45, the display of memory eye patterns of each of memories #0 to #2 is omitted.

[0299] For example, waveform management information 4501 indicates a common eye pattern 4501-1 and a common eye pattern area "79" in association with the combination of termination resistors (34Ω, 34Ω, 34Ω) of memories #0 to #2.

[0300] Then, the system control unit 120, for example, refers to this waveform management table 1800 and specifies the setting that maximizes the area of ​​the common eye pattern as the provisional optimum setting. Here, the setting "(Rtt-Park A, Rtt-Park B, Rtt-Park C) = (40Ω, 48Ω, 60Ω)" that maximizes the area of ​​the common eye pattern is specified as the provisional optimum setting. The system control unit 120 similarly specifies the provisional optimum setting for memory bus #3.

[0301] (5) System control unit 120 measures the memory eye patterns of memories #0 to #2 for memory buses #2 and #3 using provisional optimum settings, and obtains a common eye pattern.

[0302] 46 is an explanatory diagram (part 5) showing an example of a common eye pattern according to an embodiment. In FIG. 46, a common eye pattern 4601 is a common eye pattern in a tentative optimum setting of memory bus #2. A common eye pattern 4602 is a common eye pattern in a tentative optimum setting of memory bus #3.

[0303] Here, the area of ​​common eye pattern 4601 is "230", and the area of ​​common eye pattern 4602 is "142". In this case, since common eye pattern 4601 satisfies the criteria, system control unit 120 sets memory bus #2 to a setting value corresponding to the provisional optimum setting and ends memory training. On the other hand, common eye pattern 4602 does not satisfy the criteria. For this reason, system control unit 120 continues memory training for memory bus #3.

[0304] (6) The system control unit 120 identifies, from among the memories #0 to #2, a memory that reduces (the opening of) the common eye pattern 4602 of the memory bus #3.

[0305] Fig. 47 is an explanatory diagram (part 6) showing an example of a common eye pattern according to the embodiment. In Fig. 47, for memory bus #3, a memory eye pattern 4701 of memory #0, a memory eye pattern 4702 of memory #1, a memory eye pattern 4703 of memory #2, and a common eye pattern 4602 are shown.

[0306] System control unit 120 identifies, from memories #0 to #2, a memory that narrows (the opening of) common eye pattern 4602, based on memory eye patterns 4701 to 4703. The memory that narrows common eye pattern 4602 is identified, for example, based on the number (number of points) of error parts (1, 10, 100) that exist around error-free part (0) when memory eye patterns 4701 to 4703 are superimposed. Here, the error part of memory #0 is set to "1", the error part of memory #1 is set to "10", and the error part of memory #2 is set to "100".

[0307] Fig. 48 is an explanatory diagram (part 7) showing an example of a common eye pattern according to an embodiment. In Fig. 48, an image of a common eye pattern 4602 of memory bus #3 is shown. A lower part 4801 of the opening (error-free part (0)) of the common eye pattern 4602 has multiple error parts with a value of "1". In addition, an upper part 4802 of the opening (error-free part (0)) of the common eye pattern 4602 has multiple error parts with a value of "100".

[0308] Here, it is assumed that the number of error parts with a value of "1" in lower portion 4801 of common eye pattern 4602 is greater than the number of error parts with a value of "100" in upper portion 4802. In other words, of memories #0 and #2, memory #0 has a greater effect on the opening of common eye pattern 4602 than memory #2.

[0309] For this reason, the system control unit 120 adjusts the memory eye pattern of memory #0 with the termination resistors (Rtt-Park) of memories #1 and #2.

[0310] (7) The system control unit 120 changes the termination resistance (Rtt-Park) of memories #1 and #2 in order to adjust the memory eye pattern of memory #0. In the common eye pattern 4602, the memory eye pattern 4701 of memory #0 has a smaller opening at the lower part of the common eye pattern 4602 (see, for example, FIG. 48).

[0311] For this reason, the system control unit 120 increases the setting value (resistance value) of the termination resistor (Rtt-Park) of memories #1 and #2.

[0312] Fig. 49 is an explanatory diagram (part 3) showing an example of combination of termination resistors according to the embodiment. In Fig. 49, a combination table 4900 shows combinations of resistance values ​​that can be taken as termination resistors of memories #1 and #2 when determining the memory eye pattern of memory #0. The provisional optimal setting is "optimal setting = (48Ω, 60Ω)".

[0313] As change patterns for increasing the set value (resistance value) of the termination resistor (Rtt-Park) in memories #1 and #2, there are, for example, three patterns indicated by star marks (☆) in combination table 4900. The system control unit 120 obtains a common eye pattern for the three star mark (☆) patterns.

[0314] Here, of the three star (☆) patterns, the area of ​​the common eye pattern is maximized with the settings (48Ω, 80Ω), and the common eye pattern is expanded.

[0315] Fig. 50 is an explanatory diagram (part 8) showing an example of a common eye pattern according to an embodiment. Fig. 48 shows an image of a common eye pattern 5001 of memory bus #3 at settings (48Ω, 80Ω). In the common eye pattern 5001, the memory eye pattern of memory #0 has been enlarged compared to before the change (memory eye pattern 4701 -> memory eye pattern 5002), and as a result, the error portion with a value of "1" at the bottom of the opening has been reduced compared to the common eye pattern 4602, and the common eye pattern 5001 has been enlarged.

[0316] Here, it is assumed that common eye pattern 5001 satisfies the criteria. In this case, system control unit 120 sets memory bus #3 to a setting value corresponding to the setting (48Ω, 80Ω) and ends memory training. This ends memory training for all memory buses #0 to #3.

[0317] If none of the three star patterns meets the criteria, the system control unit 120 may change the setting in the same direction (increasing the value). If changing the setting does not improve the condition but rather worsens it, the system control unit 120 may change the setting to the opposite direction (decreasing the value) of the setting predicted to improve the condition, as shown in FIG.

[0318] Fig. 51 is an explanatory diagram (part 4) showing an example of a combination of termination resistors according to an embodiment. In Fig. 51, there are two patterns indicated by stars (★) in the combination table 4900 as change patterns for decreasing the set values ​​(resistance values) of the termination resistors (Rtt-Park) of memories #1 and #2.

[0319] For example, system control unit 120 obtains a common eye pattern using two star (★) patterns, and searches for settings that expand the common eye pattern. If adjusting the memory eye pattern of memory #0 does not result in improvement, system control unit 120 may adjust the memory eye pattern of another memory (for example, memory #2). The adjustment method is the same as the adjustment method for memory #0.

[0320] On the other hand, if there is no other memory, system control unit 120 ends memory training for memory bus #3. The transmission quality of all memories may not necessarily be improved, and some memories, including those with initial defects, may not be salvageable.

[0321] As described above, according to the server device 100 of the embodiment, an initial value is set for each of the termination resistors of each of the memories #0 to #n connected to the CPU 101 in the server device via the memory bus #i (initial setting), and the first memory eye pattern of each of the memories #j can be measured. Furthermore, according to the server device 100, the second memory eye pattern of each of the memories #j can be measured for each of the specific combinations among all combinations of the termination resistors of each of the memories #j. The all combinations are all combinations that can be taken when any of a plurality of set values ​​(resistance values) that can be set for the termination resistor of each of the memories #j is set for each of the termination resistors of each of the memories #j. The specific combinations are combinations that can be taken when any of the minimum value or the maximum value of a plurality of set values ​​(resistance values) is set for the termination resistor of each of the memories #j (corner setting). Furthermore, according to the server device 100, based on the measured first memory eye pattern of each of the memories #j and the second memory eye pattern of each of the memories #j, the third memory eye pattern of each of the memories #j can be estimated for each of the combinations other than the initial value and the specific combination (intermediate setting) among all combinations. Then, according to the server device 100, based on the estimated third memory eye pattern of each memory #j, it is possible to determine the setting value of the termination resistor of each memory #j so as to satisfy the criteria. The criteria is a standard regarding the transmission quality between the CPU 101 and the memory 102 (each of the memories #0 to #n). The server device 100 executes each process, for example, in memory training when the server device 100 is started up.

[0322] This enables the server device 100 to create an estimated waveform with the minimum necessary actual measurements, and to obtain memory eye patterns for all combinations of termination resistance of each memory #j. For example, actual measurement takes several minutes for one setting value, whereas an estimated waveform can be generated in a few seconds because it is processed by a computer. This enables the server device 100 to find the optimal setting in a short time, even when there are a huge number of settings (combinations of termination resistance values), and makes it easier to adjust the termination resistance of each memory #j to meet the criteria.

[0323] Moreover, according to the server device 100, it is possible to determine whether or not the criteria are satisfied based on the first common eye pattern obtained by superimposing the first memory eye patterns of each memory #j, and if the criteria are satisfied, it is possible to determine the initial value as the setting value of the termination resistor of each memory #j. Moreover, according to the server device 100, if the criteria are not satisfied, it is possible to measure the second memory eye pattern of each memory #j.

[0324] As a result, when the criteria are met with the initial settings, the server device 100 can end adjustment of the termination resistance of each memory #j at that point in time, thereby shortening the time required for adjusting the termination resistance of each memory #j. Also, when the criteria are met with the initial settings, the server device 100 can refrain from measuring or estimating memory eye patterns with other settings (corner settings, intermediate settings).

[0325] Moreover, according to the server device 100, it is possible to determine whether or not the criteria are satisfied based on the second common eye pattern obtained by superimposing the second memory eye patterns of each memory #j, and if the criteria are satisfied, it is possible to determine a specific combination (corner setting) as the setting value of the termination resistor of each memory #j. Moreover, according to the server device 100, if the criteria are not satisfied, it is possible to measure the third memory eye pattern of each memory #j.

[0326] As a result, when the criteria are satisfied in the corner setting, the server device 100 can end the adjustment of the termination resistance of each memory #j at that point in time, thereby shortening the time required for adjusting the termination resistance of each memory #j. Also, when the criteria are satisfied in the corner setting, the server device 100 can refrain from estimating memory eye patterns in other settings (intermediate settings).

[0327] Moreover, according to the server device 100, among other combinations (intermediate settings), a combination (tentative optimum setting) in which the third common eye pattern obtained by superimposing the estimated third memory eye patterns of each memory #j is maximized can be identified, and the fourth memory eye pattern of each memory #j can be measured for the identified tentative optimum setting. Then, according to the server device 100, it is possible to determine whether or not the criteria are satisfied based on the fourth common eye pattern obtained by superimposing the measured fourth memory eye patterns of each memory #j, and if the criteria are satisfied, the identified tentative optimum setting can be determined as the setting value of the termination resistor of each memory #j.

[0328] As a result, the server device 100 can determine the provisional optimum setting as the setting value of the termination resistor of each memory #j after identifying the provisional optimum setting from the estimated waveform and confirming that the criteria are satisfied by actually measuring the memory eye pattern at the provisional optimum setting. Therefore, the server device 100 can improve the adjustment accuracy of the termination resistor of each memory #j compared to a case where the provisional optimum setting is determined as the setting value of the termination resistor of each memory #j without confirming the provisional optimum setting.

[0329] Furthermore, according to the server device 100, if it is determined based on the fourth common eye pattern that the criteria are not satisfied, it is possible to measure the fifth memory eye pattern of each memory #j for a combination after changing any value of the identified provisional optimal setting to another value among the multiple setting values. Then, according to the server device 100, it is possible to determine whether the criteria are satisfied based on the fifth common eye pattern obtained by superimposing the measured fifth memory eye patterns of each memory #j, and if the criteria are satisfied, it is possible to determine the changed combination as the setting value of the termination resistor of each memory #j.

[0330] This allows the server device 100 to efficiently search for the optimal value of the termination resistance of each memory #j by searching for a setting value that satisfies the criteria while changing the setting value (resistance value) based on the tentative optimal setting.

[0331] Furthermore, according to server device 100, when it is determined that the criteria are not satisfied based on the fourth common eye pattern, it is possible to identify a memory that reduces the fourth common eye pattern from among memories #0 to #n based on the fourth memory eye pattern of each memory #j. Then, according to server device 100, it is possible to measure the fifth memory eye pattern of each memory #j for a combination after changing the value of the termination resistance of another memory different from the identified memory in the tentative optimal setting to another value among the multiple setting values.

[0332] As a result, the server device 100 can efficiently search for the optimal value of the termination resistance of each memory #j by focusing on the memory that is narrowing the opening of the common eye pattern and preferentially adjusting the memory eye pattern so as to expand the common eye pattern.

[0333] Furthermore, according to the server device 100, when the center of the fourth memory eye pattern of the identified memory is lower than the center of the fourth common eye pattern, the fifth memory eye pattern of each memory #j can be measured for a combination after changing the value of the termination resistance of the other memory to another value among multiple setting values ​​that is smaller than the specified value and closest to the specified value.

[0334] This allows the server device 100 to change the value of the termination resistor so that the common eye pattern is expanded, taking advantage of the characteristic of the termination resistor that, when the resistance value is reduced, the overall waveform (memory eye pattern) rises slightly upward due to pull-up.

[0335] Furthermore, according to the server device 100, when the center of the fourth memory eye pattern of the identified memory is above the center of the fourth common eye pattern, the fifth memory eye pattern of each memory #j can be measured for a combination after changing the value of the termination resistance of the other memory to another value among multiple setting values ​​that is greater than and closest to the specified value.

[0336] As a result, the server device 100 can change the value of the termination resistor so as to expand the common eye pattern by taking advantage of the characteristic of the termination resistor that, when the resistance value is increased, the entire waveform (memory eye pattern) drops slightly downward due to pull-down.

[0337] Moreover, according to the server device 100, it is possible to measure the first memory eye pattern of each memory #j by setting an initial value for each termination resistor of each memory #j, measuring the first eye pattern of each data signal read from each memory #j, and aligning and overlapping the measured first eye patterns of each data signal at a strobe point. Also, according to the server device 100, it is possible to measure the second memory eye pattern of each memory #j by measuring the second eye pattern of each data signal read from each memory #j for each specific combination (corner setting), and aligning and overlapping the measured second eye patterns of each data signal at a strobe point.

[0338] This allows server apparatus 100 to create memory eye patterns in the initial setting and corner setting by adding together eye patterns obtained when each data signal is read from each memory #j in the initial setting and corner setting.

[0339] Furthermore, according to server device 100, the fourth memory eye pattern of each memory #j can be measured by setting a tentative optimal setting value for each termination resistor of each memory #j, measuring the fourth eye pattern of each data signal read out from each memory #j, and aligning and overlapping the measured fourth eye patterns of each data signal at the strobe point.

[0340] This allows server apparatus 100 to create a memory eye pattern in the provisional optimum setting by adding together the eye patterns obtained when each data signal is read out from each memory #j in the provisional optimum setting.

[0341] Furthermore, according to server device 100, the fifth memory eye pattern of each memory #j can be measured by setting the changed combination value to each termination resistor of each memory #j, measuring the fifth eye pattern of each data signal read out from each memory #j, and aligning and overlapping the measured fifth eye patterns of each data signal at the strobe point.

[0342] As a result, server apparatus 100 can create a memory eye pattern for the changed combination by adding together the eye patterns obtained when each data signal is read from each memory #j in the changed combination.

[0343] Furthermore, according to server device 100, for each of the other combinations (intermediate settings), the third memory eye pattern of each memory #j can be sequentially estimated by combining, among the measured first memory eye pattern of each memory #j, the second memory eye pattern of each memory #j, and the estimated new memory eye pattern of each memory #j, a memory eye pattern in which the termination resistance value of a first memory (e.g., memory #1) different from each memory #j (e.g., memory #0) is smaller than that of the other combination and the termination resistance value of a memory other than the first memory (e.g., memory #2) is the same as that of the previous other combination, and a memory eye pattern in which the termination resistance value of the first memory is larger than that of the other combination and the termination resistance value of a memory other than the first memory is the same as that of the previous other combination.

[0344] As a result, the server device 100 can sequentially create memory eye patterns for each of the intermediate settings by synthesizing two measured or estimated waveforms (memory eye patterns) and interpolating a new waveform.

[0345] For these reasons, the server device 100 can adjust the termination resistance of each memory #j in a short time so as to satisfy the standard for the transmission quality between the CPU 101 and the memory 102. This allows the server device 100 to automatically adjust the termination resistance of the memory 102 during memory training every time the device itself is started. Furthermore, since the transmission characteristics are improved by adjusting the termination resistance during memory training, it is possible to ensure long-term reliability and enable the use of memories that were previously considered unusable.

[0346] For example, in the server device 100, even if the optimal settings change due to manufacturing variations or changes in the environment (for example, temperature, humidity, and aging), the transmission quality can be ensured. Also, in the server device 100, memories from different vendors can be mounted and used on the same channel. Also, in the server device 100, the improved transmission characteristics can prevent an increase in maintenance work and costs due to component replacement.

[0347] The termination resistance adjustment method described in this embodiment can be realized by executing a prepared program on a computer such as a personal computer or a workstation. This termination resistance adjustment program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disk), or a USB (Universal Serial Bus) memory, and is executed by being read from the recording medium by the computer. This termination resistance adjustment program may also be distributed via a network such as the Internet.

[0348] The following supplementary notes are further disclosed regarding the above-described embodiment.

[0349] (Appendix 1) Setting an initial value to each of the termination resistors of a plurality of memories connected to a CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; predicting a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories based on the estimated third memory eye pattern of each of the memories so as to satisfy a standard regarding transmission quality between the CPU and each of the memories; A termination resistance adjustment program for causing a computer to execute a process.

[0350] (Appendix 2) determining whether the criterion is satisfied based on a first common eye pattern obtained by superimposing the first memory eye patterns of the respective memories; when it is determined that the criterion is satisfied based on the first common eye pattern, the initial value is determined as a setting value of the termination resistor of each of the memories; causing the computer to execute a process; The process of measuring the second memory eye pattern includes: 2. The termination resistance adjustment program according to claim 1, further comprising: measuring a second memory eye pattern of each of the memories when it is determined that the criterion is not satisfied based on the first common eye pattern.

[0351] (Appendix 3) determining whether the criterion is satisfied based on a second common eye pattern obtained by superimposing the second memory eye patterns of the memories; when it is determined that the criterion is satisfied based on the second common eye pattern, the specific combination is determined as a setting value of a termination resistor of each of the memories. causing the computer to execute a process; The process of estimating the third memory eye pattern includes: The termination resistance adjustment program according to claim 2, further comprising estimating a third memory eye pattern of each of the memories when it is determined that the criterion is not satisfied based on the second common eye pattern.

[0352] (Appendix 4) The process of determining Among the other combinations, a combination in which a third common eye pattern obtained by superimposing the estimated third memory eye patterns of each of the memories is maximum is identified; measuring a fourth memory eye pattern of each of the memories for the identified combination; determining whether the criterion is satisfied based on a fourth common eye pattern obtained by superimposing the measured fourth memory eye patterns of each of the memories; when it is determined that the criterion is satisfied based on the fourth common eye pattern, the specified combination is determined as a setting value of a termination resistor of each of the memories. 4. The termination resistance adjusting program according to claim 1, wherein the termination resistance adjusting program is a termination resistance adjusting program.

[0353] (Appendix 5) The process of determining if it is determined that the criterion is not satisfied based on the fourth common eye pattern, a fifth memory eye pattern of each of the memories is measured for a combination after changing any value of the identified combination to another value of the plurality of setting values; determining whether the criterion is satisfied based on a fifth common eye pattern obtained by superimposing the fifth memory eye patterns of the measured memories; when it is determined that the criterion is satisfied based on the fifth common eye pattern, the changed combination is determined as a setting value of the termination resistor of each of the memories. 5. The termination resistance adjustment program according to claim 4.

[0354] (Appendix 6) The process of determining when it is determined that the criterion is not satisfied based on the fourth common eye pattern, identifying a memory that reduces the fourth common eye pattern from among the plurality of memories based on a fourth memory eye pattern of each of the memories; measuring a fifth memory eye pattern of each of the memories for a post-change combination in which a value of a termination resistance of another memory, which is different from the specified memory, among the specified combinations is changed to another value among the plurality of set values; 6. The termination resistance adjustment program according to claim 5,

[0355] (Appendix 7) The process of determining when the center of the fourth memory eye pattern of the identified memory is lower than the center of the fourth common eye pattern, measuring a fifth memory eye pattern of each of the memories for a combination after changing a value of the termination resistance of the other memory to another value among the plurality of setting values ​​that is smaller than the specified value and closest to the specified value; 7. The termination resistance adjustment program according to claim 6,

[0356] (Appendix 8) The process of determining when the center of the fourth memory eye pattern of the identified memory is above the center of the fourth common eye pattern, measuring a fifth memory eye pattern of each of the memories for a combination after changing a value of the termination resistance of the other memory to another value among the plurality of setting values ​​that is larger than the specified value and closest to the specified value; 8. The termination resistance adjustment program according to claim 6 or 7.

[0357] (Appendix 9) The process of measuring the first memory eye pattern includes: setting an initial value for each of the termination resistors of each of the memories, and measuring a first eye pattern of each of the data signals read from each of the memories; measuring a first memory eye pattern of each of the memories by aligning and superimposing the first eye patterns of each of the measured data signals at a strobe point; The process of measuring the second memory eye pattern includes: measuring a second eye pattern of each of the data signals read from each of the memories for each of the specific combinations; measuring a second memory eye pattern of each of the memories by aligning and superimposing the measured second eye patterns of each of the data signals at a strobe point; 2. The termination resistance adjustment program according to claim 1,

[0358] (Appendix 10) The process of measuring the fourth memory eye pattern includes: setting the specified combination of values ​​to the termination resistors of the memories, respectively, and measuring a fourth eye pattern of each data signal read from each memory; measuring a fourth memory eye pattern of each of the memories by aligning and superimposing the fourth eye patterns of each of the measured data signals at a strobe point; 5. The termination resistance adjustment program according to claim 4.

[0359] (Appendix 11) The process of measuring the fifth memory eye pattern includes: setting the changed combination value to each of the termination resistors of each of the memories, and measuring a fifth eye pattern of each of the data signals read from each of the memories; measuring a fifth memory eye pattern of each of the memories by aligning and superimposing the fifth eye patterns of each of the measured data signals at a strobe point; 6. The termination resistance adjustment program according to claim 5,

[0360] (Appendix 12) The inferring process is the termination resistance adjustment program according to any one of appendices 1 to 11, characterized in that for each of the other combinations, a third memory eye pattern of each of the memories is sequentially estimated by combining a memory eye pattern in which a termination resistance value of a first memory different from each of the memories is smaller than that of the other combinations and a termination resistance value of a memory other than the first memory is the same as that of the other combinations, with a memory eye pattern in which a termination resistance value of the first memory is larger than that of the other combinations and a termination resistance value of a memory other than the first memory is the same as that of the other combinations.

[0361] (Appendix 13) The termination resistance adjustment program according to any one of Appendices 1 to 12, characterized in that, in memory training at the time of starting up the device, the program causes the computer to execute a process of measuring the first memory eye pattern, a process of measuring the second memory eye pattern, a process of estimating the third memory eye pattern, and a process of determining a setting value of the termination resistance of each of the memories.

[0362] (Appendix 14) Setting an initial value to each of the termination resistors of a plurality of memories connected to the CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; predicting a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories based on the estimated third memory eye pattern of each of the memories so as to satisfy a standard regarding transmission quality between the CPU and each of the memories; A termination resistance adjustment method, the processing of which is executed by a computer.

[0363] (Appendix 15) Setting an initial value to each of the termination resistors of a plurality of memories connected to a CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; predicting a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories based on the estimated third memory eye pattern of each of the memories so as to satisfy a standard regarding transmission quality between the CPU and each of the memories; An information processing device comprising a control unit. [Explanation of symbols]

[0364] 100 Server device 101,301,401 CPU 102,402 Memory 103 MPU 104 SDRAM 105 SD card 110 Mainboard 120 System Control Unit 130 Communication I / F 140 Bus 150 memory bus 403 I / O circuit 800 Control section 801 Measuring part 802 Guessing part 803 Decision Section 1000 Matrix 1800 Waveform Management Table

Claims

1. setting an initial value for each of the termination resistors of a plurality of memories connected to a CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; estimating a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories so as to satisfy a standard regarding a transmission quality between the CPU and each of the memories based on the estimated third memory eye pattern of each of the memories; A termination resistance adjustment program for causing a computer to execute a process.

2. determining whether the criterion is satisfied based on a first common eye pattern obtained by superimposing the first memory eye patterns of the memories; when it is determined that the criterion is satisfied based on the first common eye pattern, the initial value is determined as a setting value of the termination resistor of each of the memories; causing the computer to execute a process; The process of measuring the second memory eye pattern includes:

2. The termination resistor adjustment program according to claim 1, further comprising: measuring a second memory eye pattern of each of said memories when it is determined that said criterion is not satisfied based on said first common eye pattern.

3. determining whether the criterion is satisfied based on a second common eye pattern obtained by superimposing the second memory eye patterns of the memories; when it is determined that the criterion is satisfied based on the second common eye pattern, the specific combination is determined as a setting value of a termination resistor of each of the memories. causing the computer to execute a process; The process of estimating the third memory eye pattern includes:

3. The termination resistor adjustment program according to claim 2, further comprising: estimating a third memory eye pattern of each of said memories when it is determined that said criterion is not satisfied based on said second common eye pattern.

4. The process of determining includes: Among the other combinations, a combination in which a third common eye pattern obtained by superimposing the estimated third memory eye patterns of the respective memories is maximum is identified; measuring a fourth memory eye pattern of each of the memories for the identified combination; determining whether the criterion is satisfied based on a fourth common eye pattern obtained by superimposing the measured fourth memory eye patterns of the respective memories; when it is determined that the criterion is satisfied based on the fourth common eye pattern, the specified combination is determined as a setting value of a termination resistor of each of the memories.

2. The termination resistance adjustment program according to claim 1,

5. The process of determining includes: when it is determined that the criterion is not satisfied based on the fourth common eye pattern, a fifth memory eye pattern of each of the memories is measured for a combination after changing any value of the identified combination to another value of the plurality of setting values; determining whether the criterion is satisfied based on a fifth common eye pattern obtained by superimposing the fifth memory eye patterns of the measured memories; when it is determined that the criterion is satisfied based on the fifth common eye pattern, the changed combination is determined as a setting value of the termination resistor of each of the memories.

5. The termination resistance adjustment program according to claim 4.

6. The process of determining includes: when it is determined that the criterion is not satisfied based on the fourth common eye pattern, identifying a memory that reduces the fourth common eye pattern from among the plurality of memories based on a fourth memory eye pattern of each of the memories; measuring a fifth memory eye pattern of each of the memories for a combination after changing a value of a termination resistance of another memory, which is different from the specified memory, among the specified combinations to another value among the plurality of set values; 6. The termination resistance adjustment program according to claim 5,

7. The process of measuring the first memory eye pattern includes: setting an initial value for each of the termination resistors of each of the memories and measuring a first eye pattern of each of the data signals read from each of the memories; measuring a first memory eye pattern of each of the memories by aligning and superimposing the first eye patterns of each of the measured data signals at a strobe point; The process of measuring the second memory eye pattern includes: measuring a second eye pattern of each of the data signals read from each of the memories for each of the specific combinations; measuring a second memory eye pattern of each of the memories by aligning and superimposing the measured second eye patterns of each of the data signals at a strobe point; 2. The termination resistance adjustment program according to claim 1,

8. setting an initial value for each of the termination resistors of a plurality of memories connected to a CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; estimating a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories so as to satisfy a standard regarding a transmission quality between the CPU and each of the memories based on the estimated third memory eye pattern of each of the memories; A termination resistance adjustment method, the processing of which is executed by a computer.

9. setting an initial value for each of the termination resistors of a plurality of memories connected to a CPU in the own device via a memory bus, and measuring a first memory eye pattern of each of the memories; measuring a second memory eye pattern of each of the memories for each specific combination that can be obtained when any of a minimum value or a maximum value of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set among all combinations that can be obtained when any of a plurality of setting values ​​that can be set to the termination resistor of each of the memories is set; estimating a third memory eye pattern of each of the memories for each of the combinations other than the initial value and the specific combination among all the combinations based on the measured first memory eye pattern of each of the memories and the second memory eye pattern of each of the memories; determining a setting value of a termination resistor of each of the memories so as to satisfy a standard regarding a transmission quality between the CPU and each of the memories based on the estimated third memory eye pattern of each of the memories; An information processing device comprising a control unit.

Citation Information

Patent Citations

  • Memory module, method for using the same, and memory system

    JP2009294864A

Cited By

  • On-die termination optimization

    US12468649B2

  • On-die termination optimization

    US20250045234A1