Method for obtaining memory chip mbist test time

By constructing MBIST test vectors and utilizing the ATE hardware clock and loop query instructions, the problems of insufficient measurement accuracy and hardware resource limitations in MBIST test time of memory chips were solved, realizing high-precision and low-cost multi-site synchronous testing.

CN123182741APending Publication Date: 2026-11-27BEIJING ZHAOXUN HENGDA TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611432537.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-15
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies suffer from insufficient measurement accuracy and hardware resource limitations when obtaining MBIST test time for memory chips. This is especially true when multiple sites are tested simultaneously, making it difficult to accurately obtain MBIST test time and resulting in excessive resource consumption.

Method used

The MBIST test vector is constructed using the hardware clock and loop query instructions of the ATE. The MBIST test time is calculated by counting the number of queries of the MBIST status flag and the fixed number of vector rows. This eliminates the need for software timestamp timing and enables automatic hardware statistics, allowing for independent synchronous execution at each test site.

Benefits of technology

It improves the measurement accuracy of MBIST test time to the nanosecond level, eliminates software latency and system response errors, reduces resource consumption, improves the efficiency of multi-site simultaneous testing, and significantly reduces the cost of single-chip testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182741A_ABST
    Figure CN123182741A_ABST
Patent Text Reader

Abstract

The application provides a method for obtaining a memory chip MBIST test time, the method comprising: constructing an MBIST test vector; the MBIST test vector comprising: an MBIST test start instruction and a loop query instruction; the loop query instruction being configured to perform a reading operation on an MBIST state flag once in each loop, and not interrupting the execution of the test vector after reading a valid level; determining a single execution duration of a single loop query based on a hardware clock of ATE and a fixed vector row number corresponding to the loop query instruction; starting to execute the MBIST test vector based on the MBIST test start instruction, and counting the number of queries of the MBIST state flag in a valid level after the test is completed; and multiplying the number of queries by the single execution duration to determine the MBIST test time, so that the method can improve the measurement accuracy of the MBIST test time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of chip testing technology, and more specifically, to a method, apparatus, electronic device, and medium for obtaining the MBIST test time of a memory chip. Background Technology

[0002] In the production and testing process of memory chips, MBIST testing is required on the memory array inside the chip to screen for defective chips. MBIST test time (i.e., the time elapsed from the start of MBIST test to its completion) is a key parameter in chip testing.

[0003] Currently, there are two main methods for obtaining MBIST test time: First, repeatedly poll the MBIST busy flag (mbist_busy bit) in the chip status register using the ATE software program, and calculate the MBIST test time in combination with the ATE system timestamp. This method has the following problems: it mainly relies on the ATE test system timestamp, cannot accurately obtain MBIST_TEST_TIME, and includes the execution time of ATE vectors, ATE instructions, and software logic, resulting in insufficient software timing accuracy; the MBIST start and end signals (mbist_busy bit high and low changes) are not synchronized with ATE timing; and the execution process also depends on the CPU response speed.

[0004] Second: The method of measuring the pulse width of the trigger pin based on the ATE hardware timing unit utilizes the ATE's TMU (Time Measurement Unit, high-precision time measurement unit) hardware, Pattern MicroInstruction, and auxiliary test trigger pin to construct a pulse width to simulate the MBIST test process and obtain the MBIST test time. However, when implementing multi-site simultaneous testing, it will be limited by the ATE's hardware resources. For example, if multiple site test resources share the same TMU or the same MATCH resource, then the sites with shared resources need to be tested serially, which also requires additional ATE system hardware resources. Summary of the Invention

[0005] In view of this, the purpose of this application is to provide a method, apparatus, electronic device and medium for obtaining the MBIST test time of a memory chip, which can improve the measurement accuracy of the MBIST test time and overcome the hardware resource limitations of ATE to achieve multi-site simultaneous testing.

[0006] This application provides a method for obtaining the MBIST test time of a memory chip, the method comprising: Construct an MBIST test vector; the MBIST test vector includes: an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met; Based on the hardware clock of ATE and the fixed number of vector rows corresponding to the loop query instruction, the single execution time of a single loop query is determined. The MBIST test vector is executed based on the MBIST test start command, and the number of queries in which the MBIST status flag is at a valid level after the test is completed is counted. Multiply the number of queries by the duration of a single execution to determine the MBIST test time of the storage chip.

