Chip verification method and device, electronic equipment and storage medium

By reusing the sub-module verification platform in the chip verification platform, inheriting and extending the verification components to form a complete test set, the problem of low verification coverage in the existing technology is solved, and efficient and high-quality chip verification is achieved.

CN118690719APending Publication Date: 2024-09-24HAIGUANG INFORMATION TECH (SUZHOU) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410725580.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The existing chip verification platform has low coverage, resulting in low verification efficiency and quality of large-scale integrated circuit chips. It is difficult to fully cover the device and interface checkpoints in sub-modules, resulting in long verification cycles and low effectiveness.

Method used

By establishing sub-module verification platforms and reusing these sub-module verification platforms in the chip verification platform, multiple first verification components are inherited, higher-level verification components are constructed, and a complete test set is formed to achieve comprehensive testing of the chip. .

Benefits of technology

Achieving higher verification coverage in a shorter period of time significantly improves verification quality and efficiency, ensuring comprehensive testing of the key performance and functions of the chip.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690719A
    Figure CN118690719A
Patent Text Reader

Abstract

The invention discloses a chip verification method and device, electronic equipment and a storage medium. A chip comprises a plurality of sub-modules. The chip verification method comprises the steps that a sub-module verification platform corresponding to each sub-module in a plurality of sub-modules is established, and the sub-module verification platform comprises a plurality of first verification assemblies; based on the sub-module verification platform, a verification platform of the chip is established, and a plurality of first verification assemblies in the sub-module verification platform are inherited in the verification platform of the chip; based on the verification platform of the chip, establishing a test set of the chip; and performing testing of the chip by using the test set of the chip. According to the verification method of the chip, the verification platform of the sub-module is multiplexed in the verification platform of the chip, so that a relatively high verification coverage rate can be realized in a relatively short time, and the verification quality and the verification efficiency are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to a chip verification method and device, an electronic device, and a storage medium. Background Art

[0002] In recent years, with the rapid development of graphics processing units (GPUs), accelerators, and dedicated chip technologies, the scale of chip design and implementation has become larger and larger. Large-scale integrated circuit chips generally have the characteristics of large data storage, intensive data access, and weak memory access correlation. In order to verify the function of the chip during the chip development process, it is necessary to develop an efficient verification platform. Since the verification coverage of the current verification platform for chips is low, it is necessary to develop a verification platform with higher verification quality and verification efficiency to improve the overall performance of large-scale integrated circuit chips. Summary of the invention

[0003] At least one embodiment of the present disclosure provides a chip verification method, wherein the chip includes multiple sub-modules, and the verification method includes: establishing a sub-module verification platform corresponding to each sub-module of the multiple sub-modules, wherein the sub-module verification platform includes multiple first verification components; based on the sub-module verification platform, establishing a verification platform for the chip, wherein the verification platform of the chip inherits the multiple first verification components in the sub-module verification platform; based on the verification platform of the chip, establishing a test set for the chip; and using the test set of the chip to execute testing of the chip.

[0004] For example, in the chip verification method provided by at least one embodiment of the present disclosure, each of the multiple sub-modules includes a sub-module data path, and the sub-module data path includes multiple first sub-data paths of multiple levels. A sub-module verification platform corresponding to each sub-module of the multiple sub-modules is established, including: for each of the sub-modules, a first verification component corresponding to the multiple first sub-data paths of the multiple levels is established.

[0005] For example, in the chip verification method provided by at least one embodiment of the present disclosure, each sub-module includes multiple devices, the multiple first sub-data paths of the multiple levels include multiple single-device level paths, at least one multi-device level path and a top-level path, each multi-device level path in the at least one multi-device level path covers at least two devices among the multiple devices, and the top-level path covers the multiple devices, and establishing a first verification component corresponding to the multiple first sub-data paths of the multiple levels includes: establishing multiple first verification components corresponding to the multiple single-device level paths, establishing at least one first verification component corresponding to the at least one multi-device level path, and establishing a first verification component corresponding to the top-level path.

[0006] For example, in the chip verification method provided in at least one embodiment of the present disclosure, the multiple first verification components include a model verification component, the model verification component includes a first sub-component and a second sub-component, and the verification method further includes: using the first sub-component to perform simulation level verification; or using the second sub-component to perform physical level verification.

[0007] For example, in the chip verification method provided in at least one embodiment of the present disclosure, the verification platform of the chip includes multiple second verification components, and the verification platform of the chip is established based on the sub-module verification platform, including: inheriting the multiple first verification components in the sub-module verification platform; establishing the multiple second verification components; and establishing the verification platform of the chip based on the multiple first verification components and the multiple second verification components.

[0008] For example, in the chip verification method provided by at least one embodiment of the present disclosure, the multiple first verification components include a model verification component, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and the multiple first verification components in the sub-module verification platform are inherited, including: inheriting the backdoor access path in the model verification component.

[0009] For example, in the chip verification method provided by at least one embodiment of the present disclosure, the test set of the chip includes a key point test subset of each sub-module of the multiple sub-modules, and the test set of the chip is established based on the verification platform of the chip, including: based on the sub-module verification platform inherited in the verification platform of the chip, inheriting the key point test subset of each sub-module in the test set of the chip.

[0010] For example, in the chip verification method provided in at least one embodiment of the present disclosure, the chip includes a first main data path, the first main data path includes multiple second sub-data paths at multiple levels, and a test set of the chip is established based on a verification platform of the chip, which also includes: establishing a test subset corresponding to the first main data path, and establishing a test subset corresponding to the multiple second sub-data paths at multiple levels of the first main data path.

[0011] For example, the chip verification method provided by at least one embodiment of the present disclosure also includes: establishing a test set for each sub-module among the multiple sub-modules based on the sub-module verification platform, wherein the test set of each sub-module includes a corresponding key point test subset; and using the test set of each sub-module to perform testing of each sub-module.

[0012] For example, in the chip verification method provided by at least one embodiment of the present disclosure, the chip includes a second main data path, the multiple first verification components include a model verification component, the test set of each sub-module includes a model test subset corresponding to the model verification component, and the test set of the chip is established based on the verification platform of the chip, which also includes: based on the sub-module verification platform inherited in the verification platform of the chip, inheriting the model test subset of each sub-module in the test set of the chip; based on the model test subset of each sub-module and the second main data path, establishing a test subset corresponding to the second main data path.

[0013] For example, in the chip verification method provided by at least one embodiment of the present disclosure, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and the test set of each sub-module includes a corresponding backdoor access path test subset; the test set of the chip is used to perform the test of the chip, including: when using the test subset corresponding to the second main data path to perform the test of the chip, the test results of the backdoor access path test subsets of the multiple sub-modules are multiplexed.

[0014] For example, in the chip verification method provided in at least one embodiment of the present disclosure, the multiple first verification components include a model verification component, the model verification component includes a first sub-component and a second sub-component, and a test set of the chip is established based on the verification platform of the chip, and further includes: configuring the test set of the chip based on the first sub-component; or configuring the test set of the chip based on the second sub-component.

