A method for generating code pattern for signal integrity analysis

By designing a simulation pattern that comprehensively considers inter-symbol interference and power supply noise, the problem of low accuracy of the IBIS model and low efficiency of the transistor-level model is solved. Fast and accurate simulation of high-speed interface link signal integrity analysis is achieved, which improves the efficiency of the IBIS model. Design efficiency.

CN112329372BActive Publication Date: 2024-10-18BLUE OCEAN SMART SYST (NANJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011288499.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-11-17
Publication Date
2024-10-18
Estimated Expiration
2040-11-17

AI Technical Summary

Technical Problem

The existing IBIS model has low accuracy in signal integrity simulation, and the transistor-level SPICE model has low simulation efficiency, resulting in low efficiency in high-speed interface link signal integrity analysis and inability to quickly iterate and accept.

Method used

Design a pattern for signal integrity analysis. By reading the S-parameter model of the signal link, determine the crosstalk order, generate the PRBS seed pattern, consider inter-symbol interference and power supply noise, and generate the crosstalk pattern and power supply noise pattern. , perform cascade processing to generate the shortest simulation pattern.

Benefits of technology

It achieves rapid acquisition of the worst signal eye diagram quality in the full-link signal integrity analysis of transistor-level high-speed interfaces, improves simulation efficiency and design acceptance efficiency, and enhances simulation feasibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112329372B_ABST
    Figure CN112329372B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for generating a code pattern that can be used for signal integrity analysis, which includes reading a signal full-link S parameter model, determining the crosstalk order of bits in each high-speed interface, and determining the attacked party corresponding to each signal line according to the maximum number of attackers of the victim signal; generating a PRBS seed code pattern so that it includes the worst inter-code interference effect, and rewriting the PRBS seed code pattern into code pattern a; using code pattern a as the seed code pattern, generating code pattern b including the crosstalk of each signal; reading the S parameter model of the PDN link or the PDN impedance resonant frequency, post-processing code pattern b, and generating code pattern c including the worst power supply noise. The present invention can simulate the theoretical worst result of the PRBS code pattern, and can also accurately simulate the signal quality of the full link of the high-speed interface, solving the defects that the traditional method cannot consider the power supply noise and has accuracy problems, making the acceptance design basis of the full link of the high-speed interface more reliable, avoiding over-design or under-design, and saving design costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention discloses a method for generating a code pattern for signal integrity analysis, relates to a transistor-level simulation analysis code pattern for a high-speed interface circuit, and belongs to the field of electronic technology. Background Art

[0002] Signal integrity (SI) is a task that simulates and analyzes the entire link of a high-speed interface to evaluate whether the signal quality meets the design requirements. It usually requires comprehensive consideration of power supply noise, signal link crosstalk, reflection, loss and other effects, and ultimately uses the superimposed eye diagram width and height as the basis for judgment.

[0003] The full-link SI simulation of high-speed interfaces can be performed based on the behavioral IBIS model of IO or the transistor-level SPICE netlist. The IBIS model has the advantages of fast speed and hiding the internal details of the design, but the IBIS model cannot handle the signal jitter caused by power supply noise. At the same time, because the IBIS model uses a table lookup method similar to that based on the edge in the circuit simulation tool processing, the IBIS model cannot correctly handle the signal input that has been pre-emphasized. In addition, the IBIS model cannot effectively handle the impact of link feedback on IO performance like the transistor-level SPICE model. Therefore, SI simulation based on the IBIS model can be quickly iterated in the early stage or during the design, but the transistor-level SPICE model is still irreplaceable for acceptance simulation in the middle and late stages of the design. The transistor-level SPICE model is the model that can most accurately simulate the actual working performance of the high-speed link, and the shortcomings of the above-mentioned IBIS model can be solved. However, since the transistor itself is a nonlinear device, it is very time-consuming in SPICE circuit simulation, especially the IOSPICE netlist that includes chip wiring parasitic parameters. The netlist node scale can reach millions, and the complexity is very high when simulating multiple IOs, and the simulation efficiency is low.

[0004] Another major factor that leads to the poor feasibility of SI simulation based on transistor-level SPICE netlist is the length of the simulation pattern. SI simulation needs to comprehensively consider the influence of factors such as power supply noise, crosstalk and ISI, and needs to simulate a sufficiently long pattern to obtain the worst case. Short patterns are not representative and may make the results overly optimistic. For a typical 32-bit LPDDR4X interface, using a PRBS pattern of several thousand bits in length, the transistor-level SPICE netlist takes about a week to simulate on the current mainstream server, and the iteration efficiency is very low. If setting errors occur, it will seriously affect the chip design progress. Therefore, in high-speed interface link SI simulation, although its accuracy is recognized as the best, SI simulation based on transistor-level SPICE netlist is generally considered to be inefficient or very infeasible. Summary of the invention

[0005] In order to solve the problem of low precision of the IBIS model and low efficiency of the transistor-level model, the present invention proposes a method for generating a code pattern for signal integrity analysis. The design of the code pattern comprehensively considers the superposition effect of factors such as inter-symbol interference, crosstalk noise, and power supply noise on signal quality, thereby ensuring that the worst simulation result is obtained with the shortest code pattern, greatly improving the efficiency of full-link signal integrity analysis of high-speed interfaces based on the transistor level.

[0006] To achieve the above purpose, the technical solution provided by the present invention is as follows:

[0007] A method for generating a code pattern for signal integrity analysis includes the following steps: first, reading a signal link S parameter model, determining the crosstalk order of each bit of each high-speed interface, and determining the victim corresponding to each signal line according to the maximum number of attackers of the victim signal.

[0008] Secondly, a PRBS seed pattern is generated and the pattern a is rewritten to include the worst inter-symbol interference effect.

[0009] Then, using pattern a as the seed pattern, generate the crosstalk pattern b of each signal. If you only need to pay attention to the eye diagram quality of a certain signal, you only need to generate a pattern for that signal; if you need to pay attention to the eye diagram quality of all signals, you need to generate patterns for all signals and cascade them.

[0010] Finally, the S-parameter model of the PDN link or the PDN impedance resonant frequency is read, and pattern b is post-processed to generate pattern c that includes the worst power supply noise effect.

[0011] Compared with the traditional signal integrity simulation code pattern, the present invention has the following advantages:

[0012] 1. The code design of the present invention comprehensively considers the superimposed influence of factors such as inter-symbol interference, crosstalk noise and power supply noise on signal quality, ensuring that the signal integrity simulation using the code of the present invention can obtain the theoretically worst signal eye diagram quality of a given channel.

[0013] 2. The code pattern provided by the present invention needs to take into account the superimposed effects of factors such as inter-symbol interference, crosstalk noise and power supply noise. It is necessary to write these code patterns in a superimposed manner, rather than simply cascading various effects like traditional code patterns or directly using relatively high-order PRBS long code patterns. Therefore, the code pattern length provided by the present invention is short enough.

[0014] 3. Combining 1 and 2, the code type provided by the present invention is the best among the current code types in terms of acceptance design efficiency and quality, which greatly improves the efficiency of transistor-level high-speed interface full-link signal integrity simulation acceptance design and enhances feasibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to make the purpose, technical solution and beneficial effects of the present invention clearer, the present invention provides the following drawings for illustration:

[0016] Figure 1 It is a flow chart of an implementation scheme of the present invention;

[0017] FIG2 is a schematic diagram of various simulation code patterns involved in the implementation of the present invention, FIG2(a) is a PRBS code pattern, FIG2(b) is an ISI code pattern, FIG2(c) is an even mode crosstalk code pattern, FIG2(d) is an odd mode crosstalk code pattern, and FIG2(e) is a worst PDN code pattern;

[0018] Figure 3 It is an example of the complete simulation code pattern proposed by the present invention;

[0019] Figure 4 It is a block diagram of the code type proposed in the present invention for complete simulation acceptance of full-link signals based on transistor-level high-speed interface. DETAILED DESCRIPTION

[0020] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0021] Reference Figure 1 As shown in FIG2 , the detailed implementation steps of the present invention are as follows:

[0022] Step 1: For each attacked signal, obtain the crosstalk ranking of its attacking signal.

[0023] First, read in the S parameter model of the high-speed interface link, and for each signal, read the crosstalk of other signals to it and sort them by amplitude. The amplitude here can be selected from a single frequency point (usually the Nyquist frequency of the high-speed interface), or the root mean square value of the crosstalk amplitude of multiple frequency points near the Nyquist frequency. The latter is mainly to take into account the possible resonance problem of the channel, which will cause errors in the single frequency point method.

[0024] The S parameters here must be the S parameters of the entire link, which can be obtained by cascading the S parameters of each module such as the package / PCB through a script tool or a commercial tool.

[0025] Obtaining the crosstalk sorting of attack signals is very important for some advanced DDR interface code designs with DBI function, because under the DBI function byteThere are a maximum of 5 signals switching at the same time, so selecting the attack signal with the largest crosstalk to perform odd-mode and even-mode attacks on the victim signal will simulate the worst attack effect with the shortest pattern. For multi-channel SERDES interfaces without DBI function, a pattern design similar to DBI can be used to reduce unnecessary pattern length, because the crosstalk control of high-speed SERDES interfaces is generally strict, and the crosstalk of channels far away from the victim signal can be basically ignored.

[0026] Step 2, generate a PRBS seed pattern, and rewrite the pattern a to include the worst inter-symbol interference effect.

