The invention relates to a tester simulation system for simulating a test of a device under test by use of a tester, and a tester simulation method using the same, and more particularly, to a tester simulation system capable of executing a simulation in which margins of respective expected value determining timings can be obtained in a short time, and a tester simulation method using the same.
A tester (an IC tester) is to provide a device under test (hereinafter referred to as a DUT) with an input pattern on the basis of a test program as shown in
[Patent Document 1] JP 2003-256493 A
Taking a real tester in consideration, it is to be pointed out that a tester and a DUT each have a subtle fluctuation in electrical characteristics for every unity and for every test conducted. Accordingly, if the expected value determining timing is in the vicinity of a variation point of an output signal value, there is a possibility that the signal value at the expected value determining timing undergoes variation by the DUT, or by the tester due to the effect of such fluctuation in the electrical characteristics. As a result, there have occurred the cases where the DUT is determined as defective even though it is normal.
In order to control the effect of the fluctuation, the expected value determining timing is therefore preferably set in a region where the signal value is sufficiently stable even if there exists the subtle fluctuation in the electrical characteristics, or to put it the other way around, in the vicinity of the center of a region showing same result even if the expected value determining timing undergoes a slight change.
For this reason, it is important to know tolerance (time) for enabling the same determination to be made to whatever extent the expected value determining timing as set is deviated before or after. Such tolerance is referred to as a margin normal test, an input pattern and expected value determination are set based on a test rate. Accordingly, determining timing occurs for every test rate, and with the elapse of a predetermined time from the head of the test rate, the determining timing is caused to occur. Further, identical expected value determining timings are set for a plurality of the test rates against a plurality of output pins of the DUT, respectively. Accordingly, if operation conditions of a tester are changed, the expected value determining timing also undergoes a change for all the test rates. Therefore, the margin is to be considered not only for one of the test rates, but also for all the test rates where the identical expected value determining timing is set, referring to a region where the expected value determination can be stably implemented for all those test rates. A system developed to find the margin described as above is shown in
As shown in
Now, an operation of such a system as described above is described with reference to
The setting means 31 of the margin analyzing means 3 sets an initial value S of the expected value determining timing, as the setting data, against the test program of the memory 1 (S1). The simulation means 2 reads the test program of the memory 1, and operates the tester model 21 according to the test program. The tester model 21 outputs the input pattern to the DUT model 22 based on the test program as shown in
The margin computing means 32 of the margin analyzing means 3 acquires pass/fail data of the tester model 21 of the simulation means 2 (S3). Subsequently, the setting means 31 determines whether or not the expected value determining timing is equivalent to a completion value E or greater (S4), and if the same is smaller than the completion value E, the setting means 31 adds Δt to the setting data, whereupon the setting data with Δt added thereto is set in the test program of the memory 1 (S5). The simulation means 2 again executes the simulation as described above (S2). If the expected value determining timing is equivalent to the completion value E or greater, the margin computing means 32 computes a margin. That is, the margin computing means 32 finds timing as passed, falling between the minimum value and the maximum value, as the margin (S6).
In the case of testing an LSI, a simulation by the simulation means 2 takes many hours. Accordingly, a problem has been encountered in that it takes more hours several times as many to find margins by repeatedly executing the simulations therefore an object of the invention to implement a tester simulation system capable of finding margins of respective expected value determining timings in a short time, and a tester simulation method using the same.
To that end, the invention provides in its first aspect a tester simulation system for executing a test of a device under test by use of a tester by running a simulation using a DUT model for simulating an operation of the device under test, and a tester model for simulating an operation of the tester, wherein the tester simulation system comprises a margin analyzing means for analyzing margins of respective expected value determining timings on the basis of output data of the DUT model.
With the tester simulation system having these features, the margin analyzing means preferably finds the margins at least in the cases of a fail on the basis of pass/fail determination data representing results of comparison of the output data of the DUT model with an expected value pattern.
With those features, the margin analyzing means may comprise a stable region extraction means for extracting stable regions of the output data of the DUT model in respective check ranges, and a margin determining means for determining the respective margins of the expected value determining timings from results of the stable region extraction means with those features, the margin analyzing means may comprise an expected value comparison means for comparing the output data of the DUT model with the respective expected value patterns according to checkpoints as expected value determining timings, and a margin determining means for determining the respective margins of the expected value determining timings from results of the expected value comparison means.
Still further, the tester simulation system with those features preferably comprises an acquisition means for acquiring at least the output data of the DUT model for use in the margin analyzing means.
The invention provides in its second aspect a tester simulation method for executing a test of a device under test by use of a tester by running a simulation using a DUT model for simulating an operation of the device under test, and a tester model for simulating an operation of the tester, said method comprising the step of analyzing margins of respective expected value determining timings on the basis of output data of the DUT model.
With those features, said method may comprise the step of finding margins at least in the cases of a fail on the basis of pass/fail determination data representing results of comparison of the output data of the DUT model with respective expected value patterns.
With those features, said method may further comprise the steps of extracting stable regions of the output data of the DUT model in respective check ranges, and determining the respective margins of the expected value determining timings from the respective stable regions.
With those features, said method may further comprise the steps of comparing the output data of the DUT model with the respective expected value patterns according to checkpoints as expected value determining timings, and determining the respective margins of the expected value determining timings from results of comparison.
The invention has the following advantageous effects.
According to the first aspect of the invention, since the margin analyzing means analyzes the respective margins of the expected value determining timings on the basis of the output data of the DUT model, the respective margins can be obtained in a short time.
Further, since the margin analyzing means finds the respective margins of the expected value determining timings, at the time of fails, from the output data and the pass/fail determination data, it is possible to find whether or not the expected value comparison results can be passed in all the test rates by changing the expected value determining timing if the margins are small.
Still further, since the stable region is found in the respective check ranges, it is possible to find correct margins.
According to the second aspect of the invention, since the respective margins of the expected value determining timings are found on the basis of the output data of the DUT model, the respective margins can be obtained in a short time.
Further, since the respective margins of the expected value determining timings, at the time of fails, are found from the output data and the pass/fail determination data, it is possible to find whether or not the expected value comparison results can be passed in all the test rates by changing the expected value determining timing if the margins are small.
Still further, since the stable region is found in the respective check ranges, it is possible to find correct margins.
Embodiments of the invention are described hereinafter with reference to the accompanying drawings.
As shown in
Now, an operation of such a system as described above is described with reference to
The simulation means 2 reads a test program of a memory 1, and operates the tester model 21 according to the test program. The tester model 21 outputs an input pattern to the DUT model 22 on the basis of the test program. The DUT model 22 executes outputting to the tester model 21 according to the input pattern. Then, the tester model 21 compares an output of the DUT model 22 with an expected value pattern of the test program. At this point in time, the acquisition means 4 acquires at least the expected value determining timing data of the tester model 21 of the simulation means 2, and output data of the DUT model 22 to be thereby stored in the memory M1. Herein, the expected value determining timing data, and the output data are normally expressed in terms of signal value and signal change-time.
The stable region extraction means 51 of the margin analyzing means 5 finds a check range c1 from expected value determining timing t1, and the check range values of the memory M2, as shown in
Thus, since the margin analyzing means 5 finds the respective margins of the expected value determining timings from the output data of the DUT model 22, the respective margins can be obtained in a short time. Further, since the margin is found in the respective check ranges, a correct margin can be found. That is, in the case of finding the margin by shifting the expected value determining timing by Δt in the simulation means 2, it is impossible to find the margin in case a fail occurs within Δt, however, with the present embodiment, since the margins found are for all the check ranges, the correct margin can be found.
Further, there can be the case where two expected value determining timings t1, t2 exist within one test rate as shown in
Still further, the acquisition means 4 may be of a configuration for acquiring all the simulation result data of the simulation means 2, or for acquiring only a necessary portion of the data. As to the expected value determining timings, since identical expected value determining timings are used by a plurality of comparators, the acquisition means 4 has no need for acquiring the expected value determining timings for all the comparators, and may acquire the expected value determining timings for one comparator.
Yet further, there is shown a configuration wherein the margin analyzing means 5 finds the margins on the basis of the check range values, respectively, however, the check range values are not necessarily needed. A configuration may be adopted wherein the margin analyzing means 5 finds the stable regions by finding respective variation points of the output data signals of the DUT model 22, closest to the respective expected value determining timings. Furthermore, the test rates are used as the check ranges, respectively.
A second embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
Operation of the above-described system is the same as that for the system shown in
A third embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
An operation of the above-described system is described with reference to
The stable region extraction means 71 of the margin analyzing means 7 finds stable regions s1 to s5 at every variation point of the output data, and at every delimitation of the test rate as shown in
The margin determining means 73 of the margin analyzing means 7 finds portions of the respective extract stable regions, in which a signal undergoes no change, overlapping each other, even if all the expected value determining timings t1 to t3 are shifted before or after relative to the respective test rates from the stable regions s2, s4, s5, respectively, to thereby find the respective margins of the expected value determining timings, storing the same in the memory M3.
A fourth embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
An operation of the above-described system is described with reference to
The stable region extraction means 81 of the margin analyzing means 8 extracts a region of the test rate, in which the output data matches an expected value “1” according to the test rate data from the memory M1, as a stable region s1, as shown in
Then, the margin determining means 82 of the margin analyzing means 8 finds portions of the respective stable regions, in which a result of expected value comparison undergoes no change, overlapping each other, even if all the expected value determining timings are shifted before or after relative to the respective test rates from the stable regions s1 to s4, respectively, to thereby find the respective margins of the expected value determining timings, storing the same in the memory M3.
A fifth embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
An operation of the above-described system is described with reference to
The stable region extraction means 91 of the margin analyzing means 9 extracts a stable region s1 where a signal of the output data of the memory M1 is not changing at the same signal level as that for the expected value determining timing in a test rate as shown in
The margin determining means 92 of the margin analyzing means 9 classifies the stable regions s1 to s4 into the stable regions s1, s2, at the time of a pass, and the stable regions s3, s4, at the time of a fail, according to the pass/fail determination data of the memory M1. The margin determining means 92 finds portions of the respective extract stable regions, in which a signal undergoes no change, overlapping each other, even if the expected value determining timings t1, t2 of the stable regions s1, s2, at the time of the pass, respectively are shifted before or after relative to the respective test rates to thereby find the respective margins of the expected value determining timings, storing the same in the memory M3. The margin determining means 92 further finds ranges of the respective extract stable regions, in which a signal undergoes no change, overlapping each other, even if the expected value determining timings t3, t4 of the stable regions s3, s4, at the time of the fail, respectively, are shifted relative to the respective test rates to thereby store the ranges in the memory M5.
Thus, the margin analyzing means 9 finds the respective margins of the expected value determining timings, at times of a fail, according to the output data and the pass/fail determination data so that it is possible to find whether or not the expected value comparison result can be passed in all the test rates by changing the respective expected value determining timings if the respective margins at the time of fail are small.
A sixth embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
An operation of the above-described system is described with reference to
The check determining timing generation means 111 of the expected value comparison means 110 adds the checkpoint data to an expected value determining timing t0 to thereby generate a check determining timing t1 as shown in
The margin determining means 120 of the margin analyzing means 100 determines if the simulation result data are all passed at the respective check-determining timings t1 to t3, and if so, finds the respective margins of the expected value determining timings, relative to respective test rates, in respective check-determining timing intervals (intervals each including the expected value determining timing) to be thereby stored in the memory M3.
The check determining timing generation means 111 is shown to have a configuration of finding the check-determining timings according to the expected value determining timing data, and the checkpoint data, however, the check determining timing generation means may have a configuration of finding the check-determining timings according to test rate data of simulation result data and the checkpoint data. In this case, the checkpoint data are defined by a relative time from a starting point of each of the test rates. Further, the checkpoint data may define a time difference between the starting point of each of the test rates and succeeding check determining timing.
Further, with the present embodiment, a configuration is shown wherein the expected value determining timings are obtained from the simulation result data, however, a configuration may be adopted wherein the expected value determining timings are obtained from a test program.
A seventh embodiment of a tester simulation system according to the invention is described hereinafter with reference to
As shown in
An operation of the above-described system is described hereinafter.
The time select means 211 of the expected value comparison means 210 selects the check-determining timings out of the checkpoint data of the memory M6. More specifically, as the checkpoint data are compiled by the test rate, or by the sequence of presence of the respective test rates, the time select means 211 causes the respective check-determining timings to be outputted in sequence. Subsequently, the comparison means 212 compares the output data of the memory M1 with an expected value of the memory M4 at the check-determining timing of the time select means 211 to thereby output a pass or a fail, together with check determining timing data.
The margin determining means 220 of the margin analyzing means 200 determines if the simulation result data are all passed at every check-determining timing, and if so, finds the respective margins of the expected value determining timings, relative to the respective test rates, in respective check-determining timing intervals (intervals each including the expected value determining timing) to be thereby stored in the memory M3.
Number | Date | Country | Kind |
---|---|---|---|
2005-062085 | Mar 2005 | JP | national |