Serdes ip verification method

By providing a suitable clock and reset, and using scoreboard and sliding window matching techniques, the problems of uncertain data transmission time and difficult pattern matching in SERDES IP verification are solved, thus achieving an efficient verification process.

CN118567930APending Publication Date: 2024-08-30NANJING YITAI MICROELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410896082.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

The receiving end cannot determine the data transmission time and cannot effectively compare data under different modes, resulting in low efficiency of serdes IP verification.

Method used

This paper provides a SerDes IP verification method. By providing the SerDes IP with a suitable clock and reset, using a scoreboard to collect data and truncate the effective bit width, and using sliding window comparison technology to automatically complete data comparison in different modes, the verification efficiency is improved.

Benefits of technology

Quickly find the correct boundaries of SERDE IP data transmission, automatically perform data comparison under different modes, improve verification efficiency, and are easy to extend and modify.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567930A
    Figure CN118567930A
Patent Text Reader

Abstract

The invention provides a serdes ip verification method which comprises the following steps: S1, providing a proper clock and reset for a serdes ip, and inputting random excitation after configuration is completed, S2, acquiring input data of an input side and an output side of the serdes ip and then sending the input data to a scoreboard, S3, intercepting the input data of a serdes tx side by the scoreboard according to effective bit width, supplementing zero to an invalid high bit, pushing into a tx data stream queue, and sending the input data to the serdes ip through the scoreboard. S4, the Scoboard intercepts the output data of the serdes rx side according to the effective bit width, adds 0 to the invalid high bit, push enters the rx data queue, and takes out two continuous data, and S5, the data is taken from the tx data stream queue according to the sliding window width of 64-bit width, and the data is compared with the two data contents of the rx until the comparison is passed. According to the serdes ip verification method provided by the invention, a correct boundary of serdes ip data transmission is quickly found through a sliding window and the like on the basis of a UVM basic architecture, data comparison in different modes is automatically completed, the verification efficiency is improved, and subsequent expansion and modification are easy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of chip technology, and in particular to a SerDes IP verification method. Background Art

[0002] Serdes is a device that converts parallel data into serial data for transmission and converts received serial data into parallel data. High-speed serial transceivers use two pairs of receive / transmit differential lines to transmit data and achieve reliable data transmission through technologies such as data clock recovery.

[0003] When transmitting the data we need through serdes, the sender does not mark the time when the data group is transmitted, so the receiver does not know when the data starts. And because serdes usually supports different bit width modes of transmission, it is not possible to simply compare the received data with the sender.

[0004] Therefore, it is necessary to provide a SerDes IP verification method to solve the above technical problems. Summary of the Invention

[0005] The present invention provides a SerDes IP verification method, which solves the problem that a receiving end cannot determine the data sending time and cannot compare data in different modes.

[0006] To solve the above technical problems, the present invention provides a SerDes IP verification method, comprising the following steps: S1. Provide the appropriate clock and reset to the SerDes IP, wait for the configuration to be completed, and then input random stimulus. S2, collects the input data from the input and output sides of the SerDes IP and sends it to the scoreboard; S3, Scoreboard intercepts the input data on the serdes tx side according to the valid bit width, fills the invalid high bits with 0, and pushes it into the tx data stream queue; S4, Scoreboard intercepts the output data of the serdes rx side according to the valid bit width, fills the invalid high bits with 0, pushes it into the rx data queue, and takes out two consecutive data; S5: Take data from the tx data stream queue with a 64-bit sliding window width and compare the data with the two data contents of rx until the comparison passes; S6. After the comparison is passed, the first data in the rx data queue is popped out of the queue; S7. Clear the data before the successful position of the tx data stream queue; S8. Repeat steps S1 to S7.

[0007] Preferably, the differential serial ports on the TX (transmit) and RX (receive) sides of the SerDes IP are connected.

[0008] Preferably, the serdes ip verification in S1 requires the use of a display device to display data, and the display device includes a housing, an inner side of the housing is provided with a protective frame, and a display screen is fixedly mounted on the inner side of the protective frame.