[0015] At least one embodiment of the present disclosure further provides a chip verification device, wherein the chip includes multiple sub-modules, and the verification device includes: a first establishment module, configured to establish a sub-module verification platform corresponding to each of the multiple sub-modules, wherein the sub-module verification platform includes multiple first verification components; a second establishment module, configured to establish a verification platform for the chip based on the sub-module verification platform, wherein the verification platform of the chip inherits the multiple first verification components in the sub-module verification platform; a third establishment module, configured to establish a test set for the chip based on the verification platform of the chip; and a test module, configured to use the test set of the chip to perform testing of the chip.

[0016] For example, in the chip verification device provided in at least one embodiment of the present disclosure, the verification platform of the chip also includes multiple second verification components, and the second establishment module is further configured to: inherit the multiple first verification components in the sub-module verification platform; establish the multiple second verification components; and establish the verification platform of the chip based on the multiple first verification components and the multiple second verification components.

[0017] For example, in the chip verification device provided by at least one embodiment of the present disclosure, the test set of the chip includes a key point test subset of each sub-module of the multiple sub-modules, and the third establishment module is further configured to inherit the key point test subset of each sub-module in the test set of the chip based on the sub-module verification platform inherited in the verification platform of the chip.

[0018] For example, in the chip verification device provided by at least one embodiment of the present disclosure, the third establishment module is further configured to establish a test set for each sub-module among the multiple sub-modules based on the sub-module verification platform, wherein the test set of each sub-module includes a corresponding key point test subset, and the test module is further configured to use the test set of each sub-module to perform testing of each sub-module.

[0019] At least one embodiment of the present disclosure further provides an electronic device. The electronic device includes: a processor; a memory including one or more computer program modules; wherein the one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules are used to implement the chip verification method provided in any embodiment of the present disclosure.

[0020] At least one embodiment of the present disclosure further provides a storage medium storing non-transitory computer-readable instructions, which, when executed by a computer, implements the chip verification method provided by any embodiment of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure.

[0022] Figure 1 A structural diagram of a verification platform;

[0023] Figure 2 An exemplary flow chart of a chip verification method provided for at least one embodiment of the present disclosure;

[0024] Figure 3 A schematic diagram of an example of a chip verification method provided by at least one embodiment of the present disclosure;

[0025] Figure 4 for Figure 2 A schematic flowchart of an example of step S120 in FIG.

[0026] Figure 5 A schematic diagram of another example of a chip verification method provided by at least one embodiment of the present disclosure;

[0027] Figure 6 A schematic diagram of another example of a chip verification method provided by at least one embodiment of the present disclosure;

[0028] Figure 7 A schematic block diagram of a chip verification device provided for at least one embodiment of the present disclosure;

[0029] Figure 8 A schematic block diagram of an electronic device provided for at least one embodiment of the present disclosure;

[0030] Fig. 9 A schematic block diagram of another electronic device provided for at least one embodiment of the present disclosure; and

[0031] Fig.10 A schematic diagram of a storage medium provided for at least one embodiment of the present disclosure. DETAILED DESCRIPTION

[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0033] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0034] The present disclosure is described below through several specific embodiments. In order to keep the following description of the embodiments of the present disclosure clear and concise, detailed descriptions of known functions and known components may be omitted. When any component of the embodiments of the present disclosure appears in more than one figure, the component is represented by the same or similar reference numeral in each figure.

[0035] As the overhead caused by large-scale memory read and write operations is increasing, new memory solutions, such as various high bandwidth memories (HBM), graphics double data rate synchronous dynamic random access memory (GDDR6 SDRAM), etc., are gradually being adopted to provide the required bandwidth. Accordingly, it is necessary to develop an efficient large-scale memory verification platform to ensure that the functions and performance of high-speed memory can meet the requirements of products such as chips.

[0036] For example, a system-on-chip (SoC) integrates multiple intellectual property cores (IP cores) on a single chip, which is usually customized or a standard product for a specific purpose. The UVM verification platform established based on the Universal Verification Methodology (UVM) is widely used in the functional verification of chips (e.g., SoC) and their IP cores. UVM verification provides a reusable, hierarchical verification platform framework with clear hierarchy, flexibility, ease of use, and scalability.

[0037] For example, the verification environment of the device under test (DUT, such as an integrated circuit, SoC or IP, etc.) can be based on a specific programming language or UVM and a virtual machine monitor based on a specific programming language, and can be established according to the grammatical requirements and in layers. For example, a DUT interface requires a separate verification environment, and different verification environments are established according to the different needs of the DUT, and then the environment and the DUT are connected in the verification top layer. After the environment is established, the verification environment can be applied to the register level of the same interface in the form of software or script, and then the verification environment is operated by the script. For example, when a new DUT needs to establish a new verification environment, the verification environment script needs to be rewritten.

[0038] Figure 1 A structural diagram of a verification platform.

[0039] For example, Figure 1 As shown, the verification platform (for example, UVM verification platform) can include the following verification component: verify the top layer 110, multiple environments 120 / 130 / 140 and the driver 123, monitor 124, scoreboard 125, reference model 126, sequence generator 121, sequence scheduler 122, etc. included in the environment 120. For example, in order to ensure the versatility of the verification platform, the UVM verification splits the functional verification into separate sub-flows, and different sub-flows can be realized by different verification components. Therefore, when establishing the verification environment 120 (or 130 or 140, etc.) for verifying different DUTs, the corresponding verification component can be selected from the verification platform to carry out sub-flow verification.

[0040] For example, the verification top layer 110 is used to encapsulate an environment 120 / 130 / 140 (hereinafter, the environment 120 is taken as an example) for functional verification of the DUT. In addition, the verification top layer 110 may also encapsulate an instantiated DUT, and connect the interface of the DUT with the virtual interface of the environment 120, so that each verification component in the environment 120 interacts with the DUT (for example, data transmission, etc.).

[0041] For example, the sequence generator 121 controls the generation of test sequences, transmits and arranges the initiation of tests, and supports flexible configuration to form different sequences and configurations for various test environments. The sequence scheduler 122 drives the DUT to perform read, write and other access tests through the driver 123. For example, the driver 123 parses the stimulus signal generated by the sequence scheduler 122, drives the stimulus signal to the port of the DUT according to the bus protocol, and drives the DUT by simulating the interface timing and behavior of the DUT.

[0042] For example, further, the DUT outputs the test feedback information to the monitor 124 and the scoreboard 125 in sequence. The monitor 124 is used to monitor the interface timing and behavior of the DUT and send the feedback to the scoreboard 125. The scoreboard 125 receives the feedback message sent by the monitor 124 and retains it for recording and analysis. For example, the monitor 124 can be used to monitor the excitation signal driven on the DUT, and send the monitored excitation signal to the reference model 126. The reference model 126 can be used to perform the same function as the DUT. For example, the scoreboard 125 can compare the data sent by the monitor 124 with the expected value of the reference model 126 one by one, obtain the comparison result, and judge whether the DUT works correctly according to the comparison result.

[0043] For large-scale integrated circuits, verification is currently mainly carried out at the IP level and the SoC level. Figure 1 When the verification platform shown is verified at the IP level, since most of the devices in the IP are general devices provided by a third party, the IP-level verification method can be simplified to only perform data checks at the top level, and the response of the device under test in the IP can be detected by flexibly controlling the sequence generator to issue specific operations, thereby improving the verification efficiency. However, since this IP verification method is too thin, after forming a complete data path, the checkpoints covering the specific interfaces in the IP are often ignored or simplified, resulting in a long time for debugging when problems are encountered in the verification, resulting in a longer verification cycle.

