Chip testing method and device, chip and computer readable storage medium

By improving the architecture of the MBIST circuit in the chip testing method, and using the test control circuit to group and iteratively test the sub-controllers, the problem of low efficiency of MBIST test vector iteration is solved, and efficient test vector updating and iteration are achieved.

CN117783809BActive Publication Date: 2026-11-24SANECHIPS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211162084.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2026-11-24
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

The iteration efficiency of MBIST test vectors in existing technologies is low, which leads to low actual testing efficiency.

Method used

The main controller sends test commands to each sub-controller in the built-in self-test circuit. Based on the test control circuit, the sub-controllers are configured according to the preset grouping. If the test results do not meet the preset standard, the sub-controllers are regrouped and iterative tests are performed until the preset standard is met.

Benefits of technology

It significantly improves the iteration efficiency of MBIST test vectors, saves time in generating test vectors, and improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117783809B_ABST
    Figure CN117783809B_ABST
Patent Text Reader

Abstract

This application discloses a chip testing method, apparatus, chip, and computer-readable storage medium, belonging to the field of integrated circuit testing technology. The method includes: sending test commands to each sub-controller in the built-in self-test circuit of the storage via a main controller; configuring each sub-controller according to a preset group based on a test control circuit; performing tests on each sub-controller within the preset group according to the test commands; if the test result indicates that the preset group does not meet a preset standard, regrouping the sub-controllers based on the test result and performing iterative testing until the iterative test result indicates that the current group meets the preset standard. This application eliminates the need for regenerating test vectors for the regrouped sub-controllers via the main controller when iterative testing is required, saving significant time spent generating test vectors and significantly improving the iteration efficiency of test vectors.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of integrated circuit testing technology, and more particularly to chip testing methods, apparatus, chips, and computer-readable storage media. Background Technology

[0002] Inserting MBIST (Memory Built-In Self-Test) circuits into chips to detect faults during the manufacturing process is currently the mainstream practice. During the testing phase, by inputting test vectors, the MBIST circuit can generate pseudo-random test sequences and analyze the memory's output response to determine whether the memory has manufacturing faults.

[0003] Currently, the main method for generating MBIST test vectors includes the following process: first, reading in the design project file; then, configuring the test according to the pre-set test groups; and finally, generating the corresponding MBIST test vectors for each group. However, in actual testing, due to power consumption and voltage drop (IR_Drop) issues, the pre-set test groups are often not optimal. It is necessary to iterate the grouping based on the test results, and each grouping iteration requires regenerating the test vectors according to the above process.

[0004] However, since generating test vectors requires a lot of time and effort, the efficiency of iterating using the above method is low, which in turn leads to low efficiency in actual testing. Summary of the Invention

[0005] The main objective of this application is to provide a chip testing method, apparatus, chip, and computer-readable storage medium, aiming to solve the technical problem of low iteration efficiency of MBIST test vectors.

[0006] To achieve the above objectives, this application provides a chip testing method, the method comprising:

[0007] The main controller sends test commands to each sub-controller in the built-in self-test circuit of the storage.

[0008] The test control circuit configures each of the sub-controllers according to a preset group;

[0009] Each sub-controller within the preset group performs a test according to the test instruction;

[0010] If the test result shows that the preset group does not meet the preset standard, then the sub-controllers are regrouped based on the test result and iterative tests are performed until the iterative test result shows that the current group meets the preset standard.

[0011] Furthermore, to achieve the above objectives, embodiments of this application also provide a chip testing apparatus, the chip testing apparatus comprising:

[0012] The main module is configured to send test commands from the main controller to each sub-controller in the built-in self-test circuit.

[0013] The configuration module is configured to send configuration commands to each of the sub-controllers in a preset group based on the test control circuit.

[0014] The testing module is configured to generate test vectors based on the test instructions and configuration instructions for each of the sub-controllers within the preset group to perform tests;

[0015] The iteration module is configured to regroup each of the sub-controllers based on the test results and perform iterative testing if the test results show that the preset group does not meet the preset standard, until the iterative test results show that the current group meets the preset standard.

[0016] In addition, to achieve the above objectives, this application also provides a chip, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the chip testing method described above.

[0017] In addition, to achieve the above objectives, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the chip testing method described above.

[0018] This application provides a chip testing method, apparatus, chip, and computer-readable storage medium, overcoming the technical problem of low iteration efficiency of MBIST test vectors in the prior art. In the chip testing method, firstly, the main controller sends test commands to each sub-controller in the built-in self-test circuit of the storage; then, the test control circuit configures each sub-controller according to a preset group; subsequently, each sub-controller in the preset group performs testing according to the test commands; if the test result indicates that the preset group does not meet a preset standard, then the sub-controllers are regrouped based on the test result and iterative testing is performed until the iterative test result indicates that the current group meets the preset standard.

[0019] Therefore, in this embodiment, when iterative testing is required, there is no need for the main controller to reconfigure the MBIST test vectors for each regrouped sub-controller. The test control circuit only needs to determine which sub-controllers receive the test instructions for iterative testing based on the new grouping. In other words, the MBIST test vectors in this embodiment only need to be generated once, saving a significant amount of time compared to existing technologies that would otherwise be spent repeatedly generating test vectors. In iterative testing, this embodiment only needs to configure the MBIST test vectors to the corresponding sub-controllers based on the sub-controller grouping through the test control circuit to achieve iterative testing, thus conveniently realizing the update and iteration of MBIST test vectors and significantly improving the iteration efficiency of MBIST test vectors. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only a part of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic flowchart of a chip testing method provided in an embodiment of this application;

[0022] Figure 2 This is a schematic diagram illustrating an application scenario of a chip testing method provided in an embodiment of this application;

[0023] Figure 3 A schematic diagram of test groups involved in a chip testing method provided in an embodiment of this application;

[0024] Figure 4 This is a schematic diagram of the structure of a chip testing device provided in one embodiment of this application;

[0025] Figure 5 This is a schematic diagram of the hardware structure of a chip provided in an embodiment of this application. Detailed Implementation

[0026] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that the embodiments of this application can also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods are omitted so as not to obscure the description of the embodiments of this application with unnecessary detail.

[0027] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that shown in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0028] It should also be understood that references to "one embodiment" or "some embodiments" in the specification of embodiments of this application mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0029] Inserting MBIST circuits into chips to detect memory faults during the manufacturing process is currently the mainstream practice. During the testing phase, by inputting test vectors, the MBIST circuit can generate pseudo-random test sequences and analyze the memory's output response to determine whether the memory has manufacturing faults.

[0030] Currently, the main method for generating MBIST test vectors includes the following process: first, reading in the design project file; then, configuring the test according to the pre-set test groups; and finally, generating the corresponding MBIST test vectors for each group. However, in actual testing, due to power consumption and voltage drop (IR_Drop) issues, the pre-set test groups are often not optimal. It is necessary to iterate the grouping based on the test results, and each grouping iteration requires regenerating the test vectors according to the above process.

[0031] However, since generating test vectors requires a lot of time and effort, the efficiency of iterating using the above method is low, which in turn leads to low efficiency in actual testing.

[0032] Based on this, embodiments of this application provide a chip testing method, apparatus, device, and computer-readable storage medium, overcoming the technical problem of low iteration efficiency of MBIST test vectors in the prior art. In the chip testing method, test commands are first sent from the main controller to each sub-controller in the built-in self-test circuit of the storage; then, the test control circuit configures each sub-controller according to a preset group; subsequently, each sub-controller within the preset group performs tests according to the test commands; if the test result indicates that the preset group does not meet the preset standard, the sub-controllers are regrouped based on the test result and iterative testing is performed until the iterative test result indicates that the current group meets the preset standard. Therefore, when iterative testing is required, embodiments of this application do not require the main controller to reconfigure the MBIST test vectors for each regrouped sub-controller; the test control circuit only needs to determine which sub-controllers receive the test commands and perform iterative testing based on the new group. In other words, the MBIST test vector in this embodiment only needs to be generated once. Compared with the prior art, which requires regenerating the test vector for each iteration, this embodiment only needs to configure the MBIST test vector to the corresponding sub-controller according to the grouping of the sub-controllers through the test control circuit to realize iterative testing. This conveniently realizes the update and iteration of the MBIST test vector, saves a lot of time that is required to repeatedly generate test vectors, and significantly improves the iteration efficiency of the MBIST test vector.

