[go: up one dir, main page]

CN106817258A - A kind of method and device chosen and verify PCIE link equalization parameters - Google Patents

A kind of method and device chosen and verify PCIE link equalization parameters Download PDF

Info

Publication number
CN106817258A
CN106817258A CN201710024897.5A CN201710024897A CN106817258A CN 106817258 A CN106817258 A CN 106817258A CN 201710024897 A CN201710024897 A CN 201710024897A CN 106817258 A CN106817258 A CN 106817258A
Authority
CN
China
Prior art keywords
parameter
pcie
choose
module
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710024897.5A
Other languages
Chinese (zh)
Inventor
吕佳鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710024897.5A priority Critical patent/CN106817258A/en
Publication of CN106817258A publication Critical patent/CN106817258A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4265Bus transfer protocol, e.g. handshake; Synchronisation on a point to point bus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/02Details ; arrangements for supplying electrical power along data transmission lines
    • H04L25/03Shaping networks in transmitter or receiver, e.g. adaptive shaping networks
    • H04L25/03878Line equalisers; line build-out devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The present invention relates to the communications field, disclose a kind of method and device chosen and verify PCIE link equalization parameters, method includes choosing the inclined parameter of multigroup drawing of PCIE links, inclined parameter round will be drawn to be written in the corresponding register of PCIE chip receiving terminals, receive the wrong parameter for drawing inclined parameter to be produced during operation, and record in error code register, Selection Center parameter judges the concentration degree of Center Parameter;Device includes that first chooses module, the inclined parameter of multigroup drawing for choosing PCIE links;Writing module, for inclined parameter round will to be drawn to be written in the corresponding register of PCIE chip receiving terminals;Logging modle, for receiving the wrong parameter for drawing inclined parameter to be produced during operation, and records in error code register;Second chooses module, for Selection Center parameter;Judge module, the concentration degree for judging Center Parameter.The effective decay for avoiding signal of the invention, improves the quality of signal transmission.

Description

一种选取及验证PCIE链路均衡参数的方法及装置A method and device for selecting and verifying PCIE link equalization parameters

技术领域technical field

本发明涉及通信领域,特别涉及一种选取及验证PCIE链路均衡参数的方法及装置。The invention relates to the field of communication, in particular to a method and device for selecting and verifying equalization parameters of a PCIE link.

背景技术Background technique

PCIE总线(快速外设组件互联总线(Peripheral Component InterconnectExpress))现已被广泛应用,从PCIE1.0的速率2.5Gbps到PCIE2.0的速率5Gbps再到PCIE3.0的速率8.0Gbps,传输速率是越来越高,要在原有的廉价 PCB 和接插件上实现可靠传输也还要解决一些新的问题,其中最大的问题是信号的损耗,为了解决这个问题,在PCIE1.0和PCIE2.0中使用了去加重( De-emphasis) 技术,即信号的发射端(TX)在发送信号时对跳变bit加大幅度发送,这样可以部分补偿一下传输线路对高频成分的衰减,从而得到比较好的眼图;而对于PCIE3.0来说,由于信号速率更高,需要采用更加复杂的 2 阶去加重技术。即除了跳变 bit 增大幅度发送去加重信号以外,在跳变 bit 的前 1 个 bit也要增大幅度发送,这种方法解决了PCIE3.08Gbps传输速率的发射端的问题,但是经过研究发现,仅仅在发射端对信号高频进行补偿还是不够,如是PCIE3.0标准中又规定在芯片接收端(RX 端)还要对信号做均衡( Equalization),也就是在芯片接收端的芯片内部增加一个均衡电路,这个均衡电路可以抬高接收到的信号中的高频分量,从而对线路的损耗进行进一步的补偿,在链路训练阶段发射端和芯片接收端会协商一个合适的参数。由于一些芯片串并收发均衡算法不完善,若完全按照PCIE3.0协议标准发射端、芯片接收端采用自适应方式,可能会造成在协议状态机跳转时间段内无法协商到合适的参数,从而造成链路不稳定。亟需寻找一个方法有效选取最合适稳定的芯片接收端的均衡参数,并固定下来。The PCIE bus (Peripheral Component Interconnect Express) has been widely used, from the speed of PCIE1.0 2.5Gbps to the speed of PCIE2.0 5Gbps to the speed of PCIE3. In order to achieve reliable transmission on the original cheap PCB and connectors, some new problems must be solved. The biggest problem is the loss of signals. In order to solve this problem, PCIE1.0 and PCIE2.0 use De-emphasis (De-emphasis) technology, that is, the transmitting end of the signal (TX) increases the amplitude of the jump bit when sending the signal, so that it can partially compensate for the attenuation of the high-frequency component by the transmission line, so as to obtain a better Eye diagram; for PCIE3.0, due to the higher signal rate, a more complex 2-stage de-emphasis technique is required. That is to say, in addition to sending the de-emphasis signal by increasing the amplitude of the hopping bit, the first bit of the hopping bit should also be sent with an increased amplitude. This method solves the problem of the transmitting end of the PCIE3.08Gbps transmission rate, but after research, it is found that It is not enough to compensate the high frequency of the signal at the transmitting end. For example, the PCIE3.0 standard stipulates that the signal should be equalized (Equalization) at the receiving end (RX end) of the chip, that is, an equalization is added inside the chip at the receiving end of the chip. Circuit, this equalization circuit can increase the high frequency component in the received signal, so as to further compensate for the loss of the line. During the link training phase, the transmitter and the chip receiver will negotiate an appropriate parameter. Due to the incomplete serial-parallel transceiver equalization algorithm of some chips, if the transmitter and the chip receiver adopt an adaptive method in full accordance with the PCIE3. cause link instability. It is urgent to find a method to effectively select the most suitable and stable equalization parameters of the receiving end of the chip and fix them.