[0044] At the SoC level, more emphasis is placed on verifying the integrity of the data path in the SoC. For example, based on typical application scenarios, the working modes and data flows of each device under test in the SoC are covered as realistically as possible. For example, at the SoC level, since there is a corresponding master device to test the complete data path, the data check is often limited to the read-write comparison of the master device itself. In addition, since the scale of the SoC system is too large and the SoC-level verification starts late, the SoC verification environment will be designed to be relatively simple to avoid an excessively long verification cycle. However, when the IP-level verification is not sufficient, the IP-level verification itself has a thin coverage, and after entering the SoC level, the verification environment is further simplified, resulting in a low SoC-level verification coverage rate, and more problems cannot be verified, which greatly reduces the verification effect.

[0045] At least one embodiment of the present disclosure provides a verification method for a chip, the chip including multiple submodules. The verification method includes: establishing a submodule verification platform corresponding to each of the multiple submodules, wherein the submodule verification platform includes multiple first verification components; based on the submodule verification platform, establishing a verification platform for the chip, wherein the verification platform of the chip inherits the multiple first verification components in the submodule verification platform; based on the verification platform of the chip, establishing a test set for the chip; and using the test set of the chip to perform a test of the chip.

[0046] At least one embodiment of the present disclosure further provides a chip verification device, an electronic device, and a storage medium, which are used to implement the chip verification method of the above embodiment.

[0047] The method, device, electronic device and storage medium provided by at least one embodiment of the present disclosure can achieve a higher verification coverage in a shorter time by reusing the verification platform of the sub-module in the verification platform of the chip, thereby effectively improving the verification quality and verification efficiency.

[0048] Hereinafter, at least one embodiment of the present disclosure will be described in detail with reference to the accompanying drawings. It should be noted that the same reference numerals in different drawings will be used to refer to the same elements described.

[0049] Figure 2 An exemplary flow chart of a chip verification method provided for at least one embodiment of the present disclosure.

[0050] For example, Figure 2 As shown, at least one embodiment of the present disclosure provides a chip verification method, the chip includes a plurality of sub-modules, and the verification method may include the following steps S110 to S140.

[0051] Step S110: establishing a submodule verification platform corresponding to each submodule in the plurality of submodules;

[0052] Step S120: establishing a chip verification platform based on the sub-module verification platform;

[0053] Step S130: establishing a chip test set based on the chip verification platform;

[0054] Step S140: Use the chip test set to perform chip testing.

[0055] For example, in step S110, when the chip is a system-on-chip (SoC), the submodule may be various IP cores integrated in the SoC, and the embodiments of the present disclosure do not limit the types and quantities of the submodules. For example, the submodule verification platform includes multiple first verification components. Taking the UVM verification platform as an example, the first verification component may include a monitor, a scoreboard, and a register model in the verification environment; the verification platform and the first verification component therein may also be other types, which may be selected according to actual needs, and the embodiments of the present disclosure do not limit this.

[0056] For example, in step S120, the verification platform of the chip inherits multiple first verification components in the verification platform of the submodule. For example, in the process of establishing the verification platform of the submodule in step S110, multiple first verification components in the verification platform of the submodule are planned to be inherited and applied to the verification platform of the chip, so that when the verification platform of the chip is established in step S120, multiple first verification components that have been created and verified in the verification platform of the submodule can be inherited to the verification platform of the chip for reuse.

[0057] For example, in step S130, after the chip verification platform is established, a chip test set can be established to cover various key performances of the chip. For example, the chip test set can include register read and write access data path test, initialization process debugging, complete data access path test from master to slave, control path integrity test, etc.

[0058] For example, in step S140, based on the chip test set established in step S130, various key performances and / or functions of the chip covered by the test set can be comprehensively tested.

[0059] It should be noted that the test types and test items included in the chip test set are not limited to the above description. The specific test set type and quantity can be selected according to actual needs, and the embodiments of the present disclosure do not limit this.

[0060] In some examples, each of the plurality of sub-modules includes a sub-module datapath, the sub-module datapath including a plurality of first sub-datapaths at a plurality of levels; Figure 2 The step S110 may further include a step S111 : for each sub-module, establishing a first verification component corresponding to a plurality of first sub-data paths of a plurality of levels.

[0061] For example, each submodule includes multiple devices, and the multiple first sub-data paths of the multiple levels include multiple single-device level paths, at least one multi-device level path, and a top-level path. For example, each multi-device level path covers at least two devices among the multiple devices, and the top-level path covers multiple devices. For example, accordingly, in order to establish a first verification component corresponding to the multiple first sub-data paths of the multiple levels, the above step S111 may further include: establishing multiple first verification components corresponding to the multiple single-device level paths, establishing at least one first verification component corresponding to at least one multi-device level path, and establishing a first verification component corresponding to the top-level path.

[0062] In some examples, the plurality of first verification components include a model verification component, and the model verification component includes a first subcomponent and a second subcomponent. For example, accordingly, the verification method provided by at least one embodiment of the present disclosure may also include: performing simulation level verification using the first subcomponent; or performing physical level verification using the second subcomponent.

[0063] Figure 3 A schematic diagram of an example of a chip verification method provided by at least one embodiment of the present disclosure. For example, Figure 3 yes Figure 2 A specific example of the verification platform of the submodule established in step S110.

[0064] For example, Figure 3 As shown, a submodule (e.g., an IP module) is used as a module under test (DUT), and each submodule includes multiple devices (device A, device B, device C, and device D). For example, in the submodule verification platform 100, a submodule data path from the input interface 101 to the output interface 105 is included. For example, the submodule data path includes multiple first sub-data paths covering multiple levels of one or more devices. For example, in the multiple first sub-data paths of multiple levels, there is a single-device level path corresponding to each device, a multi-device level path corresponding to at least two devices, and a top-level path corresponding to all devices.

[0065] For example, Figure 3 As shown, the plurality of single-device level paths may include a single-device level path A from the input interface 101 to the interface 102, a single-device level path B from the interface 102 to the interface 103, a single-device level path C from the interface 103 to the interface 104, and a single-device level path D from the interface 104 to the output interface 105, and the single-device level paths A to D cover the devices A to D respectively. For example, Figure 3As shown, for the next higher level, the multi-device level path may include a multi-device level path AB from the input interface 101 to the interface 103, and the multi-device level path AB covers the device A and the device B; for the next higher level, the multi-device level path may include a multi-device level path ABC from the input interface 101 to the interface 104, and the multi-device level path ABC covers the devices A~C; for the top layer, the multi-device level path may include a top-level path from the input interface 101 to the output interface 105, and the top-level path covers all the devices A~D.

[0066] For example, when the submodule is an IP module memory subsystem, device A, device B, device C and device D can correspond to the bridge device, storage controller, memory physical layer device and high bandwidth memory in the IP memory subsystem respectively; accordingly, input interface 101 and output interface 105 can be a custom bus interface inside the chip, interface 102 can be a universal bus interface supported by a third-party IP, interface 103 can be a DDR physical layer interface (DDR PHY Interface, DFI), and interface 104 can be a double data rate bus interface. It should be noted that the submodule can also be other types of subsystems, and the multiple devices and multiple interfaces in the submodule can also be selected from other types according to actual needs, and the embodiments of the present disclosure are not limited to this.