[0033] The chip testing method, apparatus, device, and computer-readable storage medium provided in this application are specifically described through the following embodiments. First, the chip testing method in the embodiments of this application is described.

[0034] like Figure 1 As shown, Figure 1 This is a flowchart illustrating a chip testing method provided in one embodiment of this application. This chip testing method can be applied to chip testing equipment, such as... Figure 1 As shown, the chip testing method provided in this embodiment includes steps S10 to S40.

[0035] Step S10: The main controller sends test commands to each sub-controller in the built-in self-test circuit of the storage.

[0036] It should be noted that this embodiment is applied in a chip testing environment and can be combined with... Figure 2 To understand, Figure 2This is a schematic diagram of an application scenario provided in this embodiment. This embodiment performs MBIST testing on a chip based on a circuit combination formed by an MBIST circuit (i.e., a built-in self-test circuit), a test control circuit, and multiple mask modules 205. This circuit combination has been pre-integrated into the chip under test. The main purpose of the MBIST circuit is to detect whether the memory in the chip is faulty. After the MBIST circuit receives a test vector, it generates a pseudo-random sequence to test the memory and collects the output for comparison to determine whether the memory is faulty. In this embodiment, the MBIST circuit includes a main controller, i.e. Figure 2 The MBIST TAP (Test Access Port) controller and its connected sub-controllers, i.e. Figure 2 In the diagram, controller-0, controller-1, ..., controller-n, each controller (specifically referring to a sub-controller in this embodiment) can be controlled independently and in parallel. In step S10, the main controller sends the same test command to all sub-controllers stored in the built-in self-test circuit, such as... Figure 2 The downward arrow 202 shown, connecting the MBIST TAP controller and each sub-controller, indicates the test enable signal sent by the main controller to each sub-controller. Figure 2 The upward arrows 203 in the middle represent the test result feedback signals sent by each sub-controller to the main controller. Figure 2 204 indicates the test clock signal provided by the chip to each memory.

[0037] Step S20: Configure each sub-controller according to the preset grouping based on the test control circuit;

[0038] It should be noted that although in this embodiment, the main controller sends test commands to all sub-controllers in step S10, this does not mean that all sub-controllers can directly receive the test commands and perform MBIST tests on the corresponding memory in the chip. Figure 2 It can be seen that an independently controllable mask module is set on the signal transmission channel between the main controller and each sub-controller, and each mask module is connected to the test control circuit. Figure 2 The number 201 indicates the connection relationship between the test control circuit and each mask module. The test control circuit can control the mask modules to determine which sub-controllers can receive test commands issued by the main controller and which sub-controllers cannot receive test commands issued by the main controller.

[0039] When a chip is in MBIST test mode, its power consumption is often higher than that in its normal operating mode. Excessive power consumption and the resulting heat can negatively impact chip yield. To avoid this, parallel testing in groups is a common testing method. Therefore, in this embodiment, a method for performing parallel testing of the chip's memory in groups using each sub-controller is implemented based on the test control circuit. Specifically, the test control circuit configures each sub-controller based on whether it belongs to a test group. The preset group, which is the group used for the first round of testing in MBIST, can be obtained in advance by the operator by grouping the sub-controllers in the built-in self-test circuit. The preset group includes all sub-controllers that need to receive test commands in this round of testing. Therefore, the test control circuit will set the mask modules between them and the main controller to the conducting state, so that each sub-controller in the preset group can successfully receive the test commands issued by the main controller. At the same time, the test control circuit will also set the mask modules between each sub-controller outside the preset group and the main controller to the cut-off state, so that each sub-controller outside the preset group cannot receive test commands from the main controller, realizing the function of skipping the test, and at the same time preventing these sub-controllers that do not belong to the test group from affecting the test results of the test group.