[0009] Preferably, a handle is fixedly mounted on one side of the protective frame, corner guards are sleeved on the four corners of the protective frame, and sliding grooves are provided on both sides of the inner side surface of the protective frame.

[0010] Preferably, a limiting plate is fixedly mounted on the bottom of the inner side surface of the shell, and a plurality of limiting grooves are formed on the top of the limiting plate.

[0011] Preferably, sliders are fixedly installed on the bottom of both sides of the protective frame, and the sliders are slidably connected to the inner side of the slide groove. A positioning hole is provided on the top of the protective frame, and an interface is provided on one side of the protective frame. A rotating groove is provided on the back of the protective frame, and the inner side of the rotating groove is rotatably connected to a support plate, and the bottom of the support plate is clamped to the inner side of the limit groove.

[0012] Preferably, a limiting assembly is fixedly installed inside one side of the shell, and the limiting assembly includes a fixing ring, which is fixedly installed inside the shell, and retaining rings are fixedly installed at both ends of the inner side of the fixing ring, and the inner side of the retaining ring is slidably connected to the limiting rod, and a baffle is fixedly installed on the outer side of the limiting rod, and a spring is provided on the outer side of the limiting rod.

[0013] Preferably, a handle is fixedly mounted on one end of the limiting rod, and the spring is arranged between the retaining ring and the baffle, and the spring is close to the handle.

[0014] Preferably, a metal plate is fixedly mounted on one side of the support plate, and a magnetic plate is magnetically attracted to one side of the metal plate.

[0015] Preferably, the magnetic plate is fixedly mounted on the inner side of the rotating groove.

[0016] Compared with related technologies, the SerDes IP verification method provided by the present invention has the following beneficial effects: The present invention provides a SerDes IP (serial communication interface) verification method. Based on the UVM (ultraviolet matrix interface) basic architecture, the method quickly finds the correct boundary of SerDes IP data transmission through a sliding window or other means, automatically completes the comparison of data in different modes, improves verification efficiency, and is easy to expand and modify subsequently. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a verification architecture of a first embodiment of a SerDes IP verification method provided by the present invention; Figure 2 for Figure 1 Schematic diagram of the data comparison process shown; Figure 3 A schematic structural diagram of a second embodiment of a SerDes IP verification method provided by the present invention; Figure 4 for Figure 3 The schematic diagram of the protective frame structure shown; Figure 5 for Figure 4 Schematic diagram of the support plate structure shown; Figure 6 for Figure 4 The schematic diagram of the limit assembly structure shown; Figure 7 for Figure 3 The schematic diagram of the structure when stored is shown; Figure 8 This is a structural diagram of a third embodiment of a SerDes IP verification method provided by the present invention.

[0018] Numbers in the figure: 1. Shell, 11. Corner guard, 12. Handle, 13. Slide, 2. Limit assembly, 21. Fixed ring, 22. Retaining ring, 23. Limit rod, 24. Baffle, 25. Handle, 26. Spring, 3. Limit plate, 31. Limit slot, 4. Protective frame, 41. Display screen, 42. Interface, 43. Positioning hole, 44. Rotating slot, 45. Support plate, 46. Slider, 5. Metal plate, 51. Magnetic plate. DETAILED DESCRIPTION

[0019] The present invention will be further described below with reference to the accompanying drawings and embodiments.

[0020] First embodiment:

[0021] Please refer to Figure 1 、 Figure 2 ,in, Figure 1 A schematic diagram of a verification architecture of a first embodiment of a SerDes IP verification method provided by the present invention; Figure 2 for Figure 1 A SerDes IP verification method includes the following steps: S1. Provide the appropriate clock and reset to the SerDes IP, wait for the configuration to be completed, and then input random stimulus. S2, collects the input data from the input and output sides of the SerDes IP and sends it to the scoreboard; S3, Scoreboard intercepts the input data on the serdes tx side according to the valid bit width, fills the invalid high bits with 0, and pushes it into the tx data stream queue; S4, Scoreboard intercepts the output data of the serdes rx side according to the valid bit width, fills the invalid high bits with 0, pushes it into the rx data queue, and takes out two consecutive data; S5: Take data from the tx data stream queue with a 64-bit sliding window width and compare the data with the two data contents of rx until the comparison passes; S6. After the comparison is passed, the first data in the rx data queue is popped out of the queue; S7. Clear the data before the successful position of the tx data stream queue; S8. Repeat steps S1 to S7.