[0007] In some embodiments, the method for obtaining the MBIST test time of a memory chip, determining the single execution duration of a single loop query based on the ATE hardware clock and the fixed vector row number corresponding to the loop query instruction includes: Obtain the current test clock cycle of the hardware clock of the ATE; Count the number of fixed vector rows corresponding to the loop query instruction; The product of the current test clock cycle and the fixed number of vector rows is used as the single execution duration for executing a single loop query.

[0008] In some embodiments, in the method for obtaining the MBIST test time of a memory chip, the preset test stop condition includes: The preset maximum number of cycles is reached and / or the effective level of the MBIST status flag is flipped.

[0009] In some embodiments, in the method for obtaining the MBIST test time of a memory chip, the step of counting the number of times the MBIST status flag is at a valid level after the test is completed includes: During execution, the level state of the MBIST status flag bit read by the loop query instruction is stored in the Pattern memory of ATE; Enable the function of ATE to read data from Pattern memory, and after the test is completed, count the number of times the MBIST status flag is at a valid level to determine the number of queries.

[0010] In some embodiments, the method for obtaining the MBIST test time of a memory chip further includes: The polling timeout is calculated based on the single execution duration and the preset maximum number of loop queries; The real-time MBIST test time is determined based on the number of queries in real-time statistics, and the real-time MBIST test time is compared with the polling timeout time. If the real-time MBIST test time is greater than or equal to the polling timeout time, the MBIST test of the corresponding memory chip is determined to have timed out, and the test is completed.

[0011] In some embodiments, the method for obtaining the MBIST test time of a memory chip further includes: By enabling the function of ATE to read data from Pattern memory, the level state of the MBIST status flag is automatically read and determined each time the loop query instruction is executed; When the level is active, the test is considered incomplete. The test is considered complete when the level state flips from an active level to an inactive level.

[0012] In some embodiments, the method for obtaining the MBIST test time of a memory chip further includes: The ATE has multiple test stations targeting multiple different memory chips, and executes the MBIST test vector of the test station simultaneously and independently, independently counting the number of queries for the test station, and obtaining the MBIST test time of the memory chip corresponding to the test station.

[0013] In some embodiments, an apparatus for obtaining the MBIST test time of a memory chip is also provided, the apparatus comprising: A construction module is used to construct an MBIST test vector; the MBIST test vector includes an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met; The first determining module is used to determine the single execution duration of a single loop query based on the hardware clock of the ATE and the fixed vector row number corresponding to the loop query instruction. The statistics module is used to start executing the MBIST test vector based on the MBIST test start command, and to count the number of queries when the MBIST status flag is at a valid level after the test is completed; The second determining module is used to multiply the number of queries by the duration of a single execution to determine the MBIST test time of the storage chip.

[0014] In some embodiments, an electronic device is also provided, the electronic device including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor communicating with the memory via the bus when the electronic device is running, and the steps of the method for obtaining the MBIST test time of the memory chip being executed by the processor when the machine-readable instructions are executed.

[0015] In some embodiments, a computer-readable storage medium is also provided, on which a computer program is stored, which, when executed by a processor, performs the steps of the method for obtaining the MBIST test time of a memory chip.

[0016] This application provides a method, apparatus, electronic device, and medium for obtaining the MBIST test time of a memory chip. The method constructs an MBIST test vector. The MBIST test vector includes an MBIST test start instruction and a loop query instruction. The loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until a preset stop test condition is met. The execution duration of a single loop query is determined based on the ATE hardware clock and the fixed vector row number corresponding to the loop query instruction. The MBIST test vector is started based on the MBIST test start instruction, and the MBIST value is statistically analyzed after the test is completed. The number of queries with the status flag at a valid level is multiplied by the single execution duration to determine the MBIST test time of the storage chip. This method abandons the software timestamp timing method and directly uses the ATE hardware clock and a fixed number of vector rows to calculate the single query duration. The test time is calculated by automatically counting the number of queries with the flag at a valid level. The entire process is without software interruption or CPU response intervention, completely eliminating software execution delay and system response error. The measurement accuracy can reach the nanosecond level of the ATE hardware clock. It only relies on the Pattern memory read function of the ATE standard and does not occupy scarce shared resources such as TMU and Match. Each test station can independently and synchronously execute this method, eliminating resource bottlenecks, significantly improving the efficiency of multi-station simultaneous testing, and effectively reducing the testing cost of a single chip. Attached Figure Description