[0040] Step S30: Each sub-controller in the preset group performs a test according to the test command;

[0041] Understandably, since the signal transmission channels between the sub-controllers and the main controller within the preset group are not interrupted, each sub-controller within the preset group can successfully receive the test command from the main controller, perform the test according to the test command, and then feed back the test results to the main controller. After receiving the test results fed back by all the sub-controllers within the preset group, the main controller can analyze data such as power consumption, test time, and IR_Drop (voltage drop) based on the test results, and then determine whether the test group is appropriate based on whether these data meet the preset standards.

[0042] Step S40: If the test result shows that the preset group does not meet the preset standard, then the sub-controllers are regrouped based on the test result and iterative tests are performed until the iterative test result shows that the current group meets the preset standard.

[0043] Understandably, if the preset grouping does not meet the preset standard, it is necessary to regroup each sub-controller according to the test results and perform MBSIT testing again based on the test instructions continuously issued by the main controller according to each sub-controller in the new group. At this time, steps S20 and S30 need to be executed again, simply by replacing the preset grouping with the new grouping. The new grouping for re-performing MBSIT testing may include some sub-controllers in the preset grouping, or it may not include any sub-controllers in the preset grouping. The specific grouping method can be determined according to the actual situation, or a set of rules can be set for the chip testing equipment to select itself. For example, if the sub-controllers in the preset grouping are used to test the corresponding memory in the chip during the first test, then the sub-controllers outside the preset grouping are used to test the corresponding memory in the chip during the second test. This embodiment does not impose any restrictions on this.

[0044] This embodiment provides a chip testing method. Firstly, it improves the architecture of the MBIST circuit by adding independently controllable mask logic to each parallel-controlled controller, thus masking the test commands issued by the MBIST main TAP controller. The test clock of each controller, the test enable signal issued by the MBIST main TAP, and the test result feedback signal transmitted to the MBIST main TAP can all be masked by signals from the test control circuit, thereby skipping the test. When generating MBIST test vectors, the MBIST main TAP controller issues test commands to all controllers in the main body of the vector. The configuration part determines whether a controller is masked; therefore, only the configuration part needs to be modified during vector iteration. Considering the increasing scale of chips, and the need for continuous adjustment and changes to test groups due to issues such as test power consumption and IRDrop, the MBIST test vectors also need to be continuously updated and iterated with the grouping. This embodiment can easily realize the update and iteration of MBIST test vectors and significantly improve the iteration efficiency of MBIST test vectors.

[0045] When iterative testing is required, this embodiment eliminates the need for the main controller to reconfigure the MBIST test vectors for each regrouped sub-controller. The test control circuit simply determines which sub-controllers receive the test commands for iterative testing based on the new grouping. In other words, the MBIST test vectors in this embodiment only need to be generated once. Compared to existing technologies where test vectors need to be regenerated for each iteration, this embodiment only requires the test control circuit to configure the MBIST test vectors to the corresponding sub-controllers based on their grouping during iterative testing. This conveniently achieves the updating and iteration of MBIST test vectors, saving the significant time spent repeatedly generating test vectors and significantly improving the iteration efficiency of MBIST test vectors.

[0046] In some feasible embodiments, prior to step S10, the chip testing method may also include, but is not limited to, the following steps:

[0047] Step A: Read the preset project file based on the main controller;

[0048] Step B involves configuring the main controller according to the project file to generate test vectors, which include test instructions.

[0049] In this embodiment, the test vectors are generated in the same way as the general MBIST test vector generation process: the main controller reads the design project file, configures it according to the project file, and generates the corresponding test vectors. The difference is that in this embodiment, the MBIST TAP controller sends test commands to all sub-controllers, meaning that the distribution of test vectors includes all sub-controllers.

[0050] In some feasible embodiments, step S20 may include, but is not limited to, the following steps:

[0051] Step A20: Based on the test control circuit, the test commands sent by the main controller to each sub-controller outside the preset group are shielded.