[0022] The differential serial ports on the TX (transmit) and RX (receive) sides of the SerDes IP are connected.

[0023] The working principle of a SerDes IP verification method provided by the present invention is as follows: Based on the basic UVM verification architecture, the data at the input and output ends of the SerDes IP are collected, processed, and then compared to complete the verification of SerDes IP in multiple modes. The differential serial ports on the TX (transmit) and RX (receive) sides of the SerDes IP are connected; random external input stimulation is provided to the input interface of the SerDes IP through tx_agent, and at the same time, tx_agent collects data from the input interface and sends it to the scoreboard for subsequent comparison; the configuration interface of the SerDes IP is operated through cfg_agent to complete the configuration in different modes; the data from the output interface is collected through rx_agent and sent to the scoreboard; the scoreboard extracts the valid bits of the input data according to different bit width modes, intercepts 64-bit data using a sliding window, and compares it with the output data until the correct data boundary is found, and then compares it.

[0024] Compared with related technologies, the SerDes IP verification method provided by the present invention has the following beneficial effects: Based on the UVM basic architecture, the correct boundary of SerDes IP data transmission is quickly found through sliding windows and other methods, and data comparison in different modes is automatically completed, which improves verification efficiency and is easy to expand and modify later.

[0025] Second embodiment:

[0026] Please refer to Figure 3 、 Figure 4 、 Figure 5 、 Figure 6 、 Figure 7 Based on the SerDes IP verification method provided in the first embodiment of this application, the second embodiment of this application proposes another SerDes IP verification method. The second embodiment is only a preferred method of the first embodiment, and the implementation of the second embodiment will not affect the independent implementation of the first embodiment.

[0027] Specifically, the difference of the SerDes IP verification method provided in the second embodiment of the present application is that, in a SerDes IP verification method, the SerDes IP verification in S1 requires the use of a display device to display data, and the display device includes a shell 1, and a protective frame 4 is provided on the inner side of the shell 1, and a display screen 41 is fixedly installed on the inner side of the protective frame 4.

[0028] A handle 12 is fixedly mounted on one side of the protection frame 1 , corner guards 11 are sleeved on the four corners of the protection frame 1 , and sliding grooves 13 are provided on both sides of the inner side surface of the protection frame 1 .

[0029] A limiting plate 3 is fixedly mounted on the bottom of the inner side of the housing 1 , and a plurality of limiting grooves 31 are formed on the top of the limiting plate 3 .

[0030] Sliders 46 are fixedly installed on the bottom of both sides of the protective frame 4, and the slides 46 are slidably connected to the inner side of the slide groove 13. A positioning hole 43 is provided on the top of the protective frame 4, and an interface 42 is provided on one side of the protective frame 4. A rotating groove 44 is provided on the back of the protective frame 4, and a support plate 45 is rotatably connected to the inner side of the rotating groove 44. The bottom of the support plate 45 is clamped on the inner side of the limiting groove 31.

[0031] A limiting assembly 2 is fixedly installed inside one side of the shell 1, and the limiting assembly 2 includes a fixing ring 21, and the fixing ring 21 is fixedly installed inside the shell 1. Both ends of the inner side of the fixing ring 21 are fixedly installed with retaining rings 22, and the inner side of the retaining ring 22 is slidably connected to the limiting rod 23, and the outer side of the limiting rod 23 is fixedly installed with a baffle 24, and the outer side of the limiting rod 23 is sleeved with a spring 26.

[0032] A handle 25 is fixedly mounted on one end of the limiting rod 23 . The spring 26 is disposed between the retaining ring 22 and the baffle 24 , and the spring 26 is close to the handle 25 .