[0027] As shown in Figure 2 (a), the PRBS seed pattern a after rewriting includes the inter-symbol interference effect. Since the pattern design of the present invention takes into account the effects of inter-symbol interference, crosstalk noise and power supply noise, the length requirement for the PRBS seed pattern is relatively low. Generally, PRBS5 is sufficient. For those with severe inter-symbol interference, PRBS6 or higher order can be selected.

[0028] The typical inter-symbol interference pattern is shown in Figure 2(b). Taking the ISI pattern as an example, it generally includes long 0 and long 1 patterns. The specific length depends on the link channel quality and the rate of the high-speed interface. It can be determined by pulse response simulation of the link channel. This pattern is modified based on the PRBS pattern to be reflected in the final pattern design.

[0029] Step 3: Using code pattern a as a seed code pattern, generate crosstalk code pattern b of each signal.

[0030] For crosstalk patterns, odd mode and even mode are two extreme attack patterns, as shown in Figure 2(c) and Figure 2(d). DQ , DQ1 , DQ2 ) as an example, combining the results of steps 1 and 2, the code types b of the three signals can be generated as follows:

[0031] ;

[0032] in, The first column is the even mode code, and the following three columns correspond to DQ , DQ1 and DQ2 Odd-mode pattern.

[0033] Since the odd-mode pattern of each signal needs to be set and cascaded separately, limiting the number of attack signals of the signal directly helps to reduce the pattern length. For high-speed interface links, there is generally a stricter crosstalk control, and selecting 4 to 6 attack signals is basically close to the worst crosstalk noise.

[0034] Step 4: read the S parameter model of the PDN link or the PDN impedance resonant frequency, post-process the pattern b, and generate the pattern c including the worst power supply noise effect.

[0035] The pattern that can excite the worst PDN noise is the pattern that is consistent with the resonant frequency of the PDN, as shown in Figure 2(e). Therefore, in this step, we first need to read the PDN system-level S parameter model and analyze the resonant frequency of the PDN. f pdn , or directly enter the known PDN resonant frequency f pdn .

[0036] Generally, the system-level PDN resonant frequency of a high-speed interface is much lower than the operating frequency of the high-speed interface. f op , taking the DDR interface as an example, the former is usually between 100MHz and 200MHz. In order to superimpose the noise effect of PDN on the inter-symbol interference and crosstalk noise, a certain number of bits "0" or "1" are directly inserted into the code b generated in step 3 at a certain interval to construct a code envelope consistent with the PDN resonant frequency. The specific number depends on f op and f pdn The ratio of M .

[0037] M =[ f op / f pdn ];

[0038] Taking LPDDR4X with an operating frequency of 1866 MHz as an example, assuming that its PDN resonance frequency is 200 MHz, M is 9. The method of rewriting code type b to code type c is to add 9 "0" or "1" every 9 bits.

[0039] Code b: b0 b1 b2 … b9 b10 … b16 b17 b18 …

[0040] Code c: b0 b1 b2 … b9 000000000 b10 … b16 b17 b18 000000000 …

[0041] Figure 3 This is a simulation code example proposed by the present invention.

