[go: up one dir, main page]

CN116775390B - Interface protocol conversion verification system and method, electronic equipment and storage medium - Google Patents

Interface protocol conversion verification system and method, electronic equipment and storage medium Download PDF

Info

Publication number
CN116775390B
CN116775390B CN202310737101.6A CN202310737101A CN116775390B CN 116775390 B CN116775390 B CN 116775390B CN 202310737101 A CN202310737101 A CN 202310737101A CN 116775390 B CN116775390 B CN 116775390B
Authority
CN
China
Prior art keywords
interface
converted
target
interface protocol
data packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310737101.6A
Other languages
Chinese (zh)
Other versions
CN116775390A (en
Inventor
汪浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Haiguang Information Technology Chengdu Co ltd
Original Assignee
Haiguang Information Technology Chengdu Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Haiguang Information Technology Chengdu Co ltd filed Critical Haiguang Information Technology Chengdu Co ltd
Priority to CN202310737101.6A priority Critical patent/CN116775390B/en
Publication of CN116775390A publication Critical patent/CN116775390A/en
Application granted granted Critical
Publication of CN116775390B publication Critical patent/CN116775390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides an interface protocol conversion verification system and method, electronic equipment and storage medium, wherein the interface protocol conversion verification system comprises: the interface bridge is used for converting interface information to be converted corresponding to the interface protocol to be converted into interface information to be verified; the interface information acquisition module is used for acquiring interface information to be verified and target interface information corresponding to a target interface protocol; the verification module is used for verifying that the conversion is correct when the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol; the interface protocol to be converted is different from the target interface protocol. According to the technical scheme provided by the embodiment of the invention, the interface protocol corresponding to the interface information to be verified and the interface protocol corresponding to the target interface information are verified, when the verification is the same, the interface information to be verified is proved to be in accordance with the interface protocol corresponding to the target interface information, the converted interface can be ensured to be normally used, and the verification efficiency of the interface bridge is improved.

Description

Interface protocol conversion verification system and method, electronic equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an interface protocol conversion verification system and method, electronic equipment and a storage medium.
Background
The interface bridge can realize the conversion of the interface protocol, convert the original interface protocol of the interface into the interface protocol needed to be used according to the use requirement of the interface, and obtain the interface with the converted interface protocol. The interface bridge can meet the use requirements of interfaces corresponding to different interface protocols. The conversion of the interface protocol plays an important role in reducing the number of interface signal lines of the interface and solving the signal crosstalk problem. Under the background, how to provide a technical solution to verify the correctness of the interface protocol conversion function of the interface bridge, so as to improve the verification efficiency of the interface bridge, which is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of this, embodiments of the present invention provide an interface protocol conversion verification system and method, an electronic device, and a storage medium, so as to verify the correctness of the interface protocol conversion function of an interface bridge, and improve the convenience of using interfaces corresponding to different interface protocols.
In order to achieve the above purpose, the embodiment of the present invention provides the following technical solutions.
In a first aspect, an embodiment of the present invention provides an interface protocol conversion verification system, including:
The interface bridge is used for converting the interface information to be converted into the interface information to be verified, wherein the interface information to be converted is the interface information corresponding to the interface protocol to be converted;
The interface information acquisition module is used for acquiring the interface information to be verified and target interface information, wherein the target interface information is interface information corresponding to a target interface protocol;
The verification module is used for verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, and when the verification result is yes, the interface protocol conversion of the interface bridge is correct; the interface protocol to be converted is different from the target interface protocol.
In a second aspect, an embodiment of the present invention provides an interface protocol conversion verification method, including:
Acquiring interface information to be converted and target interface information, wherein the interface information to be converted is interface information corresponding to an interface protocol to be converted, and the target interface information is interface information corresponding to a target interface protocol; converting the interface information to be converted to obtain interface information to be verified;
Verifying whether an interface protocol corresponding to the interface information to be verified is the same as a target interface protocol corresponding to the target interface information, and if so, converting the interface protocol of the interface bridge correctly; the interface protocol to be converted is different from the target interface protocol.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a program, and the processor invokes the program stored in the memory to execute the interface protocol conversion verification method according to the second aspect.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where the program is executed to implement the interface protocol conversion verification method according to the second aspect.
The embodiment of the invention provides an interface protocol conversion verification system, which comprises the following steps: the interface information acquisition module is used for acquiring interface information to be verified and target interface information, wherein the interface information to be verified is information obtained by converting an interface protocol to be converted through an interface bridge; the verification module is used for verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, and when the verification result is yes, the interface protocol conversion of the interface bridge is correct; the interface protocol to be converted is different from the target interface protocol. In the interface protocol conversion verification system provided by the embodiment of the invention, a verification module for verifying interface protocol conversion of the interface bridge and an interface information acquisition module are arranged on the universal verification platform, so that interface information to be verified, which needs to be verified, and target interface information serving as a verification reference are acquired through the interface information acquisition module; therefore, the interface protocol corresponding to the interface information to be verified can be verified based on the target interface protocol corresponding to the target interface information, when the interface protocols are the same, the interface protocol conversion is correct, the interface protocol conversion function of the bridge is ensured to be correct, and the interface after the interface protocol conversion can be normally used. Meanwhile, the use requirements of interfaces corresponding to different interface protocols can be met rapidly and conveniently, and the use convenience of the interfaces corresponding to the different interface protocols is improved; in addition, the interface information acquisition module and the verification module in the interface protocol conversion verification system are universal verification components arranged on the universal verification platform, so that the interface protocol conversion verification system has reusability and is convenient to use in verification environments corresponding to different types of interface protocol conversion.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a high-speed serial interface in a computer;
FIG. 2 is a schematic diagram of an interface protocol conversion verification system according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another configuration of an interface protocol conversion verification system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another configuration of an interface protocol conversion verification system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of an interface protocol conversion verification system according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another verification state of the interface protocol conversion verification system according to an embodiment of the present invention;
FIG. 7 is a flow chart illustrating an interface protocol conversion verification method according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of another flow chart of an interface protocol conversion verification method according to an embodiment of the present invention;
FIG. 9 is a schematic flow chart of an interface protocol conversion verification method according to an embodiment of the present invention;
fig. 10 is a schematic flow chart of an interface protocol conversion verification method according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The interface bridge has the function of interface protocol conversion, and can convert the original interface protocol of the interface into another interface protocol, so that the interface with the converted interface protocol is obtained, and the use requirements of the interfaces with different interface protocols are met; the protocol level of the original interface protocol may be higher than the protocol level of another interface protocol after the conversion, or the protocol level of the original interface protocol may be lower than the protocol level of another interface protocol after the conversion; that is, the interface bridge may implement conversion from a higher level original interface protocol to another interface protocol at a lower level, or vice versa. For example, for an interface protocol (PCIE 5.0 interface protocol) having higher usage performance, i.e., a higher level, after interface protocol conversion using the interface bridge, the original lower level interface protocol (PCIE 4.0 interface protocol) is converted into PCIE5.0 interface protocol; the converted interface has the performance of PCIE5.0 interface protocol, and the use effect which cannot be realized by the original interface protocol can be improved.
The operation of the interface bridge will be described using the high-speed serial interface PCIE as an example. In order to meet the requirement of the data transmission rate, the transmission rate of the interface is improved, so that interfaces with different transmission rates appear, and in order to meet the requirement of the data transmission rate on the basis of a high-speed serial interface PCIE4.0, an interface protocol of the PCIE4.0 interface is upgraded, for example, the speed of the high-speed serial interface (PCIE, PERIPHERAL COMPONENT INTERCONNECT EXPRESS)) 4.0 interface is 16GT/s, and in order to meet the requirement of the data transmission rate, the PCIE4.0 interface is upgraded to a PCIE5.0 interface, so that the speed of the PCIE5.0 interface is improved to 32GT/s.
It should be noted that, the high-speed serial interface PCIE is a high-speed bus inside the computer, and belongs to a point-to-point structure. For ease of understanding, please refer to fig. 1, fig. 1 is a schematic diagram of a high-speed serial interface in a computer.
As shown in FIG. 1, a high-speed serial interface may be formed by a root node (root port) and an endpoint (endpoint) directly into a point-to-point connection pair, and when a high-speed serial interface extender (PCI-Express switch, PCIE SWITCH) exists in an architecture inside a computer, the high-speed serial interface extender may be connected to multiple endpoints at the same time.
Meanwhile, the PCIE of the high-speed serial interface is a layered structure, and is mainly divided into a transaction layer, a data link layer and a physical layer. Wherein the Transaction layer is mainly responsible for creating (sending) or parsing (receiving) Transaction Layer Packets (TLPs), flow control, quality of service (Quality of Service, qoS), transaction ordering; the main responsibilities of the data link layer are creating (sending) or parsing (receiving) data link layer packets (DATA LINK LAYER PACKET, DLLP), accept/reject (Ack/Nak) protocols, flow control, power management; the main responsibility of the physical layer is to process the data physical transmission of all the transaction layer data packets, the sending end of the physical layer distributes the transaction layer data packets to each Lane (line) for transmission, the receiving end of the physical layer gathers the transaction layer data packets on each Lane (line), scramble (scrambling for the purpose of uniformly distributing 0 and 1 and removing electromagnetic interference of channels), de-scramble (descrambling), 8/10 or 128/130 codec, and the like. When a designer designs the high-speed serial interface PCIE, the transaction layer, the data link layer, and the physical layer may be further divided into a medium layer (MEDIA ACCESS LAYER, MAC), a physical coding layer (Physical Coding Sublayer, PCS), and a physical connection layer (PHYSICAL MEDIA ATTACHMENT LAYER, PMA). The MAC layer and the PCS layer in the high-speed serial interface PCIE are connected through a PIPE interface (PHY INTERFACE For the PCI Express), and the PIPE interface is an interface corresponding to a PIPE interface protocol.
After the PCIE is upgraded, the PIPE interfaces corresponding to the MAC layer and the PCS layer are also required to be upgraded, for example, after the PCIE4.0 interface is upgraded to the PCIE5.0 interface in the foregoing description, in order to solve the problem of signal crosstalk existing in the PCIE5.0 interface at the speed of 32GT/s, for the PCIE5.0 interface, a PIPE5.0 interface protocol (PHY INTERFACE For the PCI Express 5.0.0) is correspondingly used, and in the PIPE4.0 interface protocol (PHY INT ERFACE For the PCI Express 4.0.0) corresponding to the original PCIE4.0 interface, signals with a lower strict timing requirement are transmitted through a message_bus (information bus) to match the MAC layer and the PCS layer, and the message_bus (information bus) manages Message transmission from a signal sender to a signal listener (receiver). Therefore, the message_bus can be used for transmitting the signals with lower time sequence requirements between the MAC layer and the PCS layer, so that the message_bus used for transmitting the signals with lower time sequence requirements can be regarded as a register (for example, a receiving and transmitting register with data receiving and data transmitting functions) matched with the MAC layer and the PCS layer, the connection of the MAC layer and the PCS layer is realized, the number of interface signal lines in an interface can be greatly reduced, and the problem of signal crosstalk is solved.
Therefore, in order to use the PIPE5.0 interface of the PCIE VIP (PCIE Verification intellectual property, the intellectual property core used for interface verification) for connecting the PCS layer of the MAC layer core, in the process of chip design, the PIPE4.0 interface of the PCS layer of the MAC layer core in the design under test (Design Under Test, DUT) is converted into the PIPE5.0 interface through the interface bridge, so that the interface of the design under test after conversion is adapted to the PIPE5.0 interface protocol, the converted interface has the performance of reducing the number of interface signal lines in the interface and solving the signal crosstalk problem. The to-be-tested design is a chip design to be tested, and may be a functional hardware used for forming a complete chip design, for example, a bus interface used for forming a cache in the chip design, and when the to-be-tested design is used for forming a bus interface in the chip design, it indicates whether the function of the test bus interface is correct, for example, whether the test bus interface can send data and receive data.
However, whether the conversion function of the interface bridge after the design is completed is correct, that is, whether the interface after the conversion of the interface bridge can be used normally or not is not guaranteed. For example, in the application scenario of PCIE, if the conversion function of the interface bridge pipe_bridge is correct, in other words, if the PIPE4.0 interface is directly converted by using the interface bridge pipe_bridge that is completed in design, whether the converted PIPE interface can be used normally, that is, whether the number of interface signal lines in the interface can be reduced, so that the problem of signal crosstalk is solved is not known. In a further step, if the conversion function of the interface bridge is problematic, errors may occur in the use of the interface after the subsequent conversion, affecting the overall system-on-chip application and design.
Therefore, in order to address the above-mentioned problems or other problems, an embodiment of the present invention provides an interface protocol conversion verification system for verifying the functional correctness of an interface bridge and ensuring that a chip design can be normally linked.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an interface protocol conversion verification system according to an embodiment of the invention; the interface protocol conversion verification system can be applied to a general verification platform, for example.
The universal verification platform is a verification platform built based on universal verification methodology (UVM, universal Verification Methodology) and can be used for performing verification of chip front-end design, and consists of all universal verification components; the general verification methodology is the most popular verification methodology in the current chip verification, in the simulation of the chip and the verification of the chip, UVM instructs the chip verification to start from the actual functional Specification (Specification) of the chip design, make a verification plan, decompose test points, create test cases, define a test acceptance (sign-off) mode and standard, process automation and report automation, and the like. The UVM provides a reusable mechanism of verification environment and test cases in the form of class library, so that the chip verification efficiency is greatly improved.
Therefore, in the built general verification platform, the verification of the chip front end design is completed by using the general verification components, for example, the results of interface protocol conversion of the interface bridge are verified by the included general verification components through the inside of the verification environment of the general verification platform, and the reusability and the verification efficiency of the interface protocol conversion verification system capable of being used for verifying the interface bridge can be improved based on the characteristics of UVM.
As shown in fig. 2, the interface protocol conversion verification system includes:
the interface bridge 1 is configured to convert interface information to be converted into interface information to be verified, where the interface information to be converted is interface information corresponding to an interface protocol to be converted;
The interface information acquisition module 2 is used for acquiring the interface information to be verified and target interface information, wherein the target interface information is interface information corresponding to a target interface protocol;
The verification module 3 is used for verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, and when the verification result is yes, the interface protocol conversion of the interface bridge is correct; the interface protocol to be converted is different from the target interface protocol.
It should be noted that, the interface information to be verified obtained by the interface information obtaining module 2 may be interface information directly sent by the interface bridge after the interface bridge is converted; or the interface information sent by the converted interface after the interface bridge conversion is completed. That is, the interface information to be verified includes both the interface information acquired in the process that the interface bridge performs the interface protocol conversion and the converted interface is not started to be used, and the interface information acquired in the process that the interface bridge finishes the conversion and the converted interface is started to be used, by using the interface information acquired in the process that the interface does not transmit the transaction layer data packet, the direct verification of the interface protocol conversion function of the interface bridge can be realized, and by using the interface information acquired in the process that the interface starts to transmit the transaction layer data packet, the indirect verification of the interface protocol conversion function of the interface bridge can be realized, thereby fully ensuring the reliability of the verification result.
In the PCIE application example, for example, when the interface bridge 1 is used to convert the PIPE4.0 interface protocol into the PIPE5.0 interface protocol, the PIPE5.0 interface protocol may be the target interface protocol corresponding to the target interface protocol.
Because whether the interface protocol conversion of the interface bridge is correct is not determined, the interface information which is used as interface information to be verified in the converted interface information, the interface information which is used as interface protocol of a conversion target is used as target interface information, and further the interface protocol which is used for verifying the interface information to be verified by using the interface protocol which is used for verifying the interface information by using the verification module 3, whether the interface protocol which is used for verifying the interface information is identical to the target interface protocol of the target interface information is determined, if so, the interface protocol conversion is correct, the interface protocol conversion function of the interface bridge is normal, and the normal operation of the subsequent chip design can be ensured.
Therefore, in the interface protocol conversion verification system provided by the embodiment of the invention, on one hand, the interface protocol conversion verification system comprises the verification module 3 for verifying the interface protocol conversion of the interface bridge and the interface information acquisition module 2, so that the interface information to be verified, which needs to be verified, and the target interface information serving as a verification reference are acquired through the interface information acquisition module 2; therefore, the interface protocol corresponding to the interface information to be verified can be verified based on the target interface protocol corresponding to the target interface information, and when the interface protocols are the same, the interface protocol conversion is correct. The above verification system can verify whether the interface protocol conversion function of the interface bridge 1 is correct, so that the interface after converting the interface protocol can be normally used.
On the other hand, since the interface bridge 1 can determine the changed interface information as the interface information to be converted when any interface information is changed in the interface information sent by the interface corresponding to the interface protocol to be converted, and encode the changed interface information to be converted to obtain the interface information meeting the target interface protocol, the interface protocol to be converted can be directly converted into the target interface protocol; because the interface bridge 1 encodes the changed interface information only when detecting the change of the interface information sent by the interface corresponding to the interface protocol to be converted, the processing amount of the interface information to be converted is less, so that the interface protocol conversion speed of the interface bridge 1 can be faster, the simulation verification time consumption of the interface bridge 1 can be reduced in the verification process, and the verification efficiency of the interface bridge 1 is improved.
When an interface corresponding to another interface protocol different from the current interface protocol is required to be used, the interface bridge 1 can be utilized to rapidly realize the conversion of the two different levels of interface protocols, so that the interface protocol conversion function of the interface bridge 1 can be rapidly verified, and the effect of improving the verification efficiency is achieved; and when verification is successful, the interface corresponding to the target interface protocol meeting the use requirement can be obtained quickly, and the use convenience of the interfaces corresponding to different interface protocols is improved.
In still another aspect, the above-mentioned interface protocol conversion verification system is applied to a general verification platform, specifically, the interface information acquisition module 2 and the verification module 3 in the interface protocol conversion verification system may be some components disposed on the general verification platform, so that the interface protocol conversion verification system may have reusability, and is convenient to use in verification environments corresponding to different types of interface protocol conversion.
Based on the foregoing discussion, it may be known that the interface information to be verified may be obtained when the interface does not send the transaction layer data packet, that is, when the interface bridge 1 just completes interface protocol conversion; or the interface protocol conversion function of the interface bridge 1 can be verified based on different interface information to be verified by acquiring the interface when the interface starts to send the transaction layer data packet after the conversion of the interface bridge 1 is completed. The interface bridge 1 is required to convert the interface information, whether the interface bridge 1 completes the conversion of the interface protocol, and the interface after the conversion is unused, or the interface bridge 1 completes the conversion of the interface protocol, and the converted interface starts the process of use.
Therefore, the embodiment of the present invention is first directed to the verification process of the interface bridge 1 when the interface bridge 1 is used to complete the interface protocol conversion and the two interfaces do not send the transaction layer data packet. In order to realize the function verification of the interface bridge 1, that is, the interface information obtaining module 2 obtains the interface information to be verified for verification, the interface protocol conversion verification system may further include an interface protocol conversion module for realizing the interface protocol conversion of the interface bridge 1. Please continue to refer to fig. 2.
As shown in fig. 2, the interface protocol conversion verification system may further include:
the interface 4 corresponding to the interface protocol to be converted includes a signal sending module 41 to be converted, configured to send an interface protocol signal to be converted to the interface bridge 1, where the interface protocol signal to be converted is a signal forming the interface information to be converted;
The interface 5 corresponding to the target interface protocol includes a target signal sending module 51, configured to send a target interface protocol signal to the interface information obtaining module 2, where the target interface protocol signal is a signal forming the target interface information;
the interface bridge 1 includes an interface protocol conversion module 11, configured to convert the interface protocol signal to be converted to obtain interface information to be verified, which is sent to the interface information obtaining module 2.
It should be noted that, the interface information sent by the signal sending module 41 to be converted and the target signal sending module 51 is an interface protocol signal, where the interface protocol signal is a signal that can be sent by the interface before the transaction layer data packet is not sent.
At this time, the interface information to be verified is interface information formed by the signals converted by the interface protocol signals to be converted, that is, after the interface protocol signals to be converted are converted by the interface protocol conversion module 11, the converted interface protocol signals are obtained, so that information formed based on the converted interface protocol signals is formed. The target interface information is interface information formed by a protocol signal corresponding to the interface protocol to be converted, that is, information formed by the target interface protocol signal sent by the target signal sending module 51.
After the interface bridge 1 finishes the conversion of the interface to be subjected to the interface protocol conversion, and the converted interface is in the unused process, the interface bridge 1 can be directly verified to have correct interface protocol conversion function by verifying the interface information to be verified formed by the converted interface protocol signal, namely by comparing the interface protocol corresponding to the converted interface protocol signal with the interface protocol corresponding to the target interface information formed by the target interface protocol signal, and when the interface protocols are the same, the verification of the interface bridge 1 can be ensured and the verification efficiency of the interface bridge can be accelerated.
In one embodiment, the verification module 3 may be a state machine or may be an interface information parsing verification module.
When the verification module 3 is the state machine, the interface information obtaining module 2 and the verification module 3 may be disposed between the interface module corresponding to the target interface protocol and the interface protocol conversion module 11, that is, outside the interface module corresponding to the target interface protocol and the interface protocol conversion module 11.
In one example, when the verification module 3 is the state machine, the state displayed in the state machine may be used, and when the interface protocol corresponding to the interface information to be verified after conversion is aligned with the target interface protocol corresponding to the target interface information (target interface protocol signal), the interface protocol corresponding to the interface information to be verified after conversion is the same as the target interface protocol, and the interface protocol conversion is correct.
When the interface information obtaining module 2 and the verification module 3 are the interface information analysis verification modules, the interface information analysis verification modules may be located inside the interfaces corresponding to the target interface protocols (as shown in fig. 2), that is, the interface information analysis verification modules may be verification functions that are automatically implemented inside the interfaces 5 corresponding to the target interface protocols, and after the interfaces 5 corresponding to the target interface protocols receive the interface information to be verified, which is converted by the interface protocol conversion module 11, the interface information analysis verification modules inside the interfaces 5 corresponding to the target interface protocols are utilized to analyze the interface information to be verified, and if the interface information to be verified can be analyzed and applied, that is, the interface protocol corresponding to the interface information to be verified after analysis is the same as the target interface protocol, the interface protocol conversion is correct.
By means of the different types of verification modules 3, the interface protocol corresponding to the interface information to be verified can be verified, the interface protocol conversion function of the interface bridge 1 can be fully verified, and the reliability and accuracy of the interface protocol conversion can be enhanced.
The two verification modules 3 of the state machine or the interface information analysis verification module can be used simultaneously so as to fully ensure the reliability of the verification result; of course, the state machine or the interface information analysis verification module may alternatively be used, and in one embodiment, in order to facilitate detection and viewing of the verification result, verification may be performed by using only the state machine; in another embodiment, in order to reduce the number of components set in the verification environment and improve the verification efficiency, the verification may be performed by using only the interface information parsing verification module; selecting the applicable authentication module 3 improves the authentication flexibility based on different authentication requirements.
In other embodiments, the interface protocol conversion function of the interface bridge 1 may also be verified by means of indirect verification. As described above, after the interface bridge 1 finishes the conversion of the interface protocol, and under the condition that the converted interface starts to be used, the interface bridge 1 is indirectly verified to have correct interface protocol conversion function, so as to ensure the verification of the interface bridge and accelerate the verification efficiency of the interface bridge.
In order to sufficiently ensure the reliability of the verification result of the interface protocol conversion function of the interface bridge 1, in one embodiment, when the interface bridge 1 completes the interface protocol conversion and the to-be-converted data packet sending module 41 and the target data packet sending module 51 start to be used to send out the transaction layer data packet, the verification may be performed from the sending directions of the two data packets, so as to ensure the accuracy and the reliability of the verification result.
Firstly, a transaction layer data packet to be converted is sent from an interface 4 corresponding to an interface protocol to be converted, and an example of sending the transaction layer data packet as a target by an interface 5 corresponding to a target interface protocol is described, please refer to fig. 3, fig. 3 is a schematic diagram of another structure of the interface protocol conversion verification system provided by the embodiment of the present invention.
As shown in fig. 3, the interface protocol conversion verification system may further include:
a main data packet conversion module 61, configured to convert a main transaction layer data packet to obtain interface information to be verified, which is sent to the interface information obtaining module 2;
The interface 4 corresponding to the interface protocol to be converted includes a main data packet sending module 42 to be converted, configured to send a main transaction layer data packet to be converted to a main data packet conversion module 61, where the main transaction layer data packet to be converted is a data packet forming the interface information to be converted;
The interface 5 corresponding to the target interface protocol includes a target main data packet sending module 52, configured to send a target main transaction layer data packet to the interface information obtaining module 2, where the target main transaction layer data packet is a data packet forming the target interface information;
the interface bridge 1 comprises:
the main conversion completion information sending module 12 is configured to send out interface protocol conversion completion information to the main data packet sending module 42 to be converted and the target main data packet sending module 52 when the interface protocol conversion module 11 of the interface bridge completes interface protocol conversion.
It should be noted that, because each interface module may include the transaction layer data packet that sends the transaction layer data packet to be converted and the target transaction layer data packet, after the interface bridge 1 finishes interface protocol conversion, in the process that the interface starts to use, corresponding data packet verification may be performed according to the type of the data packet currently sent by the interface; thereby sufficiently verifying the interface protocol conversion function of the interface bridge 1.
The main conversion completion information sending module 12 may be a functional module inside the interface bridge 1, and after the interface bridge 1 completes interface protocol conversion, for example, after the interface protocol conversion module 11 of the interface bridge 1 converts the interface protocol to be converted into the target interface protocol, the main conversion completion information sending module 12 is triggered to send the information that the interface protocol conversion module 11 completes interface protocol conversion to the main data packet sending module 42 to be converted and the target main data packet sending module 52 to enable the main data packet sending module 42 to be converted and the target main data packet sending module 52 to perform sending of the subsequent transaction layer data packet.
That is, the master conversion complete information sending module 12 is a functional module that triggers the master data packet sending module 42 to be converted and the target master data packet sending module 52 to perform subsequent applications.
The main packet conversion module 61 is a module used in the process of starting the main packet transmission module 42 to be converted and the target main packet transmission module 52 after the interface protocol conversion is completed, and may provide the interface information acquisition module 2 with interface information to be verified.
At this time, the interface information to be verified is the interface information formed by the transaction layer data packet converted by the main data packet conversion module 61, and the target interface information is the interface information formed by the target main transaction layer data packet.
By using the main data packet conversion module 61 to obtain the interface information to be verified formed by the converted transaction layer data packet during the use of the main data packet transmission module 42 to be converted and the target main data packet transmission module 52, further verify that the interface protocol corresponding to the converted transaction layer data packet is the same as the target interface protocol corresponding to the target main transaction layer data packet, when the interface protocols are the same, it is indicated that the main data packet transmission module 42 to be converted and the target main data packet transmission module 52 can normally transmit the transaction layer data packet, and indirectly prove that the interface protocol conversion function of the interface bridge 1 is correct.
In one embodiment, to obtain the primary transaction layer data packet to be converted and the target primary transaction layer data packet in real time, a module for obtaining the data packet may be further provided. Please continue to refer to fig. 3.
As shown in fig. 3, the interface protocol conversion verification system may further include:
A main sampling module 71 to be converted, configured to sample the main transaction layer data packet to be converted sent by the main data packet sending module 42 to be converted, so as to obtain a main transaction layer data packet to be converted sent to the main data packet converting module 61;
the target main sampling module 81 is configured to sample the target main transaction layer data packet sent by the target main data packet sending module 52, and send the sampled target main transaction layer data packet to the interface information obtaining module 2;
the primary data packet conversion module 61 is configured to convert the primary transaction layer data packet to be converted to obtain converted interface information to be verified, and includes:
And converting the to-be-converted main transaction layer data packet sampled by the to-be-converted main sampling module 71 to obtain converted to-be-verified interface information.
The main transaction layer data packet to be converted and the target main transaction layer data packet can be timely obtained through the main sampling module 71 (HOST Monitor 1) to be converted and the target main sampling module 81 (HOST Monitor 2) to be converted, so that subsequent verification of the data packet can be rapidly performed.
In another embodiment, to ensure the correctness of the sampled to-be-converted primary transaction layer data packet and the target primary transaction layer data packet, the data packets may also be detected. The interface protocol conversion verification system may further include:
The main detection module to be converted is configured to determine an interface protocol of a main transaction layer data packet to be converted, which is sampled by the main sampling module 71 to be converted, and detect whether the interface protocol is the same as the interface protocol to be converted, if yes, send the main transaction layer data packet to be converted to the main data packet conversion module 61;
The target main detection module is configured to determine an interface protocol of the target main transaction layer data packet sampled by the target main sampling module 81, and detect whether the interface protocol is the same as the target interface protocol, and if yes, send the target main transaction layer data packet to the interface information acquisition module 2.
The main detection module to be converted and the target main detection module can verify the sampled main transaction layer data packet to be converted and the target main transaction layer data packet, so that the sampled interface protocol corresponding to the main transaction layer data packet to be converted is ensured to be the same as the interface protocol to be converted, and meanwhile, the sampled interface protocol corresponding to the target main transaction layer data packet is ensured to be the same as the target interface protocol, and the reliability of a verification result is ensured.
Based on the above, it can be known that two types of data packets may be sent out in one interface, that is, the sent out data packet is a data packet that needs to be verified (a data packet for forming the interface information to be verified), and the sent out data packet is a data packet that is used as a verification standard (a data packet for forming the target interface information; therefore, in another embodiment, the verification of the data packet may be performed again for the same interface to verify the interface protocol conversion function of the interface bridge 1.
Then, a transaction layer data packet to be converted is sent from the interface 5 corresponding to the target interface protocol, and an example of sending the transaction layer data packet as the target by the interface 4 corresponding to the interface protocol to be converted is described, please refer to fig. 4, fig. 4 is a schematic diagram of still another structure of the interface protocol conversion verification system provided in the embodiment of the present invention.
As shown in fig. 4, the interface protocol conversion verification system may further include:
The slave packet conversion module 62 is configured to convert the slave transaction layer packet to obtain interface information to be verified, which is sent to the interface information obtaining module 2;
The interface 5 corresponding to the target interface protocol includes a slave data packet sending module 53, configured to send a slave data packet to be converted to the slave data packet conversion module 62, where the slave data packet to be converted is a data packet forming the interface information to be verified;
The interface 4 corresponding to the interface protocol to be converted includes a target slave packet sending module 43, configured to send a target slave transaction layer packet to the interface information obtaining module 2, where the target slave transaction layer packet is a packet forming the target interface information;
The interface bridge 1 further comprises:
The slave conversion completion information sending module 13 is configured to send out interface protocol conversion completion information to the slave data packet sending module 53 to be converted and the target slave data packet sending module 43 when the interface protocol conversion module 11 of the interface bridge completes interface protocol conversion.
The slave conversion completion information sending module 13 may be a functional module inside the interface bridge 1, and after the interface bridge 1 completes interface protocol conversion, for example, after the interface protocol conversion module 11 of the interface bridge 1 converts an interface protocol to be converted into a target interface protocol, the slave conversion completion information sending module 13 is triggered to send information that the interface protocol conversion module 11 completes interface protocol conversion to the slave data packet sending module 53 to be converted and the target slave data packet sending module 43, so that the slave data packet sending module 53 to be converted and the target slave data packet sending module 43 may perform sending of a subsequent transaction layer data packet.
That is, the slave conversion complete information transmitting module 13 is a functional module that triggers the slave packet transmitting module 53 to be converted and the target slave packet transmitting module 43 to perform subsequent applications.
The slave packet conversion module 62 is a module used in the process of starting to use the slave packet transmission module 53 to be converted and the target slave packet transmission module 43 after the interface protocol conversion is completed, and may provide interface information to be verified for the interface information obtaining module 2.
At this time, the interface information to be verified is the interface information formed by the transaction layer packet converted by the packet conversion module 62, and the target interface information is the interface information formed by the target transaction layer packet.
By using the to-be-verified interface information formed by the converted transaction layer data packet obtained by the slave data packet conversion module 62 during the use of the to-be-converted slave data packet sending module 53 and the target slave data packet sending module 43, further verifying that the interface protocol corresponding to the converted transaction layer data packet is the same as the interface protocol corresponding to the target transaction layer data packet, when the interface protocols are the same, it is indicated that the to-be-converted slave data packet sending module 53 and the target slave data packet sending module 43 can normally send the transaction layer data packet, and the interface protocol conversion function of the interface bridge is indirectly proved to be correct.
The master data packet sending module 42 to be converted and the target slave data packet sending module 43 may be modules disposed in the interface 4 corresponding to the interface protocol to be converted, and the target master data packet sending module 52 and the slave data packet sending module 53 to be converted may be modules disposed in the interface 5 corresponding to the target interface protocol.
The slave conversion completion information transmitting module 13 and the master conversion completion information transmitting module 12 may be modules provided in the interface bridge, and may be provided in the interface bridge 1 together with the interface protocol conversion module 11.
In one embodiment, to obtain the transaction layer data packet to be converted and the target transaction layer data packet in real time, a module for obtaining the data packet may be further provided. Please continue to refer to fig. 4.
As shown in fig. 4, the interface protocol conversion verification system may further include:
the slave to be converted sampling module 72 is configured to sample the slave to be converted packet sending module 53, and send the sampled slave to be converted transaction layer packet to the slave packet conversion module 62;
A target slave sampling module 82, configured to sample the target slave packet sending module 43, and send a sampled target slave transaction layer packet to the interface information obtaining module 2;
the slave packet conversion module 62 is configured to convert the to-be-converted transaction layer packet to obtain converted to-be-verified interface information, and includes:
And converting the to-be-converted transaction layer data packet sampled by the to-be-converted sampling module 72 to obtain converted to-be-verified interface information.
The slave sampling module 72 (DMA Monitor 1) and the target slave sampling module 82 (DM a Monitor 2) can timely acquire the transaction layer data packet to be converted and the target transaction layer data packet to be converted, so as to quickly perform subsequent verification of the data packet.
In another embodiment, to ensure the correctness of the sampling to the transaction layer data packet to be converted and the target transaction layer data packet, the data packet may also be sampled. The interface protocol conversion verification system may further include:
A slave detection module to be converted, configured to determine an interface protocol of the slave data packet to be converted sampled by the sampling module 72 to be converted, and detect whether the interface protocol is the same as the target interface protocol, if so, send the slave data packet to be converted to the slave data packet conversion module 62;
And the target slave detection module is used for determining the interface protocol of the target slave transaction layer data packet sampled by the target slave sampling module 82 and detecting whether the interface protocol is the same as the interface protocol to be converted, and if so, sending the target slave transaction layer data packet to the interface information acquisition module 2.
Because the data packet of the to-be-converted transaction layer is sent out by the interface 4 corresponding to the target interface protocol, and the data packet of the target transaction layer is sent out by the interface 5 corresponding to the interface protocol of the to-be-converted transaction layer, the data packet of the to-be-converted transaction layer and the data packet of the target transaction layer can be verified through the to-be-converted master detection module and the target master detection module, so that the interface protocol corresponding to the data packet of the to-be-converted transaction layer is ensured to be the same as the interface protocol of the target interface protocol, and meanwhile, the interface protocol corresponding to the data packet of the to-be-converted transaction layer is ensured to be the same as the interface protocol of the to-be-converted interface protocol, and the reliability of the verification result is ensured.
For the above-mentioned indirect verification manner, in one embodiment, the verification module 3 may be a comparison board (score board), and implement the interface protocol conversion function of the indirect verification interface bridge by comparing whether the interface protocol corresponding to the converted transaction layer data packet is the same as the interface protocol to be converted corresponding to the target transaction layer data packet.
In one embodiment, the signal sending module 41 to be converted, the master data packet sending module 42 to be converted, and the target slave data packet sending module 43 may be simultaneously disposed in the interface 4 corresponding to the interface protocol to be converted; the target signal sending module 51, the target master data packet sending module 52, and the to-be-converted slave data packet sending module 53 may be simultaneously set in the interface 5 corresponding to the target interface protocol, so that different modules may be used based on different verification requirements.
The interface 4 corresponding to the interface protocol to be converted is an interface which needs to be converted in interface protocol, and the interface 5 corresponding to the target protocol is an interface of the target interface protocol which is a conversion target after conversion. I.e. the interface 4 corresponding to the interface protocol to be converted is to be converted into the interface 5 corresponding to the target interface protocol.
Taking the above-mentioned converting the PIPE4.0 interface protocol into the PIPE5.0 interface protocol as an example, the interface corresponding to the PIPE5.0 interface protocol is the interface corresponding to the target interface protocol, and the interface corresponding to the PIPE4.0 interface protocol is the interface corresponding to the interface protocol to be converted.
Of course, it is also possible to take as an example converting the PIPE5.0 interface protocol into the PIPE4.0 interface protocol, in this embodiment, the interface corresponding to the PIPE5.0 interface protocol is the interface corresponding to the interface protocol to be converted, and the interface corresponding to the PIPE4.0 interface protocol is the interface corresponding to the target interface protocol.
In one embodiment, the interface corresponding to the interface protocol to be converted is a verification core, the interface corresponding to the target interface protocol is a design to be tested, or the interface corresponding to the interface protocol to be converted is a design to be tested, and the interface corresponding to the target interface protocol is a verification core.
The interface type corresponding to the interface protocol to be converted and the interface type corresponding to the target interface protocol can be flexibly defined according to the actual interface use requirement, and the practicability of the interface protocol conversion verification system provided by the embodiment of the invention can be improved. The interface corresponding to the interface protocol to be converted can be used as a pre-conversion interface, and the interface corresponding to the target interface protocol is used as the condition of the interface of the conversion target, so that the function verification of the interface bridge 1 can be successfully realized.
In order to facilitate understanding of the use of the interface protocol conversion verification system provided by the embodiment of the present invention, an interface corresponding to an interface protocol to be converted is a to-be-tested Design (DUT), an interface corresponding to a target interface protocol is a verification core (PCIE VIP), and the to-be-tested design of the PIPE4.0 interface protocol is converted into the verification core corresponding to the PIPE5.0 interface protocol.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a verification state of an interface protocol conversion verification system according to an embodiment of the invention.
As shown in fig. 5, the interface protocol conversion verification system includes a DUT as an interface 4 corresponding to an interface protocol to be converted, a PCIE VIP as an interface 5 corresponding to a target interface protocol, a PIPE5.0 corresponding to the target interface protocol, and an interface bridge 1 (PIPE bridge) for implementing interface protocol conversion; the interface information obtaining module 2 and the verification module 3 (for example, an interface information analysis verification module disposed in the interface 5 corresponding to the target interface protocol) required for verification, where the DUT corresponding to the PIPE4.0 interface protocol may include the signal sending module 41 to be converted, and the PCIE VIP corresponding to the PIPE5.0 interface protocol may include the target signal sending module 51.
Firstly, converting an interface protocol signal PIPE4.0 sent by a DUT by a PIPE bridge to obtain interface information to be verified; the PCIE VIP then issues an interface protocol signal PIPE5.0. Then, starting to verify, when verifying, the interface information acquisition module 2 acquires the interface protocol signal PIPE5.0 and the converted interface information to be verified, and the verification module 3 verifies the interface protocol signal PIPE5.0 and the interface information to be verified acquired by the interface information acquisition module 2; taking the interface information analysis and verification module as an example, when the interface information analysis and verification module can analyze the interface information to be verified and the analyzed information accords with the same interface protocol with the interface protocol signal PIPE5.0, the interface protocol conversion of the interface bridge is correct.
Of course, a state machine may also be taken as an example, when the state machine detects that negotiation between the interface information to be verified (the information obtained by converting the interface protocol signal PIPE4.0 sent by the DUT) and the interface protocol signal PIPE5.0 sent by the PCIE VIP enters the L0 state, it indicates that the interface protocol of the interface protocol signal PIPE5.0 and the interface protocol of the interface information to be verified after conversion are in an aligned state, where the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, and the interface protocol conversion of the interface bridge is correct.
Next, referring to fig. 6, fig. 6 is a schematic diagram illustrating another verification state of the interface protocol conversion verification system according to the embodiment of the present invention.
As shown in fig. 6, the interface protocol conversion verification system includes a to-be-tested Design (DUT) as an interface 4 corresponding to an interface protocol to be converted, a PIPE4.0 corresponding to the interface protocol to be converted, a verification core (PCIE VIP) as an interface 5 corresponding to a target interface protocol, a PIPE5.0 corresponding to the target interface protocol, and an interface bridge (PIPE bridge) for implementing interface protocol conversion; because of indirect verification, the interface 4 (DUT) corresponding to the interface protocol to be converted may include a signal sending module 41 to be converted that uses an interface bridge to perform protocol conversion, a master data packet sending module 42 to be converted and a target slave data packet sending module 43 corresponding to the two directions in the indirect verification; the interface 5 (PCIE VIP) corresponding to the target interface protocol may include a to-be-converted slave data packet sending module 53 and a target master data packet sending module 52 for performing indirect verification; further, the interface protocol conversion verification system may further include an sdp2pcie conventor as a main packet conversion module 61 used in the main direction corresponding to the indirect verification, a HOST DUT Monitor as a main sampling module 71 to be converted, and HOST PCIE VIP Monitor as a target main sampling module 81; pcie2 to sdp conventor of the slave packet conversion module 62 used in the corresponding slave direction as an indirect validation, DMA PCIE VIP Monitor as the slave sampling module 72 to be converted, and DMA DUT Monitor as the target slave sampling module 82; the modules for realizing the verification functions of the interface information obtaining module 2 and the verification module 3 may be comparison boards (including HOST Score Board corresponding to the master direction and DMA Score Board corresponding to the slave direction).
When the DUT sends out a main transaction layer data packet to be converted, the PCIE VIP sends out a main transaction layer data packet as a conversion target, at this time, the HOST DUT Monitor is used to sample from the main data packet sending module 42 to be converted to obtain the main transaction layer data packet to be converted, and HOST PCIE VIP Monitor is used to sample from the target main data packet sending module 52 to obtain the target main transaction layer data packet; and then converting the to-be-converted main transaction layer data packet by using the sdp2pcie conventor, and comparing the converted transaction layer data packet with the target main transaction layer data packet by using the HOST Score Board, wherein when the interface protocols are the same, the interface protocol conversion function of the interface bridge is proved to be correct.
When the PCIE VIP sends out a to-be-converted transaction layer data packet, the DUT sends out a to-be-converted transaction layer data packet as a conversion target, at this time, a DMA DUT Monitor is used to sample from the target slave data packet sending module 43 to obtain a target transaction layer data packet, and a DMA PCIE VIP Monitor is used to sample from the to-be-converted slave data packet sending module 53 to obtain a to-be-converted transaction layer data packet; then, the transaction layer data packet to be converted is converted by utilizing pcie to sdp conventor, and further the converted transaction layer data packet is compared with the target transaction layer data packet by utilizing a DMA Score Board, and when the interface protocols are the same, the interface protocol conversion function of the interface bridge is proved to be correct.
And through an indirect verification mode, the interface protocol corresponding to the data packet is verified in a two-way mode, so that the accuracy and the reliability of the function verification of the interface bridge are ensured.
Of course, in other embodiments, the interface corresponding to the interface protocol to be converted may also be a verification core, and the interface corresponding to the target interface protocol may also be a design to be tested.
The embodiment of the invention also provides an interface protocol conversion verification method, please refer to fig. 7, fig. 7 is a flow chart of the interface protocol conversion verification method provided by the embodiment of the invention.
As shown in fig. 7, the process may include the steps of:
step S100, obtaining interface information to be converted and target interface information, wherein the interface information to be converted is interface information corresponding to an interface protocol to be converted, and the target interface information is interface information corresponding to a target interface protocol; and converting the interface information to be converted to obtain the interface information to be verified.
The interface information to be verified may be interface information (for example, interface protocol signal) directly sent by the interface bridge after the interface bridge is converted; or may be interface information (such as transaction layer packets) sent by the interface after the interface bridge has completed the interface protocol conversion. Namely, the obtaining of the interface information to be verified comprises interface information in the process that the interface bridge performs interface protocol conversion and the converted interface is not started to be used (the transaction layer data packet is not started to be sent), and interface information in the process that the interface bridge finishes conversion and the converted interface is started to be used (the transaction layer data packet is started to be sent). Based on two different interface information, the direct verification and the indirect verification of the interface protocol conversion function of the interface bridge are respectively realized, and the reliability of the verification result is fully ensured.
The interface protocol to be converted is different from the target interface protocol.
Step S101, verifying whether an interface protocol corresponding to the interface information to be verified is the same as a target interface protocol corresponding to the target interface information; when the verification result is yes, step S102 is performed, and if the verification result is no, step S103 is performed.
In step S102, the interface protocol conversion of the interface bridge is correct.
When the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, the interface protocol conversion of the interface information to be verified is successful, so that the interface protocol conversion function of the interface bridge can be indicated to be correct.
Step S103, the interface protocol conversion of the interface bridge is wrong.
When the interface protocol corresponding to the interface information to be verified is different from the target interface protocol corresponding to the target interface information, the conversion of the interface protocol of the interface information to be verified is failed, so that the use of a subsequent interface bridge and the use of an interface after conversion can be stopped in time, the adjustment of chip design is facilitated, and the accuracy of chip design is improved.
It can be seen that in the interface protocol conversion verification method provided by the embodiment of the invention, the interface information to be verified which needs to be verified is obtained, and the target interface information which is used as a verification reference is obtained; therefore, the interface protocol corresponding to the interface information to be verified can be verified based on the target interface protocol corresponding to the target interface information, when the interface protocols are the same, the interface protocol conversion is correct, the interface protocol conversion function of the bridge is ensured to be correct, the interface after the interface protocol conversion can be normally used, the use requirements of interfaces corresponding to different interface protocols are met, and the use convenience of the interfaces corresponding to different interface protocols is improved; the interface bridge can directly convert the interface protocol to be converted into the target interface protocol, and has lower signal conversion processing steps, so that the simulation verification time consumption of the interface bridge can be reduced in the verification process, and the verification efficiency of the interface bridge is improved; and simultaneously, the method can be fast and convenient.
In an implementation manner, when the direct verification manner is adopted, the interface protocol signal can be verified, please refer to fig. 8, fig. 8 is another flow chart of the interface protocol conversion verification method provided by the embodiment of the invention.
As shown in fig. 8, the process may include the steps of:
step S200, an interface protocol signal to be converted is obtained, wherein the interface protocol signal to be converted is a signal for forming the interface information to be verified.
The interface protocol signal to be converted is a signal which can be sent by an interface corresponding to the interface protocol signal to be converted before the interface is converted by the interface bridge.
Step S201, converting the interface protocol signal to be converted to obtain converted interface information to be verified.
At this time, the interface information to be verified is interface information formed by signals converted by the interface protocol signals to be converted.
Step S202, a target interface protocol signal is obtained, wherein the target interface protocol signal is a signal for forming the target interface information.
The target interface protocol signal is a signal which can be sent by an interface corresponding to the target interface protocol signal before a transaction layer data packet is sent. The target interface information is interface information formed by a protocol signal corresponding to the interface protocol to be converted, namely information formed by the target interface protocol signal.
The interface protocol corresponding to the interface protocol signal to be converted is different from the interface protocol corresponding to the target interface protocol signal.
Step S203, the interface information to be verified and the target interface protocol signal which are formed after the interface protocol signal to be converted are obtained.
Step S204, verifying whether the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target interface protocol signal; when the verification result is yes, step S205 is performed, and if the verification result is no, step S206 is performed.
In step S205, the interface protocol conversion of the interface bridge is correct.
When the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target interface protocol signal, the interface protocol conversion of the interface information to be verified is successful, so that the interface protocol conversion function of the interface bridge can be indicated to be correct.
In step S206, the interface protocol conversion of the interface bridge is wrong.
When the interface protocol corresponding to the interface information to be verified is different from the interface protocol corresponding to the target interface protocol signal, the conversion of the interface protocol of the interface information to be verified is failed, so that the use of a subsequent interface bridge and the use of an interface after conversion can be stopped in time, the adjustment of chip design is facilitated, and the accuracy of chip design is improved.
The interface protocol corresponding to the information to be verified and the target interface protocol signal can be verified in different verification modes, so that the practicability of the interface protocol conversion verification method is enhanced.
In one embodiment, the verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion is correct includes:
And verifying the converted interface information to be verified and the target interface protocol signal, wherein when the interface protocol corresponding to the converted interface information to be verified is in an aligned state with the target interface protocol, the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol, and the interface protocol conversion is correct.
By directly verifying the state of the interface protocol signal, the interface bridge can be conveniently observed in the conversion process, and the problems in the verification process of the interface bridge can be conveniently found in time.
In other embodiments, the verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion is correct includes:
and analyzing and verifying the interface information to be verified, and when the information obtained after the interface information to be verified is analyzed is the same as the target interface protocol, converting the interface protocol correctly.
The interface protocol corresponding to the interface information to be verified is verified by directly utilizing the interface corresponding to the target interface protocol signal to analyze, so that the addition of excessive functional modules in the verification environment can be avoided, and the verification burden of the verification environment is increased.
When the function of the interface bridge is verified in an indirect verification manner, verification can be performed respectively by based on the transmission states of different data packets between the interface corresponding to the interface protocol to be converted and the interface corresponding to the target interface information, so that the reliability of the interface protocol conversion function verification of the interface bridge is fully ensured.
In one embodiment, firstly, taking a state of an interface corresponding to interface information to be converted as a state to be verified, and taking a state of an interface corresponding to a target interface protocol as an example, please refer to fig. 9, fig. 9 is a flow chart of an interface protocol conversion verification method according to an embodiment of the present invention.
As shown in fig. 9, the process may include the steps of:
step S300, a to-be-converted main transaction layer data packet is obtained, wherein the to-be-converted main transaction layer data packet is a data packet forming the to-be-verified interface information.
The to-be-converted main transaction layer data packet is an interface corresponding to the to-be-converted interface information, and can be sent out when the transaction layer data packet is sent out after the interface protocol conversion of the interface bridge is completed.
Step S301, converting the to-be-converted primary transaction layer data packet to obtain converted to-be-verified interface information.
At this time, the interface information to be verified is interface information formed by the data packet converted by the data packet of the main transaction layer to be converted.
Step S302, a target main transaction layer data packet is obtained, wherein the target main transaction layer data packet is a data packet forming the target interface information.
The target main transaction layer data packet is an interface corresponding to the target interface protocol information, and can be sent out when the transaction layer data packet is sent out after the interface protocol conversion of the interface bridge is completed.
The interface protocol corresponding to the interface protocol signal to be converted is different from the interface protocol corresponding to the target interface protocol signal.
And acquiring the data packet of the main transaction layer to be converted through an interface corresponding to the interface information to be converted, and acquiring the data packet of the target main transaction layer based on the interface corresponding to the target interface information, so as to verify the conversion function of the interface bridge based on the data packet of the transaction layer.
Step S303, obtaining the interface information to be verified and the target main transaction layer data packet which are formed based on the converted main transaction layer data packet.
Step S304, verifying whether the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target main transaction layer data packet; when the verification result is yes, step S305 is performed, and if the verification result is no, step S306 is performed.
In step S305, the interface protocol conversion of the interface bridge is correct.
When the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target main transaction layer data packet, the conversion of the interface protocol of the interface information to be verified is successful, so that the interface protocol conversion function of the interface bridge can be indicated to be correct.
In step S306, the interface protocol conversion of the interface bridge is wrong.
When the interface protocol corresponding to the interface information to be verified is different from the interface protocol corresponding to the target main transaction layer data packet, the conversion of the interface protocol of the interface information to be verified is failed, so that the use of a subsequent interface bridge and the use of an interface after conversion can be stopped in time, the adjustment of chip design is facilitated, and the accuracy of chip design is improved.
In order to ensure the data correctness of the to-be-converted main transaction layer data packet and the target main transaction layer data packet, the reliability of the verification result is ensured, and the data packet can be further verified. Please continue to refer to fig. 9.
As shown in fig. 9, the process may further include:
Step S3001, detecting whether an interface protocol corresponding to the to-be-converted primary transaction layer data packet is the same as the to-be-converted interface protocol corresponding to the to-be-converted interface information; if yes, step S301 is executed, and if no, step S3002 is executed.
Step S3002, stopping the verification.
Step S3020, detecting whether the interface protocol corresponding to the target primary transaction layer packet is the same as the target interface protocol corresponding to the target interface information; if yes, step S303 is executed, and if no, step S3002 is executed.
In order to further ensure the accuracy of the verification result, the converted interface information to be verified can be detected. Please continue to refer to fig. 9.
As shown in fig. 9, the process may further include the steps of:
step S3010, detecting whether the conversion process of converting the to-be-converted main transaction layer data packet is successful; if yes, step S303 is executed, and if no, step S306 is executed.
By detecting the conversion process, when the conversion fails, the conversion function of the interface bridge is shown to have errors, the transaction layer data packet sent by the interface after the conversion is completed cannot be converted normally, and the interface protocol conversion function of the interface bridge is verified indirectly.
In one embodiment, the verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion of the interface bridge is correct includes:
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target main transaction layer data packet, and when the interface protocols are identical in comparison, converting the interface protocol of the interface bridge correctly.
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target main transaction layer data packet, and when the interface protocol is successfully compared, indicating that the interface bridge can normally send out the transaction layer data packet after conversion, and indirectly verifying the interface protocol conversion function of the interface bridge.
In an embodiment, taking a state of an interface corresponding to interface information to be converted as a state to be verified, an interface corresponding to a target interface protocol is described as an example, please refer to fig. 10, fig. 10 is a schematic flow chart of an interface protocol conversion verification method according to an embodiment of the present invention.
As shown in fig. 10, the process may include the steps of:
step S400, obtaining a target transaction layer data packet from the interface corresponding to the interface protocol to be converted, wherein the target transaction layer data packet is a data packet forming the target interface information.
The target is a data packet sent out when the target state is achieved, wherein the target is a data packet of a business layer, which is an interface corresponding to interface information to be converted. The target state is a state corresponding to when the interface sends out a data packet forming the target interface information.
Step S401, obtaining a to-be-converted transaction layer data packet from the interface corresponding to the target interface protocol, where the to-be-converted transaction layer data packet is a data packet forming the to-be-verified interface information.
The interface to be converted is an interface corresponding to the target interface protocol information, and after the interface bridge finishes the interface protocol conversion, the interface corresponding to the target interface protocol information can be sent out when the transaction layer data packet is sent out.
The interface protocol corresponding to the to-be-converted transaction layer data packet is different from the interface protocol corresponding to the target transaction layer data packet.
Step S402, converting the to-be-converted transaction layer data packet to obtain converted to-be-verified interface information.
The interface information corresponding to the interface to be converted is used for acquiring the data packet of the transaction layer to be converted, and the interface information corresponding to the target interface is used for acquiring the data packet of the target transaction layer, so that the interface bridge is verified based on different data packet sending states.
Step S403, obtaining the interface information to be verified and the target transaction layer data packet formed after the transaction layer data packet to be converted is converted.
Step S404, verifying whether the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target transaction layer data packet; when the verification result is yes, step S405 is executed, and if the verification result is no, step S406 is executed.
In step S405, the interface protocol conversion of the interface bridge is correct.
When the interface protocol corresponding to the interface information to be verified is the same as the interface protocol corresponding to the target transaction layer data packet, the interface protocol conversion of the interface information to be verified is successful, so that the interface protocol conversion function of the interface bridge can be indicated to be correct.
In step S406, the interface protocol conversion of the interface bridge is wrong.
When the interface protocol corresponding to the interface information to be verified is different from the interface protocol corresponding to the target transaction layer data packet, the conversion of the interface protocol of the interface information to be verified is failed, so that the use of a subsequent interface bridge and the use of an interface after conversion can be stopped in time, the adjustment of chip design is facilitated, and the accuracy of chip design is improved.
In order to ensure the data correctness of the data packets to be converted from the transaction layer data packet and the target main transaction layer data packet, the reliability of the verification result is ensured, and the data packets can be further verified. Please continue to refer to fig. 10.
As shown in fig. 10, the process may further include:
Step S4001, detecting whether the interface protocol corresponding to the target transaction layer packet is the same as the interface protocol to be converted corresponding to the interface information to be converted; if yes, step S403 is executed, and if no, step S4002 is executed.
Step S4002, stopping the verification.
Step S4010, detecting whether the interface protocol corresponding to the transaction layer data packet to be converted is the same as the target interface protocol corresponding to the target interface information; if yes, step S402 is executed, and if no, step S4002 is executed.
In order to further ensure the accuracy of the verification result, the converted interface information to be verified can be detected. Please continue to refer to fig. 10.
As shown in fig. 10, the process may further include the steps of:
step S4020, detecting whether the conversion process of converting the to-be-converted transaction layer data packet is successful; if yes, step S403 is executed, and if no, step S406 is executed.
By detecting the conversion process, when the conversion fails, the conversion function of the interface bridge is shown to have errors, the transaction layer data packet sent by the interface after the conversion is completed cannot be converted normally, and the interface protocol conversion function of the interface bridge is verified indirectly.
In one embodiment, the verifying whether the interface protocol corresponding to the converted interface information to be verified is the same as the interface protocol corresponding to the target interface information includes:
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target transaction layer data packet, and when the interface protocols are identical in comparison, converting the interface protocol of the interface bridge correctly.
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target transaction layer data packet, and when the interface protocol is successfully compared, indicating that the interface bridge can normally send out the transaction layer data packet after conversion, and indirectly verifying the interface protocol conversion function of the interface bridge.
The embodiment of the invention also provides an electronic device, which comprises a memory and a processor, wherein the memory stores a program, and the processor calls the program stored in the memory to execute the interface protocol conversion verification method according to any one of the previous embodiments.
The embodiment of the invention also provides a storage medium, wherein the storage medium stores a program, and the program is executed to realize the interface protocol conversion verification method according to any one of the previous embodiments.
The foregoing describes several embodiments of the present invention, and the various alternatives presented by the various embodiments may be combined, cross-referenced, with each other without conflict, extending beyond what is possible embodiments, all of which are considered to be embodiments of the present invention disclosed and disclosed.
Although the embodiments of the present invention are disclosed above, the present invention is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the invention, and the scope of the invention should be assessed accordingly to that of the appended claims.

Claims (21)

1. An interface protocol conversion verification system, comprising:
The interface bridge is used for converting the interface information to be converted into the interface information to be verified, wherein the interface information to be converted is the interface information corresponding to the interface protocol to be converted;
The interface corresponding to the target interface protocol comprises a target signal sending module and a target main data packet sending module; the target signal sending module is used for sending a target interface protocol signal to the interface information obtaining module, wherein the target interface protocol signal is a signal for forming target interface information;
The interface information acquisition module is used for acquiring the interface information to be verified and target interface information, wherein the target interface information is interface information corresponding to a target interface protocol; the target main data packet sending module is configured to send a target main transaction layer data packet to the interface information obtaining module, where the target main transaction layer data packet is a data packet forming the target interface information;
The verification module is used for verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, and when the verification result is yes, the interface protocol conversion of the interface bridge is correct; the interface protocol to be converted is different from the target interface protocol;
the main data packet conversion module is used for converting the main transaction layer data packet to obtain the interface information to be verified, and sending the interface information to be verified to the interface information acquisition module;
The interface corresponding to the interface protocol to be converted comprises a main data packet sending module to be converted, and is used for sending a main transaction layer data packet to be converted to the main data packet conversion module, wherein the main transaction layer data packet to be converted is a data packet forming the interface information to be converted;
The interface bridge includes: and the main conversion completion information sending module is used for sending interface protocol conversion completion information to the main data packet sending module to be converted and the target main data packet sending module when the interface protocol conversion module of the interface bridge completes interface protocol conversion.
2. The interface protocol conversion verification system according to claim 1, further comprising:
the interface corresponding to the interface protocol to be converted comprises a signal sending module to be converted, and the signal sending module is used for sending an interface protocol signal to be converted to the interface bridge, wherein the interface protocol signal to be converted is a signal for forming the interface information to be converted;
The interface bridge comprises an interface protocol conversion module which is used for converting the interface protocol signals to be converted to obtain the interface information to be verified, which is sent to the interface information acquisition module.
3. The interface protocol conversion verification system according to claim 2, wherein the verification module is a state machine or an interface information parsing verification module.
4. The interface protocol conversion verification system according to claim 1, further comprising:
The main sampling module to be converted is used for sampling the main transaction layer data packet to be converted sent by the main data packet sending module to be converted to obtain the main transaction layer data packet to be converted sent to the main data packet conversion module;
The target main sampling module is used for sampling the target main transaction layer data packet sent by the target main data packet sending module and sending the sampled target main transaction layer data packet to the interface information acquisition module;
The main data packet conversion module is configured to convert the to-be-converted main transaction layer data packet to obtain to-be-verified interface information sent to the interface information acquisition module, and includes:
and converting the to-be-converted main transaction layer data packet sampled by the to-be-converted main sampling module to obtain to-be-verified interface information which is sent to the interface information acquisition module.
5. The interface protocol conversion verification system according to claim 4, further comprising:
The main detection module to be converted is used for determining the interface protocol of the main transaction layer data packet to be converted, which is sampled by the main sampling module to be converted, and detecting whether the interface protocol is the same as the interface protocol to be converted, if so, the main transaction layer data packet to be converted is sent to the main data packet conversion module;
and the target main detection module is used for determining the interface protocol of the target main transaction layer data packet sampled by the target main sampling module, detecting whether the interface protocol is the same as the target interface protocol, and if so, sending the target main transaction layer data packet to the interface information acquisition module.
6. The interface protocol conversion verification system according to claim 1, further comprising:
The slave data packet conversion module is used for converting the slave transaction layer data packet to obtain interface information to be verified, and the interface information is sent to the interface information acquisition module;
The interface corresponding to the target interface protocol further comprises a to-be-converted slave data packet sending module, which is used for sending to-be-converted slave data packets to the slave data packet conversion module, wherein the to-be-converted slave data packets are data packets forming the to-be-verified interface information;
The interface corresponding to the interface protocol to be converted comprises a target slave data packet sending module, a target slave data packet processing module and an interface information acquisition module, wherein the target slave data packet sending module is used for sending a target slave data packet to the interface information acquisition module, and the target slave data packet is a data packet for forming the target interface information;
The interface bridge further comprises:
And the slave conversion completion information sending module is used for sending interface protocol conversion completion information to the slave data packet sending module to be converted and the target slave data packet sending module when the interface protocol conversion module of the interface bridge completes interface protocol conversion.
7. The interface protocol conversion verification system according to claim 6, further comprising:
the slave data packet transmitting module is used for transmitting the slave data packet to be converted to the slave data packet converting module;
The target slave sampling module is used for sampling the target slave data packet sending module and sending the sampled target slave transaction layer data packet to the interface information acquisition module;
the slave data packet conversion module is configured to convert the to-be-converted transaction layer data packet to obtain to-be-verified interface information sent to the interface information acquisition module, and includes:
and converting the to-be-converted transaction layer data packet sampled by the to-be-converted sampling module to obtain to-be-verified interface information which is sent to the interface information acquisition module.
8. The interface protocol conversion verification system according to claim 7, further comprising:
The slave detection module to be converted is used for determining the interface protocol of the slave data packet to be converted sampled by the sampling module to be converted, detecting whether the interface protocol is the same as the target interface protocol, and if so, sending the slave data packet to be converted to the slave data packet conversion module;
And the target slave detection module is used for determining the interface protocol of the target slave transaction layer data packet sampled by the target slave sampling module, detecting whether the interface protocol is the same as the target interface protocol, and if so, transmitting the target slave transaction layer data packet to the interface information acquisition module.
9. The interface protocol conversion verification system according to claim 4, wherein the verification module is an alignment board.
10. The interface protocol conversion verification system according to claim 1, wherein the interface corresponding to the interface protocol to be converted is a verification core, the interface corresponding to the target interface protocol is a design to be tested, or the interface corresponding to the interface protocol to be converted is a design to be tested, and the interface corresponding to the target interface protocol is a verification core.
11. An interface protocol conversion verification method implemented based on an interface protocol conversion verification system according to any one of claims 1 to 10, comprising:
Acquiring interface information to be converted and target interface information, wherein the interface information to be converted is interface information corresponding to an interface protocol to be converted, and the target interface information is interface information corresponding to a target interface protocol; converting the interface information to be converted to obtain interface information to be verified; wherein the target interface information is formed based on a target interface protocol signal;
verifying whether an interface protocol corresponding to the interface information to be verified is the same as a target interface protocol corresponding to the target interface information, and if so, converting the interface protocol of the interface bridge correctly; the interface protocol to be converted is different from the target interface protocol;
when the interface corresponding to the interface protocol to be converted is in a state to be verified and the interface corresponding to the target interface protocol is in a target state, the method further comprises:
Acquiring a main transaction layer data packet to be converted from an interface corresponding to the interface protocol to be converted, wherein the main transaction layer data packet to be converted is a data packet forming the interface information to be verified;
acquiring a target main transaction layer data packet from an interface corresponding to the target interface protocol, wherein the target main transaction layer data packet is a data packet forming the target interface information;
The converting the interface information to be converted to obtain the interface information to be verified comprises the following steps:
and converting the to-be-converted main transaction layer data packet to obtain converted to-be-verified interface information.
12. The interface protocol conversion verification method according to claim 11, further comprising:
Acquiring an interface protocol signal to be converted, wherein the interface protocol signal to be converted is a signal forming the interface information to be converted;
Acquiring a target interface protocol signal, wherein the target interface protocol signal is a signal forming the target interface information;
The converting the interface information to be converted to obtain the interface information to be verified comprises the following steps:
And converting the interface protocol signal to be converted to obtain converted interface information to be verified.
13. The interface protocol conversion verification method according to claim 12, wherein verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion is correct, includes:
And verifying the converted interface information to be verified and the target interface protocol signal, wherein when the interface protocol corresponding to the converted interface information to be verified is in an aligned state with the target interface protocol, the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol, and the interface protocol conversion is correct.
14. The interface protocol conversion verification method according to claim 12, wherein verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion is correct, includes:
and analyzing and verifying the interface information to be verified, and when the information obtained after the interface information to be verified is analyzed is the same as the target interface protocol, converting the interface protocol correctly.
15. The interface protocol conversion verification method according to claim 11, further comprising:
Determining an interface protocol corresponding to the to-be-converted main transaction layer data packet, detecting whether the interface protocol is the same as the to-be-converted interface protocol, and if so, executing the step of converting the to-be-converted main transaction layer data packet to obtain converted to-be-verified interface information;
And determining an interface protocol corresponding to the target main transaction layer data packet, detecting whether the interface protocol is the same as the target interface protocol, and if so, executing the step of verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information.
16. The interface protocol conversion verification method according to claim 15, wherein verifying whether the interface protocol corresponding to the interface information to be verified is the same as the target interface protocol corresponding to the target interface information, when the verification result is yes, the interface protocol conversion of the interface bridge is correct, includes:
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target main transaction layer data packet, and when the interface protocols are identical in comparison, converting the interface protocol of the interface bridge correctly.
17. The interface protocol conversion verification method according to claim 11, wherein when the interface corresponding to the interface protocol to be converted is in a target state and the interface corresponding to the target interface protocol is in a state to be converted, the method further comprises:
Acquiring a target transaction layer data packet from an interface corresponding to the interface protocol to be converted, wherein the target transaction layer data packet is a data packet forming the target interface information;
Acquiring a to-be-converted transaction layer data packet from an interface corresponding to the target interface protocol, wherein the to-be-converted transaction layer data packet is a data packet forming the to-be-converted interface information;
The converting the interface information to be converted to obtain the interface information to be verified comprises the following steps:
And converting the to-be-converted transaction layer data packet to obtain converted to-be-verified interface information.
18. The interface protocol conversion verification method according to claim 17, further comprising:
detecting an interface protocol corresponding to the data packet of the transaction layer to be converted;
And detecting the interface protocol corresponding to the target transaction layer data packet.
19. The interface protocol conversion verification method according to claim 18, wherein verifying whether the interface protocol corresponding to the converted interface information to be verified is the same as the interface protocol corresponding to the target interface information includes:
And comparing the interface protocol corresponding to the converted interface information to be verified with the interface protocol corresponding to the target transaction layer data packet, and when the interface protocols are identical in comparison, converting the interface protocol of the interface bridge correctly.
20. An electronic device comprising a memory in which a program is stored and a processor that invokes the program stored in the memory to perform the interface protocol conversion verification method according to any one of claims 11 to 19.
21. A storage medium storing a program which, when executed, implements the interface protocol conversion verification method according to any one of claims 11 to 19.
CN202310737101.6A 2023-06-19 2023-06-19 Interface protocol conversion verification system and method, electronic equipment and storage medium Active CN116775390B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310737101.6A CN116775390B (en) 2023-06-19 2023-06-19 Interface protocol conversion verification system and method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310737101.6A CN116775390B (en) 2023-06-19 2023-06-19 Interface protocol conversion verification system and method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116775390A CN116775390A (en) 2023-09-19
CN116775390B true CN116775390B (en) 2024-05-31

Family

ID=87989043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310737101.6A Active CN116775390B (en) 2023-06-19 2023-06-19 Interface protocol conversion verification system and method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116775390B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591756A (en) * 2012-01-12 2012-07-18 中国人民解放军国防科学技术大学 Verification method and system for interface protocol compatibility of multi-interface protocol chip
CN110290105A (en) * 2019-05-10 2019-09-27 中国人民解放军战略支援部队信息工程大学 A verification platform and method for heterogeneous protocol conversion
CN113887161A (en) * 2021-10-26 2022-01-04 上海燧原科技有限公司 Verification method, device, equipment and medium for network-on-chip design example
CN115543797A (en) * 2022-09-28 2022-12-30 山东工商学院 Bus conversion bridge verification method, device, equipment and storage medium based on UVM
CN116048652A (en) * 2022-12-13 2023-05-02 芯启源(南京)半导体科技有限公司 VIP verification-based reusability verification platform and verification method
CN116090378A (en) * 2023-01-20 2023-05-09 河北工业大学 PCIe-to-RapidIO bridge chip verification platform based on UVM
CN116185935A (en) * 2023-02-23 2023-05-30 上海思尔芯技术股份有限公司 FPGA prototype verification method, system, medium and computing device of controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150019193A1 (en) * 2013-07-14 2015-01-15 Qualcomm Technologies, Inc. Verification using generic protocol adapters

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102591756A (en) * 2012-01-12 2012-07-18 中国人民解放军国防科学技术大学 Verification method and system for interface protocol compatibility of multi-interface protocol chip
CN110290105A (en) * 2019-05-10 2019-09-27 中国人民解放军战略支援部队信息工程大学 A verification platform and method for heterogeneous protocol conversion
CN113887161A (en) * 2021-10-26 2022-01-04 上海燧原科技有限公司 Verification method, device, equipment and medium for network-on-chip design example
CN115543797A (en) * 2022-09-28 2022-12-30 山东工商学院 Bus conversion bridge verification method, device, equipment and storage medium based on UVM
CN116048652A (en) * 2022-12-13 2023-05-02 芯启源(南京)半导体科技有限公司 VIP verification-based reusability verification platform and verification method
CN116090378A (en) * 2023-01-20 2023-05-09 河北工业大学 PCIe-to-RapidIO bridge chip verification platform based on UVM
CN116185935A (en) * 2023-02-23 2023-05-30 上海思尔芯技术股份有限公司 FPGA prototype verification method, system, medium and computing device of controller

Also Published As

Publication number Publication date
CN116775390A (en) 2023-09-19

Similar Documents

Publication Publication Date Title
US20080163005A1 (en) Error injection in pci-express devices
CN101937412B (en) System on chip and access method thereof
CN108255776B (en) I3C master device compatible with APB bus, master-slave system and communication method
US20220398177A1 (en) Error rate measuring apparatus and error rate measuring method
CN116340073B (en) Test method, device and system
CN112926285A (en) Chip verification method, platform, device, equipment and storage medium
CN116775390B (en) Interface protocol conversion verification system and method, electronic equipment and storage medium
CN114356671A (en) Board card debugging device, system and method
CN101727375B (en) System and method for testing new-generation peripheral component interconnect express
CN103532686B (en) Serial data transceiver circuit with line sequence self-adaptive function and control method thereof
TWI502338B (en) A testing interposer card and method of testing
CN115794530A (en) Hardware connection testing method, device, equipment and readable storage medium
CN113422756B (en) Verification data transmission method, rate conversion device and verification data transmission system
CN115801540A (en) PCIe device degradation detection method, device, terminal and storage medium
CN113986600A (en) A test method, device and chip for chip serial interface
CN113778796A (en) Method for monitoring serial port communication through USB
CN117056151B (en) Method and computing device for chip verification
US20050256984A1 (en) Implementation of a master loopback mode
CN114546917B (en) An FPGA-side auxiliary IP system
US20060268724A1 (en) Using Open Vera Assertions to verify designs
US20240311227A1 (en) Single signal debug port
CN114443400B (en) Signal testing method and device, system on chip, electronic equipment and storage medium
CN216014148U (en) Server and server backboard
Liu et al. Design of AXI-APB bus bridge verification platform
Shuo et al. Design of high-speed satellite payload data simulator based on FlexRIO

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant