Multi-channel parallel digital eye diagram generation method and device, computer equipment and medium
By scanning and comparing the maximum and minimum reference voltage values of each channel in multi-channel parallel digital eye diagram generation and calculating the intermediate value of the reference voltage, the problems of eye diagram deviation and data loss in the prior art are solved, and more stable is achieved The multi-channel parallel digital eye diagram generation improves the stability of signal operation.
Patent Information
- Application Number
- CN202411243390.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-12-31
AI Technical Summary
The existing multi-channel parallel digital eye diagram generation method. During the initial training process of product power-on initialization, the selected minimum channel eye diagram leads to eye diagram deviation, and only takes 80% range, failing to obtain the maximum eye diagram range, resulting in data loss and operation. Problem of instability.
By scanning the maximum reference voltage value corresponding to the maximum horizontal opening width of each channel, determine the reference voltage value of the minimum horizontal opening width on both sides, and calculate the intermediate value of the reference voltage to ensure that the eye diagram of all channels generates a stable, eye-catching, Multi-channel parallel collection of digital eye diagrams with better height and eye width.
It solves the problem of severe deviation of eye diagrams and the failure to obtain the maximum eye diagram opening range, improves the stability of high-speed signal operation, and avoids the problems of data loss and unstable operation.
Smart Images

