MIPI C-PHY eye pattern simulation method, computer equipment, program product and storage medium
By generating the three-phase mapping code of the C-PHY transmitter and calculating the waveform, combined with transient simulation and bit-by-bit superposition technology, the problem of signal integrity assessment of the MIPI C-PHY interface was solved, and accurate eye diagram simulation and signal quality assessment were achieved.
Patent Information
- Application Number
- CN202511861257.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-11
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2045-12-11
AI Technical Summary
Existing eye diagram simulation methods cannot effectively evaluate the signal integrity of MIPI C-PHY interfaces, especially since they are not suitable for its unique three-wire differential architecture and complex state transition behavior.
By generating the three-phase mapping code of the C-PHY transmitter, calculating the waveforms of the single-ended and differential receivers, and combining transient simulation and bit-by-bit superposition techniques, accurate simulation of traditional eye diagrams and triggered eye diagrams is achieved.
It enables accurate eye diagram evaluation of the MIPI C-PHY interface, and can efficiently and accurately assess signal integrity.
Smart Images

Figure CN121301115A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of eye diagram simulation, in particular to a MIPI C-PHY eye diagram simulation method, a computer device, a program product and a storage medium. BACKGROUND
[0002] MIPI C-PHY is a high-speed serial interface standard widely used in mobile device display and camera interfaces, which adopts a unique three-wire differential architecture and a 3-phase symbol encoding scheme. Unlike traditional differential signal transmission methods, C-PHY transmits data through the relative level changes between A, B and C three wires. This encoding method has higher bandwidth efficiency and lower power consumption characteristics. The physical layer specification of C-PHY defines complex signal transition rules, where each symbol period contains the changes of three line states, which can transmit more information in a unit interval. With the increasing demand for data transmission rate of mobile devices, the latest specification of C-PHY has supported transmission rates exceeding 5Gbps / lane, which makes signal integrity analysis particularly important.
[0003] Since C-PHY adopts a three-wire interaction transmission mechanism, special methods and tools are needed for its signal quality evaluation. Traditional eye diagram analysis techniques based on differential pairs cannot be directly applied to this unique interface standard. Traditional eye diagram simulation methods usually focus on considering the single-bit response of the differential channel. However, C-PHY has 6 states of 3 different voltage levels on the three-wire transmission channel, and the receiving end has 3 differential outputs and 4 voltage levels. The complex state transition behavior needs to be considered in the C-PHY protocol eye diagram simulation algorithm. In addition, C-PHY provides an embedded clock link, which does not require an additional clock channel, so C-PHY eye diagrams have non-triggered and triggered forms, which introduces complexity. Therefore, there is an urgent need for a MIPI C-PHY eye diagram simulation method that can efficiently and accurately evaluate MIPI C-PHY eye diagrams. SUMMARY
[0004] The purpose of the present application is to provide a MIPI C-PHY eye diagram simulation method, a computer device, a program product and a storage medium, which can be applied to the eye diagram simulation of MIPI C-PHY, so as to efficiently and accurately evaluate the MIPI C-PHY eye diagram.
[0005] The technical solutions provided by the present application are as follows: In a first aspect, the present application provides a MIPI C-PHY eye diagram simulation method, comprising: generating three-phase mapping encoding of three ports A, B and C of the C-PHY transmitting end according to the NRZ code type signal generated by the C-PHY transmitting end; According to the three-phase mapping encoding of the three ports, a transmission end output waveform is generated, and a single-edge response signal of a C-PHY single-end receiving end A, B and C is calculated through transient simulation; A first waveform of the single-end receiving end A, B and C is obtained by superimposing the single-edge response signal bit by bit, and a second waveform of a differential receiving end AB, BC and CA is calculated according to the first waveform; A traditional eye diagram is obtained by continuously intercepting a 1UI length of the second waveform of the differential receiving end AB, BC and CA and superimposing the second waveform, and a C-PHY trigger eye diagram is obtained by aligning a trigger point of each UI of the second waveform of the differential receiving end AB, BC and CA, the trigger point being a first zero-crossing point of any one of the three second waveforms detected in each UI.
[0006] The scheme can generate the three-phase mapping encoding of the three ports A, B and C of the C-PHY transmission end according to the NRZ code type signal generated by the C-PHY transmission end, generate the transmission end output waveform according to the three-phase mapping encoding of the three ports, and calculate the single-edge response signal of the C-PHY single-end receiving end A, B and C through transient simulation. The first waveform of the single-end receiving end A, B and C and the second waveform of the differential receiving end AB, BC and CA can be obtained by superimposing the single-edge response signal bit by bit, combining the three-wire differential architecture and the symbol encoding rule specific to the C-PHY. The accurate simulation of the C-PHY traditional eye diagram and the trigger eye diagram can be realized according to the second waveform of the differential receiving end AB, BC and CA, the accurate eye diagram of the MIPI C-PHY interface is obtained, and the signal integrity of the MIPI C-PHY interface is evaluated.
[0007] In some embodiments, the generation of the three-phase mapping encoding of the three ports A, B and C of the C-PHY transmission end according to the NRZ code type signal generated by the C-PHY transmission end specifically includes: The 16-bit sequence of the NRZ code type signal is converted into 7 continuous symbols by a mapper, each symbol being 3 bits long and having 5 possible values, and being one of the following five values: 000, 001, 010, 011 and 100; According to the C-PHY encoding rule, the symbols are converted into a line state sequence to generate the three-phase mapping encoding of the three ports A, B and C.
[0008] In some embodiments, the generation of the transmission end output waveform according to the three-phase mapping encoding of the three ports and the calculation of the single-edge response signal of the C-PHY single-end receiving end A, B and C through transient simulation includes: According to the preset parameters and the three-phase mapping coding of the three ports, a C-PHY transmitting end output waveform is generated, and the preset parameters include a preset bit rate, a voltage level, a rising time and a falling time; According to the C-PHY transmitting end output waveform and an analog channel, a step response of single-ended receiving ends A, B and C is calculated through transient simulation; According to the step response, a single-edge response signal of the C-PHY single-ended receiving ends A, B and C is generated.
[0009] In some embodiments, the first waveform of the single-ended receiving ends A, B and C is obtained by bit-by-bit superposition of the single-edge response signal, including: The linear bit-by-bit superposition of the single-edge response signal is performed by using the linear time-invariant characteristics of the channel, and the calculation formula is: , , , wherein, 、 、 the first waveforms of the single-ended receiving ends A, B and C respectively, denote the kth bit, N denotes the total number of bits, and T is the time interval of each bit, 、 、 the step responses of the single-ended receiving ends A, B and C respectively, 、 、 the code types of the kth bit of the single-ended receiving ends A, B and C respectively.
[0010] In some embodiments, the calculation formula of the second waveforms of the differential receiving ends AB, BC and CA is: , , , wherein, 、 、 the second waveforms of the differential receiving ends AB, BC and CA respectively, the differential receiving end has four DC levels, and the four DC levels are respectively represented by 、 、 、 , , , , , wherein, is a high level of the single-ended receiving end, is a low level of the single-ended receiving end, is a medium level of the single-ended receiving end.
[0011] In some embodiments, the traditional eye diagram obtained by continuously intercepting 1UI length of the second waveform of the differential receiving end AB, BC, CA and superimposing processing includes: intercepting 1UI length of the second waveform of the differential receiving end AB, BC, CA each time and superimposing to an eye diagram matrix, and then dividing by the total number of bits to obtain an eye diagram probability matrix; copying the eye diagram probability matrix to obtain a 2UI length traditional eye diagram.
[0012] In some embodiments, the C-PHY trigger eye diagram obtained by aligning the trigger point of each UI of the second waveform of the differential receiving end AB, BC, CA includes: taking the trigger point of each UI of the second waveform of the differential receiving end AB, BC, CA as the starting point, intercepting 1.5UI length forward and 0.5UI length backward to obtain a 2UI length differential waveform; superimposing the differential waveform to a 2UI eye diagram matrix in turn, and then dividing by the total number of bits to obtain a C-PHY trigger eye diagram.
[0013] In a second aspect, the present application provides a computer device, including a memory, a processor and a computer program stored on the memory, wherein the processor executes the computer program to realize the steps of the eye diagram simulation method of the first aspect.
[0014] In a third aspect, the present application provides a computer program product, including a computer program or instructions, which realizes the steps of the eye diagram simulation method of the first aspect when executed by a processor.
[0015] In a fourth aspect, the present application provides a computer storage medium, which stores a computer program or instructions, which realizes the steps of the eye diagram simulation method of the first aspect when executed by a processor.
[0016] The MIPI C-PHY eye diagram simulation method, computer device, program product and storage medium provided by the present application can realize accurate simulation of C-PHY traditional eye diagram and trigger eye diagram, so as to obtain accurate eye diagram of MIPI C-PHY interface, which is beneficial to evaluate the signal integrity of MIPI C-PHY interface. BRIEF DESCRIPTION OF DRAWINGS
[0017] The above features, technical characteristics, advantages and implementation manners of the present application will be further described in a clear and easy-to-understand manner in combination with the preferred embodiments and the accompanying drawings.
[0018] Figure 1 is a schematic diagram of the overall flow of an embodiment of the present application; Figure 2 is a schematic diagram of the driving voltage and encoding corresponding to A, B and C in six line states in an embodiment of the present application; Figure 3 is a schematic diagram of six signal states and all possible conversion cases in an embodiment of the present application; Figure 4 is a schematic diagram of single-ended and differential receiving end output waveforms in an embodiment of the present application; Figure 5 is a schematic diagram of a C-PHY trigger point example in an embodiment of the present application; Figure 6 is a schematic diagram of a conventional eye diagram obtained in an embodiment of the present application; Figure 7 is a schematic diagram of a trigger eye diagram obtained in an embodiment of the present application. DETAILED DESCRIPTION
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, specific implementation manners of the present application will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description only represent some embodiments of the present application, and for those skilled in the art, other drawings can be obtained from these drawings without creative effort, and other embodiments can also be obtained.
[0020] In order to make the drawings simple, only the parts related to the present application are schematically shown in the drawings, which do not represent the actual structure of the product. In addition, in order to make the drawings simple and easy to understand, in some drawings, only one of the parts with the same structure or function is schematically shown, or only one of them is marked. In this document, "one" not only means "only one", but also means "more than one" situation.
[0021] MIPI C-PHY is a high-speed serial interface standard widely used in mobile device display and camera interfaces, which adopts a unique three-wire differential architecture and a 3-phase symbol encoding scheme. Unlike traditional differential signal transmission, C-PHY transmits data through the relative level changes between A, B, and C three wires, and this encoding scheme has higher bandwidth efficiency and lower power consumption characteristics. The physical layer specification of C-PHY defines complex signal transition rules, where each symbol period contains the change of three line states, which can transmit more information in a unit interval. With the increasing demand for data transmission rate in mobile devices, the latest specification of C-PHY has supported a transmission rate of more than 5Gbps / lane, which makes signal integrity analysis particularly important. Since C-PHY uses a three-wire interaction transmission mechanism, special methods and tools are needed for signal quality evaluation. Traditional eye diagram analysis techniques based on differential pairs cannot be directly applied to this unique interface standard. Traditional eye diagram simulation methods usually focus on considering the single-bit response of the differential channel. However, C-PHY has 6 states with 3 different voltage levels on the three-wire transmission channel, and the receiver has 3 differential outputs and 4 voltage levels. The complex state transition behavior needs to be considered in the C-PHY protocol eye diagram simulation algorithm. In addition, C-PHY provides an embedded clock link that does not require an additional clock channel, so C-PHY eye diagrams have non-triggered and triggered forms, which introduces complexity. Therefore, there is an urgent need for a MIPI C-PHY eye diagram simulation method to efficiently and accurately evaluate the MIPI C-PHY eye diagram.
[0022] The present application combines the unique three-wire differential architecture and symbol encoding rules of C-PHY, and can achieve accurate simulation of traditional eye diagrams and triggered eye diagrams of C-PHY based on single-edge response, thereby obtaining accurate eye diagrams of MIPI C-PHY interface. In the following, the present scheme will be described in detail in conjunction with the accompanying drawings: In one embodiment, referring to the accompanying drawings Figure 1 The present application provides a MIPI C-PHY eye diagram simulation method, comprising: S100, generating a three-phase mapping code of three ports A, B, and C of the C-PHY transmitting end according to the NRZ code type signal generated by the C-PHY transmitting end.
[0023] Since the actual signal generated from the transmitting end is in the form of NRZ, it cannot be used directly. Therefore, before simulation, the present scheme needs to convert the NRZ code type to a three-phase encoding code type suitable for C-PHY. The present application does not limit the specific conversion method, which can be realized by programs, scripts, etc.
[0024] In one specific implementation, generating a three-phase mapping code for ports A, B, and C of the C-PHY transmitter based on the NRZ code signal generated by the C-PHY transmitter involves converting the serial bit stream into a symbol sequence and then into a line state sequence. Specifically, this includes: S110. The 16-bit sequence of the NRZ code signal is converted into 7 consecutive symbols by a mapper. Each symbol is 3 bits long and has 5 possible values, which can only be one of the following five values: 000, 001, 010, 011, and 100. For example, if the NRZ code input at the transmitter is "0101010101010101", it becomes "0324432" after the mapper, which is "000, 011, 010, 100, 100, 011, 010".
[0025] S120. According to the C-PHY encoding rules, the symbols are converted into line state sequences to generate three-phase mapping codes for ports A, B, and C.
[0026] C-PHY encoding is a symbol-to-line-state encoding, where the current line state is determined by the previous line state and the transmitted 3-bit symbol. The line state refers to a specific combination of voltage levels on the three signal lines A, B, and C at a given moment; each line can present a high (or low) signal. ),middle( ),Low( Three levels, usually The C-PHY protocol stipulates that a valid line state must satisfy the condition that the three line levels are different from each other. Therefore, there are six possible combinations of output levels. Each combination of output levels is called a line state, namely +x(0), -x(1), +y(2), -y(3), +z(4), and -z(5). Figure 2 The diagram shows the driving voltages and codes corresponding to lines A, B, and C under six line states. Each bit of the 3-bit symbolic data has a specific meaning, representing a specific line state transition method. Figure 3 This shows all the possible transitions from the current state to the next state for six line states. For example, in one example, the initial state is +x(0), and the line states represented by the symbols "000, 011, 010, 100, 100, 011, 010" transition to: .
[0027] After conversion, the three-phase mapping codes of ports A, B, and C of the C-PHY transmitter are as follows: port A code is “0011102”, port B code is “1202010”, and port C code is “2120221”.
[0028] S200, generate a transmission end output waveform according to the three-phase mapping encoding of the three ports, and obtain the single-edge response signals of the C-PHY single-ended receiving ends A, B and C through transient simulation calculation.
[0029] After obtaining the three-phase mapping encoding of the C-PHY transmission ends A, B and C, the corresponding transmission end output waveform can be generated according to the three-phase mapping encoding of the three ports, and the single-edge response signals of the C-PHY single-ended receiving ends A, B and C can be obtained through transient simulation.
[0030] In one specific implementation, the transmission end output waveform is generated according to the three-phase mapping encoding of the three ports, and the single-edge response signals of the C-PHY single-ended receiving ends A, B and C are obtained through transient simulation calculation. S210, generate a C-PHY transmission end output waveform according to preset parameters and the three-phase mapping encoding of the three ports, the preset parameters including a preset bit rate, a voltage level, a rise time and a fall time; S220, obtain the step response of the single-ended receiving ends A, B and C through transient simulation calculation according to the C-PHY transmission end output waveform and the analog channel; S230, generate the single-edge response signals of the C-PHY single-ended receiving ends A, B and C according to the step response.
[0031] The scheme first generates a C-PHY transmission end output waveform according to preset parameters and the three-phase mapping encoding of the C-PHY single-ended receiving ends A, B and C, the preset parameters including a preset bit rate, a voltage level, a rise time and a fall time, etc. After generating the transmission end output waveform, the step response of the single-ended receiving ends A, B and C can be accurately calculated by calling a transient simulation engine. The transient simulation engine can use an existing engine as long as it can complete the calculation of the step response, which is not limited in the present application. After obtaining the step response of the single-ended receiving ends A, B and C, the single-edge response signals of the single-ended receiving ends A, B and C can be generated.
[0032] S300, obtain the first waveform of the single-ended receiving ends A, B and C by bit-by-bit superposition of the single-edge response signals, and obtain the second waveform of the differential receiving ends AB, BC and CA according to the first waveform.
[0033] The first waveform of the single-ended receiving ends A, B and C is obtained by bit-by-bit superposition of the single-edge response signals, including: The linear bit-by-bit superposition of the single-edge response signals is performed by using the linear time-invariant characteristic of the channel, and the calculation formula is: , , , wherein, , , are the first waveforms of single-ended receiving ends A, B, C respectively, represents the kth bit, N represents the total number of bits, and T is the time interval per bit, , , are the step responses of single-ended receiving ends A, B, C respectively, , , are the code types of the kth bit of single-ended receiving ends A, B, C respectively.
[0034] By bit-by-bit superposition of the single-edge response signals of single-ended receiving ends A, B, and C respectively, the first waveforms (i.e. output waveforms) of single-ended receiving ends A, B, and C can be obtained. However, the differential waveforms are required when calculating the eye diagram, so the second waveforms (i.e. differential waveforms) of differential receiving ends AB, BC, and CA need to be calculated according to the first waveforms of single-ended receiving ends A, B, and C.
[0035] The calculation formula of the second waveforms of differential receiving ends AB, BC, and CA is: , , , wherein, , , are the second waveforms of differential receiving ends AB, BC, and CA respectively, and the differential receiving end has four DC levels, which are represented by , , , , , , , , wherein, is the high level of the single-ended receiving end, is the low level of the single-ended receiving end, is the middle level of the single-ended receiving end. Figure 4 is the output waveform diagram of the single-ended and differential receiving end under the code type of the present application.
[0036] S400, a traditional eye diagram is obtained by continuously intercepting 1UI length of the second waveforms of the differential receiving ends AB, BC and CA and superimposing processing, and a C-PHY trigger eye diagram is obtained by aligning the trigger points of each UI of the second waveforms of the differential receiving ends AB, BC and CA, the trigger point being the first zero-crossing point of any one of the three second waveforms detected in each UI.
[0037] After obtaining the differential waveforms of the differential receiving ends AB, BC and CA of the C-PHY, the application considers that in the C-PHY simulation, there are two modes of triggering and non-triggering of the eye diagram, and the application can either continuously intercept 1UI length of the differential waveforms of the differential receiving ends AB, BC and CA and superimpose processing to obtain a traditional eye diagram, or align the trigger points of each UI of the second waveforms of the differential receiving ends AB, BC and CA to obtain a C-PHY trigger eye diagram, so that the eye diagram simulation of the C-PHY is more accurate.
[0038] Specifically, the traditional eye diagram is obtained by continuously intercepting 1UI length of the second waveforms of the differential receiving ends AB, BC and CA and superimposing processing, including: intercepting 1UI length of the second waveforms of the differential receiving ends AB, BC and CA each time and superimposing to an eye diagram matrix, and then dividing by the total number of bits to obtain an eye diagram probability matrix, such an eye diagram is completely symmetrical, and a 2UI length traditional eye diagram can be obtained by copying the eye diagram probability matrix. In one example, the obtained traditional eye diagram is as shown in Figure 6 .
[0039] The C-PHY trigger eye diagram is obtained by aligning the trigger points of each UI of the second waveforms of the differential receiving ends AB, BC and CA, including: taking the trigger point of each UI of the second waveforms of the differential receiving ends AB, BC and CA as the starting point, intercepting 1.5UI length forward and 0.5UI length backward to obtain a 2UI length differential waveform; and sequentially superimposing the differential waveform to a 2UI eye diagram matrix, and then dividing by the total number of bits to obtain the C-PHY trigger eye diagram.
[0040] Due to symbol encoding rules, the output of a C-PHY differential receiver will change at each UI boundary. These are typically interleaved in time due to subtle differences in the rise and fall times between the three signal lines and subtle differences in the propagation times between combinations of received signal pairs. Therefore, the three differential waveforms AB, BC, and CA at the C-PHY receiver can have one, two, or three zero-crossings at each UI boundary. The trigger point refers to the first zero-crossing of any one of the three differential waveforms AB, BC, and CA at each UI. Trigger points on all UIs are aligned at the same point, and the waveforms are superimposed at the appropriate position relative to the trigger point. For a fully centered eye diagram, this invention places the trigger point at the 1.5 UI position of the 2UI eye diagram. The calculation steps for the C-PHY trigger eye diagram are: at each UI, for the three differential waveforms at the receiver... , , The first zero-crossing point detected is used as the trigger point. A 1.5UI segment is truncated forward and a 0.5UI segment is truncated backward relative to the trigger point to obtain a differential waveform of length 2UI. These waveforms are then superimposed onto a 2UI eye diagram matrix and finally divided by the total number of bits to obtain the C-PHY trigger eye diagram. Figure 5 This is a schematic diagram of a trigger point for an example of the present invention. In one example, the obtained C-PHY trigger eye diagram is as follows. Figure 7 As shown, it can be used with Figure 6 The traditional eye diagram shown is compared to the one shown to better evaluate the signal integrity of the MIPI C-PHY interface.
[0041] This scheme first generates a three-phase mapping code for ports A, B, and C of the C-PHY transmitter based on the NRZ code signal generated by the C-PHY transmitter. Then, it generates the transmitter output waveform based on the three-phase mapping code of the three ports. Through transient simulation calculation, it obtains the single-edge response signals of the C-PHY single-ended receivers A, B, and C. By superimposing the single-edge response signals bit by bit, combined with the C-PHY's unique three-wire differential architecture and symbol encoding rules, it obtains the first waveforms of the single-ended receivers A, B, and C, and the second waveforms of the differential receivers AB, BC, and CA. Then, based on the second waveforms of the differential receivers AB, BC, and CA, it achieves accurate simulation of the C-PHY's traditional eye diagram and triggered eye diagram, obtaining the accurate eye diagram of the MIPI C-PHY interface, which is beneficial for evaluating the signal integrity of the MIPI C-PHY interface.
[0042] In one embodiment, this application provides a computer device including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of the eye diagram simulation method of the foregoing embodiments.
[0043] In one embodiment, the present application provides a computer storage medium having stored thereon computer programs or instructions, which, when executed by a processor, implement the steps of the eye diagram simulation method of the foregoing embodiments.
[0044] In one embodiment, the present application provides a computer program product comprising computer programs or instructions, which, when executed by a processor, implement the steps of the eye diagram simulation method of the foregoing embodiments.
[0045] The MIPI C-PHY eye diagram simulation method of the present application can be implemented by program codes executable by a computing device, so that they can be stored in a storage device for execution by the computing device, or they can be respectively made into individual integrated circuit modules, or a plurality of modules or steps among them can be made into a single integrated circuit module. Thus, the present application is not limited to any particular combination of hardware and software.
[0046] It should be noted that the above embodiments can be freely combined as needed. The above description is only the preferred embodiments of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should be considered as the protection scope of the present application.
Claims
1. A method for MIPIC-PHY eye diagram simulation, the method comprising: The application relates to a method for generating a C-PHY trigger eye diagram. The method comprises the following steps: generating three-phase mapping codes of three ports A, B and C of a C-PHY transmitting end according to an NRZ code type signal generated by the C-PHY transmitting end; generating a transmitting end output waveform according to the three-phase mapping codes of the three ports, and calculating a single-edge response signal of a C-PHY single-end receiving end A, B and C through transient simulation; calculating a first waveform of the single-end receiving end A, B and C by bit-by-bit superposition of the single-edge response signal, and calculating a second waveform of a differential receiving end AB, BC and CA according to the first waveform; 2. The eye diagram simulation method of claim 1, wherein calculating a traditional eye diagram by continuously intercepting 1UI length of the second waveform of the differential receiving end AB, BC and CA and performing superposition processing, and calculating a C-PHY trigger eye diagram by aligning a trigger point of each UI of the second waveform of the differential receiving end AB, BC and CA, wherein the trigger point is a first zero-crossing point of any one of the three second waveforms detected in each UI. The method for generating the three-phase mapping codes of the three ports A, B and C of the C-PHY transmitting end according to the NRZ code type signal generated by the C-PHY transmitting end comprises the following steps: converting a 16-bit sequence of the NRZ code type signal into seven continuous symbols through a mapper, wherein each symbol is 3 bits long, has five possible values, and is one of the following five values: 000, 001, 010, 011 and 100; 3. The eye diagram simulation method of claim 1, wherein converting the symbols into a line state sequence according to a C-PHY coding rule to generate three-phase mapping codes of the three ports A, B and C. The method for generating the transmitting end output waveform according to the three-phase mapping codes of the three ports and calculating the single-edge response signal of the C-PHY single-end receiving end A, B and C through transient simulation comprises the following steps: generating a C-PHY transmitting end output waveform according to preset parameters and the three-phase mapping codes of the three ports, wherein the preset parameters comprise a preset bit rate, a voltage level, a rise time and a fall time; calculating a step response of the single-end receiving end A, B and C according to the C-PHY transmitting end output waveform and an analog channel through transient simulation; 4. The eye diagram simulation method of claim 1, wherein generating the single-edge response signal of the C-PHY single-end receiving end A, B and C according to the step response. The method for calculating the first waveform of the single-end receiving end A, B and C by bit-by-bit superposition of the single-edge response signal comprises the following steps: , , , wherein, , , are the first waveforms of single-ended receiving ends A, B, C, respectively, represents the kth bit, N represents the total number of bits, and T is the time interval per bit, , , are the step responses of single-ended receiving ends A, B, C, respectively, , , are the code patterns of the kth bit of single-ended receiving ends A, B, C, respectively.
5. The eye diagram simulation method of claim 4, wherein, performing linear bit-by-bit superposition on the single-edge response signal by utilizing a linear time-invariant characteristic of a channel, and the calculation formula is as follows: , , , wherein , , are the second waveforms of the differential receiving ends AB, BC, CA, respectively, the differential receiving end having 4 DC levels, denoted by , , , , respectively, , , , , wherein, is a high level for a single-ended receiving end, is a low level for a single-ended receiving end, is a middle level for a single-ended receiving end.
6. The eye diagram emulation method of claim 1, wherein The calculation formula of the second waveform of the differential receiving end AB, BC and CA is as follows: The method for calculating the traditional eye diagram by continuously intercepting 1UI length of the second waveform of the differential receiving end AB, BC and CA and performing superposition processing comprises the following steps: intercepting 1UI length of the second waveform of the differential receiving end AB, BC and CA each time, superposing the second waveform into an eye diagram matrix, and dividing the eye diagram matrix by a total bit number to obtain an eye diagram probability matrix; 7. The eye diagram emulation method of claim 1, wherein copying the eye diagram probability matrix to obtain a 2UI length traditional eye diagram. The method for calculating the C-PHY trigger eye diagram by aligning the trigger point of each UI of the second waveform of the differential receiving end AB, BC and CA comprises the following steps: Taking the trigger point of each UI of the second waveform of the differential receiving end AB, BC, CA as the starting point, 1.5UI length is cut forward and 0.5UI length is cut backward, and a differential waveform of 2UI length is obtained; The differential waveform is sequentially superimposed on a 2UI eye diagram matrix, and then divided by the total number of bits to obtain a C-PHY trigger eye diagram.
8. A computer device comprising a memory, a processor, and a computer program stored on the memory, wherein the computer program comprises instructions that, when executed by the processor, cause the processor to perform the method of any one of claims 1-7. The processor executes the computer program to implement the steps of the eye diagram simulation method of any one of claims 1-7.
9. A computer program product comprising computer programs or instructions, characterized in that, The computer program or instructions are executed by the processor to implement the steps of the eye diagram simulation method of any one of claims 1-7.
10. A computer storage medium having stored thereon a computer program or instructions, characterized in that, The computer program or instructions are executed by the processor to implement the steps of the eye diagram simulation method of any one of claims 1-7.
Citation Information
Patent Citations
Eye pattern triggering based on symbol transition
CN105723644A
Open-loop, ultrafast, half-rate clock and data recovery for next generation C-PHY interfaces
CN114787788A
Interface bridge device and conversion method thereof
CN115129636A
PAM3 differential port statistical eye pattern simulation method and device based on multi-edge response
CN115964906A
Statistical eye pattern generation method and device, and storage medium
CN120880569A