A method for graphically scanning digital vector parameters

By using a graphical scanning method for digital vector parameters, parameter scanning is automatically completed and parameters are associated using intermediate variables. This solves the problems of low efficiency and poor reusability in digital vector parameter debugging, and achieves a highly efficient and accurate parameter debugging and testing solution with universality.

CN118501676BActive Publication Date: 2024-11-12NANJING MACROTEST SEMICON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410799214.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-11-12
Estimated Expiration
2044-06-20

AI Technical Summary

Technical Problem

In existing technologies, digital vector parameter debugging is inefficient, complex, and has poor reusability. It is prone to errors, especially when multiple parameters change in tandem, making it difficult to meet high-precision requirements.

Method used

A graphical scanning method for numerical vector parameters is adopted. The parameter scanning process is automatically completed through a parameter scanning tool, intermediate data is buffered and the parameter scanning results are plotted. The parameters are associated with intermediate variables and formulas, and a graphical configuration interface is provided to simplify multi-parameter debugging.

Benefits of technology

It improves the efficiency and accuracy of digital vector parameter debugging, reduces the possibility of operational errors, enhances the versatility and reusability of test schemes, and simplifies the multi-parameter debugging process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118501676B_ABST
    Figure CN118501676B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for graphically scanning digital vector parameters, including the following specific steps: after confirming that the digital circuit under test is correctly connected, running the test program, ensuring that each pin of the digital circuit under test is correctly connected to the PE module, and the power pin is correctly powered on, opening the digital vector parameter scanning tool, configuring the scanning parameters, the parameter scanning tool automatically completes the parameter scanning process, buffers the intermediate data, and plots the parameter scanning results of all dimensions according to the buffered intermediate data, and obtains the digital vector parameter value range according to the scanning results, and the debugging ends. The present invention uses a value algorithm within the scanning range to replace the original method of using a fixed constant to assign values ​​to vector parameters. The advantage of this is that all parameter values ​​that meet the correct operation of the vector can be obtained within the target range at one time according to the accuracy requirements, eliminating the trouble of repeatedly modifying the test program and the dependence on auxiliary tools such as oscilloscopes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of scanning digital vector parameters, and in particular to a method for graphically scanning digital vector parameters. Background Art

[0002] The original scheme can only use fixed constants for digital vector parameters. Once the digital vector operation results in a fail, it is necessary to use an oscilloscope to view the digital signal waveform to determine whether the corresponding vector parameters need to be adjusted, and then modify the test program, reset the vector parameter value, and run the vector file. This process requires repeated attempts to determine an available value for the vector parameter. If the accuracy requirements for the vector parameter are high, the debugging efficiency will be significantly reduced.

[0003] When debugging the need for multiple parameter linkage changes, the original solution needs to modify each related parameter in the test program in turn. For example, when debugging needs to ensure that the high and low level difference of the digital signals of the two pins remains unchanged and the need to find a high level value that can allow the digital signal to run stably, each time the vector DriveHi value is modified in the test program, the DriveLow value needs to be modified synchronously. This modification is prone to errors when there are many parameters involved, and the maintainability of the test program will become very poor. For different DUTs and digital vector files, the test program needs to be rewritten according to the debugging requirements, so the test solution has poor reusability. Summary of the invention

[0004] The purpose of the present invention is to provide a method for graphically scanning digital vector parameters to solve the problems raised in the above background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: a method for graphically scanning digital vector parameters, comprising the following specific steps:

[0006] S1: After confirming that the digital circuit under test is connected correctly, run the test program;

[0007] S2: In the test procedure, ensure that each pin of the digital circuit under test is correctly connected to the PE module, and the power pin is correctly powered on;

[0008] S3: Open the digital vector parameter scanning tool and configure the scanning parameters;

[0009] S4: The parameter sweep tool automatically completes the parameter sweep process and buffers the intermediate data:

[0010] S5: Draw the parameter scanning results of all dimensions based on the cached intermediate data;

[0011] S6: Obtain the value range of the digital vector parameter according to the scanning results, and the debugging is completed.

[0012] Preferably, the parameter scanning tool in S4 automatically completes the parameter scanning process including the following specific steps:

[0013] S4.1: Determine whether the current dimension parameter scan is completed:

[0014] S4.2: If not completed, obtain the next iteration value according to the configured scanning algorithm:

[0015] S4.3: Get all Pins and TimeSets that need to be modified:

[0016] S4.4: If the scan parameter type is Level, modify the level value:

