Apparatus for handling test number collisions comprises program code stored on computer readable media. The code, in response to a collision between first and second test numbers, automatically adjusts the second test number in response to a collision tracking value associated with the first test number, thereby eliminating the collision. Also in response to the collision, the code updates the collision tracking value. Other methods and apparatus for handling test number collisions are also disclosed.
|
1. Apparatus for handling test number collisions, comprising:
computer readable media; and
program code, stored on said computer readable media, comprising:
code to, in response to a collision between first and second test numbers, automatically adjust the second test number in response to a collision tracking value associated with the first test number, thereby eliminating the collision; and
code to, in response to said collision, update said collision tracking value.
15. A method for assigning test numbers, comprising:
during execution of a testflow, maintaining current testflow context information; and
upon execution of a subtest in the testflow, indexing a database of test numbers using index information comprising i) an identifier of the subtest, and ii) the current testflow context information; and,
if a test number corresponding to the index information exists in the database, assigning the test number to a result of the subtest; and
if a test number corresponding to the index information does not exist in the database,
generating a new test number by,
if one or more test number factors have been specified for one or more levels of the current testflow context, using the test number factors to determine a base number for a current test number range, else setting the base number to a default base number; and
setting the new test number to a next test number in the current test number range;
indexing the database of test numbers using the new test number;
if the new test number appears as an entry in the database, comparing said index information to a unique identifier associated with the entry;
if the index information matches the unique identifier, assigning the new test number to the subtest; and
if the index information does not match the unique identifier, i) automatically adjusting the new test number in response to a collision tracking value indexed by the new test number, ii) assigning the adjusted new test number to the subtest, and iii) updating the collision tracking value.
2. The apparatus of
3. The apparatus of
4. The apparatus of
5. The apparatus of
6. The apparatus of
7. The apparatus of
8. The apparatus of
9. The apparatus of
10. The apparatus of
11. The apparatus of
12. The apparatus of
code to initialize said collision tracking value upon generation of said first test number; and
code to identify said collision between the first and second test numbers, said code making said identification based on said collision tracking value.
13. The apparatus of
code to identify said collision between the first and second test numbers, said code making said identification by, upon generation of the second test number,
indexing a database of test numbers using the second test number;
if the second test number appears as an entry in the database, comparing a unique identifier associated with the entry to index information comprising i) an identifier of a subtest for which the second test number was generated, and ii) testflow context information for the subtest; and
if the unique identifier does not match the index information, identifying a test number collision.
14. The apparatus of
16. The method of
17. The method of
18. The method of
19. The method of
20. The method of
|
Some forms of circuit test provide an engineer with large volumes of test results. To assist the engineer in managing and referring to these test results, each test result may be associated with a test number. Preferably, test numbers are not duplicated. However, when test numbers are assigned manually, or by rudimentary “automatic” means, it can be difficult to avoid or track down duplicate test numbers.
One aspect of the invention is embodied in apparatus for handling test number collisions. The apparatus comprises computer readable media, and program code that is stored on the computer readable media. The program code comprises code to, in response to a collision between first and second test numbers, automatically adjust the second test number in response to a collision tracking value associated with the first test number, thereby eliminating the collision. The program code also comprises code to, in response to the collision, update the collision tracking value.
Another aspect of the invention is embodied in a method for assigning test numbers. In accordance with the method, current testflow context information is maintained during the execution of a testflow. Upon execution of a subtest in the testflow, a database of test numbers is indexed using index information comprising 1) an identifier of the subtest, and 2) the current testflow context information. If a test number corresponding to the index information exists in the database, the test number is assigned to a result of the subtest. If a test number corresponding to the index information does not exist in the database, a new test number is generated as follows. If one or more test number factors have been specified for one or more levels of the current testflow context, the test number factors are used to determine a base number for a current test number range. Otherwise, the base number is set to a default base number. The new test number is then set to a next test number in the current test number range. After generating the new test number, the database of test numbers is indexed using the new test number. If the new test number appears as an entry in the database, the afore-mentioned index information is compared to a unique identifier that is associated with the entry. If the index information matches the unique identifier, the new test number is assigned to the subtest. If the index information does not match the unique identifier, then 1) the new test number is automatically adjusted in response to a collision tracking value that is indexed by the new test number, 2) the adjusted new test number is assigned to the subtest, and 3) the collision tracking value is updated.
Other embodiments of the invention are also disclosed.
Illustrative and presently preferred embodiments of the invention are illustrated in the drawings, in which:
As defined herein, a “testflow” is any portion of a test program that is used to specify the type, number or order of subtests that may be executed during circuit test. A “subtest”, as defined herein, may be a test that produces multiple test results, but is preferably a test or portion of a test that produces only a single test result.
To assist an engineer in managing and referring to the results of subtests, each test result may be associated with a test number. Test numbers not only help to distinguish one test result from another, but can also be used to determine which subtest generated which result.
When generating test numbers, there sometimes exists the possibility that two test numbers will “collide”. That is, it is possible that a process for assigning test numbers will attempt to assign the same test number to the results of two or more different subtests. Doing so could cause ambiguity, and possibly even corruption, in a test number database.
As shown, the apparatus 100 comprises code 102 to, in response to a collision between first and second test numbers, automatically adjust the second test number in response to a collision tracking value that is associated with the first test number, thereby eliminating the collision. The apparatus 100 also comprises code 104 to, in response to the collision, update the collision tracking value.
The collision tracking value may be variously embodied, but is preferably a collision count (e.g., a count of past collisions with the first test number), or an indicator of the number of attempts that have been made to assign the collision tracking value's associated test number.
The apparatus 100 may further comprise code 106 to maintain a database 108 of test numbers and their corresponding collision tracking values. Such a database might comprise the following exemplary entries:
Test No.
Collision Tracking Value
. . .
. . .
230
1
231
1
232
1
233
1
234
1
235
8
236
1
10,000,235
1
20,000,235
1
30,000,235
1
40,000,235
1
50,000,235
1
60,000,235
1
70,000,235
1
. . .
. . .
In one embodiment, the code 106 initializes a collision tracking value for every test number that has ever been assigned to the result of a subtest. Upon adjustment of the second test number, the code 106 may initialize a collision tracking value corresponding to the adjusted second test number. In another embodiment, the code 106 only initializes a collision tracking value for those test numbers that have previously been involved in a collision.
The apparatus 100 may also comprise code 110 to identify the collision between the first and second test numbers. As shown in the apparatus 200 (
Given that the apparatus 300 requires the comparison of a unique identifier to “testflow context information”, the generation, maintenance and use of such information will be described in more detail later in this description. However, some alternative ways in which collision tracking values may be used to adjust test numbers will be described first.
In a simple embodiment of code 102, a collision tracking value could merely be added to, multiplied by, or appended to a test number that needs adjustment.
In another embodiment of code 102, a collision tracking value could be combined with both a test number and at least one “adjustment factor”. By way of example, these values could be added to, multiplied by, or appended to each other. In one specific embodiment of code 102, the at least one adjustment factor comprises a factor of ten (e.g., 1,000 or 10,000), and the code 102 combines this factor of ten with the collision tracking value by multiplying them. The result may then be added to the test number that needs adjusting. For example, consider a first test number of “235”, with an associated collision tracking value of “1”. If the adjustment factor is “10,000,000”, a first test number that collides with the number “235” would be adjusted to “10,000,235”. After generating the adjusted test number “10,000,235”, the collision tracking value associated with the test number “235” is then incremented to “2”. A second test number that collides with test number “235” is then adjusted to “20,000,235”. Additional collisions with the test number “235” can then be handled in a similar way, leading to the following progression of “base” and “adjusted” test numbers:
After generation of the above progression of test numbers, a database 108 of test numbers and collision tracking values might appear as shown, supra.
One can see that the above method for adjusting collided test numbers results in a series of adjusted test numbers that are easily distinguishable as being related to a “base” test number.
In one embodiment, the adjustment factor (or factors) relied on by the code 102 may comprise one or more user-specified factors.
As previously mentioned, the generation, maintenance and use of “testflow context information” will now be described.
Testflow context information may comprise any information that assists in defining what portion of a test program is being executed. By way of example, testflow context information may comprise information such as a test suite designator, a port designator, a vector label, a vector designator, or a pin designator. Testflow context information may also comprise a loop designator and/or loop iteration designator for each of a number of loop layers (e.g., nested loops) that have been entered during execution of a testflow. As used herein, the term “designator” encompasses a string, number or any other means that can be used to designate a test suite, loop or other testflow context.
In one embodiment of the method 400, the base number is compiled by aggregating (e.g., summing or multiplying) a plurality of test number factors that have been specified for various levels of the current testflow context. By way of example, the test number factors may comprise increments or addends that are specified at any or all of: a loop level, a test suite level, or a subtest level.
In another embodiment of the method 400, a user may only be allowed to specify a single base number per testflow context. In this embodiment, the base number for the current test number range is determined by merely setting the base number equal to the user-specified base number. In this method, there is no aggregation of test number factors. However, a user may still provide base numbers at various points in a testflow, thereby causing certain test numbers to be grouped, for example. Further, because the base numbers are set contextually, test numbers that are assigned for a later test suite do not need to continue from the test numbers assigned for an earlier test suite. Further, if a base number is specified for one test suite, it is not automatically preserved for use with the next test suite.
Upon execution of a subtest in the testflow, the result of the subtest is then assigned 406 a next test number in the current test number range.
Upon entry into the test suite BBB, the testflow context then changes to “BBB:L1”. Note that, for ease of reading, the testflow contexts shown in
Upon first entering Loop_Y, the testflow context changes to “L1:L1”. The identities of Loop_X and Loop_Y are therefore inferred from the number and order of loop iterations maintained in the testflow context. However, the identities of the loops could also be called out with specificity, such as by noting the context as “X1:Y1”.
Various contexts of the testflow 500 are associated with test number factors. That is, Loop_X is associated with the addend 10,000, test suite BBB is associated with the addend 200, test suite CCC is associated with the addend 220, Loop_Y is associated with the addend 2000, and test suite DDD is associated with the increment 5. Adjacent each testflow context,
If a test number factor is provided at a loop level (e.g., the addend 10,000 associated with Loop_X), the loop's test number factor may be factored into a base number repeated times. For example, consider the execution of test suite DDD during the second iteration of Loop_X and third iteration of Loop_Y. The base number for this context can be calculated as (10,000*2)+(2,000*3), or 26,000.
Assume now that each of the test suites 502–510 shown in
Note that, for some testflows, different contexts of the testflow might intentionally (or unintentionally) share the same test number range. However, test numbers assigned to the two test suites will not collide, because each subtest draws a “next number” from the range, regardless of whether other test suites have already drawn numbers from the range.
Also note that two or more test suites may not only have the same base number, but may be associated with test number ranges that overlap or are interleaved. For example, if two test suites were respectively associated with base numbers of 1200 and 1201, and an increment of five, one test suite might be associated with the test numbers 1200, 1205 and 1210, while the other test suite might be associated with the test numbers 1201, 1206 and 1211. An overlap of test numbers might similarly result from test suites that are respectively associated with the base numbers 1200 and 1301, and an increment of two.
If the base number that is compiled for the current test number range is new, the base number may be used to initialize a new test number range in a database 700 of test number ranges. Then, for each test number range in the database 700, the test numbers that have been assigned from the test number range may be tracked. One way to do this is to store each range 702 along with the maximum test number 704 that has been assigned from the range. Then, each time a new test number is assigned from a range, its previous maximum test number may be incremented. Depending on the test factors that a user has assigned to a testflow, the increment may be a default increment, or an increment that a user has specified for a particular level or levels of the testflow (e.g., an increment that is associated with a level of a current testflow context).
As test numbers are assigned to results, a test number database may be compiled by storing each test number along with the base number from which it was derived. Optionally, the test number database may be integrated with a results database, such that a result, its test number, and the base number from which the test number was derived, are all stored in the same database. A portion of such a database 800 is shown in
After storing the database 800 or 1000, but prior to a subsequent testflow execution, the database 800 or 1000 may be read to identify the various base numbers stored therein. For each identified base number, a test number range may be initialized, and the database 800 or 1000 may be parsed to determine the extent of test numbers that have already been derived from the test number range. Then, during a subsequent testflow execution, the initialized test number ranges may be used to assign any new test numbers corresponding to the initialized test number ranges.
In one embodiment, the method 400 may be combined with the method for assigning test numbers disclosed in the U.S. patent application Ser. No. 10/839,887 of Robert S. Kolman, et al. entitled “Method and Apparatus for Assigning Test Numbers” filed the same day as this application). In accordance with this combination,
After generating 908 the new test number, the database of test numbers is indexed 914 using the new test number. If the new test number appears as an entry in the database, the afore-mentioned index information is compared 916 to a unique identifier that is associated with the entry. If the index information matches the unique identifier, the new test number is assigned 918 to the subtest. If the index information does not match the unique identifier, then 1) the new test number is automatically adjusted 920 in response to a collision tracking value that is indexed by the new test number, 2) the adjusted new test number is assigned 920 to the subtest, and 3) the collision tracking value is updated 920. In one embodiment, the apparatus 300 (
Turning again to the exemplary testflow 500, upon execution of the first subtest in the testflow 500, index information comprising an identifier of the subtest (Subtest1) and the current testflow context information (AMA) is used to index a database of test numbers. If this is the first execution of the testflow 500, the database will be empty, and a new test number (e.g., 1) will be assigned to the result of Subtest1. The new test number (1) and index information (AAA:Subtest1) will also be associated in the database. During the first execution of the testflow 500, these steps continue, with the use of each successive index resulting in a database “miss”, thereby causing a new test number, its associated index information (and possibly the base number from which it was derived) to be added to the database. Thus, after a first execution of the testflow 500, the database of test numbers 1000 shown in
During a subsequent execution of the testflow 200, and possibly after edits have been made to the testflow 200, the collision tracking table 1100 may then be used as previously described, to ensure that colliding test numbers are automatically adjusted to a new test number.
Preferably, each of the subtests within a test suite is provided a unique subtest name, and enough testflow context information is maintained to ensure that each index into the database of test numbers 1000 forms a unique subtest identifier. It is also preferred that each new test number entered into the database 1000 is unique from all other test numbers in the database.
It should be noted that any of the above methods may be implemented using program code.
While illustrative and presently preferred embodiments of the invention have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed, and that the appended claims are intended to be construed to include such variations, except as limited by the prior art.
Hayhow, Reid, Kolman, Robert S.
Patent | Priority | Assignee | Title |
7290189, | Mar 28 2005 | Advantest Corporation | Compilation of calibration information for plural testflows |
7714680, | May 31 2006 | CTS Corporation | Ceramic monoblock filter with inductive direct-coupling and quadruplet cross-coupling |
8174340, | May 15 2007 | CTS Corporation | Ceramic monoblock filter with inductive direct-coupling and quadruplet cross-coupling |
Patent | Priority | Assignee | Title |
4063220, | Mar 31 1975 | Xerox Corporation | Multipoint data communication system with collision detection |
4584678, | May 02 1983 | Kabushiki Kaisha Toshiba | Contention-type data communication system |
5265123, | Feb 15 1990 | AMD TECHNOLOGIES HOLDINGS, INC ; GLOBALFOUNDRIES Inc | Expandable repeater |
5430762, | Feb 15 1990 | AMD TECHNOLOGIES HOLDINGS, INC ; GLOBALFOUNDRIES Inc | Expandable repeater |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
May 05 2004 | Agilent Technologies, Inc. | (assignment on the face of the patent) | / | |||
May 05 2004 | KOLMAN, ROBERT S | Agilent Technologies, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 014880 | /0121 | |
May 05 2004 | HAYHOW, REID | Agilent Technologies, Inc | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 014880 | /0121 | |
Mar 06 2007 | Agilent Technologies, Inc | VERIGY SINGAPORE PTE LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 019015 | /0119 | |
Mar 02 2012 | VERIGY SINGAPORE PTE LTD | ADVANTEST SINGAPORE PTE LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 027896 | /0018 |
Date | Maintenance Fee Events |
May 11 2009 | ASPN: Payor Number Assigned. |
May 11 2009 | RMPN: Payer Number De-assigned. |
Jan 08 2010 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Feb 21 2014 | REM: Maintenance Fee Reminder Mailed. |
Jul 11 2014 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Jul 11 2009 | 4 years fee payment window open |
Jan 11 2010 | 6 months grace period start (w surcharge) |
Jul 11 2010 | patent expiry (for year 4) |
Jul 11 2012 | 2 years to revive unintentionally abandoned end. (for year 4) |
Jul 11 2013 | 8 years fee payment window open |
Jan 11 2014 | 6 months grace period start (w surcharge) |
Jul 11 2014 | patent expiry (for year 8) |
Jul 11 2016 | 2 years to revive unintentionally abandoned end. (for year 8) |
Jul 11 2017 | 12 years fee payment window open |
Jan 11 2018 | 6 months grace period start (w surcharge) |
Jul 11 2018 | patent expiry (for year 12) |
Jul 11 2020 | 2 years to revive unintentionally abandoned end. (for year 12) |