[0017] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart of the method for obtaining the MBIST test time of a memory chip according to an embodiment of this application is shown; Figure 2 A flowchart of the method for determining the single execution time of a single loop query according to an embodiment of this application is shown; Figure 3 This document illustrates a flowchart of a method for counting the number of queries in which the MBIST status flag is at a valid level after a statistical test is completed, as described in an embodiment of this application. Figure 4 Another flowchart of the method for obtaining the MBIST test time of a memory chip according to an embodiment of this application is shown; Figure 5 A schematic diagram of the structure of the apparatus for obtaining the MBIST test time of a memory chip according to an embodiment of this application is shown; Figure 6 A schematic diagram of the structure of the electronic device described in an embodiment of this application is shown. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.

[0020] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0021] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.

[0022] In the production and testing process of memory chips, MBIST testing is required on the memory array inside the chip to screen for defective chips. MBIST test time (i.e., the time elapsed from the start of MBIST test to its completion) is a key parameter in chip testing.

[0023] Currently, there are two main methods for obtaining MBIST test time: First, repeatedly poll the MBIST busy flag (mbist_busy bit) in the chip status register using the ATE software program, and calculate the MBIST test time in combination with the ATE system timestamp. This method has the following problems: it mainly relies on the ATE test system timestamp, cannot accurately obtain MBIST_TEST_TIME, and includes the execution time of ATE vectors, ATE instructions, and software logic, resulting in insufficient software timing accuracy; the MBIST start and end signals (mbist_busy bit high and low changes) are not synchronized with ATE timing; and the execution process also depends on the CPU response speed.

[0024] Second: The method of measuring the pulse width of the trigger pin based on the ATE hardware timing unit utilizes the ATE's TMU (Time Measurement Unit, high-precision time measurement unit) hardware, Pattern MicroInstruction, and auxiliary test trigger pin to construct a pulse width to simulate the MBIST test process and obtain the MBIST test time. However, when implementing multi-site simultaneous testing, it will be limited by the ATE's hardware resources. For example, if multiple site test resources share the same TMU or the same MATCH resource, then the sites with shared resources need to be tested serially, which also requires additional ATE system hardware resources.

[0025] Based on this, this application provides a method, apparatus, electronic device, and medium for obtaining the MBIST test time of a memory chip. The method constructs an MBIST test vector; the MBIST test vector includes an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until a preset stop test condition is met; the single execution duration of a single loop query is determined based on the hardware clock of the ATE and the fixed vector row number corresponding to the loop query instruction; the MBIST test vector is started based on the MBIST test start instruction, and the MBIST status flag bit is counted after the test is completed. The MBIST test time of the storage chip is determined by multiplying the number of queries when the flag bit is at an active level by the single execution duration. This method abandons the software timestamp timing method and directly uses the ATE hardware clock and a fixed number of vector rows to calculate the single query duration. The test time is calculated by automatically counting the number of queries when the flag bit is at an active level. The entire process is free of software interruption and CPU response intervention, completely eliminating software execution delay and system response error. The measurement accuracy can reach the nanosecond level of the ATE hardware clock. It only relies on the Pattern memory read function of the ATE standard and does not occupy scarce shared resources such as TMU and Match. Each test station can independently and synchronously execute this method, eliminating resource bottlenecks and significantly improving the efficiency of multi-station simultaneous testing, effectively reducing the single-chip testing cost.

[0026] Please refer to Figure 1 , Figure 1 A flowchart illustrating the method for obtaining the MBIST test time of a memory chip according to an embodiment of this application is shown; as follows: Figure 1 As shown, the method includes the following steps S101-S104: S101. Construct the MBIST test vector; the MBIST test vector includes: an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met. S102. Based on the hardware clock of ATE and the fixed vector row number corresponding to the loop query instruction, determine the single execution time of a single loop query; S103. Start executing the MBIST test vector based on the MBIST test start command, and count the number of queries when the MBIST status flag is at a valid level after the test is completed; S104. Multiply the number of queries by the duration of a single execution to determine the MBIST test time of the storage chip.

[0027] In step S101, an MBIST test vector is constructed; the MBIST test vector includes an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met.