Figure CN119224397A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of signal processing technology, and more specifically to a method, device, computer equipment and medium for generating multi-channel parallel digital eye diagrams. Background Art
[0002] During the product power-on initialization training process, the existing project generates multi-channel parallel digital eye diagrams by first finding the Vref value corresponding to the maximum Eye width A, taking 80% of the range with Vref as the center to obtain the Eye width B value, and selecting an eye diagram of the smallest channel as the final eye diagram. This generation method has defects, that is, the Vref value used in the smallest channel eye diagram selected by this method will cause serious deviation in the eye diagram of another channel when it corresponds to another channel. In addition, only the 80% range centered on Vref is taken, and the maximum range is not obtained in Eye height H. As a result, data loss and unstable operation of the product may occur during operation. Summary of the invention
[0003] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a multi-channel parallel digital eye diagram generation method, device, computer equipment and medium, aiming to avoid the problem of eye diagram shifting to one side.
[0004] To achieve the above object, the present invention adopts the following technical solutions:
[0005] In a first aspect, the present invention provides a method for generating a multi-channel parallel digital eye diagram, comprising:
[0006] Scan and determine the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel;
[0007] Based on the maximum horizontal opening width position of the eye diagram, determining the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof;
[0008] Compare the first reference voltage value and the second reference voltage value of all channels to find the smallest first reference voltage value and second reference voltage value among all channels;
[0009] The reference voltage intermediate value is calculated according to the smallest first reference voltage value and second reference voltage value among all the channels found.
[0010] Further, the scanning and determining the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel includes:
[0011] Set the reference voltage range and scan step size;
[0012] The horizontal opening width of the eye diagram is measured and recorded step by step according to the scanning step length from the lowest reference voltage value in the set reference voltage range;
[0013] The reference voltage values corresponding to the horizontal opening widths of the recorded eye diagrams are compared to find out the maximum reference voltage value corresponding to the eye diagram with the maximum horizontal opening width.
[0014] Furthermore, the method of determining the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the maximum horizontal opening width position of the eye diagram comprises:
[0015] Set the range and scanning step length of the eye diagram from the maximum horizontal opening width to both sides;
[0016] Scan upward and scan downward from the maximum horizontal opening width position according to the set scanning range and scanning step to both sides, so as to record the horizontal opening width corresponding to each reference voltage value during the upward scanning and downward scanning process;
[0017] Comparing the recorded horizontal opening widths corresponding to each reference voltage value during the upward scanning process to find out the reference voltage value corresponding to the smallest horizontal opening width during the upward scanning process, and using it as the first reference voltage value;
[0018] The recorded horizontal opening widths corresponding to each reference voltage value in the downward scanning process are compared to find out the reference voltage value corresponding to the minimum horizontal opening width in the downward scanning process, and use it as the second reference voltage value.
[0019] Furthermore, the reference voltage intermediate value is calculated according to the smallest first reference voltage value and second reference voltage value among all the channels found, and the calculation formula is as follows:
[0020] Vref median = (Vref H + Vref L) / 2;
[0021] In the formula, Vref mid value represents the middle value of the reference voltage, VrefH represents the first reference voltage value, and Vref L represents the second reference voltage value.
[0022] In a second aspect, the present invention further provides a multi-channel parallel digital eye diagram generating device, comprising:
[0023] A first scanning unit, used for scanning and determining a maximum reference voltage value corresponding to a maximum horizontal opening width of an eye diagram in each channel;
[0024] A second scanning unit is used to determine the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the maximum horizontal opening width position of the eye diagram;
[0025] A comparison unit, used for comparing the first reference voltage value and the second reference voltage value of all channels to find the smallest first reference voltage value and second reference voltage value among all channels;
[0026] The calculation unit is used to calculate the reference voltage intermediate value according to the smallest first reference voltage value and second reference voltage value among all the channels found.
[0027] Furthermore, the first scanning unit includes:
[0028] Setting module, used to set reference voltage range and scanning step size;
[0029] A first measuring module is used to gradually measure and record the horizontal opening width of the eye diagram according to the scanning step length from the lowest reference voltage value in the set reference voltage range;
[0030] The first comparison module is used to compare the reference voltage values corresponding to the horizontal opening widths of the recorded eye diagrams to find out the maximum reference voltage value corresponding to the eye diagram with the maximum horizontal opening width.
[0031] Furthermore, the second scanning unit includes:
[0032] A setting module, used to set the range and scanning step length of scanning from the maximum horizontal opening width position of the eye diagram to both sides;
[0033] A scanning and recording module, used to scan upward and downward from the maximum horizontal opening width position according to the set scanning range and scanning step length to both sides, so as to record the horizontal opening width corresponding to each reference voltage value during the upward scanning and downward scanning process;
[0034] A second comparison module is used to compare the horizontal opening widths corresponding to each reference voltage value recorded during the upward scanning process, so as to find out the reference voltage value corresponding to the minimum horizontal opening width during the upward scanning process, and use it as the first reference voltage value;
[0035] The third comparison module is used to compare the horizontal opening widths corresponding to each reference voltage value recorded during the downward scanning process to find out the reference voltage value corresponding to the minimum horizontal opening width during the downward scanning process and use it as the second reference voltage value.
[0036] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-channel parallel digital eye diagram generation method as described above when executing the computer program.
[0037] In a fourth aspect, the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the multi-channel parallel digital eye diagram generation method as described above.
[0038] Compared with the prior art, the beneficial effects of the present invention are as follows: a multi-channel parallel digital eye diagram generation method, comprising: scanning and determining the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel; determining the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the maximum horizontal opening width position of the eye diagram; comparing the first reference voltage value and the second reference voltage value of all channels to find the minimum first reference voltage value and the second reference voltage value in all channels; calculating the reference voltage intermediate value according to the minimum first reference voltage value and the second reference voltage value in all channels found. The present invention obtains the minimum eye diagram after all channels are superimposed in this way to generate a multi-channel parallel collection digital eye diagram with better eye height and eye width, solves the problem of severe eye diagram deviation and failure to obtain the maximum eye diagram opening range, and improves the stability of high-speed signal operation.
[0039] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0041] Figure 1 A flowchart of a method for generating a multi-channel parallel digital eye diagram provided by a specific embodiment of the present invention;
[0042] Figure 2 A schematic block diagram of a multi-channel parallel digital eye diagram generating device provided by a specific embodiment of the present invention;
[0043] Figure 3 A schematic block diagram of a computer device provided for a specific embodiment of the present invention;
[0044] Figure 4 A schematic diagram of the principle of eye diagram generation provided by a specific embodiment of the present invention. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0047] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0048] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0049] The relevant technical terms of this application are explained as follows:
[0050] Eye width A: Mask Timing Window at Vcent_DQ (pin_mid) or VREF. Greater than or equal to AUI (unit: ps).
[0051] Eye width B: Mask TimingWindow atVcent_DQ(pin_mid)±vDIVW_total / 2. Greater than or equal to B UI (unit: ps).
[0052] Eye height H: Mask Voltage Total. Greater than or equal to H (unit: mv)
[0053] Vref: reference voltage (unit: mV).
[0054] VrefH: The vref value when the upper half of the eye diagram of Eye width B meets the B IU value.
[0055] VrefL: The vref value when the lower half of the eye diagram of Eye width B meets the B IU value.
[0056] The present invention is described below by means of specific embodiments.
[0057] like Figure 1 As shown, the embodiment of the present invention provides a multi-channel parallel digital eye diagram generation method, including the following steps: S10-S40.
[0058] S10, scanning and determining the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel.
[0059] The eye diagram is a tool for evaluating the quality of digital communication signals. By analyzing the eye diagram, the integrity and bit error rate of the signal can be determined. Eye width A refers to the horizontal opening width of the eye diagram. A larger Eye width A usually indicates a more stable signal. Find the reference voltage value (Vref) with the largest Eye width A in each channel.
[0060] In one embodiment, step S10 specifically includes the following steps: S101 - S103 .
[0061] S101, setting a reference voltage range and a scanning step length.
[0062] S102 , measuring and recording the horizontal opening width of the eye diagram step by step from the lowest reference voltage value in the set reference voltage range according to the scanning step length.
[0063] S103 , comparing the reference voltage values corresponding to the horizontal opening widths of the recorded eye diagrams to find out the maximum reference voltage value corresponding to the eye diagram with the maximum horizontal opening width.
[0064] For steps S101-S103, Figure 4 As shown, in this embodiment, a reference voltage (Vref) value is set within a range, from the lowest to the highest. For each channel, starting from the lowest Vref value, gradually increase, and measure EyewidthA one by one. Eye widthA represents the horizontal opening width of the eye diagram. By measuring the opening width of the signal at different Vref values, the Eye widthA corresponding to each Vref value can be obtained. Record the Eye widthA corresponding to each Vref value: During the scanning process, record the Eye widthA corresponding to each reference voltage (Vref) value. Find the maximum Eye widthA and its corresponding Vref value:
[0065] Compare the Eye widthA corresponding to each recorded Vref value, and find the Vref value with the largest Eye widthA. Record this Vref value because it corresponds to the most stable signal level (maximum horizontal opening width) in the current channel. Repeat the above process: For each channel, repeat the above process until the maximum Eye widthA and its corresponding Vref value of all channels are found and recorded.
[0066] S20 . Based on the position of the maximum horizontal opening width of the eye diagram, determine the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagrams on both sides thereof.
[0067] Based on the maximum Eye width A position found, scan to both sides to find the two reference voltage values corresponding to the minimum of another characteristic indicator Eyewidth B: VrefH (higher reference voltage) and VrefL (lower reference voltage). These two values represent the position where the width of the eye diagram is the smallest under different voltages.
[0068] In one embodiment, step S20 specifically includes the following steps: S201 - S204 .
[0069] S201, setting the range and scanning step length of scanning from the maximum horizontal opening width position of the eye diagram to both sides.
[0070] S202 , scanning upward and downward respectively from the position of the maximum horizontal opening width according to the set scanning range and scanning step to both sides, so as to record the horizontal opening width corresponding to each reference voltage value during the upward scanning and downward scanning process.
[0071] S203 , comparing the horizontal opening widths corresponding to each reference voltage value recorded during the upward scanning process to find out the reference voltage value corresponding to the smallest horizontal opening width during the upward scanning process, and using it as the first reference voltage value.
[0072] S204 , comparing the horizontal opening widths corresponding to each reference voltage value recorded during the downward scanning process to find out the reference voltage value corresponding to the smallest horizontal opening width during the downward scanning process, and using it as the second reference voltage value.
[0073] For steps S201-S204, Figure 4As shown, in this embodiment, through step S10, the maximum Eye width A of each channel and its corresponding Vref value are found, and this value is recorded as Vref_max_A, and then the range and step length of scanning from the maximum Vref_max_A position to both sides are set. The step length can be determined according to the requirements of the system and the hardware characteristics, and can be either a fixed step length or an adaptive step length. Starting from the Vref_max_A position, scan upward (reduce Vref) and downward (reduce Vref) step by step, wherein, scanning upward, reducing the Vref value, measuring EyewidthB, and recording the Eye width B corresponding to each Vref value; scanning downward, reducing the Vref value, measuring EyewidthB, and recording the EyewidthB corresponding to each Vref value, respectively finding the minimum Eye widthB and its corresponding VrefH and VrefL in the upward and downward scanning processes, VrefH is the first reference voltage value, and VrefL is the second reference voltage value, and recording the minimum VrefH and VrefL values corresponding to Eye widthB.
[0074] S30 , comparing the first reference voltage value and the second reference voltage value of all channels to find the smallest first reference voltage value and second reference voltage value among all channels.
[0075] like Figure 4 As shown, in this embodiment, through step S20, the corresponding VrefH value and VrefL value have been found in each channel, and by comparing the VrefH values of all channels, the minimum first reference voltage value of all channels can be obtained. Similarly, by comparing the VrefL values of all channels, the minimum second reference voltage value of all channels can be obtained.
[0076] S40, calculating a reference voltage intermediate value according to the smallest first reference voltage value and second reference voltage value among all the channels found.
[0077] like Figure 4 As shown, in this embodiment, the calculation formula is as follows:
[0078] Vref median = (Vref H + Vref L) / 2;
[0079] Wherein, Vref mid value represents the middle value of the reference voltage, VrefH represents the first reference voltage value, and VrefL represents the second reference voltage value.
[0080] The present invention obtains the minimum eye diagram after superposition of all channels in this way to generate a multi-channel parallel collection digital eye diagram with better eye height and eye width, which solves the problems of severe eye diagram deviation and failure to obtain the maximum eye diagram opening range, and improves the stability of high-speed signal operation.
[0081] The embodiment of the present invention further provides a multi-channel parallel digital eye diagram generating device, which is used to perform the steps in any embodiment of the multi-channel parallel digital eye diagram generating method described above. Figure 2 , Figure 2 A schematic block diagram of a multi-channel parallel digital eye diagram generating device 100 provided in an embodiment of the present application is shown. The multi-channel parallel digital eye diagram generating device 100 specifically includes:
[0082] The first scanning unit 110 is used to scan and determine the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel; the second scanning unit 120 is used to determine the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the position of the maximum horizontal opening width of the eye diagram; the comparing unit 130 is used to compare the first reference voltage value and the second reference voltage value of all channels to find the minimum first reference voltage value and the second reference voltage value in all channels; the calculating unit 140 is used to calculate the reference voltage intermediate value according to the minimum first reference voltage value and the second reference voltage value in all channels found.
[0083] In one embodiment, the first scanning unit 110 includes:
[0084] A setting module is used to set a reference voltage range and a scanning step; a first measuring module is used to gradually measure and record the horizontal opening width of the eye diagram from the lowest reference voltage value in the set reference voltage range according to the scanning step; a first comparing module is used to compare the reference voltage values corresponding to the horizontal opening widths of each recorded eye diagram to find out the maximum reference voltage value corresponding to the eye diagram with the largest horizontal opening width.
[0085] In one embodiment, the second scanning unit 120 includes:
[0086] A setting module is used to set the range and scanning step of scanning from the maximum horizontal opening width position of the eye diagram to both sides; a scanning recording module is used to scan upward and downward from the maximum horizontal opening width position according to the set scanning range and scanning step to both sides, so as to record the horizontal opening width corresponding to each reference voltage value in the upward scanning and downward scanning processes; a second comparison module is used to compare the horizontal opening width corresponding to each reference voltage value recorded in the upward scanning process, so as to find out the reference voltage value corresponding to the minimum horizontal opening width in the upward scanning process, and use it as the first reference voltage value; a third comparison module is used to compare the horizontal opening width corresponding to each reference voltage value recorded in the downward scanning process, so as to find out the reference voltage value corresponding to the minimum horizontal opening width in the downward scanning process, and use it as the second reference voltage value.
[0087] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned multi-channel parallel digital eye diagram generating device 100 and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0088] The multi-channel parallel digital eye diagram generating device can be implemented in the form of a computer program. The computer program can be used in Figure 3 Runs on the computer device shown.
[0089] See also Figure 3 , Figure 3 700 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 700 may be a server, wherein the server may be an independent server or a server cluster composed of multiple servers.
[0090] like Figure 3 As shown, the computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the multi-channel parallel digital eye diagram generation method as described above are implemented.
[0091] The computer device 700 may be a terminal or a server. The computer device 700 includes a processor 720 , a memory, and a network interface 750 connected via a system bus 710 , wherein the memory may include a non-volatile storage medium 730 and an internal memory 740 .
[0092] The non-volatile storage medium 730 may store an operating system 731 and a computer program 732. When the computer program 732 is executed, the processor 720 may execute a multi-channel parallel digital eye diagram generation method.
[0093] The processor 720 is used to provide computing and control capabilities and support the operation of the entire computer device 700.
[0094] The internal memory 740 provides an environment for the operation of the computer program 732 in the non-volatile storage medium 730. When the computer program 732 is executed by the processor 720, the processor 720 can execute the multi-channel parallel digital eye diagram generation method.
[0095] The network interface 750 is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 3The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied. The specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements. The processor 720 is used to run the program code stored in the memory to implement the steps of the multi-channel parallel digital eye diagram generation method.
[0096] Those skilled in the art will understand that Figure 3 The embodiments of the computer device shown in the figure do not constitute a limitation on the specific composition of the computer device. In other embodiments, the computer device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structure and function of the memory and the processor are the same as those of the embodiment of the present invention. Figure 3 The embodiments shown are consistent and will not be described again here.
[0097] It should be understood that in the embodiment of the present application, the processor 720 may be a central processing unit (CPU), and the processor 720 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0098] In another embodiment of the present invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the multi-channel parallel digital eye diagram generation method disclosed in the embodiment of the present invention is implemented.
[0099] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the above-described equipment, devices and units can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. Those of ordinary skill in the art can appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, computer software or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
[0100] In the several embodiments provided by the present invention, it should be understood that the disclosed equipment, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. Units with the same function may also be combined into one unit. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices or units, or may be electrical, mechanical or other forms of connection.
[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of the present invention.
[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0103] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), disk or optical disk and other media that can store program codes.
[0104] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A multi-channel parallel digital eye diagram generation method, characterized in that: include: Scan and determine the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel; Based on the maximum horizontal opening width position of the eye diagram, determining the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof; Compare the first reference voltage value and the second reference voltage value of all channels to find the smallest first reference voltage value and second reference voltage value among all channels; The reference voltage intermediate value is calculated according to the smallest first reference voltage value and second reference voltage value among all the channels found.
2. The multi-channel parallel digital eye diagram generation method according to claim 1, characterized in that: The scanning and determining the maximum reference voltage value corresponding to the maximum horizontal opening width of the eye diagram in each channel includes: Set the reference voltage range and scan step size; The horizontal opening width of the eye diagram is measured and recorded step by step according to the scanning step length from the lowest reference voltage value in the set reference voltage range; The reference voltage values corresponding to the horizontal opening widths of the recorded eye diagrams are compared to find out the maximum reference voltage value corresponding to the eye diagram with the maximum horizontal opening width.
3. The multi-channel parallel digital eye diagram generation method according to claim 1, characterized in that: The method of determining the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the maximum horizontal opening width position of the eye diagram comprises: Set the range and scanning step length of the eye diagram from the maximum horizontal opening width to both sides; Scan upward and scan downward from the maximum horizontal opening width position according to the set scanning range and scanning step to both sides, so as to record the horizontal opening width corresponding to each reference voltage value during the upward scanning and downward scanning process; Comparing the recorded horizontal opening widths corresponding to each reference voltage value during the upward scanning process to find out the reference voltage value corresponding to the smallest horizontal opening width during the upward scanning process, and using it as the first reference voltage value; The recorded horizontal opening widths corresponding to each reference voltage value in the downward scanning process are compared to find out the reference voltage value corresponding to the minimum horizontal opening width in the downward scanning process, and use it as the second reference voltage value.
4. The multi-channel parallel digital eye diagram generation method according to claim 1, characterized in that: The reference voltage intermediate value is calculated according to the smallest first reference voltage value and second reference voltage value among all the channels found, and the calculation formula is as follows: Vref median = (Vref H + Vref L) / 2; Wherein, Vref mid value represents the middle value of the reference voltage, Vref H represents the first reference voltage value, and Vref L represents the second reference voltage value.
5. A multi-channel parallel digital eye diagram generating device, characterized in that: include: A first scanning unit, used for scanning and determining a maximum reference voltage value corresponding to a maximum horizontal opening width of an eye diagram in each channel; A second scanning unit is used to determine the first reference voltage value and the second reference voltage value corresponding to the minimum horizontal opening width of the eye diagram on both sides thereof based on the maximum horizontal opening width position of the eye diagram; A comparison unit, used for comparing the first reference voltage value and the second reference voltage value of all channels to find the smallest first reference voltage value and second reference voltage value among all channels; The calculation unit is used to calculate the reference voltage intermediate value according to the smallest first reference voltage value and second reference voltage value among all the channels found.
6. The multi-channel parallel digital eye diagram generating device according to claim 5, characterized in that: The first scanning unit comprises: Setting module, used to set reference voltage range and scanning step size; A first measuring module is used to gradually measure and record the horizontal opening width of the eye diagram according to the scanning step length from the lowest reference voltage value in the set reference voltage range; The first comparison module is used to compare the reference voltage values corresponding to the horizontal opening widths of the recorded eye diagrams to find out the maximum reference voltage value corresponding to the eye diagram with the maximum horizontal opening width.
7. The multi-channel parallel digital eye diagram generating device according to claim 5, characterized in that: The second scanning unit comprises: A setting module, used to set the range and scanning step length of scanning from the maximum horizontal opening width position of the eye diagram to both sides; A scanning and recording module, used to scan upward and downward from the maximum horizontal opening width position according to the set scanning range and scanning step length to both sides, so as to record the horizontal opening width corresponding to each reference voltage value during the upward scanning and downward scanning process; A second comparison module is used to compare the horizontal opening widths corresponding to each reference voltage value recorded during the upward scanning process, so as to find out the reference voltage value corresponding to the minimum horizontal opening width during the upward scanning process, and use it as the first reference voltage value; The third comparison module is used to compare the horizontal opening widths corresponding to each reference voltage value recorded during the downward scanning process to find out the reference voltage value corresponding to the minimum horizontal opening width during the downward scanning process and use it as the second reference voltage value.
8. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for generating a multi-channel parallel digital eye diagram according to any one of claims 1 to 4 is implemented.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the multi-channel parallel digital eye diagram generation method according to any one of claims 1 to 4.