[0052] It should be noted that, Figure 2 This is merely one application scenario presented in this embodiment, and does not imply that this embodiment must add a mask module to support the test control circuit in configuring each sub-controller in the MBSIT circuit. The test control circuit can also directly block the test commands sent by the main controller to each sub-controller outside the preset group by sending a shielding signal or interference signal.

[0053] In some feasible embodiments, at least one set of shielding logic circuits is provided between the main controller and each sub-controller, and step S20 may include, but is not limited to, the following steps:

[0054] Step B20: Based on the test control circuit, shut down the shielding logic circuits between each sub-controller and the main controller in the preset group;

[0055] Step B21: Based on the test control circuit, activate the shielded logic circuits between each sub-controller and the main controller outside the preset group.

[0056] Understandably, although Figure 2 The mask modules shown can be considered as shielding logic circuits set between the main controller and each sub-controller. However, "mask" is a general term, and there are many ways to implement the specific shielding logic circuits. In this embodiment, setting at least one set of shielding logic circuits between the main controller and each sub-controller refers to a set of shielding logic circuits used to shield the test commands issued by the main controller to the sub-controllers. Figure 2 It can be seen that in this embodiment, a set of shielding logic circuits can also be set on the signal transmission channel of each sub-controller feeding back signals to the main controller, and a set of shielding logic circuits can also be set between the test clock signal supplied inside the chip and the memory. When it is necessary to shield each sub-controller that is not related to the test, the signal interaction channels between each sub-controller and the outside can be completely closed at the same time, which can more effectively avoid the influence of uncertain factors during the test and ensure the accuracy of the test results.

[0057] In some feasible embodiments, step S30 may include, but is not limited to, the following steps:

[0058] Step S301: Based on the test instructions, each sub-controller in the preset group obtains the test vector for testing.

[0059] It should be noted that the test instruction is part of the test vector generated by the main controller. The sub-controller that receives the test instruction can obtain the test vector for testing the memory from the main controller according to the test instruction, and perform the test on the corresponding memory in the chip based on the test vector in combination with the test clock signal.

[0060] In some feasible embodiments, after step S30, the chip testing method may also include, but is not limited to, the following steps:

[0061] Step S31: Obtain the test results of each sub-controller within the preset group based on the main controller;

[0062] Step S32: The test results are compared with preset data based on the main controller to obtain the comparison results;

[0063] Step S33: Based on the comparison results, the main controller determines whether the preset grouping meets the preset standard.

[0064] Understandably, the test results are obtained by the chip testing equipment after merging the test results of each sub-controller within the preset group based on the main controller. After the chip testing equipment receives the test results from all sub-controllers within the preset group based on the main controller, the chip testing equipment can analyze data such as power consumption, test time, and IR_Drop (voltage drop) based on the test results based on the main controller. Then, it compares these data with preset standard data. The comparison result is whether these data meet the standard. If the data meets the standard, it means that the preset group meets the preset standard. If it does not meet the standard, it means that the preset group does not meet the preset standard, and iterative testing is required.

[0065] In some feasible embodiments, step S40, which involves regrouping the sub-controllers based on the test results and performing iterative testing, includes:

[0066] Step S41: Regroup the sub-controllers based on the test results;

[0067] Step S42: Configure each sub-controller according to the new group based on the test control circuit;

[0068] Step S43: Based on the test instructions, each sub-controller in the new group performs iterative testing.

