Oscilloscope-based read-write separation method and storage medium

Through the triggering method of the oscilloscope and the shielding area setting, the read and write signals of the memory chip are separated, solving the complex problem of signal integrity testing in the prior art, and achieving accurate evaluation and separation of read and write signals.

CN119479766APending Publication Date: 2025-02-18SHENZHEN RAYSON TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510067043.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-16
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The prior art is difficult to effectively separate the read and write signals of memory chips such as DDR4, LPDDR4 and LPDDR5, resulting in complex signal integrity testing and the inability to accurately evaluate the signal integrity of read and write commands.

Method used

By connecting the oscilloscope probe to the signal line of the memory chip, setting the triggering method of the oscilloscope, setting the shielding area to shield the signal waveform diagram to obtain a single signal waveform diagram. Based on the trigger signal waveform and eye diagram, the single signal waveform diagram is determined as a waveform diagram of a read signal or a write signal, thereby evaluating its signal integrity.

Benefits of technology

It realizes effective separation of read signals and write signals, can accurately evaluate the signal integrity of read commands and write commands, and improves the efficiency and reliability of signal integrity testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119479766A_ABST
    Figure CN119479766A_ABST
Patent Text Reader

Abstract

The invention discloses a read-write separation method based on an oscilloscope and a storage medium, and relates to the technical field of storage chips. The method comprises the following steps: connecting a probe of an oscilloscope with a signal line of a storage chip, and setting a triggering mode of the oscilloscope; acquiring a signal oscillogram of the storage chip through an oscilloscope; setting a shielding area according to the triggering mode, and shielding the signal oscillogram according to the shielding area to obtain a single signal oscillogram; according to the trigger signal waveform and the eye pattern, determining that the single-signal oscillogram is a read signal oscillogram or a write signal oscillogram; and determining the signal integrity of the read signal or the write signal according to the eye pattern. According to the method provided by the embodiment of the invention, by setting the trigger mode of the oscilloscope and the shielding area, read-write separation can be performed on the read signal and the write signal, and whether the read signal / write signal is shielded is determined according to the trigger signal waveform and the eye pattern, so that the signal integrity of the read signal and the write signal can be determined according to the eye pattern.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of storage chips, and in particular to an oscilloscope-based read-write separation method and a storage medium. Background Art

[0002] Signal integrity (SI) refers to the ability to maintain the accuracy and reliability of signals in a circuit or communication system. The quality of SI directly affects the performance and reliability of the system, so it is very important to perform SI testing on products during the new product introduction stage.

[0003] At present, for memory chips such as DDR4, LPDDR4 and LPDDR5, the signal integrity test is difficult because it is impossible to effectively separate the read and write signals, resulting in a complex waveform diagram, which makes it impossible to accurately evaluate the signal integrity of the read and write commands. In the prior art, when testing signal integrity, the main control chip is usually used to perform read and write commands to perform corresponding read or write tests respectively, which is inefficient and cannot fully reflect the waveform under normal working conditions, and the reliability of signal integrity testing is not high. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention proposes an oscilloscope-based read-write separation method and storage medium, which can effectively separate read and write signals and accurately evaluate the signal integrity of read commands and write commands.

[0005] In a first aspect, according to an oscilloscope-based read-write separation method according to an embodiment of the present invention, the method comprises the following steps: Connecting the probe of the oscilloscope to the signal line of the storage chip, and setting the trigger mode of the oscilloscope; the storage chip is a DDR4 chip or a LPDDR4 chip; Acquire a signal waveform diagram of the storage chip through the oscilloscope; According to the trigger mode, a shielding area is set, and the signal waveform diagram is shielded according to the shielding area to obtain a single signal waveform diagram; the single signal waveform diagram includes a trigger signal waveform and an eye diagram; Determining, according to the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal; The signal integrity of the read signal or the write signal is determined based on the eye diagram.

[0006] According to some embodiments of the present invention, the step of connecting a probe of an oscilloscope to a signal line of a storage chip and setting a trigger mode of the oscilloscope includes: Connecting the probe of the oscilloscope to the CLK signal line, the DQS signal line and the DQ signal line of the memory chip; Set the trigger mode of the oscilloscope to DQS trigger. According to some embodiments of the present invention, when the memory chip is a DDR4 chip, the step of determining, based on the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal comprises: Obtaining a rising edge of the trigger signal waveform; When the rising edge of the trigger signal waveform is aligned with the edge of the eye diagram, the single signal waveform diagram is a waveform diagram of a read signal; When the rising edge of the trigger signal waveform is aligned with the center of the eye diagram, the single signal waveform diagram is a waveform diagram of a write signal.

[0007] According to some embodiments of the present invention, when the memory chip is an LPDDR4 chip, the step of determining, based on the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal includes: Determine whether the trigger signal waveform has a pull-down leading signal; If the trigger signal waveform has a pull-down leading signal, and the eye diagram begins to appear at the end of the pull-down leading signal, the single signal waveform diagram is a waveform diagram of a read signal; If the trigger signal waveform does not have a pull-down leading signal, and the eye diagram begins to appear after the second cycle of the trigger signal waveform, the single signal waveform diagram is a waveform diagram of a write signal. According to some embodiments of the present invention, the step of determining the signal integrity of the read signal or the write signal according to the eye diagram includes: measuring an eye width and an eye height of the eye diagram; The signal integrity of the read signal or the write signal is determined according to the eye width and the eye height of the eye diagram. In a second aspect, the read-write separation method based on an oscilloscope according to an embodiment of the present invention comprises the following steps: Connecting the probe of the oscilloscope to the signal line of the memory chip; the memory chip is an LPDDR5 chip; Setting the oscilloscope to a first trigger mode to obtain an eye diagram of a read signal of the storage chip; Determining the signal integrity of the read signal according to the eye diagram of the read signal; Setting the oscilloscope to a second trigger mode to obtain an eye diagram of a write signal of the storage chip; The signal integrity of the write signal is determined according to the eye diagram of the write signal.

[0008] According to some embodiments of the present invention, the step of connecting the probe of the oscilloscope to the signal line of the storage chip includes: The probe of the oscilloscope is connected to the WCK signal line, the RDQS signal line and the DQ signal line of the memory chip.

[0009] According to some embodiments of the present invention, the step of setting the oscilloscope to a first trigger mode to obtain an eye diagram of a read signal of the storage chip includes: Set the trigger mode of the oscilloscope to RDQS trigger; When RDQS is triggered, an eye diagram of a read signal of the memory chip is obtained.

[0010] According to some embodiments of the present invention, the step of setting the oscilloscope to the second trigger mode to obtain the eye diagram of the write signal of the storage chip includes: Set the trigger mode of the oscilloscope to WCK trigger; The RDQS signal line is shielded to obtain an eye diagram of a write signal of the memory chip.

[0011] In a third aspect, according to a storage medium of an embodiment of the present invention, the storage medium stores computer executable instructions, and the computer executable instructions are used to enable a computer to execute the oscilloscope-based read-write separation method described in the first aspect or the second aspect.

[0012] The oscilloscope-based read-write separation method and storage medium according to the embodiments of the present invention have at least the following beneficial effects: by setting the trigger mode of the oscilloscope and setting the shielding area, the read signal and the write signal can be read and written separately, and according to the trigger signal waveform and the eye diagram, it is determined that the read signal / write signal is shielded, so that the signal integrity of the read signal and the write signal can be determined according to the eye diagram. Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 It is a flowchart of the steps of the read-write separation method based on an oscilloscope according to an embodiment of the present invention; Figure 2 A schematic diagram of a signal waveform diagram displayed by an oscilloscope according to an embodiment of the present invention; Figure 3 This is a schematic diagram of an oscilloscope shielding a signal waveform using a shielding area; Figure 4 This is a schematic diagram of an oscilloscope shielding a signal waveform using another shielding area; Figure 5This is a waveform diagram of a read signal of a DDR4 chip according to an embodiment of the present invention; Figure 6 This is a waveform diagram of a write signal of a DDR4 chip according to an embodiment of the present invention; Figure 7 is a waveform diagram of a read signal of an LPDDR4 chip according to an embodiment of the present invention; Figure 8 This is a waveform diagram of a write signal of the LPDDR4 chip according to an embodiment of the present invention; Fig. 9 A flowchart of a read-write separation method based on an oscilloscope according to another embodiment of the present invention; Fig.10 This is a waveform diagram of a read signal of the LPDDR5 chip according to an embodiment of the present invention; Fig.11 This is a waveform diagram of a write signal of the LPDDR5 chip according to an embodiment of the present invention. DETAILED DESCRIPTION Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and are not to be construed as limitations on the present application. For the step numbers in the following embodiments, they are only provided for the convenience of explanation, and the order between the steps is not limited in any way, and the execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.

