Chip verification method and device, equipment and medium
By establishing a sub-environment in the UVM environment and using it for top-level verification, the problems of poor code readability and heavy development workload in the top-level environment are solved, and the efficiency and reliability of chip verification are achieved.
Patent Information
- Application Number
- CN202410816718.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-09-03
AI Technical Summary
UVM has problems with poor code readability and heavy development workload in top-level environment verification, and the code styles of different modules are different, making code integration and maintenance difficult.
By synchronously establishing sub-environments in lower-level environments, placing the code of the target component into the sub-environment, and performing chip verification based on the target sub-environment, the code style of the top-level environment can be unified and development efficiency improved.
It simplifies the construction process of the top-level environment, avoids duplication of work, improves development efficiency and code readability, and ensures the reliability of chip verification.
Smart Images

Figure CN118586331A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of verification technology, and in particular to a chip verification method, device, equipment and medium. Background Art
[0002] UVM (Universal Verification Methodology) is a standard methodology for verifying integrated circuit design. UVM provides a set of standardized verification components and methods to help verification engineers complete efficient verification tasks during the large-scale chip design and development phase.
[0003] However, UVM has some defects in actual operation, especially in the process of top-level environment verification. In order to reuse module-level functions in the top-level verification environment, engineers need to study each module in depth and analyze the reusability of its functions one by one. Sometimes they even need to copy the module-level code and modify it, which will lead to inconsistent top-level environment code style and poor readability, and increase the development workload and complexity of the top-level verification environment. In addition, the different code styles of different modules also bring additional difficulties to code integration and maintenance. Summary of the invention
[0004] The present invention provides a chip verification method, device, equipment and medium to solve the defects in the reuse process from module level to top-level environment in related technologies, especially the problems of poor code readability and large workload of verification environment development in the top-level environment.
[0005] The present invention provides a chip verification method, comprising: Determining a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the process of verifying the lower-level environment; Based on the target sub-environment, chip verification is performed.
[0006] According to a chip verification method provided by the present invention, the method for establishing the sub-environment includes: In the process of verifying the lower-level environment, determining a target component from among the components of the lower-level environment; The sub-environment is established, and the code of the target component is placed in the sub-environment.
[0007] According to a chip verification method provided by the present invention, determining a target component from components of the lower-level environment includes: Based on the functions of the components in the lower-level environment, a target component is determined from the components in the lower-level environment.
[0008] According to a chip verification method provided by the present invention, placing the code of the target component into the sub-environment includes: When the code of the target component passes the verification, the code of the target component is placed into the sub-environment.
[0009] According to a chip verification method provided by the present invention, the chip verification is performed based on the target sub-environment, including: The plurality of target sub-environments are integrated, and chip verification is performed based on the integrated environment.
[0010] According to a chip verification method provided by the present invention, the lower-level environment is a module-level environment; The chip verification comprises: Perform top-level environmental verification of the chip.
[0011] The present invention provides a chip verification device, comprising the following modules: A sub-environment establishment module, which determines a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the verification of the lower-level environment; The chip verification module performs chip verification based on the target sub-environment.
[0012] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any one of the chip verification methods described above is implemented.
[0013] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the chip verification method described in any one of the above is implemented.
[0014] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the chip verification method described above is implemented.
[0015] The chip verification method, device, equipment and medium of the present invention establish a sub-environment including a code for upward integration during the verification of the subordinate environment, thereby realizing vertical reuse of the sub-environment of the subordinate environment for chip verification. Since the target sub-environment can be selected from the sub-environment of the subordinate environment for chip verification, the construction process of the superior environment can be simplified. The verification engineer only needs to directly integrate the sub-environment, avoiding duplication of work and improving development efficiency. Moreover, the direct application of the target sub-environment can optimize the code style of the superior environment and improve the readability of the superior environment code. In addition, since the sub-environment is established in the verification process of the subordinate environment, the code in the sub-environment has been optimized and integrated in the subordinate verification process, the functional correctness of the code in the sub-environment is guaranteed, and the reliability of chip verification is also guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a structural diagram of a component tree in a UVM environment provided by related technologies.
[0018] Figure 2 It is a schematic diagram of the component tree structure in the top-level environment provided by the relevant technology.
[0019] Figure 3 It is a schematic flow chart of the chip verification method provided by the present invention.
[0020] Figure 4 It is a schematic diagram of a module-level verification environment including sub-environments provided by the present invention.
[0021] Figure 5 It is a schematic diagram of a top-level verification environment provided by the present invention that integrates various module-level sub-environments.
[0022] Figure 6 This is a schematic diagram of the structure of the chip verification device provided by the present invention.
[0023] Figure 7 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] UVM is an advanced verification methodology used in integrated circuit design, specifically designed to verify whether complex chip designs meet their specifications. The methodology is developed based on the SystemVerilog language and introduces object-oriented programming concepts and architectures, thereby achieving automation and standardization of verification activities. The application of UVM not only improves verification efficiency, but also enhances the overall reliability of the verification process.
[0026] In the UVM architecture, verification engineers use a modular design approach to build reusable verification components. These components include but are not limited to agents, scoreboards, and checkers. This modular approach ensures that various parts of the verification environment can be reused in different projects, greatly improving verification efficiency. In addition, UVM supports the establishment of multi-level verification environments from a single module (block-level) to the entire chip (chip-level). Each level can design specialized verification components and test scenarios to specifically verify different design levels.
[0027] The key architecture for implementing the UVM verification method is the component tree, which also forms the basis of the UVM structure. Figure 1 It is a schematic diagram of the structure of the component tree in the UVM environment provided by the relevant technology. Figure 1 As shown in the figure, the test environment can include various components, and the number of each component can be one or more. The component tree provides a specific framework through which verification engineers can systematically organize and manage various components in the test environment. From the top-level environment to the bottom-level agents, scoreboards, and checkers, each component occupies a place in the component tree, ensuring the efficiency and systematicness of the verification process.
[0028] In the UVM component tree, starting from a top-level component test environment (env), multiple subcomponents are derived from this top-level component. These subcomponents include more specific test environments, agents, scoreboards, checkers, etc. Each component can contain other smaller subcomponents, forming a complex component hierarchy.
[0029] Figure 2It is a schematic diagram of the component tree structure in the top-level environment provided in the related technology. Figure 2 As shown, in the top-level environment, it is not necessary to integrate all components in the module-level environment, but different components from different module-level environments may be integrated, such as Figure 2 There are three scoreboard components in the top-level verification environment, which come from two different modules. When reusing module-level functions into the top-level verification environment, top-level verification engineers face many challenges. For example, in some scoreboards in the sub-modules, the checkers rely on special values of module-level stimuli. These constraints cannot be fully satisfied in the top-level environment, so these components cannot be used at the top level; or some components cannot be reused at the top level due to the different connection methods of the model between module-level verification and top-level verification. Therefore, they need to conduct in-depth research on each module and each component, analyze the reusability of their functions one by one, and sometimes even need to copy the module-level code and modify it to meet the needs of the top level. In this process, since the heads of each module level use different code styles, when there are many modules that need to be reused at the top level, this may lead to inconsistent code styles in the top-level environment, reduce the readability of the code, and increase the development workload of the top-level verification environment. This not only affects the construction efficiency of the verification environment, but also may affect the quality and progress of the final verification.
[0030] In view of the above problems, an embodiment of the present invention provides a chip verification method. Figure 3 FIG. 1 is a flow chart of the chip verification method provided by the present invention. Figure 3 As shown, the method includes: Step 310, determining a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes the code for upward integration in the lower-level environment, and the sub-environment is synchronously established during the verification process of the lower-level environment.
[0031] Specifically, the sub-environment (subenv) is a newly added layer proposed in the UVM verification environment according to an embodiment of the present invention, located under the environment layer (env), and is used to optimize code reuse and verification processes.
[0032] For chips, the environments can usually be divided into chip level (top level), module level, register level and other levels from high to low. For the top level environment, the module level environment and the register level environment can be regarded as the lower level environment; for the module level environment, the register level environment can be regarded as the lower level environment. It can be understood that different levels can correspond to different lower level environments.
[0033] For the environment to be verified, there may be a sub-environment in the lower-level environment of the environment, where the sub-environment contains the code that needs to be integrated upward in the lower-level environment, and the code that needs to be integrated upward in the sub-environment may constitute one or more components that need to be integrated upward. For example, in a module-level environment, the sub-environment layer includes the code of components such as a tester, a scoring board, and an agent. These codes are organized and optimized by a module-level verification engineer to ensure that their functions can be correctly reused in the top-level environment. Unlike the traditional UVM component tree, these components that need to be integrated upward are no longer directly under the environment, but are reorganized and integrated into the sub-environment in the environment. The sub-environment of each lower-level environment contains all the code that needs to be integrated upward in the environment.
[0034] It should be noted that the code referred to here is used for upward integration, that is, the code for the lower-level environment that may be integrated and reused by the upper-level environment, and specifically may be the code of the component in the lower-level environment that needs to be integrated and reused by the upper-level environment.
[0035] It should be noted that the sub-environment is established and improved in the process of verifying the lower-level environment (such as the module-level environment). Specifically, for any lower-level environment, during the verification process of the lower-level environment, the verification engineer of the lower-level environment will integrate the code that needs to be integrated upward in the lower-level environment to establish a sub-environment in the lower-level environment. In this process, these codes are placed in the sub-environment to ensure that their functions can be correctly reused in a higher-level environment.
[0036] Moreover, since the establishment of the sub-environment occurs during the verification of the lower-level environment, on the one hand, the establishment of the sub-environment does not take up additional time and does not add additional execution stages. The establishment of the sub-environment reuses the time for verifying the lower-level environment and does not increase the duration of the overall chip verification. On the other hand, the verification engineer responsible for verifying the lower-level environment is very familiar with the code in the lower-level environment. The verification engineer responsible for verifying the lower-level environment establishes the sub-environment during the verification of the lower-level environment, which increases little workload and can ensure the functional correctness of the code in the sub-environment established in this way.
[0037] During chip verification, for the environment to be verified, a target sub-environment can be selected from the sub-environments of each lower-level environment of the environment to be verified. Here, the target sub-environment is the sub-environment that needs to be integrated into the environment to be verified. The current sub-environment can specifically be one or more sub-environments of the sub-environments of each lower-level environment.
[0038] Step 320: Perform chip verification based on the target sub-environment.
[0039] Specifically, during the chip verification process, for the environment to be verified, target sub-environments selected from the sub-environments of the subordinate environment of the environment to be verified may be integrated together, thereby forming a complete verification environment.
[0040] Since the target sub-environment covers the code that needs to be integrated upwards in each lower-level environment when verifying the environment to be verified, the target sub-environment can be directly applied to verify the chip in the environment to be verified. This process simplifies the construction of the verification environment and greatly reduces the workload and complexity of verification. In addition, since these target sub-environments are directly integrated into the verification environment, the functional correctness of the lower-level functions in the upper-level verification environment can be ensured.
[0041] Moreover, chip verification based on target sub-environments can also improve the efficiency and accuracy of verification. Since each target sub-environment has been verified at the lower level, its function and performance are guaranteed in the upper level verification. In this way, verification engineers can focus more on the integration and comprehensive verification of the upper level environment to ensure the reliability and stability of the entire chip in actual applications.
[0042] Compared to the related art, in which the verification engineer of the environment to be verified analyzes one by one whether the functions in the lower-level environment can be reused and modifies the code in the lower-level environment, in the embodiment of the present invention, since the establishment of the sub-environment has been realized in the verification process of each lower-level environment, that is, the code for upward integration has been distinguished in the verification environment of each lower-level environment, it is only necessary to select the target sub-environment from the sub-environment of each lower-level environment. This method simplifies the integration process of higher-level environments (such as the top-level environment) and reduces the workload of verification engineers in high-level environments.
[0043] The method provided by the embodiment of the present invention establishes a sub-environment including codes for upward integration during the verification of the subordinate environment, thereby realizing vertical reuse of the sub-environment of the subordinate environment for chip verification. Since the target sub-environment can be selected from the sub-environment of the subordinate environment for chip verification, the process of building the superior environment can be simplified. The verification engineer only needs to directly integrate the sub-environment, avoiding duplication of work and improving development efficiency. Moreover, the direct application of the target sub-environment can optimize the code style of the superior environment and improve the readability of the superior environment code. In addition, since the sub-environment is established during the verification process of the subordinate environment, the code in the sub-environment has been optimized and integrated during the subordinate verification process, the functional correctness of the code in the sub-environment is guaranteed, and the reliability of chip verification is also guaranteed.
[0044] Based on the above embodiment, the method for establishing the sub-environment includes: In the process of verifying the lower-level environment, determining a target component from among the components of the lower-level environment; The sub-environment is established, and the code of the target component is placed in the sub-environment.
[0045] Specifically, in the process of verifying the lower-level environment, it is necessary to analyze the components contained in the lower-level environment, and then select the components that need to be reused in the upper-level environment as target components.
[0046] Furthermore, the criteria for determining the target component may include at least one of the following: the key role of the component in the verification process, the reuse value of the component, and the stability and optimization degree of the component code. By evaluating at least one of the functions, performance, and code quality of each component in the lower-level environment, the target component that meets the upper-level verification requirements can be selected from the components in the lower-level environment, that is, the target component that needs to be integrated upward. Here, the number of target components can be one or more.
[0047] For example, you can evaluate the code quality of a component, including its stability, degree of optimization, and maintainability. High-quality, optimized, and stable code is easier to reuse in a higher-level environment, reducing potential errors and problems. Such components can be used as target components. For another example, you can analyze the dependencies between a component and other components to ensure that the selected target component can work independently in the higher-level environment, or that other components it depends on can be reused together.
[0048] After determining the target component, the code of the target component can be extracted from the lower-level environment. Here, the code of the target component may include the definition of the component, associated test cases, configuration files, and related dependent codes, etc. Preferably, in order to ensure the integrity and portability of the code, all relevant codes and resources of the target component need to be extracted together to avoid the problem of missing dependencies or incomplete functions in the upper-level environment.
[0049] After extracting the code of the target component, you can create a sub-environment for the lower-level environment and place the extracted code in it. The structure of the sub-environment should be consistent with the requirements of the upper-level environment to ensure that the functions and performance of the target component in the sub-environment can be fully verified. The process of establishing a sub-environment includes creating the infrastructure of the sub-environment, integrating the target component code into the sub-environment, and performing necessary configuration and optimization on the sub-environment.
[0050] Based on the above embodiment, in the method for establishing a sub-environment, determining a target component from components of the lower-level environment includes: Based on the functions of the components in the lower-level environment, a target component is determined from the components in the lower-level environment.
[0051] Specifically, in the lower-level environment, each component plays a specific role and has its own unique functions and effects. In the process of determining the target component, it is necessary to evaluate the reuse value of each component in the upper-level environment based on the functions of each component in the lower-level environment, that is, to evaluate whether each component will be integrated and reused in the upper-level environment.
[0052] Furthermore, during the evaluation process, it can be specifically evaluated whether the functions of the component in the lower-level environment are integrated and reused in the upper-level environment. For example, a tester or scoring board used for verification of a specific module, if its function is critical to the verification of the entire chip, then this component is the target component. In addition, it is also possible to consider whether the function of the component has universal applicability. For example, if the function of a component can be used in multiple verification scenarios, then the component has a high reuse value and can be used as a target component.
[0053] Through the above evaluation, the target components that meet the upper-level verification requirements and are used for upward integration can be selected from the components in the lower-level environment, thereby effectively supporting the verification work in the upper-level environment.
[0054] Based on the above embodiment, in the method for establishing a sub-environment, placing the code of the target component into the sub-environment includes: When the code of the target component passes the verification, the code of the target component is placed into the sub-environment.
[0055] Specifically, in the process of verifying the lower-level environment, the code of each component in the lower-level environment needs to be verified, which involves verifying the code of the target component. Therefore, in the process of establishing the sub-environment, the code of the target component is placed in the sub-environment only after confirming that the code verification of the target component has passed, that is, confirming that the function and performance of the target component in the lower-level environment meet expectations.
[0056] Furthermore, when placing the target component's code into the sub-environment, it is necessary to create an infrastructure for the sub-environment to ensure that it complies with the requirements of the parent environment. Next, the target component's code is placed into the sub-environment one by one, including its definition, associated test cases, configuration files, and related dependent code.
[0057] In addition, to further ensure the stability and performance of the sub-environment, during the verification of the lower-level environment, tests will be run in the sub-environment to verify the performance of the target component in the new environment. Furthermore, the tests here can be used to verify the correctness of the code, and can also be performance tests, stress tests, etc., to ensure that the sub-environment can run stably under various conditions.
[0058] In the method provided by the embodiment of the present invention, when the code verification of the target component is passed, the code of the target component is placed in the sub-environment, thereby ensuring the reliability of the code used for upward integration in the lower-level environment in the upper-level environment, thereby realizing an efficient and automated verification process.
[0059] Based on the above embodiment, in step 320, performing chip verification based on the target sub-environment includes: integrating multiple target sub-environments, and performing chip verification based on the integrated environment.
[0060] Specifically, after multiple target sub-environments are determined from the sub-environments of multiple lower-level environments, each independent target sub-environment can be integrated into a unified verification environment. By integrating these target sub-environments, a verification environment covering the entire chip function and performance requirements is formed. During the integration process, the compatibility and interoperability between the target sub-environments are ensured, and the interfaces of the target sub-environments are adjusted when necessary to ensure seamless collaboration.
[0061] After the integration of the target sub-environment is completed, the chip verification can be performed. The chip verification here can include running at least one of various functional tests, performance tests and boundary condition tests, thereby verifying the behavior of the chip under various operating conditions. It should be noted that the chip verification referred to here can specifically be the verification of a certain level of environment in the chip.
[0062] Based on any of the above embodiments, the lower-level environment is a module-level environment; In step 320, the chip verification includes: Perform top-level environmental verification of the chip.
[0063] Specifically, during the verification process for the module-level environment, detailed functional and performance verification can be performed on each module to ensure that each module can operate normally in its separate verification environment. By verifying the module-level environment, potential problems in each module can be identified and fixed, and in this process, the code that needs to be integrated upward in the environment where each module is located is established as a sub-environment under the environment where each module is located, thereby ensuring that the sub-environment will not cause failures when integrated into the top-level environment.
[0064] Figure 4 Schematic diagram of a module-level verification environment including sub-environments provided by the present invention. Figure 4 As shown, during the module-level verification process, the verified target component code can be integrated into the sub-environment corresponding to the module or environment, for example Figure 4In the example, the codes of two scoreboard components, two proxy components and one checker component that need to be integrated upward are divided into the sub-environment, and the codes of the remaining one scoreboard component, one proxy component and one checker component that do not need to be integrated upward are retained outside the sub-environment. As a result, the sub-environment of each module-level environment contains the codes that need to be integrated upward, and these sub-environments will serve as building elements of the top-level environment. Through the above method, it can be ensured that the codes that need to be integrated upward in each module-level environment are retained and reused in the top-level environment.
[0065] Figure 5 Schematic diagram of the top-level verification environment provided by the present invention, which includes the integration of each module-level sub-environment. Figure 5 As shown, multiple target sub-environments can be integrated into a unified top-level environment, such as Figure 5 In the example, the sub-environments of modules 1, 2, and 3 are integrated into the top-level environment. During the integration process, the compatibility and interoperability between the sub-environments need to be ensured.
[0066] Based on any of the above embodiments, Figure 6 is a schematic diagram of the structure of the chip verification device provided by the present invention, such as Figure 6 As shown, the device comprises: The sub-environment establishment module 610 determines a target sub-environment from the sub-environments of the lower-level environments of the chip, wherein the sub-environment includes the code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the verification of the lower-level environment; The chip verification module 620 performs chip verification based on the target sub-environment.
[0067] The device provided by the embodiment of the present invention optimizes the vertical reuse of UVM by introducing a sub-environment layer. First, the verification engineer establishes a sub-environment in a module-level environment and integrates the code and components that need to be integrated upward. After being optimized, these sub-environments are directly reused in the upper-level verification environment, which simplifies the verification process and improves the readability and maintainability of the code. When performing chip verification, the verification engineer integrates multiple sub-environments to form a complete verification environment and conducts comprehensive functional and performance tests. The method improves verification efficiency and accuracy, optimizes the upper-level verification environment code style, enhances code readability, reduces duplication of work and human errors, and provides a solid guarantee for chip automation design and production.
[0068] Based on any of the above embodiments, the sub-environment establishment module is specifically used for: In the process of verifying the lower-level environment, determining a target component from among the components of the lower-level environment; The sub-environment is established, and the code of the target component is placed in the sub-environment.
[0069] Based on the functions of the components in the lower-level environment, a target component is determined from the components in the lower-level environment.
[0070] When the code of the target component passes the verification, the code of the target component is placed into the sub-environment.
[0071] Based on any of the above embodiments, the chip verification module is specifically used for: The plurality of target sub-environments are integrated, and chip verification is performed based on the integrated environment.
[0072] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7 As shown, the electronic device may include: a processor 710, a communication interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communication interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the chip verification method, which includes: Determining a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the process of verifying the lower-level environment; Based on the target sub-environment, chip verification is performed.
[0073] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the relevant technology or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0074] On the other hand, the present invention further provides a computer program product, the computer program product includes a computer program, the computer program can be stored in a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the chip verification method provided by the above methods, the method includes: Determining a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the process of verifying the lower-level environment; Based on the target sub-environment, chip verification is performed.
[0075] In another aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, the computer program being implemented when executed by a processor to execute the chip verification method provided by the above methods, the method comprising: determining a target sub-environment from a sub-environment of each lower-level environment of the chip, the sub-environment including a code for upward integration in the lower-level environment, the sub-environment being synchronously established in the process of verifying the lower-level environment; Based on the target sub-environment, chip verification is performed.
[0076] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0077] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution can be essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiment.
[0078] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A chip verification method, characterized in that: include: Determining a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the process of verifying the lower-level environment; Based on the target sub-environment, chip verification is performed.
2. The chip verification method according to claim 1, characterized in that: The method for establishing the sub-environment includes: In the process of verifying the lower-level environment, determining a target component from among the components of the lower-level environment; The sub-environment is established, and the code of the target component is placed in the sub-environment.
3. The chip verification method according to claim 2, characterized in that: The step of determining a target component from among the components of the lower-level environment includes: Based on the functions of the components in the lower-level environment, a target component is determined from the components in the lower-level environment.
4. The chip verification method according to claim 2, characterized in that: Placing the code of the target component into the sub-environment includes: When the code of the target component passes the verification, the code of the target component is placed into the sub-environment.
5. The chip verification method according to claim 1, characterized in that: The performing chip verification based on the target sub-environment includes: The plurality of target sub-environments are integrated, and chip verification is performed based on the integrated environment.
6. The chip verification method according to any one of claims 1 to 5, characterized in that: The lower-level environment is a module-level environment; The chip verification comprises: Perform top-level environmental verification of the chip.
7. A chip verification device, characterized in that: include: A sub-environment establishment module, which determines a target sub-environment from the sub-environments of each lower-level environment of the chip, wherein the sub-environment includes a code in the lower-level environment for upward integration, and the sub-environment is synchronously established during the verification of the lower-level environment; The chip verification module performs chip verification based on the target sub-environment.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the chip verification method according to any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the chip verification method according to any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the chip verification method according to any one of claims 1 to 6 is implemented.