发明内容Contents of the invention

下面对本发明中出现的名词作以下解释:The nouns appearing in the present invention are explained below:

PCIE:英文全称Peripheral Component Interconnect Express,中文全称为快速外设组件互联总线,是最新的总线和接口标准,属于高速串行点对点双通道高带宽传输,所连接的设备分配独享通道带宽,不共享总线带宽,主要支持主动电源管理,错误报告,端对端的可靠性传输,热插拔以及服务质量等功能。PCIE: The English full name is Peripheral Component Interconnect Express, and the Chinese full name is Peripheral Component Interconnect Express. It is the latest bus and interface standard and belongs to high-speed serial point-to-point dual-channel high-bandwidth transmission. The connected devices are assigned exclusive channel bandwidth and are not shared. The bus bandwidth mainly supports functions such as active power management, error reporting, end-to-end reliable transmission, hot swapping, and quality of service.

自适应:本文中的自适应是指自适应滤波器,它是能够根据输入信号自动调整性能进行数字信号处理的数字滤波器。Adaptive: Adaptive in this article refers to an adaptive filter, which is a digital filter that can automatically adjust its performance according to the input signal for digital signal processing.

眼图:是由于示波器的余辉作用,将扫描所得的每一个码元波形重叠在一起,从而形成眼图,其是指利用实验的方法估计和改善(通过调整)传输系统性能时在示波器上观察到的一种图形。观察眼图的方法是:用一个示波器跨接在接收滤波器的输出端,然后调整示波器扫描周期,使示波器水平扫描周期与接收码元的周期同步,这时示波器屏幕上看到的图形像人的眼睛,故称为“眼图”。Eye diagram: Due to the afterglow effect of the oscilloscope, each symbol waveform obtained by scanning is overlapped together to form an eye diagram, which refers to the observation on the oscilloscope when the performance of the transmission system is estimated and improved (by adjusting) by the experimental method to a graph. The way to observe the eye diagram is: connect an oscilloscope across the output end of the receiving filter, and then adjust the scanning period of the oscilloscope so that the horizontal scanning period of the oscilloscope is synchronized with the period of the received symbol. eye, so it is called "eye diagram".

去加重:英文全称De-emphasis,将已经加重的发射信号恢复为原来信号形式的过程。去加重是相对于预加重而言的。预加重后的信号在分析处理之后需要进行去加重处理,即加上-6dB/倍频程下降的频率特性来还原成原来的特性。De-emphasis: The English full name is De-emphasis, which is the process of restoring the aggravated transmitted signal to the original signal form. De-emphasis is relative to pre-emphasis. The pre-emphasized signal needs to be de-emphasized after analysis and processing, that is, the frequency characteristic of -6dB/octave is added to restore the original characteristic.

均衡:指芯片接收端的均衡器产生与信道相反的特性,用来抵消信道的时变多径传播特性引起的码间干扰。码间干扰是移动无线通信信道中传输高速数据时的主要障碍,而均衡是对付码间干扰的有效手段。由于移动衰落信道具有随机性和时变性,这就要求均衡器必须能够实时地跟踪移动通信信道的时变特性,这种均衡器称为自适应均衡器。Equalization: The equalizer at the receiving end of the chip produces characteristics opposite to the channel, which is used to offset the intersymbol interference caused by the time-varying multipath propagation characteristics of the channel. Intersymbol interference is the main obstacle when transmitting high-speed data in mobile wireless communication channels, and equalization is an effective means to deal with intersymbol interference. Due to the randomness and time-varying nature of the mobile fading channel, it is required that the equalizer must be able to track the time-varying characteristics of the mobile communication channel in real time. This equalizer is called an adaptive equalizer.

