A SAS protocol equalization method and device
By combining the equalization adjustment method of the transmission direction and the reception direction under the SAS protocol, the problem of signal distortion in the reception direction is solved, and more efficient signal compensation and data transmission reliability are achieved.
Patent Information
- Application Number
- CN202411027572.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2025-04-11
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Under the SAS protocol, the link data received in the receiving direction has distortion, and the prior art has failed to effectively solve the problem of signal distortion, affecting the quality and speed of data transmission.
By combining the transmission direction TXEQ coarse adjustment and fine adjustment with the received data RXEQ coarse adjustment and fine adjustment, the eye diagram quality is traversed and evaluated, and offset values are iteratively configured to determine the optimal equalization parameters and signal compensation is performed.
It improves the readability of the signal, reduces the bit error rate, enhances the integrity of the signal and the reliability of data transmission, and supports higher transmission rates.
Smart Images

Figure CN118842683B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of serial communication, and in particular relates to a SAS protocol equalization method and device. Background Art
[0002] SAS (Serial Attached SCSI) is a high-speed serial interface technology with built-in data and command check units, strong error correction capabilities, support for hot plugging, and features such as a small number of pins, fast data transmission rate, high reliability, and good compatibility. It is currently widely used in the industry as the main I / O interface between storage devices and hosts.
[0003] A serial deserializer (Serdes) is an integrated circuit used for high-speed serial communication that converts parallel data into serial data for easy transmission over a cable. Serdes are also used to convert serial data back into parallel data at the receiving end. Summary of the invention
[0004] The purpose of the present application is to provide a SAS protocol equalization method and device, aiming to achieve distortion recovery of received data.
[0005] According to a first aspect of the present application, a SAS protocol equalization method is provided, comprising:
[0006] At the transmitting end, based on a pre-selected transmitting end coarse adjustment mode, a coarse adjustment of equalization in the transmitting direction of the opposite end is performed; at the receiving end, a candidate coarse adjustment parameter combination of equalization in the receiving direction is generated, each candidate combination is traversed, and the corresponding eye diagram quality is judged, and the candidate combination with the best eye diagram quality is determined to obtain a first receiving coarse adjustment parameter of equalization; based on a pre-selected equalization fine adjustment mode, an offset value is iteratively configured for the first receiving coarse adjustment parameter of equalization, the eye diagram quality corresponding to each offset value is evaluated, and the first receiving fine adjustment parameter of equalization is determined according to the optimal eye diagram quality obtained by the evaluation;
[0007] At the transmitting end, equalization fine-tuning is performed on the transmitting direction of the other end based on the first equalization fine-tuning parameter, and at the receiving end, a combination of candidate equalization coarse-tuning parameters for the receiving direction is generated, each candidate combination is traversed, and the corresponding eye diagram quality is judged to determine the candidate combination with the best eye diagram quality, and obtain the second receiving equalization coarse-tuning parameter; based on the pre-selected equalization fine-tuning mode, the offset value is iteratively configured for the second receiving equalization coarse-tuning parameter, the eye diagram quality corresponding to each offset value is evaluated, the second receiving equalization fine-tuning parameter is determined according to the optimal eye diagram quality obtained by the evaluation, and the second receiving equalization fine-tuning parameter is configured to the receiving end physical layer.
[0008] In an optional implementation manner, generating a candidate equalization coarse adjustment parameter combination for a receiving direction at a receiving end further includes:
[0009] A receiving end equalization coarse adjustment mode is preselected, and video graphics array (VGA) and continuous time linear equalizer (CTLE) parameters are generated based on the receiving end equalization coarse adjustment mode, wherein the receiving end equalization coarse adjustment mode includes a no emphasis mode, a reference1 preset mode and a reference2 preset.
[0010] In an optional implementation, the iteratively configuring the offset value of the second receiving equalization coarse adjustment parameter based on a pre-selected equalization fine adjustment mode further includes:
[0011] Configure the offset values of VGA, EQR and EQC parameters respectively, and traverse all combinations of the offset VGA, EQR and EQC parameters;
[0012] The eye diagram quality corresponding to each combination is evaluated, and the fine-tuning values of VGA, EQR, and EQC are determined based on the optimal eye diagram quality.
[0013] In an optional implementation manner, the iteratively configuring an offset value for the second receiving equalization coarse adjustment parameter further includes:
[0014] Keep the EQR and EQC parameters unchanged, configure the offset value of the VGA parameter, traverse the multiple VGA parameters after the offset, evaluate the eye diagram quality corresponding to each VGA parameter, and determine the VGA fine-tuning value based on the optimal eye diagram quality;
[0015] Keep the VGA and EQC parameters unchanged, configure the offset value of the EQR parameter, traverse the multiple EQR parameters after the offset, evaluate the eye diagram quality corresponding to each EQR parameter, and determine the EQR fine-tuning value based on the optimal eye diagram quality;
[0016] Keep the VGA and EQR parameters unchanged, configure the offset value of the EQC parameter, traverse multiple EQC parameters after the offset, evaluate the eye diagram quality corresponding to each EQC parameter, and determine the EQC fine-tuning value based on the optimal eye diagram quality.
[0017] In an optional implementation, the method is implemented inside a physical coding sublayer PCS.
[0018] According to a second aspect of the present application, a SAS protocol equalization device is provided, comprising:
[0019] A transmitting end coarse adjustment unit is used to perform coarse equalization adjustment in the transmitting direction of the opposite end based on a pre-selected transmitting end coarse adjustment mode at the transmitting end, generate a receiving direction candidate equalization coarse adjustment parameter combination at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a first receiving equalization coarse adjustment parameter; based on a pre-selected equalization fine adjustment mode, iteratively configure an offset value for the first receiving equalization coarse adjustment parameter, evaluate the eye diagram quality corresponding to each offset value, and determine the first receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation;
[0020] A transmitting end fine-tuning unit is used to perform equalization fine-tuning of the transmitting direction of the opposite end based on the equalization fine-tuning parameters at the transmitting end, generate a combination of candidate equalization coarse-tuning parameters for the receiving direction at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a second receiving equalization coarse-tuning parameter; based on a pre-selected equalization fine-tuning mode, iteratively configure an offset value for the second receiving equalization coarse-tuning parameter, evaluate the eye diagram quality corresponding to each offset value, determine the second receiving equalization fine-tuning parameter according to the optimal eye diagram quality obtained by the evaluation, and configure the second receiving equalization fine-tuning parameter to the receiving end physical layer.
[0021] Compared with the related art, the technical solution of the present application has at least the following advantages:
[0022] By combining the coarse and fine adjustments of TXEQ in the sending direction with the coarse and fine adjustments of RXEQ in the receiving data, it is adapted to various medium, long and short links, and can better complete signal compensation to improve signal readability, reduce bit error rate, and improve signal integrity to ensure the reliability of data transmission. More importantly, it can ensure that the data works stably at a higher rate, thereby achieving the purpose of supporting a higher transmission rate.
[0023] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained through the structures and processes indicated in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. It is obvious that the drawings described below are certain embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0025] Figure 1 It is an architecture diagram of a SAS protocol equalization method according to an exemplary embodiment of the present application.
[0026] Figure 2 is a flow chart of a SAS protocol equalization method according to an exemplary embodiment of the present application.
[0027] Figure 3 is a flow chart of a TXEQ coarse adjustment method according to an exemplary embodiment of the present application.
[0028] Figure 4 It is a flow chart of a TXEQ fine adjustment method according to an exemplary embodiment of the present application.
[0029] Figure 5 is a flow chart of a RXEQ coarse adjustment method according to an exemplary embodiment of the present application.
[0030] Figure 6 is a state diagram of the implementation process of RXEQ fine tuning according to an exemplary embodiment of the present application.
[0031] Figure 7 is a flow chart of the RXEQ multi_mode fine adjustment mode according to an exemplary embodiment of the present application.
[0032] Figure 8 is a flow chart of the RXEQ single_mode fine adjustment mode according to an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0034] In high-speed serial communication, signals may be affected by various factors during transmission, such as attenuation, distortion, clock offset, etc. Under the SAS protocol, the link data received in the receiving direction is generally distorted. In order to ensure the integrity and accuracy of the data, it is necessary to perform appropriate equalization and recovery processing on the signal to compensate for the distortion of the signal during transmission and improve the integrity of the signal.
[0035] When the I / O interface supports the SAS protocol and Serdes does not support automatic adjustment of RX equalization parameters, the SAS protocol does not provide specific methods and parameters for equalization in the receiving direction, which will affect the quality and speed of data transmission.
[0036] Based on the above analysis, this application proposes a SAS protocol equalization method and device, the overall architecture is as follows Figure 1, combining the transmit direction equalization coarse adjustment (TXEQ coarse adjustment), the transmit direction equalization fine adjustment (TXEQ fine adjustment), the receive direction equalization coarse adjustment (RXEQ coarse adjustment) and the receive direction equalization fine adjustment (RXEQ fine adjustment). In the sending direction, a method combining coarse adjustment of the TXEQ of the other end and coarse adjustment of the RXEQ of the local end, fine adjustment of RXEQ, and DFE Adaption is performed. The equalization result is sent to the eye diagram scanning module to obtain the equalization result. The Coefficient 1 request, Coefficient 2 request, and Coefficient 3 request provided by the SAS protocol are used to adjust the direction parameter table for TXEQ fine adjustment. This TXE fine adjustment table has a total of 11 groups of direction adjustment combinations. Each time a parameter combination is selected to perform fine adjustment of the current TXEQ of the other end. After completing one fine adjustment of the TXEQ of the other end, a method combining coarse adjustment of the RXEQ of the local end, fine adjustment of RXEQ, and DFE Adaption is required. The equalization result is sent to the eye diagram scanning module to obtain the equalization result. Finally, the optimal FOM value judgement device selects a group of TXEQ equalization parameters and RXEQ equalization coefficients with the optimal FOM value as the final equalization result, and service data transmission begins. If the equalization result does not meet the optimal link establishment requirement value, the link establishment fails, and the equalization coefficient selection needs to be performed again.
[0037] In the sending direction, TXEQ coarse adjustment and TXEQ fine adjustment are required to complete the adjustment of the TX equalization coefficient of the other end. After each TXEQ coarse adjustment or TXEQ fine adjustment is completed, it is necessary to perform a receiving direction equalization coarse adjustment (RXEQ coarse adjustment) and equalization fine adjustment (RXEQ fine adjustment) and DFE Adaption combined equalization method. After multiple iterative debugging, TXEQ coarse adjustment is performed using the coefficients specified in the SAS protocol, and TXEQ fine adjustment is also performed using the direction adjustment coefficients specified in the protocol.
[0038] This application adopts a combination of TXEQ coarse adjustment, RXEQ coarse adjustment, RXEQ fine adjustment and DFE Adaption to calculate the eye diagram FOM value once, and then uses a combination of TXEQ fine adjustment + RXEQ coarse adjustment + RXEQ fine adjustment + DFE Adaption to calculate the eye diagram FOM value once, and finally selects a set of TXEQ equalization parameters and RXEQ equalization parameters with the best FOM value through the optimal FOM value judge as the final equalization result, and starts business data transmission.
[0039] RXEQ coarse adjustment adopts a 3-out-of-1 parameter selection method to support medium, long and short links. RXEQ fine adjustment adopts a 3-out-of-1 fine adjustment method to achieve low-distortion recovery of received data when Serdes does not support automatic adjustment of RX equalization parameters. The method given in this application is implemented within the physical coding sublayer PCS and is adapted to different types of Serdes, including Serdes that do not support automatic adjustment of RX equalization parameters.
[0040] See also Figure 2 The SAS protocol equalization method provided in the present application includes:
[0041] Step 201: at the transmitting end, based on a pre-selected transmitting end coarse adjustment method, perform coarse equalization adjustment on the transmitting direction of the other end, at the receiving end, generate a combination of candidate coarse equalization adjustment parameters for the receiving direction, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a first receiving coarse equalization adjustment parameter; based on a pre-selected equalization fine adjustment mode, iteratively configure an offset value for the first receiving coarse equalization adjustment parameter, evaluate the eye diagram quality corresponding to each offset value, and determine the first receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation.
[0042] In some specific embodiments, TXEQ coarse adjustment is implemented using one of the three modes of no_equalization, preset1, and preset2 specified in the SAS protocol, see Figure 3 There are currently three main modes for receiving equalization: manual mode, RXEQ coarse adjustment, and a combination of RXEQ coarse adjustment and RXEQ fine adjustment. RXEQ coarse adjustment is implemented using one of the three modes: no emphasis, reference1 preset, and reference2 preset. Figure 5 .
[0043] In a specific embodiment, the TXEQ rough adjustment process is as follows: perform rough adjustment of the opposite end TXEQ according to the three sets of coefficient values specified in the SAS protocol, then evaluate the FOM value, find the TX preset corresponding to the optimal FOM value, and configure it on the opposite end TX finite impulse response FIR.
[0044] Exemplarily, the implementation of RXEQ coarse adjustment is as follows: the other end TX sets the preset transmission parameter TXpreset of the transmitter in one of the three ways of no emphasis, reference1 preset, and reference2 preset according to its own situation. Each TX Preset parameter of these three TX preset parameters corresponds to 10 groups of VGA and CTLE configuration parameter values. The 10 groups of parameters contain parameter configuration information values of medium, long, and short links, which are obtained by screening parameters. The 10 groups of VGA and CTLE configuration values use a 10-bit vector to represent their enable information, and each bit of the vector represents whether a corresponding group of VGA and CTLE is enabled.
[0045] When VGA and CTLE are roughly adjusted, the enabled VGA and CTLE combinations are traversed to find a set of VGA and CTLE corresponding to the best eye diagram quality. RXEQ rough adjustment is to select a set of optimal parameters from the N sets of RX parameters corresponding to each rate and send them to the Serdes module. For specific implementation, see Figure 5 , get the figure of merit (FOM) of the current parameter combination by calling the RXEQ module and save it. For each 10-bit vector, determine the relationship between the current FOM value and the saved FOM value. If the current FOM value is larger, update the optimal parameter. If the current FOM value is smaller, ignore the current value. Configure the parameter combination corresponding to the final maximum FOM value to the physical layer PHY and save the parameter to the register.
[0046] Step 202: at the transmitting end, fine-tune the equalization in the transmitting direction of the other end based on the equalization fine-tuning parameters, generate a combination of candidate equalization coarse-tune parameters for the receiving direction at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain the second receiving equalization coarse-tune parameter; based on the pre-selected equalization fine-tune mode, iteratively configure the offset value for the second receiving equalization coarse-tune parameter, evaluate the eye diagram quality corresponding to each offset value, determine the second receiving equalization fine-tune parameter according to the optimal eye diagram quality obtained by the evaluation, and configure the second receiving equalization fine-tune parameter to the receiving end physical layer.
[0047] Exemplarily, the transmit direction equalization fine adjustment (TXEQ fine adjustment) is a directional equalization performed based on the preset corresponding to the optimal FOM value obtained by the TXEQ coarse adjustment, see Figure 4 .
[0048] The receive direction equalization fine adjustment (RXEQ fine adjustment) is implemented using one of the three modes adapt_mode, single_mode, and multi_mode to adapt to various medium, long, and short links, such as Figure 6As shown in the figure, the purpose of RXEQ coarse adjustment is to find the best set of RX equalization parameters, including VGA, CTLE (equalizer response (EQR), equalizer control (EQC)). In order to achieve low distortion recovery of received data through the equalization method combining RXEQ coarse adjustment and RXEQ fine adjustment, RXEQ fine adjustment further fine-tunes the VGA and CTLE parameters based on the RXEQ coarse adjustment results. Each time the RXEQ fine adjustment adjusts the VGA and CTLE parameters, the adjustment results will be sent to the eye diagram generation module for eye diagram quality evaluation, and the optimal VGA, CTLE parameters and eye diagram results will be output through iterative comparison.
[0049] In a possible embodiment, based on a pre-selected equalization fine adjustment mode, step 202 further includes:
[0050] Configure the offset values of the VGA, EQR and EQC parameters respectively, and traverse all the combinations of the offset VGA, EQR and EQC parameters; evaluate the eye diagram quality corresponding to each combination, and determine the fine-tuning values of VGA, EQR and EQC according to the optimal eye diagram quality.
[0051] In Multi mode, based on a set of RX preset parameters obtained by RX coarse adjustment, such as VGA_preset, EQR_preset and EQC_preset, where VGA, EQR and EQC each correspond to a configurable offset value (±offset), obtain the parameter combinations of VGA_preset±offset1, EQR_preset±offset2 and EQC_preset±offset3, traverse all the combinations in the three-dimensional direction, determine the relationship between the current FOM value and the saved FOM value, and if the current FOM value is larger, update the optimal parameter. If the current FOM value is smaller, ignore the current value. In this way, find the RX parameter combination corresponding to the optimal FOM, see Figure 7 .
[0052] In a possible embodiment, based on a pre-selected equalization fine adjustment mode, step 202 further includes:
[0053] Keep the EQR and EQC parameters unchanged, configure the offset value of the VGA parameter, traverse the multiple VGA parameters after the offset, evaluate the eye diagram quality corresponding to each VGA parameter, and determine the VGA fine-tuning value based on the optimal eye diagram quality;
[0054] Keep the VGA and EQC parameters unchanged, configure the offset value of the EQR parameter, traverse the multiple EQR parameters after the offset, evaluate the eye diagram quality corresponding to each EQR parameter, and determine the EQR fine-tuning value based on the optimal eye diagram quality;
[0055] Keep the VGA and EQR parameters unchanged, configure the offset value of the EQC parameter, traverse multiple EQC parameters after the offset, evaluate the eye diagram quality corresponding to each EQC parameter, and determine the EQC fine-tuning value based on the optimal eye diagram quality.
[0056] For example, see Figure 8 In Single mode, follow VGA->EQR->EQC, that is, adjust the VGA parameters first, then adjust the EQR parameters, and finally adjust the EQC parameters. When adjusting each parameter, the values of the other two remain unchanged. The premise of this mode is that VGA, EQR and EQC are linearly independent.
[0057] In the Adapt_mode mode of RXEQ fine adjustment, based on the RXEQ coarse adjustment result, the physical medium attachment (PMA) automatically adjusts the parameters internally to evaluate the eye diagram quality and obtain the optimal eye diagram result.
[0058] It can be seen that the SAS protocol equalization method proposed in this application has the following advantages compared with the related technology: it adopts a combination of coarse adjustment of received data RXEQ and fine adjustment of received data RXEQ to adapt to various medium, long and short links, and can better complete signal compensation to improve signal readability, reduce bit error rate, and at the same time improve signal integrity to ensure the reliability of data transmission. More importantly, it can ensure that data can work stably at a higher rate to achieve the purpose of supporting a higher transmission rate.
[0059] Accordingly, the present application provides a SAS protocol equalization device in a second aspect, comprising:
[0060] A transmitting end coarse adjustment unit is used to perform coarse equalization adjustment in the transmitting direction of the opposite end based on a pre-selected transmitting end coarse adjustment mode at the transmitting end, generate a receiving direction candidate equalization coarse adjustment parameter combination at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a first receiving equalization coarse adjustment parameter; based on a pre-selected equalization fine adjustment mode, iteratively configure an offset value for the first receiving equalization coarse adjustment parameter, evaluate the eye diagram quality corresponding to each offset value, and determine the first receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation;
[0061] A transmitting end fine-tuning unit is used to perform equalization fine-tuning of the transmitting direction of the opposite end based on the equalization fine-tuning parameters at the transmitting end, generate a combination of candidate equalization coarse-tuning parameters for the receiving direction at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a second receiving equalization coarse-tuning parameter; based on a pre-selected equalization fine-tuning mode, iteratively configure an offset value for the second receiving equalization coarse-tuning parameter, evaluate the eye diagram quality corresponding to each offset value, determine the second receiving equalization fine-tuning parameter according to the optimal eye diagram quality obtained by the evaluation, and configure the second receiving equalization fine-tuning parameter to the receiving end physical layer.
[0062] The above-mentioned device can be implemented by the SAS protocol balancing method provided by the embodiment of the above-mentioned first aspect. The specific implementation method can refer to the description in the embodiment of the first aspect, and will not be repeated here.
[0063] It is understood that the names and parameters described in the above embodiments are only examples. Those skilled in the art can also easily think of combinations and adjustments to the structural features of the above embodiments according to the use requirements, and should not limit the concept of the present application to the specific details of the above examples.
[0064] Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that he or she may still modify the technical solutions described in the aforementioned embodiments, or make equivalent substitutions for some of the technical features therein; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A SAS protocol equalization method, characterized in that: include: At the transmitting end, based on the pre-selected transmitting end coarse adjustment mode, the transmitting end performs coarse equalization adjustment in the transmitting direction of the opposite end, generates a receiving direction candidate coarse equalization adjustment parameter combination at the receiving end, traverses each candidate combination, and judges the corresponding eye diagram quality, determines the candidate combination with the best eye diagram quality, and obtains the first receiving equalization coarse adjustment parameter; Iteratively configuring an offset value for the first receiving equalization coarse adjustment parameter based on a pre-selected equalization fine adjustment mode, evaluating the eye diagram quality corresponding to each offset value, and determining the first receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation; Performing equalization fine adjustment on the sending direction of the other end based on the first receiving equalization fine adjustment parameter at the transmitting end, generating a receiving direction candidate equalization coarse adjustment parameter combination at the receiving end, traversing each candidate combination, and judging the corresponding eye diagram quality, determining the candidate combination with the best eye diagram quality, and obtaining the second receiving equalization coarse adjustment parameter; Iteratively configuring an offset value for the second receiving equalization coarse adjustment parameter based on a pre-selected equalization fine adjustment mode, evaluating the eye diagram quality corresponding to each offset value, determining the second receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation, and configuring the second receiving equalization fine adjustment parameter to the receiving end physical layer; After the transmitting end performs coarse equalization adjustment in the transmitting direction of the opposite end based on the pre-selected coarse adjustment mode of the transmitting end, the generating of a candidate coarse equalization adjustment parameter combination in the receiving direction at the receiving end further includes: A receiving end equalization coarse adjustment mode is preselected, and a video graphics array and a continuous time linear equalizer parameter are generated based on the receiving end equalization coarse adjustment mode. The receiving end equalization coarse adjustment mode includes a no emphasis mode, a reference1 preset mode, and a reference2 preset mode.
2. The SAS protocol equalization method according to claim 1, characterized in that: The iteratively configuring the offset value of the second receiving equalization coarse adjustment parameter based on the pre-selected equalization fine adjustment mode further comprises: Configure the offset values of the VGA, EQR, and EQC parameters respectively, and traverse all combinations of the offset VGA, EQR, and EQC parameters; The eye diagram quality corresponding to each combination is evaluated, and the fine-tuning values of VGA, EQR, and EQC are determined based on the optimal eye diagram quality.
3. The SAS protocol equalization method according to claim 1, characterized in that: The iteratively configuring the offset value of the second receiving equalization coarse adjustment parameter further comprises: Keep the EQR and EQC parameters unchanged, configure the offset value of the VGA parameter, traverse the multiple VGA parameters after the offset, evaluate the eye diagram quality corresponding to each VGA parameter, and determine the VGA fine-tuning value based on the optimal eye diagram quality; Keep the VGA and EQC parameters unchanged, configure the offset value of the EQR parameter, traverse the multiple EQR parameters after the offset, evaluate the eye diagram quality corresponding to each EQR parameter, and determine the EQR fine-tuning value based on the optimal eye diagram quality; Keep the VGA and EQR parameters unchanged, configure the offset value of the EQC parameter, traverse multiple EQC parameters after the offset, evaluate the eye diagram quality corresponding to each EQC parameter, and determine the EQC fine-tuning value based on the optimal eye diagram quality.
4. The SAS protocol equalization method according to claim 1, characterized in that: The method is implemented inside the physical coding sublayer PCS.
5. A SAS protocol equalization device, characterized in that: include: A transmitting end coarse adjustment unit is used to perform coarse equalization adjustment of the transmitting direction of the opposite end based on a pre-selected transmitting end coarse adjustment mode at the transmitting end, generate a receiving direction candidate equalization coarse adjustment parameter combination at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a first receiving equalization coarse adjustment parameter; Iteratively configuring an offset value for the first receiving equalization coarse adjustment parameter based on a pre-selected equalization fine adjustment mode, evaluating the eye diagram quality corresponding to each offset value, and determining the first receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation; A transmitting end fine-tuning unit, configured to perform equalization fine-tuning of the transmitting direction of the opposite end based on the first receiving equalization fine-tuning parameter at the transmitting end, generate a receiving direction candidate equalization coarse-tuning parameter combination at the receiving end, traverse each candidate combination, and judge the corresponding eye diagram quality, determine the candidate combination with the best eye diagram quality, and obtain a second receiving equalization coarse-tuning parameter; Iteratively configuring an offset value for the second receiving equalization coarse adjustment parameter based on a pre-selected equalization fine adjustment mode, evaluating the eye diagram quality corresponding to each offset value, determining the second receiving equalization fine adjustment parameter according to the optimal eye diagram quality obtained by the evaluation, and configuring the second receiving equalization fine adjustment parameter to the receiving end physical layer; The transmitting end coarse adjustment unit is further used for: A receiving end equalization coarse adjustment mode is preselected, and a video graphics array and a continuous time linear equalizer parameter are generated based on the receiving end equalization coarse adjustment mode. The receiving end equalization coarse adjustment mode includes a no emphasis mode, a reference1 preset mode, and a reference2 preset mode.
6. The SAS protocol equalization device according to claim 5, characterized in that: The transmitting end fine adjustment unit is further used for: Configure the offset values of the VGA, EQR, and EQC parameters respectively, and traverse all combinations of the offset VGA, EQR, and EQC parameters; The eye diagram quality corresponding to each combination is evaluated, and the fine-tuning values of VGA, EQR, and EQC are determined based on the optimal eye diagram quality.
7. The SAS protocol equalization device according to claim 5, characterized in that: The transmitting end fine adjustment unit is further used for: Keep the EQR and EQC parameters unchanged, configure the offset value of the VGA parameter, traverse the multiple VGA parameters after the offset, evaluate the eye diagram quality corresponding to each VGA parameter, and determine the VGA fine-tuning value based on the optimal eye diagram quality; Keep the VGA and EQC parameters unchanged, configure the offset value of the EQR parameter, traverse the multiple EQR parameters after the offset, evaluate the eye diagram quality corresponding to each EQR parameter, and determine the EQR fine-tuning value based on the optimal eye diagram quality; Keep the VGA and EQR parameters unchanged, configure the offset value of the EQC parameter, traverse multiple EQC parameters after the offset, evaluate the eye diagram quality corresponding to each EQC parameter, and determine the EQC fine-tuning value based on the optimal eye diagram quality.
8. The SAS protocol equalization device according to claim 5, characterized in that: The device is implemented inside the physical coding sublayer PCS.
Citation Information
Patent Citations
Automatic adjustment and optimization system for Ethernet receiving end equalizer
CN112532550A
Signal receiving apparatus and two-stage adaptive equalization method thereof
US20150207652A1