ASIC
41
Test Vector Generation
Functional and Post-fabrication Tests
In the complete ASIC design and fabrication cycle, there
are two main test phases:
•functional testing, to check whether the circuit design
conforms to its functional specification
•post-fabrication testing, to ensure that each device
has been fabricated without any faults.
It is essential to distinguish between the purposes of these
tests: functional tests are concerned with the operation of
the ASIC relative to its specification, post-fabrication tests
are to check for differences between the operation of each
individual die and an ideal, fault-free device (in practice a
fault-free simulation of the circuit). This distinction is not
always clearly drawn in practice, and in many cases the
same simulation stimuli are applied to both types of test.
The fault-free simulation against which the post-fabrication
tests are measured should (ideally) exercise all the nets in
the circuit, in such a way that a fault in any net will show as
a difference in an output signal. This simulation assumes
(but does not verify) that the circuit is functioning according
to specification.
This section gives some background information required
for the generation of vectors intended for post-fabrication
tests, their essential properties, and the specific require-
ments which they must satisfy. To an increasing extent,
these test vectors are generated automatically as part of
scan insertion. If this is not possible, then the guidelines in
this section must be followed. These test vectors (both
inputs and expected outputs) are supplied to Atmel, in a
recognized format, with the design database for fabrication.
Static Test Vectors
An important concept which underlies the techniques for
testing ASICs is that of static and dynamic circuits. These
are defined as follows:
A static digital circuit is one which reaches a stable state a
certain time after a set of inputs is applied, and then
remains in that state for as long as it is powered up. For
example, if the clock were to stop, the circuit would remain
in a stable state as long as power were supplied.
A dynamic digital circuit does not reach a stable state after
a certain time, or the stable state represents a loss of data,
such as leakage from a dynamic RAM. In dynamic circuits,
a clock failure would lead to a loss of data.
Test vectors are designed on assumption that the device
under test is a static circuit. They must also be compatible
with the operation of the automatic test equipment used for
post-fabrication tests. Test vectors which satisfy these con-
ditions are called static test vectors. Their essential proper-
ties are as follows:
•For each test period, all inputs are applied
simultaneously at the start of the period (1000ns,
10000ns or a multiple thereof).
•All outputs are strobed 10ns before the end of the test
period
•All outputs and internal nodes must have reached a
stable state 200ns before the strobe point.
•Input data must not change on the active edge of the
clock which latches it.
The above three requirements for static test vectors are
illustrated in Figure 65.
Figure 65. Static test vectors
•Static test vectors must also satisfy a number of specific
requirements which are discussed in a later section.
A consequence of the requirement for static circuits is that
the behavior of a circuit under test can be described by a
truth table, where the inputs are all applied together at the
start of the static test vector period, and the outputs are at a
stable state after the setting period.
Clock
Input
Output
Static test vector period
All inputs change
at start of test
vector period
Strobe points 10ns
before end of test
vector period
Inputs change on
inactive clock edge
Outputs settle 200 ns before
strobe point
10ns
200ns