针对以上技术问题,本发明的目的是提供一种选取及验证PCIE链路均衡参数的方法及装置,有效的选取了芯片接收端的均衡参数。In view of the above technical problems, the purpose of the present invention is to provide a method and device for selecting and verifying the equalization parameters of the PCIE link, which effectively selects the equalization parameters of the receiving end of the chip.

为了实现上述目的,本发明采用以下的技术方案:In order to achieve the above object, the present invention adopts the following technical solutions:

本发明提供一种选取及验证PCIE链路均衡参数的方法,包括:The present invention provides a method for selecting and verifying PCIE link equalization parameters, including:

选取PCIE链路的多组拉偏参数;Select multiple sets of deflection parameters for the PCIE link;

将拉偏参数轮次写入到PCIE芯片接收端对应的寄存器中;Write the pull bias parameter round into the register corresponding to the receiving end of the PCIE chip;

接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中;Receive the error parameters generated during the operation of the pull-off parameters, and record them in the error code register;

选取中心参数;Select the center parameter;

对PCIE链路进行协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数为PCIE链路均衡参数,若集中度分散,则重新选取中心参数。Negotiate the PCIE link and judge the concentration of the central parameter. If the concentration is concentrated, the central parameter is valid, and the central parameter is the PCIE link equalization parameter. If the concentration is scattered, the central parameter is reselected.

进一步地,在选取PCIE链路的多组拉偏参数之前,还包括:预设PCIE链路的初始参数。Further, before selecting multiple sets of pull-off parameters of the PCIE link, it also includes: preset initial parameters of the PCIE link.

进一步地,在预设PCIE链路的初始参数之前,还包括:关闭PCIE芯片接收端的自适应功能。Further, before preset the initial parameters of the PCIE link, it also includes: closing the self-adaptive function of the receiving end of the PCIE chip.

进一步地,选取PCIE链路的多组拉偏参数,包括:选取预设PCIE链路的初始参数的周边一定范围内的多个参数。Further, selecting multiple sets of pull-off parameters of the PCIE link includes: selecting multiple parameters within a certain range around the initial parameters of the preset PCIE link.

进一步地,将拉偏参数轮次写入到PCIE芯片接收端对应的寄存器中,具体包括:Further, write the pull bias parameter round into the register corresponding to the receiving end of the PCIE chip, specifically including:

将每组拉偏参数生成不同的寄存器文件;Generate different register files for each set of pull-off parameters;

使用自动化脚本的方式将寄存器文件轮次写入到PCIE芯片接收端对应的寄存器中。Use an automated script to write the register file rounds into the registers corresponding to the receiving end of the PCIE chip.

进一步地,选取中心参数,具体包括:Further, the central parameters are selected, specifically including:

导出接收的错误参数;Export received error parameters;

将接收的错误参数与拉偏参数对应,形成可视表格;Correspond the received error parameters with the biased parameters to form a visual table;

对可视表格一定范围内的拉偏参数的上下左右选择多个参数进行眼图读取,记录眼高,绘制眼高曲线图;Select multiple parameters from the top, bottom, left, and right of the pull-off parameters within a certain range of the visual table to read the eye diagram, record the eye height, and draw the eye height curve;

选取眼高曲线图处于上升段的参数为中心参数。Select the parameter in the ascending section of the eye height curve as the central parameter.

一种选取及验证PCIE链路均衡参数的装置,包括:A device for selecting and verifying PCIE link equalization parameters, comprising:

第一选取模块,用于选取PCIE链路的多组拉偏参数;The first selection module is used to select multiple sets of pull-off parameters of the PCIE link;

写入模块,用于将拉偏参数轮次写入到PCIE芯片接收端对应的寄存器中;The write module is used to write the pull bias parameter round into the register corresponding to the receiving end of the PCIE chip;

记录模块,用于接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中;The recording module is used to receive the error parameters generated during the operation of the pull-off parameters, and record them in the error code register;

第二选取模块,用于选取中心参数;The second selection module is used to select the central parameter;

判断模块,用于对PCIE链路进行协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数为PCIE链路均衡参数,若集中度分散,则重新选取中心参数。The judging module is used for negotiating the PCIE link and judging the concentration of the center parameter. If the concentration is concentrated, the center parameter is valid, and the center parameter is a PCIE link equalization parameter. If the concentration is scattered, the center parameter is reselected. .

进一步地,还包括:Further, it also includes:

预设模块,预设PCIE链路的初始参数。The preset module presets the initial parameters of the PCIE link.

进一步地,还包括:Further, it also includes:

开关模块,用于关闭PCIE芯片接收端的自适应功能。The switch module is used to turn off the adaptive function of the receiving end of the PCIE chip.

进一步地,还包括:Further, it also includes:

误码导出模块,用于导出接收的错误参数;An error code export module is used to export received error parameters;

优选地,还包括:表格生成模块,用于将接收的错误参数与拉偏参数对应,形成可视表格;Preferably, it also includes: a table generation module, which is used to correspond the received error parameters with the pull-off parameters to form a visual table;

优选地,还包括:眼高曲线绘制模块,用于对可视表格内一定范围内的拉偏参数的上下左右选择多个参数进行眼图读取,记录眼高,绘制眼高曲线图。Preferably, it also includes: an eye-height curve drawing module, which is used to select multiple parameters of the pull-out parameters within a certain range in the visual form to read the eye diagram, record the eye height, and draw the eye-height curve.

与现有技术相比,本发明的有益效果如下:Compared with the prior art, the beneficial effects of the present invention are as follows:

1、使用自动化脚本的方式将寄存器文件轮次写入到PCIE芯片接收端对应的寄存器中代替原先以手动方式将寄存器文件轮次写入到PCIE芯片接收端对应的寄存器中,降低了人工劳动强度和风险,保证了机械、重复性工作的精准度,节省了人力成本;1. Use automated scripts to write the register file rounds into the registers corresponding to the receiving end of the PCIE chip instead of manually writing the register file rounds into the registers corresponding to the receiving end of the PCIE chip, reducing the labor intensity and risks, ensuring the accuracy of mechanical and repetitive work, and saving labor costs;

2、由参数的集中度确认拉偏参数的选取的有效性,保障了PCIE链路传输过程中最低的误码率,有效的避免了信号的衰减,提高了链路传输的可靠性,提高了信号传输的质量。2. The effectiveness of the selection of bias parameters is confirmed by the concentration of parameters, which ensures the lowest bit error rate in the PCIE link transmission process, effectively avoids signal attenuation, improves the reliability of link transmission, and improves The quality of signal transmission.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments.

图1为本发明一种选取及验证PCIE链路均衡参数的方法的流程示意图之一。Fig. 1 is one of the flow diagrams of a method for selecting and verifying PCIE link equalization parameters in the present invention.

图2为本发明一种选取及验证PCIE链路均衡参数的方法的流程示意图之二。FIG. 2 is the second schematic flow diagram of a method for selecting and verifying PCIE link equalization parameters according to the present invention.

图3为本发明一种选取及验证PCIE链路均衡参数的装置的结构示意图。FIG. 3 is a schematic structural diagram of a device for selecting and verifying PCIE link equalization parameters according to the present invention.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention are clearly and completely described below in conjunction with the accompanying drawings and specific embodiments. Obviously, the described embodiments are only the embodiments of the present invention. Some examples, but not all examples. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

实施例1Example 1

本发明一种选取及验证PCIE链路均衡参数的方法,如图1所示,包括:A method of selecting and verifying PCIE link equalization parameters of the present invention, as shown in Figure 1, comprises:

S101:选取PCIE链路的多组拉偏参数;S101: Select multiple sets of deflection parameters of the PCIE link;

S102:将拉偏参数轮次写入到PCIE芯片接收端对应的寄存器中;S102: Write the pulling bias parameter round into the register corresponding to the receiving end of the PCIE chip;

S103:接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中;S103: Receive the error parameter generated during the operation of the pull-off parameter, and record it in the error code register;

S104:选取中心参数;S104: selecting a central parameter;

S105:对PCIE链路进行协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数即为PCIE链路均衡参数,若集中度分散,则返回S104重新选取中心参数。S105: Negotiate the PCIE link and judge the concentration of the center parameter. If the concentration is concentrated, the center parameter is valid, and the center parameter is the PCIE link equalization parameter. If the concentration is scattered, return to S104 to reselect the center parameter. .