[0069] For example, this embodiment can be combined with Figure 2 and Figure 3 To understand, Figure 3 This is a schematic diagram of a test grouping provided in this embodiment. After the test starts, the MBIST main TAP will issue parallel test commands to all controllers, that is, the test enable signal 202 and the test clock signal 204 of all controllers will be in the enabled mode. At this time, it is necessary to determine the initial test grouping. The initial test grouping will be based on the clock domain and the distribution location of the memory in the chip, such as... Figure 3As shown, the first preset group 407 includes controllers 1, 2, and 3, and the second preset group 408 includes controllers 4, 5, and 6. Based on the configuration of the test vector generated by the test control circuit according to these preset groups, group 407 needs to transmit mask signals 404, 405, and 406 to controllers 4, 5, and 6 respectively via the test control circuit. Therefore, when the ATE (Auto Test Equipment) machine uses this test vector, controllers 4, 5, and 6 will not enter MBIST test mode; only controllers 1, 2, and 3 will perform MBIST testing. The second preset group 408 is the opposite of group 407; it requires testing controllers 4, 5, and 6. Therefore, the test control circuit needs to transmit mask signals to controllers 1, 2, and 3. Thus, when the ATE machine uses the second test vector, it will only test controllers 4, 5, and 6. It should be noted that the main body of the test vectors for groups 407 and 408 is completely identical; the only difference lies in the masking of different controllers in the configuration section. In this embodiment, the test vectors for groups 407 and 408 are tested using an ATE (Automatic Test Equipment) and the test results are analyzed, including data such as test power consumption, test time, and IR_Drop. Analysis reveals that the initial groups 407 and 408 are not optimal and need to be regrouped and the test vectors iterated. The new group 409 may include controllers 2, 3, and 4. The test vectors for group 209 require an update to the configuration section. This is achieved by transmitting the mask signal to controllers 1, 5, and 6 through the test control circuit, while the main body of the vector remains unchanged. The new test vector is then delivered to the ATE to complete vector iteration. During the iteration process, the main body does not need to be generated again. After the ATE test is completed, the test results are analyzed to determine if the test power consumption, time, and IR_Drop meet the requirements. If they do not, further iteration is required, continuing to update the configuration section of the test vector according to the new group for iterative testing.

[0070] Furthermore, embodiments of this application also provide a chip testing apparatus, referring to... Figure 4 , Figure 4 This is a schematic diagram of the structure of a chip testing device provided in one embodiment of this application, as shown below. Figure 4 As shown, in this embodiment, the chip testing device includes: a startup module 100, a configuration module 200, a testing module 300, and an iteration module 400.

[0071] The startup module 100 is configured to send test commands to each sub-controller in the storage built-in self-test circuit based on the main controller.

[0072] The configuration module 200 is configured to configure each sub-controller according to a preset group based on the test control circuit;

[0073] Test module 300 is configured to perform tests based on test instructions for each sub-controller within a preset group.

[0074] The iteration module 400 is configured to regroup each sub-controller based on the test results and perform iterative testing if the test results show that the preset group does not meet the preset standard, until the iterative test results show that the current group meets the preset standard.

[0075] This embodiment provides a chip testing apparatus. When iterative testing is required, there is no need for the main controller to reconfigure the MBIST test vectors for each regrouped sub-controller. Instead, the test control circuit only needs to determine which sub-controllers receive test instructions for iterative testing based on the new grouping. In other words, the MBIST test vectors in this embodiment only need to be generated once. Compared to the prior art where test vectors need to be regenerated for each iteration, this embodiment only needs to configure the MBIST test vectors to the corresponding sub-controllers according to the sub-controller grouping during iterative testing. This conveniently realizes the updating and iteration of MBIST test vectors, saves a lot of time spent repeatedly generating test vectors, and significantly improves the iteration efficiency of MBIST test vectors.

[0076] The chip testing device provided in this embodiment belongs to the same inventive concept as the chip testing method provided in the above embodiments. Technical details not described in detail in this embodiment can be found in any of the above embodiments. Furthermore, this embodiment has the same beneficial effects as the chip testing method.

[0077] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0078] Furthermore, this application also provides a chip testing device. The chip testing method applied to the chip testing device described above can be executed by a chip testing apparatus, which can be implemented through software and / or hardware and integrated into the chip testing device. The chip testing apparatus can be a mobile device capable of communicating with a network side, such as a mobile phone, laptop, or tablet computer.

[0079] Reference Figure 5 , Figure 5This is a schematic diagram of the hardware structure of a chip testing device provided in one embodiment of this application. Figure 5 As shown, the chip testing equipment may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0080] Those skilled in the art will understand that Figure 5 The structures shown do not constitute a limitation on chip testing equipment and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. Figure 5 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and computer programs.