[0028] Constructing the MBIST test vector, i.e., constructing a complete Mbist_Test_Pattern: enabling MBIST testing + preset maximum polling number N times (timeout mechanism) to query the status register mbist_busy bit status (Pattern preset judgembist_busy bit is high).

[0029] The MBIST test start command is used to send a start signal to the memory chip, triggering the MBIST test of the memory chip.

[0030] The loop query instruction is configured to perform a read operation on the mbist_busy bit (MBIST status flag) in the memory chip status register once in each loop, and not interrupt the execution of the test vector after reading a valid level indicating that the test is not completed, until the preset stop test condition is met.

[0031] In some embodiments, the preset test stop condition includes: The preset maximum number of cycles is reached and / or the effective level of the MBIST status flag is flipped.

[0032] In other words, the preset stop test conditions include: reaching the preset maximum number of cycles N, and / or the effective level of the mbist_busy bit (MBIST status flag) flipping.

[0033] Specifically, the loop polling instruction forms a loop body in Mbist_Test_Pattern (MBIST test vector), which continuously executes the polling until the preset maximum number of loops N (timeout mechanism) is reached, or the mbist_busy bit (MBIST status flag) is detected to have flipped from a valid level indicating that the test is not completed to an invalid level indicating that the test is completed.

[0034] For example, the mbist_busy bit (MBIST status flag) is set to active high. When the mbist_busy bit (MBIST status flag) is actually read as high, the test is considered to continue; when it is actually read as low, the test is considered to be complete.

[0035] In step S102, the execution time of a single loop query is determined based on the hardware clock of the ATE and the fixed number of vector rows corresponding to the loop query instruction.

[0036] Please refer to Figure 2 The determination of the single execution duration of a single loop query based on the ATE-based hardware clock and the fixed vector row number corresponding to the loop query instruction includes the following steps S201-S203: S201. Obtain the current test clock cycle of the hardware clock of the ATE; S202. Count the number of fixed vector rows corresponding to the loop query instruction; S203. The product of the current test clock cycle and the fixed number of vector rows is used as the single execution duration for executing a single loop query.

[0037] In other words, based on the hardware clock of the ATE (Automatic Test Equipment) and the fixed number of vector rows corresponding to the loop query instruction, the single execution time (Single cycle_time) for executing a single loop query is determined.

[0038] The fixed number of vector rows corresponding to the loop query instruction is determined when constructing Mbist_Test_Pattern (MBIST test vector) and remains fixed during the testing process.

[0039] The product of the current test clock period (Test_clock_period) and the fixed vector row number pat (fixed vector row number) is used as the single execution time of a single loop query, namely: Single_cycle_time = Test_clock_period (current test clock period) × pat row number (fixed vector row number).

[0040] The current test clock cycle is calculated based on Test_Freq (current test frequency). Since Test_Freq (current test frequency) is determined by a high-precision hardware clock and the number of pat rows (fixed vector row number) is determined by the test vector structure, both of which are fixed values, the Single_cycle_time (single execution duration) is a fixed and accurately calculable duration that can be obtained without actual measurement.

[0041] For example, if the current test clock cycle of the ATE (Automatic Test Equipment) corresponds to a time of 10ns (nanoseconds), and a single loop query occupies 4 rows of test vectors, then the execution time of a single execution is 4 × 10ns = 40ns, that is, a query of the mbist_busy bit (MBIST status flag bit) is completed every 40 nanoseconds.

[0042] In some embodiments, the method for obtaining the MBIST test time of a memory chip further includes: The polling timeout is calculated based on the single execution duration and the preset maximum number of loop queries; The real-time MBIST test time is determined based on the number of queries in real-time statistics, and the real-time MBIST test time is compared with the polling timeout time. If the real-time MBIST test time is greater than or equal to the polling timeout time, the MBIST test of the corresponding memory chip is determined to have timed out, and the test is completed.

[0043] Here, based on the single-cycle time (Single execution time) and the preset maximum number of loop queries N, the polling timeout (TIME_OUT) is calculated, i.e.: TIME_OUT (polling timeout) = Single_cycle_time (single execution duration) × N The TIME_OUT (polling timeout) is the maximum duration allowed for the MBIST (Memory Built-in Self-Test) test to continue. If no test completion signal is detected after this duration, it is determined that the test has timed out.