[0014] In the description of the present invention, it should be understood that descriptions involving orientations, such as up, down, front, back, left, right, etc., and orientations or positional relationships indicated are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0015] The terms "first", "second", "third" and "fourth" etc. in the specification and claims of the present invention and the drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.

[0016] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0017] Signal integrity (SI) refers to the ability to maintain the accuracy and reliability of signals in a circuit or communication system. The quality of SI directly affects the performance and reliability of the system, so it is very important to perform SI testing on products during the new product introduction stage.

[0018] At present, for memory chips such as DDR4, LPDDR4 and LPDDR5, the signal integrity test is difficult because it is impossible to effectively separate the read and write signals, resulting in a complex waveform diagram, which makes it impossible to accurately evaluate the signal integrity of the read and write commands. In the prior art, when testing signal integrity, the main control chip is usually used to perform read and write commands to perform corresponding read or write tests respectively, which is inefficient and cannot fully reflect the waveform under normal working conditions, and the reliability of signal integrity testing is not high.

[0019] To this end, an embodiment of the present invention provides a read-write separation method and storage medium based on an oscilloscope. By setting the trigger mode of the oscilloscope and setting a shielding area, the read signal and the write signal can be separated from each other, and based on the trigger signal waveform and the eye diagram, it is determined that the read signal / write signal is shielded, so that the signal integrity of the read signal and the write signal can be determined based on the eye diagram. The following is an explanation of the terms that appear in this application: DDR4: Double Data Rate Fourth Generation Synchronous Dynamic Random-Access Memory, is a computer memory specification. It is the successor to DDR3 memory and was originally standardized by JEDEC (Joint Electron Device Engineering Council) in 2012. DDR4 aims to reduce energy consumption while increasing data transfer rates, storage density and bandwidth, and reducing latency.

[0020] LPDDR4: Low Power Double Data Rate 4 SDRAM, the fourth generation of low power double data rate synchronous dynamic random access memory, is a memory specification designed for mobile devices. LPDDR4 has the characteristics of low power consumption, small size, high bandwidth and high frequency operation. Its operating voltage is lower than DDR4, which helps to extend the battery life of mobile devices; its small size makes it suitable for mobile devices with limited space; LPDDR4 can provide huge bandwidth on a very small PCB area and volume, meeting the needs of mobile devices for high-speed data transmission; LPDDR4 chips can operate at high frequency at low voltage, achieving the optimization of power efficiency. LPDDR4 signals include differential clock, clock enable signal, chip select signal, command address signal, data signal, DQS signal and DMI signal, etc. These signals work together to achieve efficient data transmission and control.

[0021] LPDDR5: Low Power Double Data Rate 5 SDRAM, the fifth generation of low-power double data rate synchronous dynamic random access memory, is a memory specification designed specifically for mobile devices.

[0022] DQ: Data Queue, that is, data transmission signal, contains the real data information. It is bidirectional, which means that data can be transmitted in two directions: from the memory controller to the memory (write operation), and from the memory to the memory controller (read operation). The DQ signal is the main body of the data channel and is responsible for transmitting the actual data bits between the memory and the memory controller.

[0023] DQS: Data Strobe, or data strobe signal, is a synchronous signal used to accurately distinguish each transmission cycle within the clock cycle to ensure that the receiver can accurately receive the data. The DQS signal is also bidirectional and is transmitted synchronously with the DQ signal. During a write operation, the DQS signal is sent by the memory controller to synchronize the writing of data; during a read operation, the DQS signal is sent by the memory to synchronize the reading of data. The DQS signal is sent at a specific time point in each clock cycle to indicate the validity of the data. The memory controller determines when to sample the data based on the edge of the DQS signal. This mechanism ensures the accuracy and stability of data transmission.