作为一种可实施方式,PCIE链路为PCIE3.0链路,PCIE3.0链路需要事先选取20组拉偏参数,然后将选取的20组拉偏参数轮次写入到PCIE3.0芯片接收端对应的寄存器中,接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中,然后导出接收的错误参数,将接收的错误参数与得到这个结果当时所运行的拉偏参数对应,形成可视表格,对可视表格内+/-6dB范围内的拉偏参数上下左右各选择2个参数读取眼图,记录眼高,绘制眼高曲线图,选取眼高曲线图处于上升段的参数为中心参数,重启实验机台,对PCIE3.0链路进行反复协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数即为PCIE3.0链路均衡参数,若集中度分散,则需重新进行中心参数的选取,直到选出有效的中心参数。As a possible implementation, the PCIE link is a PCIE3.0 link, and the PCIE3.0 link needs to select 20 sets of pull-off parameters in advance, and then write the selected 20 sets of pull-off parameters to the PCIE3.0 chip to receive In the register corresponding to the end, receive the error parameters generated during the operation of the pull-off parameters, and record them in the error code register, and then export the received error parameters, and compare the received error parameters with the pull-off parameters that were running at the time the result was obtained. Parameter correspondence, form a visual table, select 2 parameters for the pull-out parameters within the range of +/-6dB in the visual table to read the eye diagram, record the eye height, draw the eye height curve, and select the eye height curve The parameter in the ascending stage is the central parameter. Restart the experimental machine, negotiate the PCIE3.0 link repeatedly, and judge the concentration of the central parameter. If the concentration is concentrated, the central parameter is valid, and the central parameter is PCIE3.0 If the concentration of the link equalization parameters is scattered, it is necessary to re-select the central parameters until an effective central parameter is selected.

实施例2Example 2

本发明另一种选取及验证PCIE链路均衡参数的方法,如图2所示,包括:Another method of selecting and verifying PCIE link equalization parameters of the present invention, as shown in Figure 2, includes:

S201:关闭PCIE芯片接收端的自适应功能;S201: Turn off the adaptive function of the receiving end of the PCIE chip;

S202:预设PCIE链路的多组初始参数;S202: preset multiple sets of initial parameters of the PCIE link;

S203:选取PCIE链路初始参数的周边一定范围内的多个参数为拉偏参数;S203: Select multiple parameters within a certain range around the initial parameters of the PCIE link as biasing parameters;

S204:将每组拉偏参数生成不同的寄存器文件;S204: Generate different register files for each set of offset parameters;

S205:使用自动化脚本的方式将寄存器文件轮次写入到PCIE芯片接收端对应的寄存器中;S205: Write the register file into the register corresponding to the receiving end of the PCIE chip in turn by using an automated script;

S206:接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中;S206: Receive the error parameter generated during the operation of the pull-off parameter, and record it in the error code register;

S207:导出接收的错误参数,将接收的错误参数与拉偏参数对应,形成可视表格;S207: Export the received error parameters, and correspond the received error parameters with the biased parameters to form a visual table;

S208:对可视表格内一定范围内的拉偏参数上下左右选择一定数量的参数进行眼图读取,记录眼高,绘制眼高曲线图;S208: Select a certain number of parameters from the top, bottom, left, and right sides of the deflection parameters within a certain range in the visual table to read the eye diagram, record the eye height, and draw the eye height curve;

S209:选取眼高曲线图处于上升段的参数为中心参数。S209: Select the parameter in the ascending segment of the eye height graph as the central parameter.

S210:对PCIE链路进行协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数为即PCIE链路均衡参数,若集中度分散,则返回S209重新选取中心参数。S210: Negotiate the PCIE link and judge the concentration of the center parameter. If the concentration is concentrated, the center parameter is valid, and the center parameter is the PCIE link equalization parameter. If the concentration is scattered, return to S209 to reselect the center parameter. .

作为一种可实施方式,PCIE链路为PCIE3.0链路,步骤中一定范围是指+/-4dB的范围;首先需要先关闭PCIE3.0芯片接收端的具有的自适应功能,并预设PCIE3.0链路的20组初始参数,选取这20组初始参数的周边+/-4dB的参数为拉偏参数,将得到的20组拉偏参数生成不同的寄存器文件,使用自动化脚本的方式将寄存器文件轮次写入到PCIE3.0芯片接收端对应的寄存器中,在拉偏参数运行的过程中会产生错误,将接收的错误参数记录在误码寄存器中,然后导出接收的错误参数,将接收的错误参数与得到这个结果当时所运行的那组拉偏参数对应,形成可视表格;对可视表格内+/-4dB范围内的所有拉偏参数上下左右各选择3组参数读取眼图,记录眼高,绘制眼高曲线图;选取眼高曲线图处于上升段的参数为中心参数,重启实验机台,对PCIE3.0链路进行反复协商,判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数即为PCIE3.0链路均衡参数,若集中度分散,则返回S209重新选取中心参数。As a possible implementation, the PCIE link is a PCIE3.0 link, and the certain range in the steps refers to the range of +/-4dB; first, it is necessary to turn off the self-adaptive function of the receiving end of the PCIE3.0 chip, and preset PCIE3 .0 link’s 20 sets of initial parameters, select the surrounding +/-4dB parameters of these 20 sets of initial parameters as the pull-off parameters, and generate different register files for the obtained 20 sets of pull-off parameters, and use automated scripts to convert the registers The file is written into the register corresponding to the receiving end of the PCIE3.0 chip in turn, and errors will occur during the operation of pulling the biased parameters, and the received error parameters will be recorded in the error register, and then the received error parameters will be exported, and the received The wrong parameters correspond to the set of pull-off parameters that were running when the result was obtained, forming a visual table; for all pull-off parameters within the range of +/-4dB in the visual table, select 3 sets of parameters to read the eye diagram , record the eye height, and draw the eye height curve; select the parameter in the rising section of the eye height curve as the central parameter, restart the experimental machine, and repeatedly negotiate the PCIE3.0 link to judge the concentration of the central parameter. If it is concentrated, the center parameter is valid, and the center parameter is the PCIE3.0 link equalization parameter. If the degree of concentration is scattered, return to S209 to reselect the center parameter.