[0017] S4.5: If the scan parameter type is Edge / Period, modify the timing value:

[0018] S4.6: If the scan parameter type is AC Spec, modify all timing values:

[0019] S4.7: If the scan parameter type is DC Spec, modify all level values:

[0020] S4.8: If the scan parameter type is Global Spec, modify all timing values ​​and level values:

[0021] S4.9: Run numeric vectors:

[0022] S4.10: Record the results of the current operation:

[0023] S4.11: Determine whether the parameter scan of all dimensions is completed. If not, select the next dimension.

[0024] Preferably, the defined digital vector parameters in S3 include Type target parameter type, Name target parameter name and Parameter Range parameter range, the Type target parameter type content includes Level level, Edge edge timing, Period period, DC Spec is used for intermediate variables of level value, AC Spec is used for intermediate variables of timing value, GlobalSpec is used for intermediate variables of both level value and timing value, after the Name target parameter name selects Type, the specific debugging parameters are determined by Name, when Type=Level, Name selects DriveHi, DriveLow, CompareHi and CompareLow, when Type=Edge, Name selects DriveOn, DriveData, DriveReturn, DriveOff and Open, the ParameterRange parameter range includes the starting point, end point, number of steps and step size of the parameter, and the steps are as follows Figure 3 In the numbers 1, 2, 3, 4 and 5, step number 1 is the target parameter name, step number 2 is to define the parameter range, step number 3 is the parameter value algorithm, step number 4 is the target Pin that needs to take effect, and step number 5 is the start or end.

[0025] Preferably, after recording the result of the current operation, S4.10 returns to S4.1 to determine whether the parameter scan of the current dimension is completed, and then determines whether the parameter scan of the current dimension is completed. If not, repeat step S4.2. If completed, proceed to step S4.11 to determine whether the parameter scan of all dimensions is completed. If not, select the next dimension and return to S4.1 again to determine whether the parameter scan of the current dimension is completed. When the parameter scan of all dimensions is completed, enter step S5 to draw the results.

[0026] Preferably, the scanning algorithm in S4.2 includes Algorithm, Pins and TimeSet, and the Algorithm parameter value-taking algorithm determines the specific value of the target parameter in combination with the starting point, ending point, number of steps and step size of the parameter. The Algorithm parameter value-taking algorithm includes but is not limited to one or more of Binary binary division, Linear linear division, Jump linear division and List list. The next point of the Binary binary division is half of the starting point and the ending point, and the ending point is updated. The next point of the Linear linear division is the starting point plus the step size. The Jump linear division ignores the iteration value specified in the Argument input box, and the List list only uses the value in the Argument input box as the iteration value.

[0027] Preferably, the target Pins for which the Pins need to be effective are all the Pins used by the vector file by default, and the timing for which the TimeSet needs to be effective is the general term for Edge and Period time parameters, which are all the TimeSets used by the vector file by default.

[0028] Preferably, the digital signal generated by the digital vector on the input Pin of the DUT is a square wave with a period of 1us. The digital vector is expected to detect a high level at 500ns of each period on the output Pin of the DUT. The current test goal is to adjust the starting time of the high level of the input signal and the impact on the test vector results. The target parameter DriveData sets the starting point to 250ns, the end point to 650ns, the step length to 50ns, and the value-taking algorithm to Linear. During the parameter scanning process, DriveData will start from 250ns and increase by 50ns at a time, and re-execute the digital vector file. The duration of the high level of the digital signal generated each time in each period decreases successively. When DriveData is greater than 500ns, the output Pin can only detect a low level at 500ns, and the vector result is fail.

[0029] Preferably, the input Pin digital signal is always at a high level for a quarter of a cycle in each cycle. To meet this requirement, an AC Spec intermediate variable named BaseEdge can be defined, and DriveData and DriveReturn can be associated with BaseEdge using the following formula:

[0030]

[0031]

[0032] Then, set the target parameter to BaseEdge and keep the rest of the configuration unchanged to meet the debugging requirements.

[0033] Preferably, the step S5 of drawing the parameter scanning results of all dimensions involves visualization of multidimensional data, using software scatter plot matrix and multidimensional data dimension reduction visualization software.

[0034] Technical effects and advantages of the present invention:

[0035] (1) The present invention uses a value-taking algorithm within the scanning range to replace the original method of using fixed constants to assign values ​​to vector parameters. The advantage of this is that all parameter values ​​that meet the correct operation of the vector can be obtained within the target range at one time according to the accuracy requirements, eliminating the trouble of repeatedly modifying the test program and the reliance on auxiliary tools such as oscilloscopes.