[0067] For example, in establishing Figure 3 When the verification platform of the submodule shown in FIG. 1 is used, step S111 is executed to establish a first verification component corresponding to a plurality of first sub-data paths of a plurality of levels. For example, specifically, Figure 3 As shown, in step S111, first verification components A-C corresponding to single-device level paths A-C are established respectively, first verification component AB corresponding to multi-device level path AB is established, first verification component ABC corresponding to multi-device level path ABC is established, and first verification component Top corresponding to top-level path is established. For example, in the sub-module verification platform 100, the first verification component may include a monitor, a scoreboard, and a register model in the verification environment, etc., which is not limited in the embodiments of the present disclosure.

[0068] For example, Figure 3As shown, the first verification component A is used to verify the single-device level path A, such as the verification of the conversion function from the custom bus interface to the universal bus interface; the first verification component B is used to verify the single-device level path B, such as the verification of the data path from the universal bus interface protocol to the DFI protocol; the first verification component C is used to verify the single-device level path C, such as the verification of the data path from the DFI protocol to the double-rate bus protocol; the first verification component AB and the first verification component ABC are respectively used to verify the multi-device level path AB and the multi-device level path ABC, such as the verification from the custom bus interface to the DFI interface and the double-rate bus interface respectively; the first verification component Top is used to verify the top-level path, such as performing the maximum data path comparison between the input interface 101 and the output interface 105.

[0069] For example, Figure 3 As shown, the multiple first verification components also include a model verification component 110, and the model verification component 110 includes a first subcomponent and a second subcomponent. For example, taking device D as a memory as an example, according to different memory types, the first subcomponent and the second subcomponent can be set in the verification platform of the submodule to configure the memory.

[0070] For example, Figure 3 As shown, a multiplexer (MUX) can be used to select the first subcomponent or the second subcomponent as the device D, which is used to form a submodule data path from the input interface 101 to the output interface 105. For example, the first subcomponent can be a simplified behavioral model of the device D, and the behavioral model can be designed based on the key issues that need to be verified. For example, in the verification method provided in at least one embodiment of the present disclosure, the first subcomponent can be used to perform simulation level verification, so that verification can be performed more quickly and focused.

[0071] For example, Figure 3 As shown, the second subcomponent may be a Verification Intellectual Property (VIP) component provided by the same manufacturer that provides device C (e.g., a memory physical layer device), and the VIP component may characterize the specific structure and performance of the real memory. For example, in the verification method provided in at least one embodiment of the present disclosure, the second subcomponent may be used to perform physical level verification, thereby achieving more detailed and accurate verification.

[0072] For example, Figure 3As shown, the model verification component 110 also includes a verification model, and the access path of the verification model includes a frontdoor access path (frontdoor) and a backdoor access path (backdoor). For example, when the verification model is a register model of a submodule, the register can be configured by frontdoor access and / or backdoor access.

[0073] It should be noted that if Figure 3 The verification platform of the sub-module shown is only an example. Other architecture types and design processes of the sub-module verification platform can also be selected according to actual needs. The embodiments of the present disclosure do not limit the number and type of devices in the sub-module, the number and type of interfaces, the number and type of data paths, the number and specific settings of multiple first verification components, the type and specific verification method of the memory, the type and specific access method of the verification model, etc.

[0074] The verification method provided by at least one embodiment of the present disclosure standardizes the architecture and design process of the verification platform of a sub-module (for example, an IP module), can cover all device and interface checkpoints in the sub-module, and improves the verification coverage of the sub-module; in addition, by uniformly standardizing multiple first verification components in the verification platform of the sub-module, the multiple first verification components can be inherited and applied to the verification platform of the chip, thereby achieving the inheritability and reusability of the sub-module verification environment.

[0075] Figure 4 for Figure 2 A schematic flowchart of an example of step S120 in FIG.

[0076] For example, a chip verification platform provided by at least one embodiment of the present disclosure includes a plurality of second verification components; Figure 4 As shown, Figure 2 Step S120 may further include the following steps S121 to S123:

[0077] Step S121: inheriting multiple first verification components in the submodule verification platform;

[0078] Step S122: establishing a plurality of second verification components;

[0079] Step S123: establishing a chip verification platform based on the plurality of first verification components and the plurality of second verification components.

[0080] For example, in step S121, multiple first verification components that have been created and verified in the verification platform of the sub-module can be inherited to the verification platform of the chip for reuse; in step S122, it is necessary to establish a higher-level second verification component for verifying the chip itself, so as to more completely cover the verification nodes and improve the verification quality; in step S123, the verification platform of the chip is established based on the multiple first verification components inherited in step S121 and the multiple second verification components established in step S122.

[0081] It should be noted that the execution order of step S121 and step S122 is not specific, and the operations of inheriting the first verification component and establishing the second verification component can also be executed simultaneously. The embodiments of the present disclosure do not limit this.

[0082] In some examples, the multiple first verification components include a model verification component, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and step S121 may further include: inheriting the backdoor access path in the model verification component.

[0083] Figure 5 A schematic diagram of another example of a chip verification method provided by at least one embodiment of the present disclosure. For example, Figure 5 yes Figure 2 A specific example of the chip verification platform established in step S120.

[0084] For example, Figure 5 As shown, the verification platform 200 of the chip (e.g., SoC) includes the inherited submodule verification platform 210 and a plurality of second verification components. For example, to establish the chip verification platform 200, step S121 may be executed to inherit a plurality of first verification components in the verification platform of the submodule. Figure 3 Taking the sub-module verification platform 100 shown as an example, the multiple levels of first verification components (i.e., first verification components A to C, first verification component AB, first verification component ABC, first verification component Top) and model verification components included in the sub-module verification platform 100 are all inherited into the chip verification platform 200.

[0085] For example, in the process of inheriting the submodule verification platform 100, the following aspects need to be noted:

[0086] (1) It is necessary to adjust the model interface between the inherited multiple first verification components and the chip. Specifically, pay attention to the difference in the interface path between the sub-module and the corresponding level of the chip;

[0087] (2) For the miscellaneous components in the submodule verification platform 100 (the properties of the miscellaneous components of different submodules are different), since the miscellaneous components are small applications developed for the submodule interface signals, and there are real register transfer level (RTL) connections in the chip, the miscellaneous components can be not inherited, but limited to the corresponding submodule verification platform;

[0088] (3) For model verification components that use front-door and back-door access methods, the back-door access path in the model verification component is inherited, but the front-door access path is not inherited.