[0024] Eye diagram: Eye diagram is an important tool for evaluating signal integrity and timing stability. An eye diagram is a signal waveform observed through an oscilloscope, which shows the changes of the data signal within a specific time window. The eye diagram is generated by capturing the synchronization relationship between DQS (data selection signal) and DQ (data signal), as well as their voltage changes at different time points. The eye diagram is usually displayed as an eye-like figure, which contains the rising edge, falling edge, and voltage level of the signal at different time points.

[0025] The following describes in detail the read-write separation method and storage medium based on an oscilloscope according to an embodiment of the present invention in conjunction with the accompanying drawings.

[0026] On the one hand, the embodiment of the present invention proposes a read-write separation method based on an oscilloscope, such as Figure 1 As shown, the method comprises the following steps: Step S100: Connect the probe of the oscilloscope to the signal line of the storage chip, and set the trigger mode of the oscilloscope; the storage chip is a DDR4 chip or a LPDDR4 chip; Step S200: an oscilloscope obtains a signal waveform diagram of a storage chip; Step S300: according to the trigger mode, a shielding area is set, and the signal waveform diagram is shielded according to the shielding area to obtain a single signal waveform diagram; the single signal waveform diagram includes a trigger signal waveform and an eye diagram; Step S400: determining whether the single signal waveform is a waveform of a read signal or a write signal according to the trigger signal waveform and the eye diagram; Step S500: Determine the signal integrity of the read signal or the write signal according to the eye diagram.

[0027] Specifically, by connecting the probe of the oscilloscope to the signal line of the storage chip, the oscilloscope can collect the signal waveform of the storage chip during the reading and writing process; by setting the trigger mode of the oscilloscope, the display content of the oscilloscope can be changed. Since both read and write operations are involved in the work of the storage chip, the signal waveform diagram obtained by the oscilloscope is a signal waveform diagram after the read operation and the write operation are superimposed. The waveform is relatively complex and it is difficult to evaluate the signal integrity of the read signal and the write signal. Therefore, it is necessary to set a shielding area, shield the read signal or the write signal in the signal waveform diagram, separate the reading and writing, and leave only a single signal waveform diagram of a single signal. At this time, the signal integrity of the read signal or the write signal can be judged according to the single signal waveform diagram. It should be noted that after setting the shielding area, it is also necessary to determine whether the shielded signal is the read signal or the write signal. At this time, it is necessary to judge whether the waveform of the read signal or the write signal is retained according to the trigger signal waveform and the eye diagram in the single signal waveform diagram.

[0028] It should be noted that, for a DDR4 chip or LPDDR4 chip, the signal lines of the memory chip to which the probe of the oscilloscope needs to be connected generally include a CLK signal line (clock signal), a DQ signal line (data signal), and a DQS signal line (data selection signal). Therefore, the above step S100: connecting the probe of the oscilloscope to the signal line of the memory chip and setting the trigger mode of the oscilloscope includes the following two steps: (1) Connect the oscilloscope probe to the CLK signal line, DQS signal line, and DQ signal line of the memory chip; (2) Set the oscilloscope’s trigger mode to DQS trigger.

[0029] Specifically, after the probe of the oscilloscope is connected to the CLK signal line, DQS signal line and DQ signal line of the memory chip, the display content of the oscilloscope is as follows by default: Figure 2 As shown in the figure, the three waveforms from top to bottom are the waveform of the CLK signal line, the waveform of the DQS signal line, and the waveform of the DQ signal line. Since the three waveforms are all formed by the superposition of the read signal and the write signal, the signal waveforms are relatively complex, and it is difficult to detect the signal integrity of the read signal and the write signal. In order to facilitate the detection of signal integrity, it is necessary to separate the read and write signals. At this time, set the trigger mode of the oscilloscope to DQS trigger to facilitate subsequent read and write separation.

[0030] In order to perform read-write separation, it is necessary to set a shielding area in the DQS trigger mode so that the signal passing through the shielding area is shielded, thereby shielding the read signal or the write signal. Figure 3 and Figure 4 As shown, by setting different shielding areas, the read signal or the write signal can be shielded, and only a single signal waveform diagram of a single signal is retained. In the case of a single signal waveform diagram, the signal integrity can be easily detected.

