Automatic system and application for converting IP module verification information in chip simulation
Through the automation system and verification information conversion device, the test case transplantation between the IP module level and the SOC chip level verification platform is realized, which solves the problem of inconsistent conversion of IP module test cases in the existing technology and improves the efficiency of chip level functional verification. Controllability and observability reduce manual intervention and improve the stability of the development cycle.
Patent Information
- Application Number
- CN202111384109.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-19
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-19
AI Technical Summary
In the existing technology, the test case conversion of IP modules lacks a unified standard, which results in reduced controllability and observability of chip-level functional verification, and is highly dependent on manual labor, affecting the stability and reliability of the development cycle.
Provide an automated system for converting IP module verification information in chip simulation. The verification information conversion device realizes efficient and accurate transplantation of test cases between the IP module level UVM verification platform and the SOC chip level UVM verification platform, including IP module level UVM verification. The platform, SOC chip-level UVM verification platform and verification information conversion device use UVM verification methodology and System Verilog language to build a verification environment, and realize automatic transplantation of test cases through the conversion of interface signals and component configuration information.
It improves the controllability and observability of chip-level functional verification, reduces manual intervention, and improves the stability and reliability of the verification platform.
Smart Images

Figure CN114169272B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of chip development, and in particular to an automatic system and application for converting IP module verification information in chip simulation. Background Art
[0002] In the field of IC design, mainstream chip design is increasingly leaning towards SoC (System on Chip) design using reusable IP cores (Intellectual Property core, also known as IP modules). The speed and quality of the chip are the focus of chip development. In order to ensure the speed and quality of the chip, verification of the chip's IP core is an important part of the chip development process.
[0003] At present, some IP core manufacturers will provide IP cores (verification IP, VIP) for verification, but the VIP tools provided can usually only be used for the verification of IP cores provided by the manufacturer, and cannot be used for the verification of IP cores of other manufacturers. At the same time, some IP cores with VIP tools can only verify some functions of the IP core, which cannot meet the needs of actual verification at all, and usually these VIPs only have interfaces, and their contents cannot be viewed or changed. Based on this, various UVM verification platforms based on UVM (Universal Verification Methodology) verification methodology are also provided in the prior art, and the performance of IP modules in the chip under test is verified through the UVM verification platform. UVM verification is a mainstream verification method, which provides a reusable and hierarchical verification platform framework with the characteristics of clear hierarchy, flexibility, ease of use, and scalability. It has become the standard for verification in the chip industry. UVM is a test case (case, or testcase) based on the systemverilog language, which generates incentives by using UVM sequence (UVM sequence).
[0004] For large-scale system chip design, the functional verification plan of the chip is usually divided into two parts: module-level (IPLevel) functional verification (also known as IP-level verification) and chip-level (SOC Level) functional verification (also known as chip-level verification). Correspondingly, it is necessary to establish a module-level functional verification platform and a chip-level functional verification platform respectively. If you need to verify a single IP module, you usually use a module-level functional verification platform. If you need to verify whether a certain IP can work normally in the entire chip, you usually use a chip-level functional verification platform. At present, the common practice in the industry is: after the sub-module verifier completes the design of a certain IP module, he can perform functional verification of the IP module through test cases on the module-level functional verification platform based on the module function and interface signal of the IP module; then, use the chip-level functional verification platform to verify the function of the IP module in the entire chip (verify that the IP module can work normally on the chip).
[0005] In the above process, the verification personnel may need to port the test cases of the module-level functional verification of the IP module (specific test cases written according to the module functions and interface signals) to the chip-level functional verification platform. However, there is no unified standard for the test case conversion of IP modules. For different IP modules, the verification personnel may use different methods when converting test cases. Combined with the diversity and complexity of on-chip IP modules, the controllability and observability of the chip-level functional verification of IP modules are reduced, and it becomes more difficult to create and maintain the chip-level functional verification platform. Therefore, the above work is usually performed by senior verification engineers, and the high reliance on manual work will undoubtedly affect the stability and reliability of the verification platform. Once one or two key personnel fail to perform their work or make mistakes, the entire development cycle will be affected. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide an automated system and application for converting IP module verification information in chip simulation. The present invention realizes the migration of test cases between an IP module-level UVM verification platform and a SOC chip-level UVM verification platform through a verification information conversion device, can efficiently and accurately realize the migration of test cases, and at the same time improves the controllability and observability of chip-level functional verification.
[0007] To achieve the above objectives, the present invention provides the following technical solutions:
[0008] An automated system for converting IP module verification information in chip simulation, comprising an IP module-level UVM verification platform, a SOC chip-level UVM verification platform and a verification information conversion device;
[0009] The IP module-level UVM verification platform uses the universal verification methodology UVM and System Verilog language to build a verification environment. The verification platform interacts with the IP module under test through the IP interface signal module, and applies test stimulus to the IP module through the written IP module-level test case to perform functional verification;
[0010] The IP module-level UVM verification platform includes the following components:
[0011] Reference model
[0012] The input agent In_agent includes a packaged sequencer, a driver and a monitor, wherein the sequencer is used to manage the sequence generator to generate a valid sequence, the driver is used to apply test stimulus and data conversion to the port of the tested IP module, and the monitor is used to collect output data of the tested IP module and perform data conversion;
[0013] The output agent Out_agent includes a monitor monitor, which is used to collect the output data of the port of the tested IP module after applying the stimulus;
[0014] The scoreboard is connected to the reference model and is used to compare the output data collected by the monitor of the output agent with the expected value of the reference model and output the comparison result;
[0015] The SOC chip-level UVM verification platform is configured isomorphically with the IP module-level UVM verification platform, and is used to interact with the aforementioned IP module under test in the chip under test through the SOC interface signal module to verify the correctness of the function of the IP module under test in the chip under test;
[0016] The verification information conversion device is configured to transplant the aforementioned IP module-level test case into the SOC chip-level UVM verification platform in the following manner: converting the connection relationship information between the IP module under test and the IP interface signal module, by identifying the connection corresponding to the IP interface signal module in the connection relationship information and uniformly replacing the IP interface keyword in the connection information with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the IP module under test and the SOC interface signal module; and, by identifying the component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform, adding the aforementioned component configuration information to the SOC chip-level UVM verification platform.
[0017] Further, the connection relationship information between the tested IP module and the SOC interface signal module is configured as follows:
[0018] Identify the preset IP interface keyword ip_interface in the connection information and replace it with the preset SOC interface keyword soc_interface.
[0019] Further, the above-mentioned component configuration information is added to the SOC chip-level UVM verification platform in the following manner:
[0020] When it is identified that the configuration information in the IP module-level UVM verification platform carries a preset verification component comment mark, the component configuration information before the comment mark is added to the SOC chip-level UVM verification platform.
[0021] Furthermore, the preset verification component annotation mark is ip_conponent.
[0022] Further, the IP module-level UVM verification platform and the SOC chip-level UVM verification platform also include a testbench top-level file for implementing the initialization and connection operations of the entire UVM verification environment, and starting the execution of the test case through the run_test function during the test.
[0023] The present invention also provides a test case transplantation method according to the above system, comprising the following steps:
[0024] Obtain IP-level functional verification information of the tested IP module in the IP module-level UVM verification platform;
[0025] When it is determined that the IP-level functional verification of the aforementioned IP module under test is completed, the connection relationship information between the IP module under test and the IP interface signal module is obtained through the verification information conversion device, the connection corresponding to the IP interface signal module in the aforementioned connection relationship information is identified, and the IP interface keyword in the connection information is uniformly replaced with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the IP module under test and the SOC interface signal module;
[0026] The component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform is identified, and the aforementioned component configuration information is added to the SOC chip-level UVM verification platform through the verification information conversion device to complete the transplantation of the test case.
[0027] Furthermore, the IP interface keyword is preset as ip_interface, the SOC interface keyword is preset as soc_interface, and the keyword ip_interface in the connection information is identified and uniformly replaced with soc_interface.
[0028] Further, when it is identified that the configuration information in the IP module-level UVM verification platform carries a preset verification component annotation mark, the component configuration information in front of the annotation mark is added to the SOC chip-level UVM verification platform.
[0029] Furthermore, the preset verification component annotation mark is ip_conponent.
[0030] Further, the IP module-level UVM verification platform and the SOC chip-level UVM verification platform also include a testbench top-level file for implementing the initialization and connection operations of the entire UVM verification environment, and starting the execution of the test case through the run_test function during the test.
[0031] Due to the adoption of the above technical scheme, the present invention has the following advantages and positive effects compared with the prior art, as an example: the transplantation of test cases between the IP module-level UVM verification platform and the SOC chip-level UVM verification platform is realized through the verification information conversion device, the transplantation of test cases can be realized efficiently and accurately, and the controllability and observability of chip-level functional verification are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of the module structure of an IP module-level UVM verification platform provided by an embodiment of the present invention.
[0033] Figure 2 A schematic diagram of the connection between the verification information conversion device provided by an embodiment of the present invention and two UVM verification platforms.
[0034] Figure 3 A schematic diagram of the module structure of a SOC chip-level UVM verification platform provided by an embodiment of the present invention.
[0035] Figure 4 A flowchart of a test case transplantation method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] The following is a further detailed description of the automated system and application for converting IP module verification information in chip simulation disclosed by the present invention in conjunction with the accompanying drawings and specific embodiments. It should be noted that the technical features or combinations of technical features described in the following embodiments should not be considered isolated, and they can be combined with each other to achieve better technical effects. In the drawings of the following embodiments, the same reference numerals appearing in each drawing represent the same features or components, which can be applied to different embodiments. Therefore, once an item is defined in one drawing, it does not need to be further discussed in subsequent drawings.
[0037] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the invention. Any modification of the structure, change of the proportion relationship or adjustment of the size should fall within the scope of the technical content disclosed by the invention without affecting the effects and purposes that can be achieved by the invention. The scope of the preferred embodiments of the present invention includes other implementations, in which the functions can be performed in a substantially simultaneous manner or in a reverse order according to the functions involved, which should be understood by those skilled in the art of the technical field to which the embodiments of the present invention belong.
[0038] Techniques, methods, and devices known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, the techniques, methods, and devices should be considered part of the authorization specification. In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values. Example
[0039] The invention provides an automatic system for converting IP module verification information in chip simulation, comprising an IP module-level UVM verification platform, a SOC chip-level UVM verification platform and a verification information conversion device.
[0040] The IP module-level UVM verification platform uses the universal verification methodology UVM and System Verilog language to build a verification environment.
[0041] The IP module-level UVM verification platform interacts with the IP module under test through the IP interface signal module, and applies test stimulus to the IP module through the written IP module-level test case for functional verification. Specifically, after the design of a certain IP module is completed, the IP module verifier can manually write a specific test vector casetest according to the module function and interface signal to perform specific functional verification, and write the reference model Reference model (or Refmodel) of the IP module to assist in verification.
[0042] See also Figure 1As shown, the IP module-level UVM verification platform in the embodiment may include a test case case test and the following components: a reference model Reference model, an output agent Out_agent, an output agent Out_agent and a scoreboard scoreboard. The output agent Out_agent is connected to the reference model Reference model, and the output agent Out_agent is connected to the scoreboard scoreboard.
[0043] The input agent In_agent is used for encapsulation and instantiation of a sequencer, a driver and a monitor, that is, the input agent In_agent includes the encapsulated sequencer, the driver and the monitor.
[0044] The sequencer is used to manage the sequence generator to generate a valid sequence, wherein the sequence generator sequence is used to generate a transaction, and the transaction is used to define a basic item data packet.
[0045] The driver is used to apply test stimulus and data conversion to the port of the design under test (DUT). The design under test (DUT) in this embodiment is the IP module under test.
[0046] The monitor is used to collect output data of the tested IP module and perform data conversion.
[0047] The output agent Out_agent also includes a monitor monitor, which is used to collect output data of the port of the tested IP module after applying the stimulus.
[0048] The scoreboard scoreboard is connected to the reference model Reference model, and is used to compare the output data collected by the monitor of the output agent with the expected value of the reference model Reference model, and output the comparison result.
[0049] The IP module-level UVM verification platform may also include a testbench top top-level file for implementing initialization and connection operations of the entire UVM verification environment, and starting execution of test cases through a run_test function during testing.
[0050] The verification information conversion device is arranged between the IP module-level UVM verification platform and the SOC chip-level UVM verification platform, see Figure 2As shown, it is used to transplant the aforementioned IP module-level test cases into the SOC chip-level UVM verification platform.
[0051] The SOC chip-level UVM verification platform is configured in the same manner as the IP module-level UVM verification platform, and uses the universal verification methodology UVM and System Verilog language to build a verification environment, including test cases and the above components: reference model, output agent Out_agent, output agent Out_agent and scoreboard scoreboard, see Figure 3 It is just that the design DUT to be tested of the SOC chip-level UVM verification platform is the chip to be tested, and the SOC chip-level UVM verification platform is used to interact with the chip to be tested through the SOC interface signal module.
[0052] The SOC chip-level UVM verification platform also includes a testbench top top-level file, which is used to implement the initialization and connection operations of the entire UVM verification environment, and the test case is started and executed through the run_test function during testing.
[0053] In this embodiment, the SOC chip-level UVM verification platform interacts with the aforementioned IP module under test in the chip under test through the SOC interface signal module to verify the correctness of the function of the IP module under test in the chip under test.
[0054] Specifically, the verification information conversion device is configured to: convert the connection relationship information between the tested IP module and the IP interface signal module, by identifying the connection corresponding to the IP interface signal module in the connection relationship information and uniformly replacing the IP interface keyword in the connection information with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the tested IP module and the SOC interface signal module; and, by identifying the component configuration information corresponding to the aforementioned tested IP module in the IP module-level UVM verification platform, the aforementioned component configuration information is added to the SOC chip-level UVM verification platform. In this way, through the replacement configuration of the interface information, the component information under the IP module-level UVM verification platform is added to the SOC chip-level UVM verification platform at the same time, so as to realize the transplantation of the IP module-level test case to the SOC chip-level UVM verification platform.
[0055] Preferably, the connection relationship information between the tested IP module and the SOC interface signal module is configured in the following manner: identifying the preset IP interface keyword ip_interface in the connection information, and uniformly replacing it with the preset SOC interface keyword soc_interface.
[0056] In actual projects, the connection of IP interface signal module (IP interface) is usually unified with ip_interface.xxx, while the connection of SOC interface signal module (SOC interface) is usually unified with soc_interface.xxx. Correspondingly, the replacement configuration method of interface information is as follows: replace ip_interface with soc_interface in the connection relationship between ip_interface and the design under test DUT.
[0057] As an example but not a limitation, for example, the interface information of the DUT to be tested is as follows:
[0058] Module dut (
[0059] Input aclk,
[0060] Input pclk,
[0061] Input psel,
[0062] Input penable,
[0063] Input paddr,
[0064] Input pwrite,
[0065] Input pwdata,
[0066] Output prdata,
[0067] Output pready,
[0068] ).
[0069] The interface information of the IP interface signal module (IP interface) is as follows:
[0070] Interface ip_interface();
[0071] Logic aclk;
[0072] Logic pclk;
[0073] Logic paddr;
[0074] Logic psel;
[0075] Logic penable;
[0076] Logic pwrite;
[0077] Logic pwdata;
[0078] Logic pready;
[0079] Logic prdata;
[0080] endinterface.
[0081] The connection relationship between the DUT and the IP interface signal module (IP interface) is as follows:
[0082] Dut_test u_dut(
[0083] .aclk (ip_interface.aclk),
[0084] .pclk (ip_interface.pclk),
[0085] .psel (ip_interface.psel),
[0086] .penable (ip_interface.penable),
[0087] .paddr (ip_interface.paddr),
[0088] .pwrite (ip_interface.pwrite),
[0089] .pwdata (ip_interface.pwdata),
[0090] .prdata (ip_interface.prdata),
[0091] .pready (ip_interface.pready)
[0092] ).
[0093] Then, the interface connection relationship after the interface information is replaced is as follows:
[0094] Dut_test u_dut(
[0095] .aclk (soc_interface.aclk),
[0096] .pclk (soc_interface.pclk),
[0097] .psel (soc_interface.psel),
[0098] .penable (soc_interface.penable),
[0099] .paddr (soc_interface.paddr),
[0100] .pwrite (soc_interface.pwrite),
[0101] .pwdata (soc_interface.pwdata),
[0102] .prdata (soc_interface.prdata),
[0103] .pready (soc_interface.pready)
[0104] ).
[0105] In this embodiment, preferably, the aforementioned component configuration information is added to the SOC chip-level UVM verification platform in the following manner: when it is identified that the configuration information in the IP module-level UVM verification platform carries a preset verification component comment mark, the component configuration information in front of the comment mark is added to the SOC chip-level UVM verification platform.
[0106] The preset verification component annotation flag may be configured as ip_conponent, for example.
[0107] As an example but not limitation, for example, the configuration information of dut_ip_env of the IP module-level UVM verification platform corresponding to the design under test DUT is as follows:
[0108] Class dut_ip_env extends uvm_env;
[0109] Dut_tb_cfg tb_cfg; / / ip_conponent
[0110] A_env a_env0; / / ip_conponent
[0111] B_env b_env0; / / ip_conponent
[0112] `uvm_component_utils(dut_ip_env)
[0113] endclass.
[0114] A verification component comment flag ip_conponent is set therein, and the symbol / / is a comment symbol.
[0115] Before adding components, assume that the configuration information of dut_soc_env of the SOC chip-level UVM verification platform corresponding to the design under test DUT is as follows:
[0116] Class dut_soc_env extends uvm_env;
[0117] soc_tb_cfg tb_cfg;
[0118] module1_env module1_env0;
[0119] module2_env module2_env0;
[0120] `uvm_component_utils(dut_ip_env)
[0121] endclass.
[0122] After adding the components, the configuration information of the aforementioned dut_soc_env is adjusted as follows:
[0123] Class dut_soc_env extends uvm_env;
[0124] soc_tb_cfg tb_cfg;
[0125] module1_env module1_env0;
[0126] module2_env module2_env0;
[0127] Dut_tb_cfg tb_cfg;
[0128] A_env a_env0;
[0129] B_env b_env0;
[0130] `uvm_component_utils(dut_soc_env)
[0131] endclass.
[0132] The technical solution provided by the present invention realizes the transplantation of IP module-level UVM verification platform and SOC chip-level UVM verification platform (test cases are all written in System Verilog language) built by UVM, through simple interface information replacement configuration and component information addition, so as to realize the transplantation of IP module-level test cases into SOC chip-level UVM verification platform. The transplantation of test cases can be realized efficiently and accurately, and the controllability and observability of chip-level functional verification are improved at the same time.
[0133] Another embodiment of the present invention further provides a test case transplantation method, which implements the transplantation of test cases through an automated system.
[0134] The automation system comprises an IP module-level UVM verification platform, a SOC chip-level UVM verification platform and a verification information conversion device.
[0135] The IP module-level UVM verification platform uses the universal verification methodology UVM and System Verilog language to build a verification environment. The verification platform interacts with the IP module under test through the IP interface signal module, and applies test stimulus to the IP module through the written IP module-level test case for functional verification. The SOC chip-level UVM verification platform is configured isomorphically with the IP module-level UVM verification platform, and is used to interact with the aforementioned IP module under test in the chip under test through the SOC interface signal module to verify the correctness of the function of the IP module under test in the chip under test.
[0136] The verification information conversion device is configured to: convert the connection relationship information between the IP module under test and the IP interface signal module, by identifying the connection corresponding to the IP interface signal module in the connection relationship information and uniformly replacing the IP interface keyword in the connection information with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the IP module under test and the SOC interface signal module; and, by identifying the component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform, the aforementioned component configuration information is added to the SOC chip-level UVM verification platform.
[0137] See also Figure 4 As shown, the process steps for test case migration are as follows.
[0138] S100, obtaining IP-level functional verification information of the IP module under test in the IP module-level UVM verification platform.
[0139] S200, when it is determined that the IP-level functional verification of the aforementioned IP module under test is completed, the connection relationship information between the IP module under test and the IP interface signal module is obtained through the verification information conversion device, the connection corresponding to the IP interface signal module in the aforementioned connection relationship information is identified, and the IP interface keywords in the connection information are uniformly replaced with the SOC interface keywords corresponding to the SOC interface signal module to configure the connection relationship information between the IP module under test and the SOC interface signal module.
[0140] S300, identifying the component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform, adding the aforementioned component configuration information to the SOC chip-level UVM verification platform through a verification information conversion device, and completing the transplantation of the test case.
[0141] In this embodiment, the IP interface keyword is preset as ip_interface, the SOC interface keyword is preset as soc_interface, and the keyword ip_interface in the connection information is identified and uniformly replaced with soc_interface.
[0142] Preferably, when it is identified that the configuration information in the IP module-level UVM verification platform has a preset verification component annotation mark, the component configuration information in front of the annotation mark is added to the SOC chip-level UVM verification platform. The preset verification component annotation mark is ip_conponent.
[0143] In this embodiment, the IP module-level UVM verification platform and the SOC chip-level UVM verification platform also include a testbench top-level file for implementing the initialization and connection operations of the entire UVM verification environment, and the test case is started and executed through the run_test function during testing.
[0144] For other technical features, please refer to the previous embodiments and will not be described in detail here.
[0145] In the above description, the disclosure of the present invention is not intended to limit itself to these aspects. Rather, within the scope of the target protection of the present disclosure, the components can be selectively and operatively combined in any number. In addition, terms such as "include", "encompass" and "have" should be interpreted as inclusive or open by default, rather than exclusive or closed, unless they are explicitly defined to the contrary. All technical, scientific or other terms are consistent with the meanings understood by those skilled in the art, unless they are defined to the contrary. Common terms found in dictionaries should not be interpreted too idealistically or too impractically in the context of relevant technical documents, unless the present disclosure explicitly defines them as such. Any changes and modifications made by a person of ordinary skill in the field of the present invention based on the above disclosure belong to the scope of protection of the claims.
Claims
1. An automated system for converting IP module verification information in chip simulation, characterized in that: Including IP module-level UVM verification platform, SOC chip-level UVM verification platform and verification information conversion device; The IP module-level UVM verification platform uses the universal verification methodology UVM and System Verilog language to build a verification environment. The verification platform interacts with the IP module under test through the IP interface signal module, and applies test stimulus to the IP module through the written IP module-level test case to perform functional verification; The IP module-level UVM verification platform includes the following components: Reference model The input agent In_agent includes a packaged sequencer, a driver and a monitor, wherein the sequencer is used to manage the sequence generator to generate a valid sequence, the driver is used to apply test stimulus and data conversion to the port of the tested IP module, and the monitor is used to collect output data of the tested IP module and perform data conversion; The output agent Out_agent includes a monitor monitor, which is used to collect the output data of the port of the tested IP module after applying the stimulus; The scoreboard is connected to the reference model and is used to compare the output data collected by the monitor of the output agent with the expected value of the reference model and output the comparison result; The SOC chip-level UVM verification platform is configured isomorphically with the IP module-level UVM verification platform, and is used to interact with the aforementioned IP module under test in the chip under test through the SOC interface signal module to verify the correctness of the function of the IP module under test in the chip under test; The verification information conversion device is configured to transplant the aforementioned IP module-level test case into the SOC chip-level UVM verification platform in the following manner: converting the connection relationship information between the IP module under test and the IP interface signal module, by identifying the connection corresponding to the IP interface signal module in the connection relationship information and uniformly replacing the IP interface keyword in the connection information with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the IP module under test and the SOC interface signal module; And, by identifying the component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform, the aforementioned component configuration information is added to the SOC chip-level UVM verification platform.
2. The system according to claim 1, characterized in that: The way to configure the connection relationship information between the tested IP module and the SOC interface signal module is as follows: Identify the preset IP interface keyword ip_interface in the connection information and replace it with the preset SOC interface keyword soc_interface.
3. The system according to claim 1, characterized in that: The method of adding the above component configuration information to the SOC chip-level UVM verification platform is as follows: When it is identified that the configuration information in the IP module-level UVM verification platform carries a preset verification component comment mark, the component configuration information before the comment mark is added to the SOC chip-level UVM verification platform.
4. The system according to claim 3, characterized in that: The preset verification component annotation mark is ip_conponent.
5. The system according to claim 1, characterized in that: The IP module-level UVM verification platform and the SOC chip-level UVM verification platform also include a testbench top-level file for implementing the initialization and connection operations of the entire UVM verification environment, and the test case is started and executed through the run_test function during testing.
6. A test case transplantation method for the system according to claim 1, characterized in that Includes steps: Obtain IP-level functional verification information of the tested IP module in the IP module-level UVM verification platform; When it is determined that the IP-level functional verification of the aforementioned IP module under test is completed, the connection relationship information between the IP module under test and the IP interface signal module is obtained through the verification information conversion device, the connection corresponding to the IP interface signal module in the aforementioned connection relationship information is identified, and the IP interface keyword in the connection information is uniformly replaced with the SOC interface keyword corresponding to the SOC interface signal module, so as to configure the connection relationship information between the IP module under test and the SOC interface signal module; The component configuration information corresponding to the aforementioned IP module under test in the IP module-level UVM verification platform is identified, and the aforementioned component configuration information is added to the SOC chip-level UVM verification platform through the verification information conversion device to complete the transplantation of the test case.
7. The method according to claim 6, characterized in that: The IP interface keyword is preset as ip_interface, the SOC interface keyword is preset as soc_interface, and the keyword ip_interface in the connection information is identified and uniformly replaced with soc_interface.
8. The method according to claim 7, characterized in that: When it is identified that the configuration information in the IP module-level UVM verification platform carries a preset verification component comment mark, the component configuration information before the comment mark is added to the SOC chip-level UVM verification platform.
9. The method according to claim 8, characterized in that: The preset verification component annotation mark is ip_conponent.
10. The method according to claim 6, characterized in that: The IP module-level UVM verification platform and the SOC chip-level UVM verification platform also include a testbench top-level file for implementing the initialization and connection operations of the entire UVM verification environment, and the test case is started and executed through the run_test function during testing.