[0033] When the protective frame 4 is stored in the inner side of the shell 1, the user needs to pull the handle 25 first, so that the handle 25 drives the limit rod 23 to move, thereby causing the limit rod 23 to drive the retaining ring 22 to move, so that the retaining ring 22 squeezes the spring 26, thereby making the spring 26 elastic. Then, the user puts the protective frame 4 into the inner side of the shell 1, and then the user releases the handle 25. At this time, the elasticity of the spring 26 pushes the baffle 24, so that the baffle 24 drives the limit rod 23 to move, so that one end of the limit rod 23 moves toward one end of the positioning hole 43 until one end of the limit rod 23 is inserted into the inner side of the positioning hole 43. In this way, when the display screen 41 is subsequently carried, the protective frame 4 can be limited to prevent the protective frame 4 from moving out from the inner side of the shell 1; By installing a handle 12 on the top of the housing 1, it is convenient for the user to hold the handle 12 to carry the housing 1 when in use, and installing corner guards 11 around the housing 1 to protect the four corners of the housing 1 to prevent damage to the housing 1 caused by impact, and an interface 42 is provided on one side of the protective frame 4, so that it is convenient to connect the display screen 41 and other external devices in subsequent use; When the angle of the display screen 41 needs to be adjusted, the user can insert the support plate 45 into the inner side of different limiting grooves 31 opened on the top of the limiting plate 3, so as to adjust the angle of the display screen 41 and the protective frame 4. This can meet the needs of different users and increase the adaptability of the device.

[0034] The working principle of a SerDes IP verification method provided by the present invention is as follows: When you need to use the display 41 pair of serdes When the IP verification data is displayed, the user can pull the handle 25 to drive the limit rod 23 to move, so that one end of the limit rod 23 moves out from the inner side of the positioning hole 43, and at the same time the baffle 24 will squeeze the spring 26, thereby generating elasticity. At this time, the user pulls the support plate 45 to rotate the support plate 45 on the inner side of the rotation groove 44. Then, the user can use the support plate 45 to pull the protective frame 4 to rotate the protective frame 4 out from the inner side of the shell 1. At this time, the slider 46 will rotate on the inner side of the slide groove 13. Then, the user pushes the protective frame 4 to make the slider 46 slide on the inner side of the slide groove 43 until the slider 46 rests on one end of the slide groove 43. Then, the user rotates the support plate 45 so that the bottom of the support plate 45 is inserted into the inner side of the limit groove 31, thereby limiting the angle of the protective frame 4. Then, the user can connect the data cable required for data transmission to the interface 42. At this time, the user can observe the data through the display screen 41.

[0035] Compared with related technologies, the SerDes IP verification method provided by the present invention has the following beneficial effects: Through the cooperation of the structures such as the shell 1, the protective frame 4, the display screen 41, the rotating groove 44, the support plate 45, the limiting plate 3 and the limiting groove 31, when in use, the support plate 45 can support the back of the protective frame 4, and the bottom of the support plate 45 can be stuck on the inner side of the limiting groove 31, so that it is convenient for the user to adjust the angle of the display screen 41, and after use, the protective frame 4 and the display screen 41 can be stored on the inner side of the shell 1, so that the display screen 41 can be protected to avoid damage to the display screen 41 caused by impact when carrying.

[0036] Third embodiment:

[0037] Please refer to Figure 8 Based on the SerDes IP verification method provided in the first embodiment of this application, the third embodiment of this application proposes another SerDes IP verification method. The third embodiment is only a preferred method of the first embodiment, and the implementation of the third embodiment will not affect the independent implementation of the first embodiment.

[0038] Specifically, the difference of the SerDes IP verification method provided in the third embodiment of the present application is that, in a SerDes IP verification method, a metal plate 5 is fixedly mounted on one side of the support plate 45 , and a magnetic plate 51 is magnetically attracted to one side of the metal plate 5 .

[0039] The magnetic plate 51 is fixedly mounted on the inner side of the rotating groove 44 .

[0040] The magnetic plate 51 is installed on the inner side of the rotating groove 44. When the support plate 45 rotates to the inner side of the rotating groove 44, the magnetic plate 51 can magnetically attract the metal plate 5, thereby automatically limiting the support plate 45.

[0041] The working principle of a SerDes IP verification method provided by the present invention is as follows: When in use, the user rotates the support plate 45, thereby driving the metal plate 5 to move. When the support plate 45 rotates to the inner side of the rotation groove 44, the metal plate 5 and the magnetic plate 51 are magnetically attracted to each other, thereby limiting the support plate 45 and preventing the support plate 45 from rotating.

[0042] Compared with related technologies, the SerDes IP verification method provided by the present invention has the following beneficial effects: By cooperating with each other, the metal plate 5 and the magnetic plate 51 can be magnetically attracted to each other during use, thereby limiting the support plate 45 and preventing the support plate 45 from rotating out from the inner side of the rotating groove 44.

[0043] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A serdes ip verification method, characterized in that: The following steps are involved: S1, provide the appropriate clock and reset to the serdes ip, wait for the configuration to be completed, and input random stimulus; S2, collect the input data of the input and output sides of the serdes ip and send it to the scoreboard; S3, Scoreboard intercepts the input data of the serdes tx side according to the effective bit width, fills the invalid high bits with 0, and pushes it into the tx data stream queue; S4, Scoreboard intercepts the output data of the serdes rx side according to the effective bit width, fills the invalid high bits with 0, pushes it into the rx data queue, and takes out two consecutive data; S5, fetch data from the tx data stream queue with a sliding window width of 64 bits, and compare the data with the two data contents of rx until the comparison passes; S6. After the comparison is passed, the first data in the rx data queue is popped out of the queue; S7, clear the data before the successful position of the tx data stream queue; S8. Repeat steps S1 to S7.

2. A serdes ip verification method according to claim 1, characterized in that, The differential serial ports on the TX (transmit) and RX (receive) sides of the serdes ip are connected.

3. A serdes ip verification method according to claim 1, characterized in that, The serdes ip verification in S1 requires the use of a display device to display data, and the display device includes a housing, a protective frame is provided on the inner side of the housing, and a display screen is fixedly installed on the inner side of the protective frame.

4. A serdes ip verification method according to claim 3, characterized in that, A handle is fixedly mounted on one side of the protection frame, corner guards are sleeved on four corners of the protection frame, and sliding grooves are provided on both sides of the inner side surface of the protection frame.

5. A serdes ip verification method according to claim 4, characterized in that: A limiting plate is fixedly mounted on the bottom of the inner side of the shell, and a plurality of limiting grooves are formed on the top of the limiting plate.

6. A serdes ip verification method according to claim 5, characterized in that: Sliders are fixedly installed at the bottom of both sides of the protective frame, and the slides are slidably connected to the inner side of the slide groove. A positioning hole is provided on the top of the protective frame, an interface is provided on one side of the protective frame, and a rotating groove is provided on the back of the protective frame. A support plate is rotatably connected to the inner side of the rotating groove, and the bottom of the support plate is clamped on the inner side of the limiting groove.

7. A serdes ip verification method according to claim 6, characterized in that: A limiting assembly is fixedly installed inside one side of the shell, and the limiting assembly includes a fixing ring, which is fixedly installed inside the shell, and retaining rings are fixedly installed at both ends of the inner side of the fixing ring, and the inner side of the retaining ring is slidably connected to the limiting rod, and a baffle is fixedly installed on the outer side of the limiting rod, and a spring is sleeved on the outer side of the limiting rod.

8. A serdes ip verification method according to claim 7, characterized in that: A handle is fixedly mounted on one end of the limiting rod, and the spring is arranged between the retaining ring and the baffle, and the spring is close to the handle.

9. A serdes ip verification method according to claim 8, characterized in that: A metal plate is fixedly mounted on one side of the support plate, and a magnetic plate is magnetically attracted to one side of the metal plate.

10. A serdes ip verification method according to claim 9, characterized in that: The magnetic plate is fixedly mounted on the inner side surface of the rotating groove.