[0044] In step S103, the MBIST test vector is executed based on the MBIST test start instruction, and the number of queries in which the MBIST status flag is at a valid level after the test is completed is counted.

[0045] The MBIST test vector is executed based on the MBIST test start command, and the MBIST test is started. The Read data from Pattern memory function of ATE (Automatic Test Equipment) is enabled.

[0046] During the execution of MBIST_Test_Pattern (MBIST test vector), each time a loop query instruction is executed, the ATE (Automatic Test Equipment) automatically reads and judges the level state of the mbist_busy bit (MBIST status flag bit), and stores the judgment result in the ATE's Pattern memory. When the MBIST (Memory Built-in Self-Test) test is not completed, the mbist_busy bit (MBIST status flag) is high (valid level), which is consistent with the preset expected value. The ATE (Automatic Test Equipment) judges it as H pass (high level pass), and at this time it is stored as 1 in the Pattern memory. When the MBIST (Memory Built-in Self-Test) test is completed, the mbist_busy bit (MBIST status flag) goes low (invalid level), which is inconsistent with the preset expected value. The ATE (Automatic Test Equipment) judges it as L fail (low level failure), and at this time it is stored as 0 in the Pattern memory.

[0047] In some embodiments, the method for obtaining the MBIST test time of a memory chip further includes: By enabling the function of ATE to read data from Pattern memory, the level state of the MBIST status flag is automatically read and determined each time the loop query instruction is executed; When the level is active, the test is considered incomplete. The test is considered complete when the level state flips from an active level to an inactive level.

[0048] The test is considered complete when the test times out or the valid level of the MBIST status flag is toggled.

[0049] By enabling the Read data from Pattern memory function, the ATE (Automatic Test Equipment) hardware automatically reads, judges, and stores the level state each time the loop query instruction is executed, without software intervention, and there is no software execution delay or CPU scheduling overhead.

[0050] In some embodiments, please refer to Figure 3 The statistical test, after which the number of queries in which the MBIST status flag is at a valid level is completed, includes the following steps S301-S302: S301. During execution, the level state of the MBIST status flag bit read by the loop query instruction is stored in the Pattern memory of ATE. S302. Enable the function of ATE to read data from Pattern memory. After the test is completed, count the number of times the MBIST status flag is at a valid level to determine the number of queries.

[0051] The test site executes the Mbist_Test_Pattern (MBIST test vector), starts the MBIST (Memory Built-in Self-Test) test, and polls the status of the mbist_busy bit (MBIST status flag) in the status register.

[0052] During test vector execution, the pattern memory records the judgment result (1 or 0) of each loop query sequentially. After the test is completed, the ATE (Automatic Test Equipment)'s Read data from Pattern memory function is enabled to read all the judgment results stored in the pattern memory and count the number of times 1 appears, H_Toal_Num (query count), which is the number of queries when mbist_busybit (MBIST status flag) is at a valid level (indicating that the test is not complete).

[0053] In this embodiment, since the mbist_busy bit (MBIST status flag) remains high (valid level) after the test starts until it flips to low (invalid level) after the test is completed, the judgment results stored in the pattern memory present a pattern of consecutive 1s followed by consecutive 0s. The number of consecutive 1s after the MBIST (memory built-in self-test) test starts is the H_Toal_Num (query count).

[0054] Meanwhile, the real-time MBIST test time can be determined based on the real-time query count. The real-time MBIST test time is compared with the polling timeout time TIME_OUT. If the real-time MBIST test time is greater than or equal to the polling timeout time TIME_OUT, the MBIST (Memory Built-in Self-Test) test of the corresponding memory chip is determined to have timed out, and the test is completed.

[0055] In step S104, the number of queries is multiplied by the single execution duration to determine the MBIST test time of the storage chip.

[0056] Obtain the MBIST_TEST_TIME (MBIST test time) for each test site using the following formula: MBIST_TEST_TIME (MBIST test time) = Single_cycle_time (single execution time) × H_Toal_Num (number of queries) That is, multiply the number of queries H_Toal_Num (query count) when the mbist_busy bit (MBIST status flag) is at an active level by the fixed duration of a single cycle query Single_cycle_time (single execution time) to obtain the precise duration of the MBIST (Memory Built-in Self-Test) test from start to finish.