[0031] Take the memory chip as DDR4 chip as an example. Figure 5 and Figure 6 As shown, after shielding one of the read signal and the write signal, the obtained single signal waveform includes a trigger signal waveform (green waveform) and an eye diagram (blue waveform). Since the trigger mode adopted is DQS trigger, in this example, the trigger signal waveform refers to the waveform of the DQS signal line. In order to determine whether the single signal waveform retained after shielding the shielding area is the waveform of the read signal or the waveform of the write signal, it is necessary to determine it based on the trigger signal waveform and the eye diagram. In this example, the above-mentioned step S400: determining whether the single signal waveform is a waveform of a read signal or a write signal based on the trigger signal waveform and the eye diagram, includes the following three steps: (1) Obtain the rising edge of the trigger signal waveform; (2) When the rising edge of the trigger signal waveform is aligned with the edge of the eye diagram, the single signal waveform is the waveform of the read signal; (3) When the rising edge of the trigger signal waveform is aligned with the center of the eye diagram, the single signal waveform is the waveform of the write signal.

[0032] like Figure 5 As shown in the single signal waveform, the rising edge of the trigger signal waveform is aligned with the edge of the eye diagram. According to the characteristics of the read signal, it can be determined that the single signal waveform is the waveform of the read signal, and the waveform that is shielded is the waveform of the write signal. Figure 6 As shown, in the single signal waveform diagram, the rising edge of the trigger signal waveform is aligned with the center of the eye diagram. According to the characteristics of the write signal, it can be determined that the single signal waveform diagram is the waveform diagram of the write signal, and the waveform diagram of the read signal is shielded.

[0033] Take the LPDDR4 chip as an example. Figure 7 and Figure 8 As shown, after shielding one of the read signal and the write signal, the obtained single signal waveform includes a trigger signal waveform and an eye diagram. Since the trigger mode adopted is DQS trigger, in this example, the trigger signal waveform refers to the waveform of the DQS signal line. In order to determine whether the single signal waveform retained after shielding the shielding area is the waveform of the read signal or the waveform of the write signal, it is necessary to determine it based on the trigger signal waveform and the eye diagram. In this example, the above-mentioned step S400: determining whether the single signal waveform is a waveform of the read signal or the write signal based on the trigger signal waveform and the eye diagram, includes the following three steps: (1) Determine whether there is a pull-down leading signal in the trigger signal waveform; (2) If the trigger signal waveform has a pull-down leading signal, and at the end of the pull-down leading signal, the eye diagram begins to appear, the single signal waveform is the waveform of the read signal; (3) If there is no pull-down leading signal in the trigger signal waveform, and the eye diagram begins to appear after the second cycle of the trigger signal waveform, the single signal waveform is the waveform of the write signal.

[0034] Specifically, Figure 7 As shown in the figure, by observing the trigger signal waveform, it can be seen that the trigger signal waveform first goes through a period of pull-down, and then a periodic signal begins to appear. This period of pulled-down signal is the pull-down leading signal. After the pull-down leading signal ends, the eye diagram begins to appear, which means that the single signal waveform is the waveform of the read signal, and the waveform that is shielded is the waveform of the write signal.

[0035] like Figure 8As shown, by observing the trigger signal waveform, it can be seen that the trigger signal waveform does not have a pull-down leading signal, and the eye diagram begins to appear after the second cycle of the trigger signal waveform, indicating that the single signal waveform is the waveform of the write signal, and the waveform that is shielded is the waveform of the read signal.

[0036] After the write signal and the read signal are separated, the eye diagrams of the write signal and the read signal can be obtained respectively, and the eye diagrams at this time are easy to detect and observe. In this example, the above step S500: determining the signal integrity of the read signal or the write signal according to the eye diagram includes the following two steps: (1) Measure the eye width and eye height of the eye diagram; (2) Determine the signal integrity of the read or write signal based on the eye width and eye height of the eye diagram.