[0089] For example, in the verification platform of the submodule, the verification model can be the register model of the submodule, and the access path of the register model can include the front door access path and the back door access path, etc. (For specific settings, please refer to Figure 3 For example, when inheriting the model verification component to the verification platform of the chip, since the front-door access path will be driven by the upstream interface, the front-door access path may not be inherited, but the back-door access path needs to be retained. For example, for the register model, in addition to the two methods of front-door access and back-door access, other types of access paths (for example, direct programming interface (DPI), etc.) can be set according to actual needs, and the embodiments of the present disclosure are not limited to this. For example, by inheriting the back-door access path or DPI and other access methods of the verification model register model to the chip verification platform, the front-door and back-door access to the sub-module registers can be flexibly implemented in the chip.

[0090] For example, Figure 5 As shown, in addition to the inherited submodule verification platform 210, step S122 is further performed to establish a higher-level second verification component (second verification component D, second verification component E, etc.) for verifying the chip itself in the chip verification platform 200. For example, the second verification component may include a monitor, a scoreboard, and a register model in a chip verification environment, etc., for monitoring and verifying different data paths and verification key points, or observing different test scenarios, etc. The embodiments of the present disclosure do not limit the type and quantity of the second verification component.

[0091] For example, in the chip verification platform 200, a top-level second verification component can be developed to monitor data transactions from different master devices, such as monitoring whether they can match the data transactions recorded in the memory model one by one, and for comparing write data detection, read data detection, send and receive quantity detection, legality detection and consistency detection, etc., thereby forming a complete top-level verification environment (top env) of the chip.

[0092] For example, Figure 5 As shown, further, step S123 is executed to establish a chip verification platform 200 based on the inherited sub-module verification platform 210 and multiple second verification components (second verification component D, second verification component E, top-level second verification component, etc.) to achieve efficient and high-quality verification of the chip and its sub-modules.

[0093] It should be noted that if Figure 5 The chip verification platform shown is only an example, and other architecture types and design processes of the chip verification platform can also be selected according to actual needs, and the embodiments of the present disclosure are not limited to this. Figure 5 The sub-module verification platform 210 inherited in the chip verification platform 200 shown can be a verification platform for any sub-module among the multiple sub-modules of the chip, and the chip verification platform 200 can also inherit the sub-module verification platforms of other sub-modules in the same way. The embodiments of the present disclosure do not limit the type and number of inherited sub-module verification platforms.

[0094] The verification method provided by at least one embodiment of the present disclosure can achieve a higher verification coverage rate in a shorter time by reusing the verification platform of the sub-module in the verification platform of the chip, thereby effectively improving the verification quality and verification efficiency.

[0095] In some examples, after the verification platform of the chip is brought up, a test set of the chip can be established based on the verification platform of the chip; accordingly, after the verification platform of the sub-module is brought up, a test set of the sub-module can be established based on the verification platform of the sub-module. For example, based on the sub-module verification platform inherited in the chip verification platform, a key point test subset in the test set of the sub-module can be inherited into the test set of the chip.

[0096] For example, based on the key point test subset of the inherited submodule, it can be adaptively expanded to the key point test that needs to be covered in the chip, so that there is no need to build the chip test set from scratch, saving development costs. For example, on this basis, other test subsets of the chip can also be added, such as system-level test subsets and actual application test subsets; specifically, actual application tests can include performance tests for typical application scenarios, etc., and subset system-level test subsets can include complete data access paths from master devices to slave devices, register read and write access data paths, initialization process debugging, control path integrity tests, etc. for the chip, and the embodiments of the present disclosure do not limit this.

[0097] In some examples, for the test set of the sub-module and the test of the sub-module, the verification method provided by at least one embodiment of the present disclosure may further include the following steps S150 to S160.

[0098] Step S150: establishing a test set for each sub-module in the plurality of sub-modules based on the sub-module verification platform;

[0099] Step S160: Use the test set of each sub-module to perform the test of each sub-module.

[0100] For example, in step S150, the test set of each submodule (e.g., IP module) includes a corresponding key point test subset, and the key point (feature) test of the submodule includes, for example, address mapping, error detection and correction (Error Checking and Correction, ECC), error detection code (Error Detecting Code, EDC), parity, training, tuning, low power, design for testability (Design For Test, DFT), debugging, etc., and the embodiments of the present disclosure are not limited to this. For example, the test set of each submodule may also include a test subset for a complete read and write access data path, a register read and write access data path, initialization process debugging, a typical application scenario, etc. for the submodule, and the embodiments of the present disclosure are not limited to this. For example, based on the above core function test subset, the test set of the submodule can be further expanded so that the submodule can be fully verified, thereby outputting the test set to the chip (e.g., SoC) with quality.

[0101] For example, in step S160, the test set of the sub-module established in step S150 is used to perform corresponding key point tests, single / burst read / write access tests, random register tests, sanity tests, typical application scenario tests, etc. on the sub-module, and the embodiments of the present disclosure are not limited to this.

[0102] In some examples, the test set for a chip includes a subset of key point tests for each submodule. For example, Figure 2 The step S130 may further include: inheriting a key point test subset of each submodule in the test set of the chip based on the submodule verification platform inherited in the verification platform of the chip.

[0103] It should be noted that, in addition to the key point test subset of the submodule, other test subsets of the submodule may also be inherited in the test set of the chip according to actual needs, and the embodiments of the present disclosure are not limited to this.

[0104] In some examples, the chip includes a first main data path, and the first main data path includes multiple second sub-data paths at multiple levels. Figure 2The step S130 may further include: establishing a test subset corresponding to the first main data path, and establishing a test subset corresponding to a plurality of second sub-data paths of a plurality of levels of the first main data path.

[0105] For example, the first main data path of the chip includes a complete data access path from the master device to the slave device, and the first main data path can be divided into multiple second sub-data paths of multiple levels according to complexity, importance, etc. For example, the test set of the chip can include both a test subset corresponding to the first main data path and a test subset corresponding to multiple second sub-data paths of multiple levels.

[0106] In some examples, the chip includes a second main data path, the plurality of first verification components include a model verification component, and the test set of each submodule includes a model test subset corresponding to the model verification component. Figure 2 Step S130 may further include: based on the sub-module verification platform inherited in the verification platform of the chip, inheriting the model test subset of each sub-module in the test set of the chip; based on the model test subset of each sub-module and the second main data path, establishing a test subset corresponding to the second main data path.

[0107] For example, the second main data path may be a register read / write access data path of the chip, the model verification component may include a verification component for verifying the register model in the submodule, and the model test subset corresponding to the model verification component may include a test subset for the register read / write access data path of the submodule. For example, based on the inherited model test subset of the submodule and the second main data path, a test subset corresponding to the second main data path may be established to test the register read / write access data path of the chip.

[0108] For example, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and the test set of each submodule includes a corresponding backdoor access path test subset; Figure 2 The step S140 may further include: when executing the chip test using the test subset corresponding to the second main data path, multiplexing the test results of the backdoor access path test subsets of the plurality of sub-modules.

[0109] For example, the verification model can be a register model of a submodule, and the test of the register read / write access data path of the submodule includes random register tests of the front door and back door of the submodule. For example, when testing the register read / write access data path of a chip, a random register test of the front door of the chip can be performed using a test subset corresponding to the second main data path, and the back door test can directly reuse the test results of the back door access path test subset of the submodule, thereby saving the development cost of the chip test set.

[0110] In some examples, the plurality of first validation components include a model validation component, the model validation component including a first subcomponent and a second subcomponent. Figure 2 The step S130 may further include: configuring a test set of the chip based on the first subcomponent; or configuring a test set of the chip based on the second subcomponent.

[0111] For example, the first subcomponent may be a simplified behavioral model of the memory, and the second subcomponent may be a VIP component that can characterize the real memory. The test set of the chip may be configured based on the inherited first subcomponent or the second subcomponent, respectively. For example, the configured chip test set may be used to perform tests at the simulation level or the physical level, respectively. The specific configuration method may be selected according to actual needs to achieve flexibility and efficiency in testing.

[0112] Figure 6 A schematic diagram of another example of a chip verification method provided in at least one embodiment of the present disclosure. For example, Figure 6 yes Figure 2 A specific example of the chip test set established in step S130.

[0113] For example, Figure 6 As shown, the test set of the sub-module established based on step S150 may include multiple key point test subsets, key point test subset 1 is, for example, an address mapping test subset, key point test subset 2 is, for example, a training test subset, key point test subset 3 is, for example, a low power consumption test subset, key point test subset 4 is, for example, an ECC / EDC / parity test subset, key point test subset 4 is, for example, a DFT test subset, key point test subset 5 is, for example, a debugging test subset, and so on.

[0114] For example, Figure 6 As shown, the test set of the sub-module also includes a model test subset corresponding to the model verification component, the model verification component may include a verification component for verifying the register model in the sub-module, and the model test subset corresponding to the model verification component may include a test subset for the register read and write access data path of the sub-module.

[0115] For example, in addition to the model test subset and key point test subset of the submodule, the test set of the submodule may also include test subsets for the complete read and write access data path of the submodule, initialization process debugging, typical application scenarios, etc. (not shown in the figure). For example, based on the above core function test subset, the test set of the submodule may be further expanded so that the submodule can be fully verified, thereby outputting the test set to the chip with quality.

[0116] For example, after the chip verification platform is started and debugged, step S130 is performed to establish a test set for the chip. Figure 6As shown, the model test subset of the submodule and multiple key point test subsets are inherited into the test set of the chip according to different mapping rules. For example, specifically, based on the submodule verification platform inherited from the chip verification platform, the test set of the chip is grown from the test set of the submodule, so that the key point test subset, model test subset, etc. in the test set of the submodule are inherited into the test set of the chip. For example, in addition to the model test subset and key point test subset of the submodule, other test subsets of the submodule can also be inherited in the test set of the chip according to actual needs, and the embodiments of the present disclosure are not limited to this.

[0117] For example, Figure 6 As shown, on the basis of the inherited test subset of the submodule, other test subsets for the performance of the chip itself can also be added to the chip test set, such as a system-level test subset and an actual application test subset. For example, specifically, the actual application test subset may include a test subset for performance testing of typical application scenarios, etc., and the subset system-level test subset may include a test subset for the complete data access path from the master device to the slave device of the chip, the register read and write access data path, the initialization process debugging, the control path integrity test, etc., and the embodiments of the present disclosure are not limited to this.

[0118] For example, taking the test subset of the first main data path of the chip (i.e., the complete data access path from the master device to the slave device) as an example, the first main data path can be divided into multiple second sub-data paths of multiple levels according to complexity, importance, etc. For example, when executing step S130, in addition to establishing a test subset corresponding to the first main data path, a test subset of multiple second sub-data paths of multiple levels corresponding to the first main data path can also be established. For example, specifically, for important components in the first main data path, a shorter second sub-path can be divided to set more tests, and for non-core components, a longer second sub-path can be divided to set relatively simple tests, so that the test of the complete data path can be opened up step by step in a focused manner, thereby improving the test efficiency.

[0119] For example, taking the test subset of initialization process debugging as an example, the initialization process debugging of the chip is performed based on this test subset, so as to run the availability test. For example, taking the test subset of control path integrity test as an example, the control path integrity test of the chip is performed based on this test subset, mainly including interrupt reporting, systematic error handling process, power consumption management and switching process, etc.

[0120] For example, taking the test subset of the register read and write access data path of the chip as an example, the test of the register read and write access data path of the chip can be performed based on the inherited model test subset of the sub-module. For example, the model test subset may include a test subset for the register read and write access data path of the sub-module. For example, the chip includes a second main data path, and the second main data path can be the register read and write access data path of the chip. For example, when executing step S130, a test subset corresponding to the second main data path can be established based on the inherited model test subset of the sub-module and the second main data path, which is used to test the register read and write access data path of the chip.

[0121] For example, specifically, the model verification component includes a verification model, the verification model can be a register model of a submodule, and the test of the register read and write access data path of the submodule includes a random register test of the front door and back door of the submodule. For example, when testing the register read and write access data path of a chip, a random register test of the front door of the chip can be performed using a test subset corresponding to the second main data path, and the backdoor test can directly reuse the test results of the backdoor access path test subset of the submodule, thereby saving the development cost of the chip test set.

[0122] For example, the model verification component may also include a first subcomponent and a second subcomponent, referring to Figure 3 For example, the first subcomponent may be a simplified behavioral model of the memory, and the second subcomponent may be a VIP component that can characterize the real memory. For example, when executing step S130, the test set of the chip may be configured based on the inherited first subcomponent or the second subcomponent, for example, the configured test set of the chip may be used to perform testing at the simulation level or the physical level, to achieve flexibility and efficiency of testing.

[0123] For example, further, based on the chip test set established in step S130, step S140 is executed to comprehensively test the key performances of the chip covered by the test set. For example, specifically, for typical chip application scenarios, test patterns of typical application scenarios are extracted, performance sampling points are planned on the complete data test path from the master device to the slave device, and the test results of each sampling point are collected, and finally a complete chip performance evaluation report is obtained.

[0124] It should be noted that if Figure 6 The test set of the submodule and the test set of the chip shown are only examples, and other test items and verification processes in the test set may also be selected according to actual needs, which is not limited in the embodiments of the present disclosure.

[0125] At least one embodiment of the present disclosure provides a verification platform based on a chip (e.g., SoC) that inherits multiple sub-modules (e.g., IP modules). The verification platform can focus on inheriting multiple test subsets of the sub-modules in the test set of the chip without building the test set of the chip from scratch, thereby saving development costs. In addition, the inheritance of the test set can also enable the interaction mode and handshake protocol between the various sub-modules in the chip to obtain a complete loopback test, thereby ensuring system stability and security.

[0126] Figure 7 A schematic block diagram of a chip verification device provided for at least one embodiment of the present disclosure.

[0127] For example, Figure 7 As shown, the chip includes multiple sub-modules, and the verification device 300 of the chip includes a first establishment module 310 , a second establishment module 320 , a third establishment module 330 and a test module 340 .

[0128] For example, the first establishment module 310 is configured to establish a submodule verification platform corresponding to each of the multiple submodules. For example, the submodule verification platform includes multiple first verification components. That is, the first establishment module 310 can be configured to perform, for example Figure 2 Step S110 is shown.

[0129] For example, the second establishment module 320 is configured to establish a chip verification platform based on the sub-module verification platform. For example, the chip verification platform inherits multiple first verification components in the sub-module verification platform. That is, the second establishment module 320 can be configured to perform, for example Figure 2 Step S120 is shown.

[0130] For example, the third establishment module 330 is configured to establish a test set for the chip based on the verification platform of the chip. That is, the third establishment module 330 can be configured to perform, for example Figure 2 Step S130 is shown.

[0131] For example, the test module 340 is configured to perform a test of the chip using a test set of the chip. That is, the test module 340 may be configured to perform, for example Figure 2 Step S140 is shown.

[0132] In some examples, each of the plurality of submodules includes a submodule datapath, and the submodule datapath includes a plurality of first subdatapaths of a plurality of levels. For example, the first establishment module 310 is further configured to establish, for each submodule, a first verification component corresponding to the plurality of first subdatapaths of the plurality of levels.

[0133] For example, each submodule includes multiple devices, and the multiple first sub-data paths of the multiple levels include multiple single-device level paths, at least one multi-device level path, and a top-level path, each multi-device level path in the at least one multi-device level path covers at least two devices among the multiple devices, and the top-level path covers multiple devices. For example, the first establishment module 310 is also configured to establish multiple first verification components corresponding to multiple single-device level paths, establish at least one first verification component corresponding to at least one multi-device level path, and establish a first verification component corresponding to the top-level path.

[0134] In some examples, the plurality of first verification components include a model verification component, and the model verification component includes a first subcomponent and a second subcomponent. For example, the second establishment module 320 is further configured to: inherit the plurality of first verification components in the submodule verification platform; establish a plurality of second verification components; and establish a verification platform for the chip based on the plurality of first verification components and the plurality of second verification components.

[0135] In some examples, the plurality of first verification components include a model verification component, the model verification component includes a verification model, and the access path of the verification model includes a backdoor access path. For example, the second establishment module 320 is further configured to inherit the backdoor access path in the model verification component.

[0136] For example, the test set of the chip includes a key point test subset of each submodule in the plurality of submodules. For example, the third establishment module 330 is further configured to inherit the key point test subset of each submodule in the test set of the chip based on the submodule verification platform inherited in the verification platform of the chip.

[0137] In some examples, the chip includes a first main data path, and the first main data path includes multiple second sub-data paths of multiple levels. For example, the third establishment module 330 is further configured to establish a test subset corresponding to the first main data path, and establish a test subset corresponding to multiple second sub-data paths of multiple levels of the first main data path.

[0138] In some examples, the third establishment module 330 is further configured to: establish a test set for each sub-module among multiple sub-modules based on the sub-module verification platform, wherein the test set for each sub-module includes a corresponding key point test subset; and perform testing of each sub-module using the test set for each sub-module.

[0139] For example, the chip includes a second main data path, the plurality of first verification components include a model verification component, and the test set of each submodule includes a model test subset corresponding to the model verification component. For example, the third establishment module 330 is further configured to: based on the submodule verification platform inherited in the verification platform of the chip, inherit the model test subset of each submodule in the test set of the chip; based on the model test subset of each submodule and the second main data path, establish a test subset corresponding to the second main data path.

[0140] For example, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and the test set of each submodule includes a corresponding backdoor access path test subset. For example, the test module 340 is further configured to: when using the test subset corresponding to the second main data path to perform the chip test, reuse the test results of the backdoor access path test subsets of multiple submodules.

[0141] In some examples, the plurality of first verification components include a model verification component, and the model verification component includes a first subcomponent and a second subcomponent. For example, the third establishment module 330 is further configured to: configure a test set of the chip based on the first subcomponent; or configure a test set of the chip based on the second subcomponent.

[0142] Since in the above description, for example Figure 2 In the process of the chip verification method shown in FIG. 1 , the details of the operation of the chip verification device 300 have been introduced, so for the sake of brevity, they will not be repeated here. For relevant details, please refer to the above Figure 2 to Figure 6 Description.

[0143] It should be noted that Figure 7 The above modules in the chip verification device 300 shown in the figure can be configured as software, hardware, firmware or any combination of the above items to perform specific functions. For example, these modules can correspond to dedicated integrated circuits, pure software codes, or modules that combine software and hardware. Figure 7 The described device may be a PC computer, a tablet device, a personal digital assistant, a smart phone, a web application or other device capable of executing program instructions, but is not limited thereto.

[0144] In addition, although the chip verification device 300 is described above as being divided into modules for respectively performing corresponding processes, it is clear to those skilled in the art that the processes performed by each module may also be performed without any specific module division in the device or without clear demarcation between the modules. Figure 7The chip verification device 300 described is not limited to include the modules described above, but some other modules (for example, a reading module, a control module, etc.) may be added as needed, or the above modules may also be combined.

[0145] At least one embodiment of the present disclosure further provides an electronic device, the electronic device comprising a processor and a memory; the memory comprising one or more computer program modules; the one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules include computer executable instructions for implementing the chip verification method provided by the embodiment of the present disclosure described above. For example, the processor may be a single-core processor or a multi-core processor.

[0146] Figure 8 A schematic block diagram of an electronic device provided for at least one embodiment of the present disclosure.

[0147] For example, Figure 8 As shown, the electronic device 400 includes a processor 410 and a memory 420. For example, the memory 420 is used to store non-transitory computer-readable instructions (e.g., one or more computer program modules). The processor 410 is used to run non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are run by the processor 410, one or more steps of the chip verification method described above can be executed. The memory 420 and the processor 410 can be interconnected through a bus system and / or other forms of connection mechanisms (not shown).

[0148] For example, the processor 410 may be a central processing unit (CPU), a graphics processing unit (GPU), a general purpose graphics processing unit (GPGPU), a digital signal processor (DSP), or other forms of processing units with chip verification capability and / or program execution capability, such as a field programmable gate array (FPGA), etc.; for example, the central processing unit (CPU) may be an X86, RISC-V, or ARM architecture, etc. The processor 410 may be a general-purpose processor or a dedicated processor, and may control other components in the electronic device 400 to perform desired functions.

[0149] For example, the memory 420 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disc read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 410 may run one or more computer program modules to implement various functions of the electronic device 400. Various applications and various data, as well as various data used and / or generated by the application, etc. may also be stored in the computer-readable storage medium.

[0150] It should be noted that, in the embodiments of the present disclosure, the specific functions and technical effects of the electronic device 400 can refer to the above description of the chip verification method provided by at least one embodiment of the present disclosure, and will not be repeated here.

[0151] Fig. 9 A schematic block diagram of another electronic device provided for at least one embodiment of the present disclosure.

[0152] For example, Fig. 9 As shown, the electronic device 500 is suitable for implementing the chip verification method provided by the embodiment of the present disclosure. It should be noted that, Fig. 9 The electronic device 500 shown is only an example and does not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0153] For example, Fig. 9As shown, the electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 51, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 52 or a program loaded from a storage device 58 into a random access memory (RAM) 53. In the RAM 53, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 51, the ROM 52, and the RAM 53 are connected to each other through a bus 54. An input / output (I / O) interface 55 is also connected to the bus 54. Generally, the following devices can be connected to the I / O interface 55: an input device 56 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 57 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 58 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 59. The communication device 59 can allow the electronic device 500 to communicate with other electronic devices wirelessly or by wire to exchange data.