[0057] Since Single_cycle_time (single execution time) is determined based on the high-precision hardware clock of the ATE (Automatic Test Equipment), and H_Toal_Num (number of queries) is automatically counted by the ATE hardware, neither of which involves software latency or CPU response time, the calculated MBIST_TEST_TIME (MBIST test time) is the pure MBIST (Memory Built-in Self-Test) execution time, with an accuracy of nanoseconds.

[0058] It should be noted that in the method, the MBIST_TEST_TIME (MBIST test time) of each test site is compared with TIME_OUT (polling timeout time) to determine whether the MBIST (memory built-in self-test) test of the corresponding test site has timed out. If MBIST_TEST_TIME (MBIST test time) is equal to or greater than TIME_OUT (polling timeout time), in addition to triggering the test to stop, it also indicates that the preset maximum number of loops N has been reached and the test completion signal has not been detected, which may indicate that there is a chip failure or test abnormality.

[0059] In some embodiments, the method for obtaining the MBIST test time of a memory chip according to claim 1 further includes: The ATE has multiple test stations targeting multiple different memory chips, and executes the MBIST test vector of the test station simultaneously and independently, independently counting the number of queries for the test station, and obtaining the MBIST test time of the memory chip corresponding to the test station.

[0060] In other words, the multiple test sites of the ATE (Automatic Test Equipment) are designed for multiple different storage chips, and the Mbist_Test_Pattern (MBIST test vector) of the test site is executed simultaneously and independently. The H_Toal_Num (query count) of the test site is counted independently, and the MBIST_TEST_TIME (MBIST test time) of the storage chip corresponding to the test site is obtained.

[0061] Specifically, the Pattern memory of the ATE (Automatic Test Equipment) is allocated independently by test site, with each test site having its own independent storage space that is not shared or interfered with. All test sites receive the MBIST test start command at the same time, and their respective storage chips start the internal MBIST (Memory Built-in Self-Test) test in parallel. In each loop, the mbist_busy bit (MBIST status flag) of each test site is read sequentially, and the judgment result of each test site is written to its own independent Pattern memory storage area. After the test is completed, the Pattern memory of each test site is read, and the H_Toal_Num (number of queries) of each site is counted independently, and the MBIST_TEST_TIME (MBIST test time) of each site is calculated.

[0062] Since the method described in this application does not rely on the limited hardware resources of the ATE (Automatic Test Equipment) such as TMU (Time Measurement Unit), Trig Pin, and Match, and only uses the Pattern memory independently allocated to each test site, there is no serial testing bottleneck caused by hardware resource sharing. Multiple test sites can truly perform MBIST (Memory Built-in Self-Test) tests simultaneously, greatly improving test efficiency.

[0063] Please refer to Figure 4 , Figure 4 This paper illustrates another flowchart of the method for obtaining the MBIST test time of a memory chip according to an embodiment of this application; as shown. Figure 4 As shown, the method includes: Construct a complete Mbist_Test_Pattern (MBIST test vector): Enable MBIST testing + preset maximum polling count N (timeout mechanism); query the status of the mbist_busy bit in the status register (MBIST status flag bit) (Pattern presets judge mbist_busy bit to high); Determine the time for a single query of the mbist_busy bit (MBIST status flag): Single_Cycle_time (single execution duration) = Test_clock_period (current test clock cycle). pat (number of rows in a fixed vector); Determine TIME_OUT (polling timeout) = Single_Cycle_time (duration of a single execution). N (preset maximum number of polling times); Enable the ATE Read data from Pattern memory function. When the MBIST test is not completed, check for H pass (high level pass). At this time, the ATE's pattern memory is stored as 1. When the test is completed, check for L fail (low level failure). At this time, the ATE's pattern memory is stored as 0. The test site runs Mbist_Test_Pattern (MBIST test vector); Count the number of times 1 appears in the Pattern memory for each site, H_Total_Num (query count); Get the MBIST_TEST_TIME (MBIST test time) for each site (test site) = Single_Cycle_time (single execution duration). H_Total_Num (query count); Proceed to the judgment step to determine whether MBIST_TEST_TIME (MBIST test time) is equal to TIME_OUT (polling timeout). Yes, then the current site's MBIST (Memory Built-in Self-Test) test timed out.