[0037] Among them, the eye height refers to the vertical distance from the center of the eye diagram (usually the average voltage level of the signal) to the top of the eye diagram (i.e. the maximum voltage value of the signal) or the bottom of the eye diagram (i.e. the minimum voltage value of the signal). This parameter reflects the voltage fluctuation range of the signal, as well as the noise and distortion that the signal may suffer during transmission. The size of the eye height directly affects the quality of data reception. If the eye height is too small, the data may not be correctly parsed at the receiving end, thereby increasing the bit error rate; the larger the eye height, the better the voltage stability of the signal and the stronger the anti-interference ability. Therefore, during the design and testing phase, it is necessary to ensure that the eye height of the memory chip meets certain requirements to ensure data stability and reliability.

[0038] Eye width refers to the width of the eye diagram in the horizontal direction, which represents the time range in which the signal remains stable within a specific time window. This parameter reflects the timing stability of the signal, as well as the jitter and delay that the signal may suffer during transmission. The larger the eye width, the better the timing stability of the signal and the smaller the time error of the data during transmission.

[0039] Therefore, by measuring the eye width and eye height of the eye diagram, it is possible to determine whether the signal integrity meets the requirements.

[0040] According to the oscilloscope-based read-write separation method of an embodiment of the present invention, by setting the trigger mode of the oscilloscope and setting the shielding area, the read signal and the write signal can be read and written separately, and according to the trigger signal waveform and the eye diagram, it is determined that the shielded signal is the read signal / write signal, so that the signal integrity of the read signal and the write signal can be determined according to the eye diagram. On the other hand, the embodiment of the present invention also proposes another read-write separation method based on an oscilloscope, such as Fig. 9 As shown, the method comprises the following steps: Step S600: Connecting the probe of the oscilloscope to the signal line of the memory chip; the memory chip is an LPDDR5 chip; Step S700: setting the oscilloscope to a first trigger mode to obtain an eye diagram of a read signal of a memory chip; Step S800: determining the signal integrity of the read signal according to the eye diagram of the read signal; Step S900: setting the oscilloscope to the second trigger mode to obtain an eye diagram of a write signal of the storage chip; Step S1000: determining the signal integrity of the write signal according to the eye diagram of the write signal.

[0041] It should be noted that for LPDDR5 chips, LPDDR5 strips out the CLK (clock signal), making CLK run at a low frequency, and the data transmission clock becomes the WCK (write clock) signal, with the relationship of WCK:CK=4:1 or 2:1. Compared with LPDDR4 chips, there is no DQS signal for write operations, and the clock (CLK) and synchronization signal (DQS) for write operations are both WCK. At this time, using WCK to trigger will cause DQ reading and writing to occur at the same time, and read-write separation cannot be performed. However, if we connect the RDQS signal line (read DQS signal) of the memory chip to the oscilloscope, when there is no pulse signal in RDQS, the DQ signal is the DQ signal of the write operation. It should be noted that for LPDDR5 chips, the triggering method of the oscilloscope is different when obtaining the signal waveform diagram of the read signal and the signal waveform diagram of the write signal.

[0042] Specifically, when it is necessary to obtain a signal waveform diagram of a read operation, the probe of the oscilloscope is connected to the WCLK signal line, RDQS signal line (read DQS signal) and DQ signal line of the memory chip to obtain the signal waveform diagram of the memory chip. The above step S700: setting the oscilloscope to the first trigger mode to obtain the eye diagram of the read signal of the memory chip includes the following two steps: (1) Set the trigger mode of the oscilloscope to RDQS trigger; (2) When RDQS is triggered, obtain the eye diagram of the read signal of the memory chip.

[0043] When set to RDQS trigger, the oscilloscope will only display the signal waveform of the read signal of the memory chip, such as Fig.10 As shown in the figure, the RDQS waveform also has a pull-down leading signal. After the pull-down leading signal ends, the eye diagram begins to display. At this time, the eye diagram is the eye diagram of the read signal. By measuring the eye width and eye height of the eye diagram, the signal integrity of the read signal can be detected.

[0044] When the signal integrity of the write operation is to be detected, the above step S900: setting the oscilloscope to the second trigger mode to obtain the eye diagram of the write signal of the memory chip includes the following two steps: (1) Set the trigger mode of the oscilloscope to WCK trigger; (2) Shield the RDQS signal line and obtain the eye diagram of the write signal of the memory chip.