实施例3Example 3

本发明一种选取及验证PCIE链路均衡参数的装置,如图3所示,包括:第一选取模块101,写入模块102,记录模块103,第二选取模块104,判断模块105,开关模块106,误码导出模块107,表格生成模块108,眼高曲线绘制模块109,预设模块110。A device for selecting and verifying PCIE link equalization parameters of the present invention, as shown in Figure 3, includes: a first selection module 101, a write module 102, a recording module 103, a second selection module 104, a judgment module 105, a switch module 106 , an error code deriving module 107 , a table generating module 108 , an eye height curve drawing module 109 , and a preset module 110 .

开关模块106用于关闭PCIE芯片接收端的自适应功能;预设模块110用于预设PCIE链路的初始参数;第一选取模块101用于选取PCIE链路初始参数的周边一定范围内的20个参数为拉偏参数;写入模块102用于将拉偏参数轮次写入到PCIE芯片接收端对应的寄存器中;记录模块103用于接收拉偏参数在运行的过程中产生的错误参数,并记录在误码寄存器中;误码导出模块107用于导出接收的错误参数;表格生成模块108用于将接收的错误参数与拉偏参数对应,形成可视表格;眼高曲线绘制模块109:用于对可视表格内+/-4dB范围内的拉偏参数上下左右各选择3组参数进行眼图读取,记录眼高,绘制眼高曲线图;第二选取模块104用于选取眼高曲线图处于上升段的参数为中心参数;判断模块105用于判断中心参数的集中度,若集中度集中,则该中心参数有效,该中心参数为PCIE链路均衡参数,若集中度分散,则重新选取中心参数。The switch module 106 is used to close the adaptive function of the receiving end of the PCIE chip; the preset module 110 is used to preset the initial parameters of the PCIE link; the first selection module 101 is used to select 20 in a certain range around the initial parameters of the PCIE link The parameter is a pull bias parameter; the write module 102 is used to write the pull bias parameter round into the register corresponding to the receiving end of the PCIE chip; the recording module 103 is used to receive the error parameter that the pull bias parameter generates during operation, and Record in the error code register; Error code derivation module 107 is used for deriving the error parameter that receives; Table generation module 108 is used for corresponding with the error parameter that receives and pulling deviation parameter, forms visual table; Eye height curve drawing module 109: use Select 3 groups of parameters for the pull-off parameters within the range of +/-4dB in the visual table to read the eye diagram, record the eye height, and draw the eye height curve; the second selection module 104 is used to select the eye height curve The parameter in the figure in the ascending section is the central parameter; the judging module 105 is used to judge the concentration of the central parameter, if the concentration is concentrated, then the central parameter is valid, and the central parameter is the PCIE link equalization parameter, if the concentration is scattered, then re- Select the center parameter.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成。最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内所做的任何修改、等同替换、改进等,均包含在本发明的保护范围内。Those skilled in the art can understand that all or part of the steps in the above embodiments can be implemented by hardware, or can be implemented by instructing related hardware through programs. Finally, it should be noted that the above descriptions are only preferred embodiments of the present invention, and are only used to illustrate the technical solution of the present invention, and are not used to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present invention are included in the protection scope of the present invention.

Claims (10)