[0064] Based on the same inventive concept, this application also provides an apparatus for obtaining the MBIST test time of a memory chip, corresponding to the method for obtaining the MBIST test time of the memory chip. Since the principle of the apparatus in this application is similar to the method for obtaining the MBIST test time of the memory chip described above, the implementation of the apparatus can refer to the implementation of the method, and the repeated parts will not be described again.

[0065] Please refer to Figure 5 , Figure 5 An apparatus for obtaining the MBIST test time of a memory chip according to an embodiment of this application is shown. The apparatus includes: The construction module 501 is used to construct the MBIST test vector; the MBIST test vector includes: MBIST test start instruction and loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met. The first determining module 502 is used to determine the single execution duration of a single loop query based on the hardware clock of the ATE and the fixed vector row number corresponding to the loop query instruction. The statistics module 503 is used to start executing the MBIST test vector based on the MBIST test start command, and to count the number of queries when the MBIST status flag is at a valid level after the test is completed; The second determining module 504 is used to multiply the number of queries by the single execution duration to determine the MBIST test time of the storage chip.

[0066] In some embodiments, in the apparatus for obtaining the MBIST test time of a memory chip, the first determining module, when determining the single execution duration of a single loop query based on the hardware clock of the ATE and the fixed vector row number corresponding to the loop query instruction, is specifically used for: Obtain the current test clock cycle of the hardware clock of the ATE; Count the number of fixed vector rows corresponding to the loop query instruction; The product of the current test clock cycle and the fixed number of vector rows is used as the single execution duration for executing a single loop query.

[0067] In some embodiments, in the apparatus for obtaining the MBIST test time of a memory chip, the preset test stop condition includes: The preset maximum number of cycles is reached and / or the effective level of the MBIST status flag is flipped.

[0068] In some embodiments, in the apparatus for obtaining the MBIST test time of a memory chip, the statistics module, when counting the number of queries in which the MBIST status flag is at a valid level after the test is completed, is specifically used for: During execution, the level state of the MBIST status flag bit read by the loop query instruction is stored in the Pattern memory of ATE; Enable the function of ATE to read data from Pattern memory, and after the test is completed, count the number of times the MBIST status flag is at a valid level to determine the number of queries.

[0069] In some embodiments, the apparatus for obtaining the MBIST test time of a memory chip further includes: The comparison module is used to calculate the polling timeout based on the single execution duration and the preset maximum number of loop queries; The real-time MBIST test time is determined based on the number of queries in real-time statistics, and the real-time MBIST test time is compared with the polling timeout time. If the real-time MBIST test time is greater than or equal to the polling timeout time, the MBIST test of the corresponding memory chip is determined to have timed out, and the test is completed.

[0070] In some embodiments, the apparatus for obtaining the MBIST test time of a memory chip further includes: The determination module is used to automatically read and determine the level state of the MBIST status flag bit each time the loop query instruction is executed by enabling the function of ATE to read data from the Pattern memory. When the level is active, the test is considered incomplete. The test is considered complete when the level state flips from an active level to an inactive level.

[0071] In some embodiments, in the apparatus for obtaining the MBIST test time of a memory chip, the multiple test stations of the ATE target multiple different memory chips, and simultaneously and independently execute the MBIST test vector of the test station, independently count the number of queries of the test station, and obtain the MBIST test time of the memory chip corresponding to the test station.

[0072] Based on the same inventive concept, this application also provides an electronic device corresponding to the method for obtaining the MBIST test time of a memory chip. Since the principle of the electronic device in this application is similar to the method for obtaining the MBIST test time of a memory chip described above, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be described again.

[0073] Please refer to Figure 6 , Figure 6 A schematic diagram of the structure of the electronic device according to an embodiment of this application is shown. The electronic device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the method for obtaining the MBIST test time of the memory chip are performed.

[0074] Based on the same inventive concept, this application also provides a computer-readable storage medium corresponding to the method for obtaining the MBIST test time of a memory chip. Since the principle of the computer-readable storage medium in this application is similar to the method for obtaining the MBIST test time of a memory chip described above, the implementation of the computer-readable storage medium can refer to the implementation of the method, and the repeated parts will not be described again.

[0075] A computer-readable storage medium storing a computer program that, when executed by a processor, performs the steps of the method for obtaining the MBIST test time of a memory chip.