[0045] For LPDDR5 chips, there is no DQS signal in the write operation. The clock (CLK) and synchronization signal (DQS) of the write operation are both WCK. At this time, using WCK to trigger will cause DQ reading and writing to occur at the same time, and read-write separation cannot be performed. However, if the RDQS signal line is shielded, when there is no RDQS pulse signal, the DQ signal is the DQ signal of the write operation, such as Fig.11 The eye diagram at this time is the eye diagram of the write signal. By measuring the eye width and eye height of the eye diagram, the signal integrity of the write signal can be detected.

[0046] According to the oscilloscope-based read-write separation method of an embodiment of the present invention, by changing the trigger mode of the oscilloscope and setting whether to shield the RDQS signal, the read signal and the write signal of the LPDDR5 chip can be read and written separately, so that the signal integrity of the read signal and the write signal can be determined according to the eye diagram. On the other hand, an embodiment of the present invention further provides a storage medium, which is a computer-readable storage medium and stores a computer program. When the computer program is executed by a processor, the above-mentioned oscilloscope-based read-write separation method is implemented.

[0047] As a non-transient computer-readable storage medium, the memory can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage devices. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The device embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and are implemented to be located in one place, or may also be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0048] Although specific embodiments are described herein, those of ordinary skill in the art will recognize that many other modifications or alternative embodiments are also within the scope of the present disclosure. For example, any of the functions and / or processing capabilities described in conjunction with a particular device or component may be performed by any other device or component. In addition, although various exemplary implementations and architectures have been described according to embodiments of the present disclosure, those of ordinary skill in the art will recognize that many other modifications to the exemplary implementations and architectures described herein are also within the scope of the present disclosure.

[0049] Some aspects of the present disclosure are described above with reference to the block diagram and flow chart of the system, method, system and / or computer program product according to the exemplary embodiments.It should be understood that the combination of one or more blocks in the block diagram and the flow chart and the blocks in the block diagram and the flow chart can be realized by executing computer executable program instructions respectively.Equally, according to some embodiments, some blocks in the block diagram and the flow chart may not need to be executed in the order shown, or may not need to be executed in full.In addition, additional components and / or operations beyond those components and / or operations shown in the blocks in the block diagram and the flow chart may be present in certain embodiments.

[0050] Therefore, the blocks in the block diagrams and flow charts support the combination of devices for performing the specified functions, the combination of elements or steps for performing the specified functions, and the program instruction devices for performing the specified functions. It should also be understood that each block in the block diagrams and flow charts and the combination of blocks in the block diagrams and flow charts can be implemented by a special-purpose hardware computer system or a combination of special-purpose hardware and computer instructions that performs a specific function, element or step.

[0051] The program modules, applications, etc. described herein may include one or more software components, including, for example, software objects, methods, data structures, etc. Each such software component may include computer-executable instructions that, in response to execution, cause at least a portion of the functionality described herein (e.g., one or more operations of the illustrative methods described herein) to be performed.

[0052] Software components can be encoded with any of various programming languages. An exemplary programming language can be a low-level programming language, such as an assembly language associated with a specific hardware architecture and / or an operating system platform. The software component comprising assembly language instructions may need to be converted to executable machine code by an assembler before being executed by hardware architecture and / or platform. Another exemplary programming language can be a higher-level programming language, which can be transplanted across multiple architectures. The software component comprising a higher-level programming language may need to be converted to an intermediate representation by an interpreter or a compiler before execution. Other examples of programming languages ​​include but are not limited to macro languages, shells or command languages, job control languages, scripting languages, database queries or search languages ​​or report writing languages. In one or more exemplary embodiments, the software component comprising the instruction of one of the above-mentioned programming language examples can be directly executed by an operating system or other software components, without first being converted into another form.

[0053] Software components may be stored as files or other data storage structures. Software components of similar type or related functions may be stored together, such as in a specific directory, folder, or library. Software components may be static (e.g., preset or fixed) or dynamic (e.g., created or modified at execution time).