1. it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that including:
Choose the inclined parameter of multigroup drawing of PCIE links;
Inclined parameter round will be drawn to be written in the corresponding register of PCIE chip receiving terminals;
The wrong parameter for drawing inclined parameter to be produced during operation is received, and is recorded in error code register;
Selection Center parameter;
PCIE links are held consultation, the concentration degree of Center Parameter is judged, if concentration degree is concentrated, the Center Parameter effectively, should Center Parameter is PCIE link equalization parameters, if concentration degree is disperseed, Selection Center parameter again.
2. it is according to claim 1 it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that choosing Before taking the inclined parameter of multigroup drawing of PCIE links, also include:The initial parameter of default PCIE links.
3. it is according to claim 2 it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that pre- If before the initial parameter of PCIE links, also including:Close the adaptation function of PCIE chip receiving terminals.
4. it is according to claim 2 it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that choose The inclined parameter of multigroup drawing of PCIE links, including:Choose a range of multiple in periphery of the initial parameter of default PCIE links Parameter.
5. it is according to claim 1 it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that will draw Inclined parameter round is written in the corresponding register of PCIE chip receiving terminals, is specifically included:
Every group of inclined parameter of drawing is generated into different register files;
Register file round is written in the corresponding register of PCIE chip receiving terminals using the mode of automatized script.
6. it is according to claim 1 it is a kind of choose and checking PCIE link equalization parameters method, it is characterised in that choose Center Parameter, specifically includes:
Derive the wrong parameter for receiving;
The wrong parameter that will be received is corresponding with inclined parameter is drawn, and forms visual form;
The multiple parameters of selection up and down for drawing inclined parameter a range of to visual form carry out eye pattern reading, record eye Height, draws eye curve map high;
Choose eye curve map high and be in parameter centered on the parameter of ascent stage.
7. it is a kind of choose and checking PCIE link equalization parameters device, it is characterised in that including:
First chooses module, the inclined parameter of multigroup drawing for choosing PCIE links;
Writing module, for inclined parameter round will to be drawn to be written in the corresponding register of PCIE chip receiving terminals;
Logging modle, for receiving the wrong parameter for drawing inclined parameter to be produced during operation, and records in error code register In;
Second chooses module, for Selection Center parameter;
Judge module, for being held consultation to PCIE links, judges the concentration degree of Center Parameter, if concentration degree is concentrated, in this Effectively, the Center Parameter is PCIE link equalization parameters to heart parameter, if concentration degree is disperseed, Selection Center parameter again.
8. it is according to claim 7 it is a kind of choose and checking PCIE link equalization parameters device, it is characterised in that also wrap Include:
Presetting module, presets the initial parameter of PCIE links.
9. it is according to claim 7 it is a kind of choose and checking PCIE link equalization parameters device, it is characterised in that also wrap Include:
Switch module, the adaptation function for closing PCIE chip receiving terminals.
10. it is according to claim 7 it is a kind of choose and checking PCIE link equalization parameters device, it is characterised in that also Including:
Error code export module, for deriving the wrong parameter for receiving;
Preferably, also include:Table generation module, the wrong parameter for that will receive is corresponding with inclined parameter is drawn, and forms visual table Lattice;
Preferably, also include:Eye Drawing of Curve module high, for drawing the upper and lower of inclined parameter to a range of in visual form Left and right selection multiple parameters carry out eye pattern reading, and record eye is high, draws eye curve map high.
CN201710024897.5A 2017-01-13 2017-01-13 A kind of method and device chosen and verify PCIE link equalization parameters Pending CN106817258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710024897.5A CN106817258A (en) 2017-01-13 2017-01-13 A kind of method and device chosen and verify PCIE link equalization parameters

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710024897.5A CN106817258A (en) 2017-01-13 2017-01-13 A kind of method and device chosen and verify PCIE link equalization parameters

Publications (1)

Publication Number Publication Date
CN106817258A true CN106817258A (en) 2017-06-09

Family

ID=59110794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710024897.5A Pending CN106817258A (en) 2017-01-13 2017-01-13 A kind of method and device chosen and verify PCIE link equalization parameters

Country Status (1)