[0081] exist Figure 5 In the chip testing equipment shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in this embodiment can be set in the chip testing equipment. The chip testing equipment calls the computer program stored in the memory 1005 through the processor 1001 and executes the chip testing method applied to the chip testing equipment provided in any of the above embodiments.

[0082] The chip testing equipment proposed in this embodiment and the chip testing method applied to the chip testing equipment proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in any of the above embodiments. Furthermore, this embodiment has the same beneficial effects as the chip testing method.

[0083] Furthermore, embodiments of this application also provide a computer-readable storage medium, which can be a non-volatile computer-readable storage medium, storing a computer program that, when executed by a processor, implements the chip testing method provided in any of the above embodiments.

[0084] It will be understood by those skilled in the art that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.

[0085] The above is a detailed description of the preferred embodiments of this application. However, the embodiments of this application are not limited to the above-described implementation methods. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the embodiments of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of the embodiments of this application.

Claims

1. A chip testing method, characterized in that, include: The main controller sends test commands to each sub-controller in the built-in self-test circuit of the storage. The test control circuit configures each of the sub-controllers according to a preset group; Each sub-controller within the preset group performs a test according to the test instruction; If the test result shows that the preset group does not meet the preset standard, then the sub-controllers are regrouped based on the test result and iterative tests are performed until the iterative test result shows that the current group meets the preset standard. Wherein, at least one set of shielding logic circuits is provided between the main controller and each of the sub-controllers, and the step of configuring each of the sub-controllers according to the preset grouping based on the test control circuit includes: Based on the test control circuit, each of the shielding logic circuits between the sub-controllers and the main controller in the preset group is shut down; The test control circuit activates the shielding logic circuits between each of the sub-controllers (excluding those in the preset group) and the main controller.

2. The chip testing method as described in claim 1, characterized in that, Prior to the step of sending test commands from the main controller to each sub-controller in the built-in self-test circuitry, the method further includes: Based on the main controller reading the preset project file; The main controller generates test vectors based on the configuration of the project file, and the test vectors include test instructions.

3. The chip testing method as described in claim 2, characterized in that, The step of testing each of the sub-controllers within the preset group according to the test instruction includes: Based on the test instructions, each of the sub-controllers within the preset group obtains the test vector to perform the test.

4. The chip testing method as described in claim 1, characterized in that, The step of configuring each sub-controller according to a preset group based on the test control circuit includes: The test control circuit shields the main controller from sending test commands to each of the sub-controllers outside the preset group.

5. The chip testing method as described in claim 1, characterized in that, After the step of each sub-controller within the preset group performing tests according to the test instructions, the method further includes: The test results of each sub-controller within the preset group are obtained based on the main controller; The main controller compares the test results with preset data to obtain a comparison result. Based on the comparison results, the main controller determines whether the preset grouping meets the preset standard.

6. The chip testing method according to any one of claims 1 to 5, characterized in that, The step of regrouping the sub-controllers based on the test results and performing iterative testing includes: Based on the test results, the sub-controllers are regrouped. Based on the test control circuit, each of the sub-controllers is configured according to the new grouping; Based on the test instructions, each of the sub-controllers within the new group performs iterative testing.

7. A chip testing device, characterized in that, include: The startup module is configured to send test commands from the main controller to each sub-controller in the built-in self-test circuitry stored in the memory. The configuration module is configured to configure each of the sub-controllers according to a preset group based on the test control circuit; The testing module is configured to perform tests based on the test instructions for each of the sub-controllers within the preset group; The iteration module is configured to, if the test result indicates that the preset group does not meet the preset standard, regroup each of the sub-controllers based on the test result and perform iterative testing until the iterative test result indicates that the current group meets the preset standard; Wherein, at least one set of shielding logic circuits is provided between the main controller and each of the sub-controllers, and the configuration module is further configured to: Based on the test control circuit, each of the shielding logic circuits between the sub-controllers and the main controller in the preset group is shut down; The test control circuit activates the shielding logic circuits between each of the sub-controllers (excluding those in the preset group) and the main controller.

8. A chip, characterized in that, The chip includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the chip testing method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the chip testing method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Asynchronous control of memory self test

    US7203873B1