[0154] Although Fig. 9 The electronic device 500 is shown to have various devices, but it should be understood that it is not required to implement or possess all the devices shown, and the electronic device 500 may alternatively implement or possess more or fewer devices.

[0155] For the detailed description and technical effects of the electronic device 500, please refer to the above description of the chip verification method, which will not be repeated here.

[0156] Fig.10 A schematic diagram of a storage medium provided for at least one embodiment of the present disclosure.

[0157] For example, Fig.10 As shown, the storage medium 600 stores non-transitory computer-readable instructions 610. For example, when the non-transitory computer-readable instructions 610 are executed by a computer, one or more steps in the chip verification method described above are performed.

[0158] For example, the storage medium 600 can be applied to Figure 8 For example, the storage medium 600 may be the memory 420 in the electronic device 400. For example, the description of the storage medium 600 may refer to Figure 8 The corresponding description of the memory 420 in the electronic device 400 is shown and will not be repeated here.

[0159] There are a few points to note about this disclosure:

[0160] (1) In the drawings of the embodiments of the present disclosure, only the structures related to the embodiments of the present disclosure are involved, and other structures can refer to the general design.

[0161] (2) In the absence of conflict, the features of the same embodiment and different embodiments of the present disclosure may be combined with each other.

[0162] The above are only specific embodiments of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A chip verification method, wherein: The chip includes multiple sub-modules. The verification method comprises: Establishing a submodule verification platform corresponding to each submodule of the plurality of submodules, wherein the submodule verification platform includes a plurality of first verification components; Based on the submodule verification platform, establishing the verification platform of the chip, wherein the verification platform of the chip inherits a plurality of first verification components in the submodule verification platform; Based on the verification platform of the chip, establishing a test set of the chip; Testing of the chip is performed using a test set for the chip.