[0036] (2) The present invention provides a solution of intermediate variables to simplify multi-parameter correlation debugging. The vector parameters to be debugged are associated with intermediate variables using formulas, and then the intermediate variables are used as target parameters, which replaces the original solution that requires manually searching and modifying parameters one by one in the test program before running the vector each time. For parameters that are not directly related, the present invention provides a multi-dimensional parameter debugging method, which can independently configure debugging information for multiple parameters. Compared with the original solution, the present invention greatly reduces the complexity of test program design and the possibility of operational errors during debugging.

[0037] (3) The present invention provides a universal solution for scanning digital vector parameters by means of a graphical configuration interface. The tool encapsulates the business logic of digital vector testing and exposes the parameters that need to be changed to the user by means of a graphical configuration interface. Compared with the original solution, there is no need to rewrite the test program for each new DUT and digital vector, which improves the universality and reusability of the test solution and improves the efficiency of test solution development. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a schematic diagram of the structure of the flow chart of the present invention.

[0039] Figure 2 Schematic diagram of digital vector parameters of the present invention.

[0040] Figure 3 This is a schematic diagram of the digital vector debugging configuration interface of the present invention.

[0041] Figure 4 Schematic diagram of scanning DriveData by the algorithm of the present invention.

[0042] Figure 5 It is a schematic diagram of the digital vector parameter scanning result of the present invention.

[0043] Figure 6 This is a schematic diagram showing an example of the results of the two-dimensional parameter joint debugging of the present invention. DETAILED DESCRIPTION

[0044] 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 only 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.

[0045] The present invention provides Figure 1-6 A method for graphically scanning digital vector parameters is shown, comprising the following specific steps:

[0046] S1: After confirming that the digital circuit under test is connected correctly, run the test program;

[0047] S2: In the test program, ensure that the pins of the digital circuit under test are correctly connected to the PE module and the power pins are correctly powered on, thereby ensuring the stability of the test program;

[0048] S3: Open the digital vector parameter scanning tool and configure the scanning parameters, such as Figure 3 As shown in the figure, it is a schematic diagram of the digital vector debugging configuration interface. The defined digital vector parameters in S3 include Type target parameter type, Name target parameter name and Parameter Range parameter range. Type target parameter type content includes Level level, Edge edge timing, Period period, DC Spec is used for intermediate variables of level value, AC Spec is used for intermediate variables of timing value, Global Spec is used for intermediate variables of both level value and timing value. After Name target parameter name selects Type, the specific debugging parameters are determined by Name. When Type=Level, Name selects DriveHi, DriveLow, CompareHi and CompareLow. When Type=Edge, Name selects DriveOn, DriveData, DriveReturn, DriveOff and Open. Parameter Range parameter range includes the starting point, end point, number of steps and step length of the parameter.

[0049] S4: The parameter sweep tool automatically completes the parameter sweep process and buffers the intermediate data:

[0050] S5: Draw the parameter scanning results of all dimensions based on the cached intermediate data to facilitate the visualization of the parameter scanning results;

[0051] S6: Obtain the value range of the digital vector parameter according to the scanning result, and the debugging is completed, thereby outputting the parameter scanning result.

[0052] In particular, the parameter sweep tool in S4 automatically completes the parameter sweep process including the following specific steps:

[0053] S4.1: Determine whether the current dimension parameter scan is completed:

[0054] S4.2: If not completed, obtain the next iteration value according to the configured scanning algorithm:

[0055] S4.3: Get all Pins and TimeSets that need to be modified:

[0056] S4.4: If the scan parameter type is Level, modify the level value:

[0057] S4.5: If the scan parameter type is Edge / Period, modify the timing value:

[0058] S4.6: If the scan parameter type is AC Spec, modify all timing values:

[0059] S4.7: If the scan parameter type is DC Spec, modify all level values:

[0060] S4.8: If the scan parameter type is Global Spec, modify all timing values ​​and level values:

[0061] S4.9: Run numeric vectors:

[0062] S4.10: Record the results of the current operation:

[0063] S4.11: Determine whether the parameter scan of all dimensions is completed. If not, select the next dimension.

