Method, device, equipment and medium for improving SSD testability coverage
By modeling and analyzing the untestable points of SSD, and using specific circuit components to process, the problem of low testability coverage of SSD is solved, and the test efficiency and accuracy are significantly improved.
Patent Information
- Application Number
- CN202010719153.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-23
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-07-23
AI Technical Summary
The testability coverage of SSDs in the existing technology is low, and manual analysis of untestable points is inefficient, resulting in insufficient detection efficiency and accuracy, especially when the design scale is large.
By establishing the pin description of the model library, the preprocessing tool analyzes the types and AU0/AU.1 conditions of the points that are considered untestable, and determines whether they can be converted into testable points. The driver unit, inverter, AND gate, OR gate, two-input selector, register with reset, register with set, clock gating unit and simulated module are processed.
It improves the testability coverage of SSD, greatly improves testing efficiency and accuracy, and converts points considered untestable by tools into testable points.
Smart Images

Figure CN111858216B
Abstract
Description
Technical Field
[0001] The present invention relates to a solid state drive, and more specifically to a method, device, equipment and medium for improving the testability coverage of a solid state drive (SSD). Background Art
[0002] SSD-Solid State Drives (Solid State Drives) SOC (System on Chip) chip, DFT (Design for Testability) mainly detects deviations in the chip manufacturing process that affect the normal function of the chip. Generally, the internal digital logic is tested by inserting a scanchain, and then generating test items through a dedicated APTG (automatic test pattern generation: automatic test item generation) tool. In order to find as many problems as possible, there will be coverage requirements for the internal digital logic, and generally the higher the requirement, the better.
[0003] However, currently, untestable points are usually analyzed manually to see whether they can be converted into testable points. Considering the increasing scale of design, there are usually tens or even millions of ATPG untestable points. If manual analysis is used, the efficiency is low. Summary of the invention
[0004] The purpose of the present invention is to overcome the deficiencies of the prior art and provide a method, device, equipment and medium for improving the testability coverage of SSDs.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] In a first aspect, a method for improving SSD testability coverage, the method comprising:
[0007] Create pin descriptions for the model library;
[0008] Preprocess the points that the tool considers untestable and find out the obvious points that the tool considers untestable;
[0009] Analyze the points that the tool finds to be untestable to find out which points can be made testable.
[0010] Its further technical solution is: the pin description includes a driving unit, an inverter, an AND gate, an OR gate, a two-input selector, a register with a reset, a register with a set, a clock gating unit and an analog module.
[0011] A further technical solution is: the step of analyzing the points that the tool finds out are not testable to find out the points that can be converted into testable points specifically includes the following steps:
[0012] Determine the pin description type of the point that the tool considers untestable after preprocessing;
[0013] Determine the corresponding AU0 and / or AU.1 according to the pin description type;
[0014] Determine whether it can be converted into a testable point based on the status of AU0 and / or AU.1.
[0015] In a second aspect, a device for improving the testability coverage of an SSD, the device comprising a building unit, a preprocessing unit, and an analyzing unit;
[0016] The establishing unit establishes the pin description of the model library;
[0017] The preprocessing unit is used to preprocess the points that the tool considers untestable, and find out the obvious points that the tool considers untestable;
[0018] The analysis unit is used to analyze the points that are considered untestable by the found tool to find out the points that can be converted into testable points.
[0019] Its further technical solution is: the pin description includes a driving unit, an inverter, an AND gate, an OR gate, a two-input selector, a register with a reset, a register with a set, a clock gating unit and an analog module.
[0020] Its further technical solution is: the analysis unit includes a first judgment module, a second judgment module and a determination module;
[0021] The first determination module is used to determine the pin description type of the point that the tool considers untestable after preprocessing;
[0022] The second judgment module is used to judge the corresponding AU0 and / or AU.1 according to the pin description type;
[0023] The determination module is used to determine whether a point can be converted into a testable point according to the conditions of AU0 and / or AU.1.
[0024] In a third aspect, a computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method steps for improving the testability coverage of SSD when executing the computer program.
[0025] In a fourth aspect, a storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method steps for improving the testability coverage of an SSD as described above.
[0026] The beneficial effects of the present invention compared with the prior art are: the method for improving the testability coverage of SSD provided by the present invention, by modeling and analyzing the points that the tool considers to be untestable, turns some points that the tool considers to be untestable into testable points, thereby improving the coverage and greatly improving the test efficiency and accuracy.
[0027] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 The process of a specific embodiment of the method for improving the testability coverage of SSD of the present invention Figure 1 ;
[0029] Figure 2 The process of a specific embodiment of the method for improving the testability coverage of SSD of the present invention Figure 2 ;
[0030] Figure 3 A schematic diagram of a specific embodiment of the device for improving the testability coverage of SSDs according to the present invention Figure 1 ;
[0031] Figure 4 A schematic diagram of a specific embodiment of the device for improving the testability coverage of SSDs according to the present invention Figure 2 ;
[0032] Figure 5 A schematic block diagram of a computer device according to the present invention;
[0033] Figure 6 The state flow chart of the present invention for analyzing the AU point (the point that the tool considers untestable);
[0034] Figure 7 This is an example diagram of a point that cannot be converted into a testable point in the present invention;
[0035] Figure 8 This is an example of test point processing of the present invention. Figure 1 ;
[0036] Fig. 9 This is an example of test point processing of the present invention. Figure 2 ;
[0037] Fig.10 This is an example of test point processing of the present invention. Figure 3 . DETAILED DESCRIPTION
[0038] In order to more fully understand the technical content of the present invention, the technical solution of the present invention is further introduced and illustrated in conjunction with specific embodiments below, but is not limited thereto.
[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0040] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0041] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0042] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0043] The present invention provides a method for improving the testability coverage of SSDs. By modeling and analyzing the points that the tool considers untestable, some points that the tool considers untestable become testable points, thereby improving the coverage and greatly improving the test efficiency and accuracy. For details, please refer to Figure 1 , the method comprises the following steps:
[0044] S10, establish the pin description of the model library;
[0045] S20, pre-process the points that the tool considers untestable (AU-APTG Utestable, abbreviated as AU) to find out the obvious points that the tool considers untestable;
[0046] S30. Analyze the points that the tool finds out are not testable, to find out the points that can be converted into testable points.
[0047] Specifically, the pin description includes the driving unit (buf), the inverter (inv), the AND gate (and), the OR gate (or), the two-input selector (mux), the register with reset (FF.RD), the register with set (FF.SD), the clock gating unit (clkgate) and the analog module (Analog).
[0048] It should be noted that AU-APTG Utestable is a point that the tool considers untestable, which will affect the test coverage. AU.0 means that the tool considers that if a fault occurs in the production process here and the fault is forced to be pulled low, the tool cannot test this fault through the atpg test vector. AU.1 means that the tool considers that if a fault occurs in the production process here and the fault is forced to be pulled high, the tool cannot test this fault through the atpg test vector. Simply put, AU.0 means that 0 cannot be tested, and AU.1 means that 1 cannot be tested.
[0049] AU point output, first analyze whether it is caused by itself (generally when there is only one AU, it is caused by itself), select the input AU point, and check the AU status of the drv cell. If the drv cell (referring to the specific pin, which device drives it) can test FF, then this AU point cannot become a testable point. Figure 7 , AND.A1 is driven by FF drive, AND.A2 is driven by 0, then AND.X will have AU.0, AND.A1 will have AU.0 / AU.1, query drv cell is FF, then the AU point of AND cannot be converted into a testable point.
[0050] In addition, the obvious unmeasurable points in step S20 include: all AU points related to FF.SD / RD; AU points of BUF / INV; and AU points of MUX.S.
[0051] For further information, please refer to Figure 2 Step S30 specifically includes the following steps:
[0052] S301, determining the pin description type of the point that the tool considers untestable after preprocessing;
[0053] S302, judging the corresponding AU0 and / or AU.1 according to the pin description type;
[0054] S303: Determine whether it can be converted into a testable point according to the conditions of AU0 and / or AU.1.
[0055] A device for improving the testability coverage of an SSD, the device comprising a building unit, a preprocessing unit and an analyzing unit;
[0056] For the specific analysis process, please refer to Figure 6 ,
[0057] After preprocessing, if the AU point is clkgate.en, check whether it is AU.0 and AU.1 at the same time. If it is, enter the drv cell testability analysis. If it is buf / inv, continue to track the drv cell of the previous level. If the output of the drvcell of the previous level is also AU.0 and AU.1, then this AU point can be processed at the output end of the drv cell to become a testable point. For the specific processing process, please refer to Figure 7 .
[0058] After preprocessing, if the AU point is MUX, check whether S selects end AU.0 or AU.1. If it is AU.0, select D0 for drv cell analysis. If it is AU.1, select D1 for drv cell analysis. If it is buf / inv, continue to track the drv cell of the previous level.
[0059] If the output of the previous level drv cell is also AU.0 and AU.1, then this AU point can be processed at the output end of the drv cell to become a testable point; for the specific processing process, please refer to Figure 8-10 .
[0060] After preprocessing, if the AU point is OR, check whether the output terminal is AU.1. If so, check which input terminal has AU.0 / AU.1 at the same time, and select this input terminal for drv cell analysis; if it is buf / inv, continue to track the drv cell of the previous level. If the output of the drv cell of the previous level is also AU.0 and AU.1, then this AU point can be processed at the output terminal of the drv cell to become a testable point; for the specific processing process, please refer to Figure 8-10 .
[0061] After the preprocessing, if the AU point is AND, check whether the output terminal is AU.0. If so, check the input terminal to see which one has AU.0 / AU.1 at the same time, and select this input terminal for drv cell analysis; if it is buf / inv, continue to track the drv cell of the previous level. If the output of the drv cell of the previous level is also AU.0 and AU.1, then this AU point can be processed at the output terminal of the drv cell to become a testable point; for the specific processing process, please refer to Figure 8-10 .
[0062] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0063] Corresponding to the above method for improving the testability coverage of SSD, the present invention also provides a device for improving the testability coverage of SSD. Figure 3 , the device comprises an establishing unit 1, a pre-processing unit 2 and an analyzing unit 3;
[0064] Establish unit 1 and create the pin description of the model library;
[0065] Preprocessing unit 2, used to preprocess the points that the tool considers untestable, and find out the obvious points that the tool considers untestable;
[0066] The analysis unit 3 is used to analyze the points that the tool finds out are considered untestable, so as to find out the points that can be converted into testable points.
[0067] For further information, please refer to Figure 4 , the analysis unit 3 includes a first judgment module 31, a second judgment module 32 and a determination module 33;
[0068] A first judgment module 31 is used to judge the pin description type of the point that the tool considers untestable after preprocessing;
[0069] A second judgment module 32 is used to judge the corresponding AU0 and / or AU.1 according to the pin description type;
[0070] The determination module 33 is used to determine whether it can be converted into a testable point according to the conditions of AU0 and / or AU.1.
[0071] like Figure 5 As shown, the present invention also provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the method steps for improving the testability coverage of the SSD as described above are implemented.
[0072] The computer device 700 may be a terminal or a server. The computer device 700 includes a processor 720 , a memory, and a network interface 750 connected via a system bus 710 , wherein the memory may include a non-volatile storage medium 730 and an internal memory 740 .
[0073] The non-volatile storage medium 730 may store an operating system 731 and a computer program 732. When the computer program 732 is executed, the processor 720 may execute any method for improving the testability coverage of the SSD.
[0074] The processor 720 is used to provide computing and control capabilities and support the operation of the entire computer device 700.
[0075] The internal memory 740 provides an environment for the operation of the computer program 732 in the non-volatile storage medium 730. When the computer program 732 is executed by the processor 720, the processor 720 can execute any method for improving the testability coverage of the SSD.
[0076] The network interface 750 is used for network communication, such as sending assigned tasks, etc. Those skilled in the art will appreciate that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 700 to which the solution of the present application is applied. The specific computer device 700 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. The processor 720 is used to run the program code stored in the memory to implement the following steps:
[0077] A method for improving SSD testability coverage, the method comprising:
[0078] Create pin descriptions for the model library;
[0079] Preprocess the points that the tool considers untestable and find out the obvious points that the tool considers untestable;
[0080] Analyze the points that the tool finds to be untestable to find out which points can be made testable.
[0081] Its further technical solution is: the pin description includes a driving unit, an inverter, an AND gate, an OR gate, a two-input selector, a register with a reset, a register with a set, a clock gating unit and an analog module.
[0082] A further technical solution is: the step of analyzing the points that the tool finds out are not testable to find out the points that can be converted into testable points specifically includes the following steps:
[0083] Determine the pin description type of the point that the tool considers untestable after preprocessing;
[0084] Determine the corresponding AU0 and / or AU.1 according to the pin description type;
[0085] Determine whether it can be converted into a testable point based on the status of AU0 and / or AU.1.
[0086] It should be understood that in the embodiment of the present application, the processor 720 may be a central processing unit (CPU), and the processor 720 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0087] Those skilled in the art will understand that Figure 5 The structure of the computer device 700 shown in the figure does not constitute a limitation on the computer device 700, and the computer device 700 may include more or less components than shown in the figure, or combine some components, or arrange the components differently.
[0088] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0089] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0090] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0091] In the embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0093] The above examples are only used to further illustrate the technical content of the present invention, so that readers can understand it more easily, but they do not mean that the implementation of the present invention is limited to this. Any technical extension or re-creation made according to the present invention is protected by the present invention. The protection scope of the present invention shall be subject to the claims.
Claims
1. A method for improving SSD testability coverage, characterized in that: The method comprises: Create pin descriptions for the model library; Preprocess the points that the tool considers untestable and find out the obvious points that the tool considers untestable; Analyze the points that the tool finds are not testable to find out which points can be turned into testable points; The step of analyzing the points that the tool finds out are not testable to find out the points that can be converted into testable points specifically includes the following steps: Determine the pin description type of the point that the tool considers untestable after preprocessing; Determine the corresponding AU0 and / or AU.1 according to the pin description type; Determine whether it can be converted into a testable point based on the status of AU0 and / or AU.
1.
2. The method for improving SSD testability coverage according to claim 1, characterized in that: The pin description includes a driving unit, an inverter, an AND gate, an OR gate, a two-input selector, a register with a reset, a register with a set, a clock gating unit and an analog module.
3. A device for improving the testability coverage of SSD, characterized in that: The device comprises a building unit, a pre-processing unit and an analyzing unit; The establishing unit establishes the pin description of the model library; The preprocessing unit is used to preprocess the points that the tool considers untestable, and find out the obvious points that the tool considers untestable; The analysis unit is used to analyze the points that the tool finds out are considered untestable, so as to find out the points that can be converted into testable points; The analysis unit includes a first judgment module, a second judgment module and a determination module; The first determination module is used to determine the pin description type of the point that the tool considers untestable after preprocessing; The second judgment module is used to judge the corresponding AU0 and / or AU.1 according to the pin description type; The determination module is used to determine whether a point can be converted into a testable point according to the conditions of AU0 and / or AU.
1.
4. The device for improving SSD testability coverage according to claim 3, characterized in that: The pin description includes a driving unit, an inverter, an AND gate, an OR gate, a two-input selector, a register with a reset, a register with a set, a clock gating unit and an analog module.
5. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method steps for improving the testability coverage of an SSD as claimed in any one of claims 1 to 2 are implemented.
6. A storage medium, characterized in that: The storage medium stores a computer program, and the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the method steps for improving the testability coverage of an SSD as claimed in any one of claims 1 to 2.