2. The chip verification method according to claim 1, wherein: Each of the plurality of sub-modules comprises a sub-module data path, wherein the sub-module data path comprises a plurality of first sub-data paths of a plurality of levels, Establishing a submodule verification platform corresponding to each submodule of the plurality of submodules, including: For each of the sub-modules, a first verification component corresponding to a plurality of first sub-data paths of the plurality of levels is established.

3. The chip verification method according to claim 2, wherein: Each of the submodules includes a plurality of devices, the plurality of first sub-data paths of the plurality of levels include a plurality of single-device level paths, at least one multi-device level path and a top-level path, each of the at least one multi-device level path covers at least two devices among the plurality of devices, and the top-level path covers the plurality of devices, Establishing a first verification component corresponding to a plurality of first sub-data paths of the plurality of levels, comprising: A plurality of first verification components are established corresponding to the plurality of single-device level paths, at least one first verification component is established corresponding to the at least one multi-device level path, and a first verification component is established corresponding to the top-level path.

4. The chip verification method according to claim 1, wherein: The plurality of first validation components include a model validation component, the model validation component including a first subcomponent and a second subcomponent, The verification method further comprises: Performing simulation-level verification using the first subcomponent; or Physical level verification is performed using the second subassembly.

5. The chip verification method according to claim 1, wherein: The verification platform of the chip includes a plurality of second verification components, Based on the submodule verification platform, a verification platform for the chip is established, including: Inheriting multiple first verification components in the submodule verification platform; establishing the plurality of second verification components; A verification platform of the chip is established based on the multiple first verification components and the multiple second verification components.