[0064] Furthermore, after S4.10 records the result of the current operation, it returns to S4.1 to determine whether the parameter scan of the current dimension is completed, and then determines whether the parameter scan of the current dimension is completed. If not, repeat step S4.2 to scan all parameters. In step S4.2, it is determined whether the parameter scan of the current dimension is completed. If completed, step S4.11 is performed to determine whether the parameter scan of all dimensions is completed. If not completed, the next dimension is selected and the step of returning to S4.1 to determine whether the parameter scan of the current dimension is completed is performed. In S4.1, it is determined whether the parameter scan of all dimensions is completed. The parameters of all dimensions can be scanned. When the parameter scan of all dimensions is completed, step S5 is entered to draw the results. The parameter scanning tool in step S4 automatically completes the parameter scanning process as shown in FIG. Figure 1 shown.

[0065] Specifically, the scanning algorithms in S4.2 include Algorithm, Pins and TimeSet. The Algorithm parameter value algorithm combines the starting point, ending point, number of steps and step length of the parameter to determine the specific value used by the target parameter. The Algorithm parameter value algorithm includes but is not limited to Binary binary search, Linear search, Jump linear search and List search. The next point of Binary binary search is half of the starting point and the ending point, and the ending point is updated. Binary binary search, also known as binary search, is an algorithm for finding a specific element in an ordered array. The basic idea is to compare the target value with the middle element of the array. If the target value is equal to the middle element, the target value is found. If the target value is less than the middle element, the search continues in the first half of the array. If the target value is greater than the middle element, the search continues in the second half of the array. The search range is reduced by half each time the comparison is performed, and finally the search can be completed in O(log n) to find the target value or determine that the target value does not exist. The next point of Linear is the starting point plus the step size. Linear search is a simple and intuitive search algorithm, also known as sequential search. It checks each element in the array or list one by one until the target element is found or the entire data set is traversed. It is a simple but inefficient search algorithm with a time complexity of O(n), where n is the size of the data set. Since it needs to check each element one by one, its performance is relatively poor in large-scale data. Usually, linear search is suitable for small data sets or data sets are not arranged in a specific order. Jump Linear with jump ignores the iteration value specified in the Argument input box. List only uses the value in the Argument input box as the iteration value. Pins is the target Pin that needs to take effect. The default is all Pins used by the vector file. TimeSet is the timing that needs to take effect. The general term for Edge and Period time parameters. The default is all TimeSet used by the vector file.

[0066] In particular, the digital signal generated by the digital vector on the input pin of the DUT is a square wave with a period of 1us. The digital vector is expected to detect a high level at the output pin of the DUT at 500ns of each period. The current test goal is to adjust the high-level start time of the input signal and the impact on the test vector results. The target parameter DriveData, here sets the start point to 250ns, the end point to 650ns, and the step size to 50ns. If you need to improve the accuracy, the step size can be reduced. Select Linear as the value algorithm. The tool running debugging process will be as follows Figure 4As shown, during the parameter scanning process, DriveData will start from 250ns, increase by 50ns at a time, and re-execute the digital vector file. The high-level duration of the digital signal generated each time in each cycle decreases gradually. When DriveData is greater than 500ns, the output Pin can only detect a low level at 500ns, and the vector result is fail.

[0067] Furthermore, for multi-parameter joint debugging, the target parameter can be set as an intermediate variable. The input Pin digital signal is always at a high level for a quarter of a cycle in each cycle. To meet this requirement, an AC Spec intermediate variable named BaseEdge can be defined, and DriveData and DriveReturn can be associated with BaseEdge using the following formula:

[0068]

[0069]

[0070] Then, set the target parameter to BaseEdge and keep the rest of the configuration unchanged to meet the debugging requirements. Figure 5 and Figure 6 They are respectively a schematic diagram of digital vector parameter scanning results and an example schematic diagram of two-dimensional parameter joint debugging results. Figure 5 The horizontal axis in refers to the number of debugging within one-dimensional parameters. Figure 6 The horizontal axis refers to the number of debugging within one-dimensional parameters. Figure 6 The vertical axis refers to the number of dimensions debugged within the two-dimensional parameter.

[0071] Specifically, S5 plots the parameter scan results of all dimensions, which involves the visualization of multidimensional data, using software scatter plot matrix and multidimensional data dimensionality reduction visualization software. Such data are usually collected by running models or experiments under different parameter combinations, and each parameter may have a different range of values.