Country Link
CN (1) CN106817258A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763001A (en) * 2018-05-25 2018-11-06 郑州云海信息技术有限公司 A kind of test of universal serial bus is given out a contract for a project method
CN109165046A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of onboard SATA parameter optimization method and device
CN109388607A (en) * 2018-10-25 2019-02-26 江苏华存电子科技有限公司 Method suitable for the transmission end peripheral hardware interconnection standard PCIe Coefficient Equilibrium mechanism
CN111984477A (en) * 2020-07-09 2020-11-24 瑞芯微电子股份有限公司 PCIe equipment signal parameter dynamic correction device and method
CN112737713A (en) * 2020-12-30 2021-04-30 海光信息技术股份有限公司 PCIe link equalization coefficient automatic adjustment method and device
CN114443537A (en) * 2022-01-28 2022-05-06 浪潮(山东)计算机科技有限公司 A PCIE signal sending end parameter configuration method, device, device and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103797732A (en) * 2013-11-05 2014-05-14 华为技术有限公司 Communication method, high-speed peripheral component interconnection PCIE chip and PCIE device
CN103885907A (en) * 2012-12-20 2014-06-25 辉达公司 Equalization Coefficient Search Algorithm
CN103885911A (en) * 2012-12-20 2014-06-25 辉达公司 Multipass approach for performing channel equalization training
US20140281067A1 (en) * 2013-03-15 2014-09-18 Debendra Das Sharma Apparatus, system, and method for performing link training and equalization
US20140362901A1 (en) * 2011-03-08 2014-12-11 Tektronix, Inc. Methods and systems for providing optimum decision feedback equalization of high-speed serial data links
US9124455B1 (en) * 2014-09-24 2015-09-01 Intel Corporation Link equalization mechanism

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140362901A1 (en) * 2011-03-08 2014-12-11 Tektronix, Inc. Methods and systems for providing optimum decision feedback equalization of high-speed serial data links
CN103885907A (en) * 2012-12-20 2014-06-25 辉达公司 Equalization Coefficient Search Algorithm
CN103885911A (en) * 2012-12-20 2014-06-25 辉达公司 Multipass approach for performing channel equalization training
US20140281067A1 (en) * 2013-03-15 2014-09-18 Debendra Das Sharma Apparatus, system, and method for performing link training and equalization
CN103797732A (en) * 2013-11-05 2014-05-14 华为技术有限公司 Communication method, high-speed peripheral component interconnection PCIE chip and PCIE device
US9124455B1 (en) * 2014-09-24 2015-09-01 Intel Corporation Link equalization mechanism

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763001A (en) * 2018-05-25 2018-11-06 郑州云海信息技术有限公司 A kind of test of universal serial bus is given out a contract for a project method
CN109165046A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of onboard SATA parameter optimization method and device
CN109388607A (en) * 2018-10-25 2019-02-26 江苏华存电子科技有限公司 Method suitable for the transmission end peripheral hardware interconnection standard PCIe Coefficient Equilibrium mechanism
CN111984477A (en) * 2020-07-09 2020-11-24 瑞芯微电子股份有限公司 PCIe equipment signal parameter dynamic correction device and method
CN111984477B (en) * 2020-07-09 2022-05-17 瑞芯微电子股份有限公司 PCIe equipment signal parameter dynamic correction device and method
CN112737713A (en) * 2020-12-30 2021-04-30 海光信息技术股份有限公司 PCIe link equalization coefficient automatic adjustment method and device
CN112737713B (en) * 2020-12-30 2023-12-19 海光信息技术股份有限公司 PCIe link equalization coefficient automatic adjustment method and device
CN114443537A (en) * 2022-01-28 2022-05-06 浪潮(山东)计算机科技有限公司 A PCIE signal sending end parameter configuration method, device, device and medium
CN114443537B (en) * 2022-01-28 2023-12-19 浪潮(山东)计算机科技有限公司 A PCIE signal transmitter parameter configuration method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN106817258A (en) A kind of method and device chosen and verify PCIE link equalization parameters
US7526046B2 (en) Digital transmitter
US20210297307A1 (en) Rapid rate adaptation in nbase-t ethernet
KR102542277B1 (en) Board, optical module, OLT and information processing method
CN110719423B (en) Self-adaptive HDMI cable
US20210003794A1 (en) Active ethernet cable with preset pre-equalization
CN105406899B (en) Device for power line carrier communications for overocean communications
CN105703840A (en) Method for quickly selecting pre-emphasis parameter of high-speed serdes
US10560555B2 (en) High-speed interconnect solutions with support for co-propagating and counter-propagating continuous time back channel communication
CN104639899A (en) High-definition SDI (Serial Digital Interface) digital video signal optical fiber transparent transmission device
CN108933600B (en) A SerDes link parameter automatic debugging method
CN108683489A (en) The extension of the ethernet PHY extremely channel with bridge tap line
CN105450433B (en) Configuration method, the device and system of high-speed serial bus parameter
US10715356B2 (en) High-speed interconnect solutions with support for secondary continuous time in-band back channel communication for simplex retimer solutions
CN113726425B (en) A wired communication method, device, equipment and readable storage medium
CN101662432B (en) Method, system and device for transmission
US11005578B1 (en) Diagnosis system and diagnosis method of active transmission cable performance
KR20220065587A (en) Interconnect module, ufs system including the same, and operating method thereof
CN105103527B (en) Apparatus for a communication network, method of operating a communication network, and storage medium
CN114785413A (en) Optical module with automatic adjustment balanced gain circuit
Beyene et al. Controlled intersymbol interference design techniques of conventional interconnect systems for data rates beyond 20 Gbps
US10771100B1 (en) Method and apparatus for efficient fast retraining of ethernet transceivers
CN101610202A (en) Asynchronous data exchange method and device
CN109672578B (en) Link establishing method and device, storage medium and information processing device
CN100493138C (en) Automatic calibration system for multi-primary video signal transmission

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170609

RJ01 Rejection of invention patent application after publication