6. The chip verification method according to claim 5, wherein: The plurality of first verification components include a model verification component, the model verification component includes a verification model, the access path of the verification model includes a backdoor access path, Inheriting multiple first verification components in the submodule verification platform, including: Inherits the backdoor access path in the model validation component.

7. The chip verification method according to claim 1, wherein: The test set of the chip includes a key point test subset of each submodule in the multiple submodules, Based on the verification platform of the chip, a test set of the chip is established, including: Based on the sub-module verification platform inherited in the verification platform of the chip, a key point test subset of each sub-module is inherited in the test set of the chip.

8. The chip verification method according to claim 1, wherein: The chip includes a first main data path, wherein the first main data path includes a plurality of second sub-data paths at a plurality of levels, Based on the verification platform of the chip, a test set of the chip is established, which also includes: A test subset corresponding to the first main data path is established, and test subsets corresponding to a plurality of second sub-data paths of a plurality of levels of the first main data path are established.

9. The chip verification method according to claim 1, further comprising: Based on the submodule verification platform, establish a test set for each submodule in the multiple submodules, wherein the test set for each submodule includes a corresponding key point test subset; The test of each sub-module is performed using the test set of each sub-module.

10. The chip verification method according to claim 9, wherein: The chip includes a second main data path, the plurality of first verification components include a model verification component, the test set of each submodule includes a model test subset corresponding to the model verification component, Based on the verification platform of the chip, a test set of the chip is established, which also includes: Inheriting the model test subset of each submodule in the test set of the chip based on the submodule verification platform inherited in the verification platform of the chip; Based on the model test subset of each submodule and the second main data path, a test subset corresponding to the second main data path is established.

11. The chip verification method according to claim 10, wherein: The model verification component includes a verification model, the access path of the verification model includes a backdoor access path, and the test set of each submodule includes a corresponding backdoor access path test subset; The chip is tested using a test set of the chip, including: When the chip is tested using the test subset corresponding to the second main data path, test results of the backdoor access path test subsets of the plurality of sub-modules are reused.

12. The chip verification method according to claim 1, wherein: The plurality of first validation components include a model validation component, the model validation component including a first subcomponent and a second subcomponent, Based on the verification platform of the chip, a test set of the chip is established, which also includes: configuring a test set for the chip based on the first subcomponent; or A test set of the chip is configured based on the second subcomponent.

13. A chip verification device, wherein: The chip includes multiple sub-modules. The verification device comprises: A first establishing module configured to establish a submodule verification platform corresponding to each of the plurality of submodules, wherein the submodule verification platform includes a plurality of first verification components; A second establishing module is configured to establish a verification platform for the chip based on the sub-module verification platform, wherein the verification platform for the chip inherits a plurality of first verification components in the sub-module verification platform; A third establishment module is configured to establish a test set of the chip based on a verification platform of the chip; A test module is configured to execute the test of the chip using the test set of the chip.

14. The chip verification device according to claim 13, wherein: The verification platform of the chip also includes a plurality of second verification components, The second establishing module is further configured to: Inheriting multiple first verification components in the submodule verification platform; establishing the plurality of second verification components; A verification platform of the chip is established based on the multiple first verification components and the multiple second verification components.

15. The chip verification device according to claim 13, wherein: The test set of the chip includes a key point test subset of each submodule in the multiple submodules, The third establishment module is further configured to inherit the key point test subset of each sub-module in the test set of the chip based on the sub-module verification platform inherited in the verification platform of the chip.

16. The chip verification device according to claim 13, wherein: The third establishment module is further configured to establish a test set for each of the multiple submodules based on the submodule verification platform, wherein the test set for each submodule includes a corresponding key point test subset, The test module is further configured to execute the test of each sub-module using the test set of each sub-module.

17. An electronic device comprising: processor; a memory including one or more computer program modules; The one or more computer program modules are stored in the memory and configured to be executed by the processor, and the one or more computer program modules are used to implement the chip verification method according to any one of claims 1 to 12.

18. A storage medium storing non-transitory computer-readable instructions, which, when executed by a computer, implements the chip verification method according to any one of claims 1 to 12.

Citation Information

Cited By

  • Verification method and verification device of storage controller and virtual verification device

    CN119105925A