[0072] Finally, it should be noted that the above is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for graphically scanning digital vector parameters, characterized in that: The specific steps include: S1: After confirming that the digital circuit under test is connected correctly, run the test program; S2: In the test procedure, ensure that each pin of the digital circuit under test is correctly connected to the PE module, and the power pin is correctly powered on; S3: Open the digital vector parameter scanning tool and configure the scanning parameters; S4: The parameter sweep tool automatically completes the parameter sweep process and buffers the intermediate data: S4.1: Determine whether the current dimension parameter scan is completed: S4.2: If not completed, obtain the next iteration value according to the configured scanning algorithm: S4.3: Get all Pins and TimeSets that need to be modified: S4.4: If the scan parameter type is Level, modify the level value: S4.5: If the scan parameter type is Edge / Period, modify the timing value: S4.6: If the scan parameter type is AC Spec, modify all timing values: S4.7: If the scan parameter type is DC Spec, modify all level values: S4.8: If the scan parameter type is Global Spec, modify all timing values ​​and level values: S4.9: Run numeric vectors: S4.10: Record the results of the current operation: S4.11: Determine whether the parameter scan of all dimensions is completed, if not, select the next dimension; S5: Draw the parameter scanning results of all dimensions based on the cached intermediate data; S6: Obtain the value range of the digital vector parameter according to the scanning result, and the debugging is completed; After S4.10 records the result of the current operation, it returns to S4.1 to determine whether the parameter scan of the current dimension is completed, and then checks whether the parameter scan of the current dimension is completed. If not, repeat S4.

2. If completed, it proceeds to step S4.11 to determine whether the parameter scan of all dimensions is completed. If not, select the next dimension, and enter and return to S4.1 again to determine whether the parameter scan of the current dimension is completed. When the parameter scan of all dimensions is completed, enter step S5 to draw the results; The scanning algorithm in S4.2 includes Algorithm, Pins and TimeSet. The Algorithm parameter value algorithm combines the starting point, ending point, number of steps and step length of the parameter to determine the specific value used by the target parameter. The Algorithm parameter value algorithm includes but is not limited to Binary binary division, Linear linear, Jump linear with jump and List list. The next point of Binary binary division is half of the starting point and the ending point, and the ending point is updated. The next point of Linear linear is the starting point plus the step length. The Jump linear with jump ignores the iteration value specified in the Argument input box. The List list only uses the value in the Argument input box as the iteration value. The Pins are the target Pins that need to take effect. The default is all Pins used by the vector file. The TimeSet is the timing that needs to take effect. The general term for Edge and Period time parameters. The default is all TimeSet used by the vector file. The digital vector is in DUT The digital signal generated on the input Pin is a square wave with a period of 1us. The digital vector is expected to detect a high level at 500ns of each cycle on the output Pin of the DUT. The current test goal is to adjust the high-level starting time of the input signal and the impact on the test vector results. The target parameter is DriveData. Here, the starting point is set to 250ns, the end point is 650ns, the step length is 50ns, and the value-taking algorithm is selected as Linear. During the parameter scanning process, DriveData will start from 250ns and increase by 50ns at a time, and re-execute the digital vector file. The duration of the high level of the digital signal generated each time in each cycle decreases successively. When DriveData is greater than 500ns, the output Pin can only detect a low level at 500ns, and the vector result is fail; the high level of the input Pin digital signal always lasts for a quarter of a cycle in each cycle. Define an ACSpec intermediate variable named BaseEdge, and then associate DriveData and DriveReturn with BaseEdge using the following formula Then, set the target parameter to BaseEdge and keep the rest of the configuration unchanged to meet the debugging requirements.

2. A method for graphically scanning digital vector parameters according to claim 1, characterized in that: The defined digital vector parameters in S3 include Type target parameter type, Name target parameter name and Parameter Range parameter range. The Type target parameter type content includes Level level, Edge edge timing, Period period, DC Spec is used for intermediate variables of level value, AC Spec is used for intermediate variables of timing value, Global Spec is used for intermediate variables of both level value and timing value. After Type is selected for Name target parameter name, specific debugging parameters are determined by Name. When Type=Level, Name selects DriveHi, DriveLow, CompareHi and CompareLow. When Type=Edge, Name selects DriveOn, DriveData, DriveReturn, DriveOff and Open. The Parameter Range parameter range includes the starting point, end point, number of steps and step size of the parameter.

3. The method for graphically scanning digital vector parameters according to claim 1, characterized in that: The S5 plots the parameter scanning results of all dimensions involving the visualization of multidimensional data, using software scatter plot matrix and multidimensional data dimensionality reduction visualization software.