[0042] A typical application of the present invention is as follows Figure 4As shown, for the accuracy of simulation, especially in the design acceptance stage, TXIO is preferably a transistor-level netlist including chip routing parasitic parameters, which leads to a very high simulation complexity of the entire link. If a traditional random pattern is used as a stimulus source, a relatively long simulation pattern is required to cover various possible bad patterns, and the simulation efficiency is very low. The pattern provided by the present invention can solve this problem well.

[0043] Table 1 is a comparison of the results of the code pattern proposed by the present invention and the code pattern used in the traditional signal integrity simulation, where PRBS12 is a random sequence code pattern, and the cascaded code pattern is a code pattern that simply cascades the crosstalk code pattern, the inter-code interference code pattern, and the power supply noise code pattern. The code pattern efficiency proposed by the present invention is 4 times that of the cascaded code pattern and more than 7 times that of the PRBS12 code pattern. From the simulation results, although the PRBS12 code pattern has a length of 4096 bits, it still fails to simulate a sufficiently bad situation. The cascaded code pattern can be closer to the performance of the code pattern of the present invention, but because it fails to cover the superposition effect, it still cannot simulate the worst signal quality. The code pattern proposed by the present invention takes into account the various effects that affect the quality of the eye diagram and their superposition effects. Whether it is eye height or jitter, it is the worst, which can reflect the real worst case of high-speed interface design.

[0044] Table 1:

[0045] Code Type Simulation time Eye height (mV) Jitter(ps) PRBS12(4096) 3days:22hrs 208 12.6 Cascade code (2048) 50hrs:27mins 169 18.1 Code type (512) of the present invention 13hrs:32mins 155 23.8

Claims

1. A method for generating a code pattern for signal integrity analysis, characterized in that: The method comprises the following steps: Step 1: Read the full-link S parameter model of the signal, determine the crosstalk order of the bits in each high-speed interface, and determine the victim corresponding to each signal line according to the maximum number of attackers of the victim signal; Step 2: Generate a PRBS seed pattern to include the worst inter-symbol interference effect, and rewrite the PRBS seed pattern into pattern a; When the high-speed interface is provided with a DBI function, a setting corresponding to the DBI function is added to the PRBS seed pattern; when the high-speed interface does not have a DBI function, the maximum number of attack signals of the victim signal is set to reduce the pattern length; The DBI function means that in a parallel interface, at most 4 bits of 8-bit data are inverted at the same time. If more than 4 bits are inverted, the bits are inverted, thereby controlling the number of bits for synchronous switching and reducing synchronous switching noise and power consumption; Step 3: Using code pattern a as a seed code pattern, generate code pattern b including the crosstalk noise of each signal; When you only need to pay attention to the eye diagram quality of a certain signal, you only need to generate a code pattern for that signal; when you need to pay attention to the eye diagram quality of all signals, you need to generate code patterns for all signals and cascade them; The crosstalk noise pattern, for each bit, generates odd-mode and even-mode patterns to reflect the worst crosstalk noise impact according to the attack signal crosstalk ranking obtained from the full-link S parameter and whether the DBI function is provided; Step 4: read the S parameter model of the PDN link or the PDN impedance resonant frequency, post-process the code pattern b, and generate a code pattern c including the worst power supply noise, wherein bits "0" or "1" are inserted at preset intervals in the code pattern b to construct a code pattern envelope consistent with the PDN resonant frequency, so as to superimpose the noise effect of the PDN on the inter-symbol interference and crosstalk noise; The worst inter-symbol interference pattern of each signal is generated according to the impulse response obtained by the S parameter model of the signal link, and the inter-symbol interference patterns of the signals are the same or different.

2. A method for generating a code pattern for signal integrity analysis as claimed in claim 1, characterized in that: The signal integrity analysis includes a high-speed interface chip driver-side transistor-level IO netlist or IBIS model, a package link model, a PCB link model, and a receiving-side chip package and IO model or other forms of IO model.

3. The method for generating a code pattern for signal integrity analysis according to claim 1, characterized in that: The envelope frequency of the power supply noise pattern is consistent with the anti-resonance frequency point of the power distribution network, and can stimulate the theoretical worst noise.

4. The method for generating a code pattern for signal integrity analysis according to claim 1, characterized in that: The code pattern generation step is implemented in a background mode or a visual interactive interface through a scripting language or a programming language.

Citation Information

Patent Citations

  • Worst eye pattern realizing method on bases of PDN (peak distort analysis) and channel coordination model

    CN107330221A