[0054] The embodiments of the present invention are described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A read-write separation method based on an oscilloscope, characterized in that: The method comprises the following steps: Connecting the probe of the oscilloscope to the signal line of the storage chip, and setting the trigger mode of the oscilloscope; the storage chip is a DDR4 chip or a LPDDR4 chip; Acquire a signal waveform diagram of the storage chip through the oscilloscope; According to the trigger mode, a shielding area is set, and the signal waveform diagram is shielded according to the shielding area to obtain a single signal waveform diagram; the single signal waveform diagram includes a trigger signal waveform and an eye diagram; Determining, according to the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal; The signal integrity of the read signal or the write signal is determined based on the eye diagram.

2. The read-write separation method based on an oscilloscope according to claim 1, characterized in that: The step of connecting the probe of the oscilloscope to the signal line of the storage chip and setting the trigger mode of the oscilloscope includes: Connecting the probe of the oscilloscope to the CLK signal line, the DQS signal line and the DQ signal line of the memory chip; Set the trigger mode of the oscilloscope to DQS trigger.

3. The read-write separation method based on an oscilloscope according to claim 2, characterized in that: When the memory chip is a DDR4 chip, the step of determining, based on the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal comprises: Obtaining a rising edge of the trigger signal waveform; When the rising edge of the trigger signal waveform is aligned with the edge of the eye diagram, the single signal waveform diagram is a waveform diagram of a read signal; When the rising edge of the trigger signal waveform is aligned with the center of the eye diagram, the single signal waveform diagram is a waveform diagram of a write signal.

4. The read-write separation method based on an oscilloscope according to claim 2, characterized in that: When the memory chip is an LPDDR4 chip, the step of determining, according to the trigger signal waveform and the eye diagram, that the single signal waveform diagram is a waveform diagram of a read signal or a write signal comprises: Determine whether the trigger signal waveform has a pull-down leading signal; If the trigger signal waveform has a pull-down leading signal, and the eye diagram begins to appear at the end of the pull-down leading signal, the single signal waveform diagram is a waveform diagram of a read signal; If the trigger signal waveform does not have a pull-down leading signal, and the eye diagram begins to appear after the second cycle of the trigger signal waveform, the single signal waveform diagram is a waveform diagram of a write signal.

5. The read-write separation method based on an oscilloscope according to claim 1, characterized in that: The step of determining the signal integrity of a read signal or a write signal according to the eye diagram comprises: measuring an eye width and an eye height of the eye diagram; The signal integrity of the read signal or the write signal is determined according to the eye width and the eye height of the eye diagram.

6. A read-write separation method based on an oscilloscope, characterized in that: The following steps are involved: Connecting the probe of the oscilloscope to the signal line of the memory chip; the memory chip is an LPDDR5 chip; Setting the oscilloscope to a first trigger mode to obtain an eye diagram of a read signal of the storage chip; Determining the signal integrity of the read signal according to the eye diagram of the read signal; Setting the oscilloscope to a second trigger mode to obtain an eye diagram of a write signal of the storage chip; The signal integrity of the write signal is determined according to the eye diagram of the write signal.

7. The read-write separation method based on an oscilloscope according to claim 6, characterized in that: The step of connecting the probe of the oscilloscope to the signal line of the storage chip includes: The probe of the oscilloscope is connected to the WCK signal line, the RDQS signal line and the DQ signal line of the memory chip.

8. The read-write separation method based on an oscilloscope according to claim 7, characterized in that: The step of setting the oscilloscope to the first trigger mode to obtain the eye diagram of the read signal of the storage chip includes: Set the trigger mode of the oscilloscope to RDQS trigger; When RDQS is triggered, an eye diagram of a read signal of the memory chip is obtained.

9. The read-write separation method based on an oscilloscope according to claim 7, characterized in that: The step of setting the oscilloscope to the second trigger mode to obtain the eye diagram of the write signal of the storage chip includes: Set the trigger mode of the oscilloscope to WCK trigger; The RDQS signal line is shielded to obtain an eye diagram of a write signal of the memory chip.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the oscilloscope-based read-write separation method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • DDR4 memory signal testing method and device and storage medium

    CN114005487A

  • Waveform display method

    JP2009236765A