[0076] It should be understood that the disclosed apparatus and methods can be implemented in other ways, as illustrated in the embodiments provided in this application. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and other division methods may be used in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the displayed or discussed mutual couplings, direct couplings, or communication connections may be through some communication interfaces. Indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

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

[0078] In addition, the functional units in the embodiments provided in this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0079] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0080] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0081] Finally, it should be noted that the above-described embodiments are merely specific implementations of this application, used to illustrate the technical solutions of this application, and not to limit them. The protection scope of this application is not limited thereto. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features, within the scope of the technology disclosed in this application; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application. All should be covered within the protection scope of this application. Therefore, the protection scope of this application should be determined by the protection scope of the claims.

Claims

1. A method for obtaining the MBIST test time of a memory chip, characterized in that: The method includes: Construct an MBIST test vector; the MBIST test vector includes: an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met; Based on the hardware clock of ATE and the fixed number of vector rows corresponding to the loop query instruction, the single execution time of a single loop query is determined. The MBIST test vector is executed based on the MBIST test start command, and the number of queries in which the MBIST status flag is at a valid level after the test is completed is counted. Multiply the number of queries by the duration of a single execution to determine the MBIST test time of the storage chip.

2. The method for obtaining the MBIST test time of a memory chip according to claim 1, characterized in that, The hardware clock based on the ATE and the fixed vector row number corresponding to the loop query instruction determine the single execution duration of a single loop query, including: Obtain the current test clock cycle of the hardware clock of the ATE; Count the number of fixed vector rows corresponding to the loop query instruction; The product of the current test clock cycle and the fixed number of vector rows is used as the single execution duration for executing a single loop query.

3. The method for obtaining the MBIST test time of a memory chip according to claim 1, characterized in that, The preset stop test conditions include: The preset maximum number of cycles is reached and / or the effective level of the MBIST status flag is flipped.

4. The method for obtaining the MBIST test time of a memory chip according to claim 1, characterized in that, The number of queries in which the MBIST status flag is at a valid level after the statistical test is completed includes: During execution, the level state of the MBIST status flag bit read by the loop query instruction is stored in the Pattern memory of ATE; Enable the function of ATE to read data from Pattern memory, and after the test is completed, count the number of times the MBIST status flag is at a valid level to determine the number of queries.

5. The method for obtaining the MBIST test time of a memory chip according to claim 3, characterized in that, The method further includes: The polling timeout is calculated based on the single execution duration and the preset maximum number of loop queries; The real-time MBIST test time is determined based on the number of queries in real-time statistics, and the real-time MBIST test time is compared with the polling timeout time. If the real-time MBIST test time is greater than or equal to the polling timeout time, the MBIST test of the corresponding memory chip is determined to have timed out, and the test is completed.

6. The method for obtaining the MBIST test time of a memory chip according to claim 3, characterized in that, The method further includes: By enabling the function of ATE to read data from Pattern memory, the level state of the MBIST status flag is automatically read and determined each time the loop query instruction is executed; When the level is active, the test is considered incomplete. The test is considered complete when the level state flips from an active level to an inactive level.

7. The method for obtaining the MBIST test time of a memory chip according to claim 1, characterized in that, The method further includes: The ATE has multiple test stations targeting multiple different memory chips, and executes the MBIST test vector of the test station simultaneously and independently, independently counting the number of queries for the test station, and obtaining the MBIST test time of the memory chip corresponding to the test station.

8. An apparatus for obtaining the MBIST test time of a memory chip, characterized in that, The device includes: A construction module is used to construct an MBIST test vector; the MBIST test vector includes an MBIST test start instruction and a loop query instruction; the loop query instruction is configured to perform a read operation on the MBIST status flag bit once in each loop, and the execution of the test vector is not interrupted after the valid level is read, until the preset stop test condition is met; The first determining module is used to determine the single execution duration of a single loop query based on the hardware clock of the ATE and the fixed vector row number corresponding to the loop query instruction. The statistics module is used to start executing the MBIST test vector based on the MBIST test start command, and to count the number of queries when the MBIST status flag is at a valid level after the test is completed; The second determining module is used to multiply the number of queries by the duration of a single execution to determine the MBIST test time of the storage chip.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the method for obtaining the MBIST test time of a memory chip as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method for obtaining the MBIST test time of a memory chip as described in any one of claims 1 to 7.