 |
|
 |
| |
 |
In-circuit digital tester |
| RE31828 |
In-circuit digital tester
|
|
| Patent Drawings: | |
| Inventor: |
Raymond, et al. |
| Date Issued: |
February 5, 1985 |
| Application: |
06/403,973 |
| Filed: |
August 2, 1982 |
| Inventors: |
Garrett; Thomas C. (Walnut Creek, CA) Raymond; Douglas W. (Orinda, CA)
|
| Assignee: |
Zehntel, Inc. (Concord, CA) |
| Primary Examiner: |
Atkinson; Charles E. |
| Assistant Examiner: |
|
| Attorney Or Agent: |
Arnold, White & Durkee |
| U.S. Class: |
714/732; 714/734 |
| Field Of Search: |
371/20; 371/25; 324/73R; 324/73AT; 324/73PC; 364/2MSFile; 364/9MSFile |
| International Class: |
|
| U.S Patent Documents: |
3423677; 3492571; 3492572; 3541441; 3546582; 3549996; 3621387; 3622876; 3631229; 3673397; 3763430; 3764995; 3812337; 3812426; 3889109; 3924109; 3924181; 3931506; 3943439; 3976864; 4000460; 4001818; 4012625; 4039814; 4044244; 4070565; 4097797; 4102491; 4114093; 4168796; 4180203; 4192451 |
| Foreign Patent Documents: |
|
| Other References: |
Gordon and Nadig, Hexadecimal Signatures Identify Troublespots in Microprocessor Systems, Electronics, Mar. 3, 1977, pp. 92-96.. |
|
| Abstract: |
An apparatus for the automatic, in-circuit testing of the electrical properties of complex digital integrated circuit assemblies is disclosed. A programmed processor is provided to control a set of selectable switches, which connect selected nodes of a circuit under test to certain ones of a plurality of signal lines. One of the signal lines supplies a selected digital test signal from a set of selectable test signals to the selected node. The set of test signals including a Gray code. Another of the signal lines provides a response line connecting a selected node to a functional tester that performs one of a selectable number of intermediate functional tests. One of the functional tests is a signature analysis of the digital response signal in accordance with a cyclic redundancy check (CRC) coding technique. Each test performed by the apparatus is specified through processor routines which select and encode the proper test signals for the particular circuit or device under test and analyze the results of the intermediate functional tests to determine if the device has functioned properly. |
| Claim: |
What is claimed is:
1. Apparatus for the in-circuit testing of the electrical properties of components of a circuit, comprising:
(a) a central processing unit for controlling the tests to be performed and for interpreting the results of said tests;
(b) electrical test pins, contactable with electrical nodes in said circuit;
(c) sets of selectable switches, one set associated with each of said test pins, for connecting each of said test pins to at least one of a plurality of signal lines associated with each said pin, said signal lines including a response signalline;
(d) a plurality of digital test-signal generators, each of said generators being associated with one of said test pins, for generating at least one digital test signal from a set of test signals, the output line from each of said generatorscomprising one of the plurality of signal lines for the test pin associated with said generator;
(e) switch-selecting means responsive to the central processor, for selecting at least one of said selectable switches, to connect selected ones of said test pins to their associated plurality of signal lines, thereby to connect one of saidplurality of digital test-signal generators to one of the nodes of the circuit, and to connect a node of the circuit to the response signal line;
(f) a test controller responsive to the central processor, for generating a test cycle wherein said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit to produce a response signal on said responsesignal line; and
(g) a functional tester responsive to the central processor, for testing the signal on said response signal line, to determine electrical properties of said circuit.
2. The apparatus in accordance with claim 1 wherein said electrical test pins comprise a bed of nails fixture.
3. The apparatus of claim 1, wherein the plurality of selectable switches in each of said sets of selectable switches includes four selectable switches.
4. The apparatus of claim 1, wherein said selectable switches are reed switches.
5. The apparatus of claim 1, wherein said set of test signals includes a set of Gray Code test signals.
6. The apparatus of claim 5 wherein, the set of Gray code test signals comprises fourteen digital test signals.
7. The apparatus of claim 1, wherein each of said digital test-signal generators includes:
(a) a memory address generator for generating a sequence of memory addresses during said test cycle;
(b) a first memory responsive to said address generator, for outputting a logic signal to select a digital test signal, said memory having a specified storage location for each digital test signal, said logic signal enabling a transition in saidselected test signal;
(c) a second memory responsive to said address generator, for outputting a logic signal to enable and to disable the generation of said selected test signal;
(d) a synchronization signal generator responsive to said memory address generator for generating synchronization signals; and
(e) a driver responsive to the output from said first and second memories, and to said synchronization signals, for generating the selected digital test signal and for applying said selected digital test signal to an electrical node of saidcircuit.
8. The apparatus of claim 7, wherein said sequence of memory addresses comprises the ordered sequential addresses of each of the addressable storage locations of said first memory and said second memory, each address in said sequence enabling atransition in said digital test signal specified by that address.
9. The apparatus of claim 8, wherein said first memory further comprises a memory location for storing an initialization bit, and another memory location for storing a preset bit, said initialization and preset bits specifying one of a pluralityof possible beginning sequences for each of said digital test signals.
10. The apparatus of claim 7, wherein said synchronization signal generator includes:
(a) means for generating a first synchronization signal having a transition for each address of said address generator; and
(b) means for generating a second synchronization signal having a transition,
(i) on the first occurrence of each address in said sequence of memory addresses, or
(ii) on each occurrence of any or all addresses in said sequence of memory addresses.
11. The apparatus of claim 7, wherein said digital test signal generator further comprises means responsive to said processor for addressing and storing in said first and second memories digital-test-signal-generating data prior to thegeneration of said test cycle.
12. The apparatus of claim 1, wherein said test controller includes:
(a) an internal oscillator;
(b) a threshold voltage generator responsive to said processor for generating a negative offset voltage to offset the voltages produced by externally generated signals inputted to the testing apparatus, the external signals including an externalclock signal;
(c) a system clock generator responsive to the external clock signal, said processor, said oscillator and said threshold voltage generator, for generating a system clock, said system clock being derived from said internal oscillator or from theexternal clock;
(d) a command decoder responsive to said processor, for generating system commands to control the functions of said tester;
(e) a listen enable generator responsive to said processor and said digital test-signal generators, for controlling the length of said test cycle, and for generating a listen enable signal to enable said functional tester to perform functionaltests on said response signal during the generation of said listen enable signal; and
(f) a start test cycle generator responsive to said clock, said listen enable generator, and said command decoder, for starting and stopping said test cycle.
13. The apparatus of claim 12, wherein said system clock generator includes a divide-by-N counter.
14. The device of claim 12, wherein said threshold voltage generator is a digital-to-analog converter.
15. The apparatus of claim 1, wherein said functional tester includes a cyclic redundancy check function tester for generating a digital code representative of the length and character of the serial digital data stream of said response signal,said code representing the signature of said response signal.
16. A testing apparatus adapted for use with a computer for the in-circuit testing .Iadd.of components .Iaddend.of a circuit having electrical nodes, comprising:
(a) a node-connecting means associated with each of a selected ones of said nodes and responsive to the computer, each selected node having associated therewith signal lines including a response signal line, for connecting each of the selectednodes to its associated signal lines, one of said selected nodes being connected to the response signal line;
(b) a digital test-signal generator associated with each said node-connecting means, for generating at least one digital test signal from a set of digital test signals, the output line from each said generator comprising one of the associatedsignal lines for the node associated with said generator;
(c) a controller responsive to the computer, for generating a test cycle in which selected ones of said test signals are applied through said associated node-connecting means to selected ones of said selected nodes, said circuit generating asignal on said response signal line in response to said applied test signals; and
(d) a functional tester connected to the response signal line and responsive to the computer, for performing functional tests on said response signal to determine electrical properties of said .Iadd.components in the .Iaddend.circuit.
17. The apparatus of claim 16, wherein each said node-connecting means includes:
(a) a test pin contactable with an associated selected electrical node of said circuit; and
(b) a set of selectable switches connected to each of said test pins, for connecting each test pin to one of its associated signal lines; and
(c) switch selecting means responsive to the computer, for selecting at least one of said selectable switches,
(i) to connect one of said plurality of digital test-signal generators to one of the nodes of the circuit, and
(ii) to connect a node of the circuit to the response signal line.
18. The apparatus of claim 17, wherein each said set of selectable switches includes a switch for connecting the output from one of said associated digital test-signal generators to its associated test pin.
19. The apparatus in accordance with claim 16, wherein said functional tester includes:
(a) an analog-to-digital converter;
(b) a counter for counting
(i) the number of cycles in a clock signal that occurred when said response test signal is at a logic high state, or
(ii) the number of pulses in said response test signal that occur in said test cycle; and
(c) a cyclic redundancy check generator, for generating a digital code for the serial bit stream of said response test signal, said code representing the signature of said signal.
20. The apparatus of claim 16, wherein said controller includes:
(a) a system clock generator responsive to said computer for generating a master system clock for said tester;
(b) a command decoder responsive to said computer for generating control signals to control the functions of said tester;
(c) a listen enable generator responsive to said computer and said digital test-signal generators, for generating a listen enable signal, to enable said functional tester to perform functional tests on said response signal during the generationof said listen enable signal, and for controlling the length of said test cycle; and
(d) a start test cycle generator responsive to said system clock, said command decoder and said listen enable generator, for starting the stoping said test cycle.
21. Apparatus adapted for use with a central processor for the in-circuit testing of the electrical properties of .Iadd.components in .Iaddend.a circuit under test, said apparatus having a response signal line for monitoring the response signalfrom the circuit under test, the apparatus comprising:
(a) electrical test pins, contactable with electrical nodes in said circuit;
(b) a selectable switch associated with each test pin, for selectively connecting the associated said test pin to the response signal line;
(c) a plurality of digital test-signal generators, one associated with each of said test pins, for generating at least one digital test signal from a set of test signals, the output line from each said generator adapted for connection to itsassociated test pin;
(d) switch-selecting means responsive to the central processor, for selecting one said selectable switch to connect a node of said circuit to said response signal line; and
(e) a test controller response to the central processor, for generating a test cycle wherein selected ones of said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit under test to produce a responsesignal on said response signal line.
22. The apparatus in accordance with claim 21 further comprising a functional tester connected to the response signal line and responsive to the central processor, for testing the signal on the response signal line, to determine electricalproperties of the circuit.
23. The apparatus in accordance with claim 21 wherein said electrical test pins comprise a bed of nails fixture.
24. The apparatus of claim 21, wherein said selectable switch is a reed switch.
25. The apparatus of claim 21, wherein the set of test signals includes a set of Gray Code test signals.
26. The apparatus of claim 25, wherein the set of Gray Code test signals comprises fourteen digital test signals.
27. The apparatus of claim 21, wherein each of said digital test-signal generators includes:
(a) a memory address generator for generating a sequence of memory addresses during said test cycle;
(b) a first memory responsive to said address generator, for outputting a logic signal to select a digital test signal, said memory having a specified storage location for each digital test signal, said logic signal enabling a transition in saidselected test signal;
(c) a second memory responsive to said address generator, for outputting a logic signal to enable and to disable the generation of said selected test signal;
(d) a synchronization signal generator responsive to said memory address generator for generating synchronization signals; and
(e) a driver responsive to the output from said first and second memories, and to said synchronization signals, for generating the selected digital test signal and for applying said selected digital test signal to an electrical node of saidcircuit.
28. The apparatus of claim 27, wherein said sequence of memory addresses comprises the ordered sequential addresses of each of the addressable storage locations of said first memory and said second memory, each address in said sequence enablinga transition in said digital test signal specified by that address.
29. The apparatus of claim 28, wherein said first memory further comprises a memory location for storing an initialization bit, and another memory location for storing a preset bit, said initialization and preset bits specifying one of aplurality of possible beginning sequence for each of said digital test signals.
30. The apparatus of claim 27, wherein said synchronization signal generator includes:
(a) means for generating a first synchronization signal having a transition for each address of said address generator; and
(b) means for generating a second synchronization signal having a transition,
(i) on the first occurrence of each address in said sequence of memory addresses, or
(ii) on each occurrence of any of all addresses in said sequence of memory addresses.
31. The apparatus of claim 27, wherein said digital test signal generator futher comprises means responsive to said processor for addressing and storing in said first and second memories digital-test-signal-generating data prior to thegeneration of said test cycle.
32. The apparatus of claim 22, wherein said test controller includes:
(a) an internal oscillator;
(b) a threshold voltage generator responsive to said processor for generating a negative offset voltage to offset the voltages produced by externally generated signals inputted to the testing apparatus, said external signals including an externalclock signal;
(c) a system clock generator responsive to the external clock signal, said processor, said oscillator and said threshold voltage generator, for generating a system clock, said system clock being derived from said internal oscillator or from theexternal clock;
(d) a command decoder responsive to said processor, for generating system commands to control the functions of said tester;
(e) a listen enable generator responsive to said processor and said digital test-signal generator, for controlling the length of said test cycle, and for generating a listen enable signal to enable said functional tester to perform functionaltests on said response signal during the generation of said listen enable signal; and
(f) a start test cycle generator responsive to said listen enable generator, for starting and stopping said test cycle.
33. The apparatus of claim 32, wherein said system clock generator includes a divide-by-N counter.
34. The device of claim 32, wherein said threshold voltage generator is a digital-to-analog converter.
35. The apparatus in accordance with claim 22, wherein said functional tester includes:
(a) an analog-to-digital converter;
(b) a counter for counting
(i) the number of cycles in a clock signal that occurred when said response signal is at a logic high state, or
(ii) the number of pulses in said response signal that occur in said test cycle; and
(c) a cyclic redundancy check generator, for generating a digital code from the serial bit stream of said response signal, said code representing the signature of said signal.
36. An apparatus for use with a central processing unit for in-circuit testing of the electrical properties of components of a circuit, said apparatus comprising:
(a) electrical test pins, contactable with electrical nodes in said circuit;
(b) sets of selectable switches, one set associated with each of said test pins, for connecting each of said test pins to at least one of a plurality of signal lines associated with each said pin, said signal lines including a response signalline;
(c) a plurality of digital test-signal generators, each of said generators being associated with one of said test pins, for generating at least one digital test signal, the output line from each of said generators comprising one of the pluralityof signal lines for the test pin associated with said generator;
(d) switch selecting means responsive to the central processor, for selecting at least one of said selectable switches, to connect selected ones of said test pins to their associated plurality of signal lines, thereby
(i) to connect one of said plurality of digital test-signal generators to one of the nodes of the circuit, and
(ii) to connect a node of the circuit to the response signal line; and
(e) a test controller responsive to the central processor, for generating a test cycle wherein said digital test-signal generators supply test signals to said circuit, thereby to produce a response signal on said response signal line.
37. The apparatus according to claim 36 further comprising a functional tester responsive to the central processor, for testing the signal on said responsive signal line, to determine electrical properties of the components of said circuit.
38. The apparatus in accordance with claim 36 wherein said electrical test pins comprise a bed of nails fixture.
39. The apparatus of claim 36, wherein each of said sets of selectable switches includes four selectable switches.
40. The apparatus of claim 36, wherein said selectable switches are reed switches.
41. The apparatus of claim 36, wherein said set of test signals includes a set of Gray Code test signals.
42. The apparatus of claim 41 wherein, the set of Gray Code test signals comprises fourteen digital test signals.
43. The apparatus of claim 36, wherein each of said digital test-signal generators includes:
(a) a memory address generator for generating a sequence of memory addresses during said test cycle;
(b) a first memory responsive to said address generator, for outputting a logic signal to select a digital test signal, said memory having a specified storage location for each digital test signal, said logic signal enabling a transition in saidselected test signal;
(c) a second memory responsive to said address generator, for outputting a logic signal to enable and to disable the generation of said selected test signal;
(d) a synchronization signal generator responsive to said memory address generator for generating synchronization signals; and
(e) a driver responsive to the output from said first and second memories, and to said synchronization signals, for generating the selected digital test signal and for applying said selected digital test signal to an electrical node of saidcircuit.
44. The apparatus of claim 43, wherein said sequence of memory addresses comprises the ordered sequential addresses of each of the addressable storage locations of said first memory and said second memory, each address in said sequence enablinga transition in said digital test signal specified by that address.
45. The apparatus of claim 44, wherein said first memory further comprises a memory location for storing an initialization bit, and another memory location for storing a preset bit, said initialization and preset bits specifying one of aplurality of possible beginning sequences for each of said digital test signals.
46. The apparatus of claim 43, wherein said synchronization signal generator includes:
(a) means for generating a first synchronization signal having a transition for each address of said address generator; and
(b) means for generating a second synchronization signal having a transition,
(i) on the first occurrence of each address in said sequence of memory addresses, or
(ii) on each occurrence of any or all addresses in said sequence of memory addresses.
47. The apparatus of claim 43, wherein said digital test signal generator further comprises means responsive to said processor for addressing and storing in said first and second memories digital-test-signal-generating data prior to thegeneration of said test cycle.
48. The apparatus of claim 37, wherein said test controller includes:
(a) an internal oscillator;
(b) a threshold voltage generator responsive to said processor for generating a negative offset voltage to offset the voltages produced by externally generated signals inputted to the testing apparatus;
(c) a system clock generator responsive to an external clock signal, said processor, said oscillator and said threshold voltage generator, for generating a system clock, said system clock being derived from said internal oscillator or from theexternal clock;
(d) a command decoder responsive to said processor, for generating system commands to control the functions of said tester;
(e) a listen enable generator responsive to said processor and said digital test-signal generators, for controlling the length of said test cycle, and for generating a listen enable signal to enable said functional tester to perform functionaltests on said response signal during the generator of said listen enable signal; and
(f) a start test cycle generator responsive to said system clock, said listen enable generator, and said command decoder, for starting and stopping said test cycle.
49. The apparatus of claim 48, wherein said system clock generator includes a divide-by-N counter.
50. The device of claims 48, wherein said threshold voltage generator is a digital-to-analog converter.
51. The apparatus of claim 37, wherein said functional tester includes a cyclic redundancy check function tester for generating a digital code representative of the length and character of the serial digital data stream of said response signal,said code representing the signature of said response signal.
52. An in-circuit testing apparatus adapted for use with a computer for the in-circuit testing of the electrical properties of components in the circuit, the circuit having electrical nodes at which the components are interconnected, theapparatus comprising:
(a) means associated with each of selected nodes, and responsive to the computer, for connecting each selected node to one of a plurality of signal lines associated with each selected node, each plurality of signal lines including a responsesignal line;
(b) a digital test-signal generator associated with each said means, for generating a digital test signal for the circuit under test, the output line from each said generator comprising one of the associated signal lines for the node associatedwith said generator, said means
(i) connecting one of said digital test-signal generators to a selected node, and
(ii) connecting a selected node to the response signal line; and
(c) a test controller responsive to the computer, for generating a test cycle in which digital test signals are applied to selected nodes, the circuit generating a signal on the response signal line in response to the applied test signals.
53. The apparatus according to claim 52 further comprising a functional tester for performing functional tests on said response signal to determine electrical properties of the components of the circuit.
54. The apparatus of claim 52, wherein said means includes:
(a) a test pin contactable with an associated selected electrical node of the circuit;
(b) a set of selectable switches connected to each of said test pins, for connecting each test pin to one of its associated signal lines; and
(c) switch selecting means responsive to the computer, for selecting said selectable switches.
55. The apparatus of claim 54, wherein each said set of selectable switches includes a switch for connecting the output from one of said associated digital test-signal generators to its associated test pin.
56. The apparatus in accordance with claim 53, wherein said functional tester includes:
(a) an analog-to-digital converter;
(b) a counter for counting
(i) the number of cycles in a clock signal that occurred when said response signal is at a logic high state, or
(ii) the number of pulses in said response signal that occur in said test cycle; and
(c) a cyclic redundancy check generator, for generating a digital code from the serial bit stream of said response signal, said code representing the signature of said signal.
57. The apparatus of claim 52, wherein said controller includes:
(a) a system clock generator responsive to said computer for generating a master system clock for said tester;
(b) a command decoder responsive to said computer for generating control signals to control the functions of said tester;
(c) a listen enable generator responsive to said computer and said digital test-signal generators, for generating a listen enable signal, to enable said functional tester to perform functional tests on said response signal during the generationof said listen enable signal, and for controlling the length of said test cycle; and
(d) a start test cycle generator responsive to said system clock, said command decoder and said listen enable generator, for starting and stoping said test cycle.
58. The apparatus of claim 54 wherein the set of selectable switches comprises a single switch which selectively connects its associated test pin to the response signal line, the output from each said test-signal generator being removablyconnected to its associated test pin whereby the associated test pin connected to the response signal line functions alternatively
(a) as an input stimulus point to the circuit under test during the entire test cycle, or
(b) as an input stimulus point for a first portion of the test cycle, and as an output response signal point for a second portion of the test cycle.
59. Apparatus adapted for use with a central processor for the in-circuit testing of the electrical properties of components of a circuit under test, said apparatus having a response signal line for monitoring the response signal from thecircuit under test, the apparatus comprising:
(a) electrical test pins, contactable with electrical nodes in the circuit;
(b) a selectable switch associated with each test pin, for selectively connecting the associated said test pin to the response signal line;
(c) a plurality of digital test-signal generators, one associated with each of said test pins, for generating at least one digital test signal from a set of test signals, the output line from each said generator adapted for connection to itsassociated test pin, each said digital test-signal generator including,
(i) a memory address generator for generating a sequence of memory addresses during said test cycle,
(ii) a first memory responsive to said address generator, for outputting a logic signal to select a digital test signal, said memory having a specified storage location for each digital test signal, said logic signal enabling a transition in saidselected test signal,
(iii) a second memory responsive to said address generator, for outputting a logic signal to enable and to disable the generation of said selected test signal,
(iv) a synchronization signal generator responsive to said memory address generator for generating synchronization signals, and
(v) a driver responsive to the output from said first and second memories, and to said synchronization signals, for generating the selected digital test signal and for applying said selected digital test signal to an electrical node of saidcircuit;
(d) switch-selecting means responsive to the central processor, for selecting one said selectable switch to connect a node of said circuit to said response signal line;
(e) a test controller responsive to the central processor, for generating a test cycle wherein selected ones of said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit under test to produce a responsesignal on said response signal line; and
(f) a functional tester connected to the response signal line and responsive to the central processor, for testing the signal on the response signal line, to determine electrical properties of the components of the circuit, said functional testerincluding,
(i) an analog-to-digital converter,
(ii) a counter for counting
(1) the number of cycles in a clock signal that occurred when said response signal is at a logic high state, or
(2) the number of pulses in said response signal that occur in said test cycle, and
(iii) a cyclic redundancy check generator, for generating a digital code from the serial bit stream of said response signal, said code representing the signature of said response signal.
60. The apparatus of claim 59 wherein said selectable switch selectively connects its associated test pin to the response signal line, the output from each said test-signal generator being removably connected to its associated test pin, wherebythe associated test pin connected to the response signal line functions alternatively
(a) as an input stimulus point to the circuit under test during the entire test cycle, or
(b) as an input stimulus point for a first portion of the test cycle, and as an output response point for a second portion of the test cycle. .Iadd.
61. Apparatus adapted for use with a central processor for the in-circuit testing during test cycles of the electrical properties of components interconnected at electrical nodes of a circuit under test, the components being responsive to testsignals having first, second and disconnect logic states, said apparatus having a response signal line for monitoring a response signal from the circuit under test during a test cycle, the apparatus comprising:
(a) a plurality of programmable digital test-signal generators, each including addressable memory locations for storing digital signals representative of a test signal to be applied to the circuit under test,
(i) each of said test signals comprising an independent, selectively variable, uninterrupted sequence of said first, second and disconnect logic states,
(ii) each test signal being applied to selected nodes of the circuit under test independently of processor control during the test cycle; and
(b) a test controller operatively coupled to the central processor, for generating a test cycle wherein selected ones of said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit under test to produce aresponse signal on a response signal line. .Iaddend. .Iadd.62. The apparatus in accordance with claim 61 further comprising a functional tester connected to said response signal line and responsive to the central processor, for receiving a responsesignal, to determine electrical properties of the circuit. .Iaddend. .Iadd.63. The apparatus in accordance with claims 61 or 62 further including electrical test pins contactable with electrical nodes in said circuit, said test pins comprising abed-of-nails test fixture. .Iaddend. .Iadd.64. Apparatus adapted for use with a central processor for the in-circuit testing during test cycles of digital components interconnected at electrical nodes of a circuit under test, the digital componentsbeing responsive to digital test signals having first, second, and disconnect logic states, said apparatus comprising:
(a) a plurality of programmable digital test-signal means, each including addressable memory locations for storing digital signals representative of a test signal to be applied to the circuit under test during a test cycle,
(i) each of said test signals comprising an independent, selectively variable, uninterrupted sequence of said first, second and disconnect logic states,
(ii) each test-signal being applied to selected nodes of the circuit under test independently of processor control during a test cycle;
(b) a plurality of test pins, for receiving and applying said test signals to nodes of said circuit under test, for providing total nodal control of the circuit under test; and
(c) means operatively coupled to said processor for receiving a response signal from the circuit under test in response to said test signals. .Iaddend. .Iadd.65. The apparatus of claim 64 wherein said plurality of test pins comprises abed-of-nails test fixture. .Iaddend. .Iadd.66. The apparatus of claims 64 or 65 wherein said digital test-signal means includes random access memory having addressable memory locations for storing the digital signal representative of a test signal tobe applied to the circuit under test. .Iaddend. .Iadd.67. The apparatus of claim 64 wherein said means for receiving said response signal includes means for generating a signature code of the logic states of the response signal. .Iaddend. .Iadd.68. Apparatus for the in-circuit testing during test cycles of the electrical properties of components interconnected at electrical nodes of a circuit under test, the components being responsive to test signals having first, second and disconnect logicstates, said apparatus comprising:
(a) a central processing unit for specifying the tests to be performed and for interpreting the results of said tests;
(b) a bed-of-nails test fixture having a plurality of electrical test pins, contactable with the electrical nodes in said circuit;
(c) sets of selectable switches, one set associated with each of said test pins, for connecting each of said test pins to at least one of a plurality of signal lines associated with each said pin, said signal lines including a response signalline;
(d) a plurality of digital test-signal generators, each including random access memory with addressable memory locations for storing digital signals representative of a test signal to be applied to the circuit under test during a test cycle andeach being associated with one of said test pins through one of said plurality of signal lines associated with said pin, for generating digital test signals,
(i) each of said test signals comprising an independently, selectively variable, uninterrupted sequence of said first, second and disconnect logic states,
(ii) each test signal being applied to selected nodes of the circuit under test independently of processor control during a test cycle;
(e) switch-selecting means responsive to the central processor, for selecting at least one of said selectable switches, to connect selected ones of said test pins to their associated plurality of signal lines, thereby to connect one of saidplurality of digital test-signal generators to one of the nodes of the circuit, and to connect a node of the circuit to a response signal line;
(f) a test controller responsive to the central processors, for generating a test cycle wherein said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit to produce a response on said connected responsesignal line; and
(g) a functional tester responsive to the central processor, for receiving a response signal, to determine electrical properties of said circuit.
.Iaddend. .Iadd.69. Apparatus adapted for use with a central processor for the in-circuit testing during test cycles of the electrical properties of components interconnected at electrical nodes of a circuit under test, the components beingresponsive to test signals having first, second and disconnect logic states, said apparatus having at least one response signal line for monitoring a response signal from the circuit under test, the apparatus comprising:
(a) electrical test pins, contactable with electrical nodes in said circuit;
(b) a selectable switch associated with each test pin, for selectively connecting the associated said test pin to a response signal line;
(c) a plurality of programmable digital test-signal generators, each operatively coupled to an associated one of said test pins and each including addressable memory locations for storing digital signals representative of a test signal to beapplied to the circuit under test during a test cycle,
(i) each of said test signals comprising an independent, selectively variable, uninterrupted sequence of said first, second and disconnect logic states,
(ii) each test-signal being applied to selected nodes of the circuit under test independently of processor control during the test cycle;
(d) switch-selecting means responsive to the central processor, for selecting one said selectable switch to connect a node of said circuit to a response signal line; and
(e) a test controller responsive to the central processor, for generating a test cycle wherein selected ones of said digital test-signal generators supply test signals to said circuit, thereby to cause the circuit under test to produce a responsesignal on said connected signal line. .Iaddend. .Iadd.70. The apparatus in accordance with claim 69 further comprising a functional tester connected to a response signal line and responsive to the central processor, for receiving a response signal, todetermine
electrical properties of the circuit. .Iaddend. .Iadd.71. The apparatus in accordance with claims 69 or 70 wherein said electrical test pins comprise a bed-of-nails fixture. .Iaddend. .Iadd.72. An apparatus adapted for use with a centralprocessing unit for in-circuit testing during test cycles of the electrical properties of components interconnected at electrical nodes of a circuit under test, the components being responsive to test signals having first, second and disconnect logicstates, said apparatus comprising:
(a) electrical test pins, contactable with the electrical nodes in said circuit;
(b) sets of selectable switches, one set associated with each of said test pins, for connecting each of said test pins to at least one of a plurality of signal lines associated with each said pin, said signal lines including a response signalline;
(c) a plurality of digital test-signal generators, each including addressable memory locations for storing digital signals representative of a test signal to be applied to the circuit under test during a test cycle, each said generator beingassociated with one of said test pins where the output from said associated generator comprises one of the associated signal lines for the test pin, for generating at least one digital test signal,
(i) each of said test signals comprising an independent, selectively variable, uninterrupted sequence of said first, second and disconnect logic states,
(ii) each test signal being applied to selected nodes of the circuit under test independently of processor control during a test cycle,
(d) switch-selecting means responsive to the central processor, for selecting at least one of said selectable switches, to connect selected ones of said test pins to their associated plurality of signal lines, thereby
(i) to connect one of said plurality of digital test-signal generators to one of the nodes of the circuit, and
(ii) to connect a node of the circuit to a response signal line; and
(e) a test controller operatively coupled to the central processor, for generating a test cycle wherein said digital test-signal generators supply test signals to said circuit, thereby to produce a response signal on said
connected response signal line. .Iaddend. .Iadd.73. The apparatus according to claim 72 further comprising a functional tester responsive to the central processor, for receiving a response signal, to determine electrical properties of thecomponents of said circuit. .Iaddend.
.Iadd. . The apparatus in accordance with claim 72 or 73 wherein said
electrical test pins comprise a bed-of-nails fixture. .Iaddend. .Iadd.75. Apparatus adapted for use with a central processor for the in-circuit testing of the electrical properties of components interconnected at electrical nodes of a circuitunder test, the components being responsive to test signals having first, second, and disconnect logic states, the apparatus comprising:
(a) a plurality of programmable digital test-signal generators, each including addressable memory locations for storing digital signals indicative of a test signal to be applied to the circuit under test,
(i) each said addressable memory location, when addressed, outputting a multi-bit digital code having a first part indicative of the first or second logic state for the test signal and a second part indicative of the disconnect logic state,
(ii) each test signal being applied to selected nodes of the circuit under test independently of processor control; and
(b) a test controller responsive to the central processor, for controlling selected ones of said digital test-signal generators during a test of a component to supply test signals to said circuit, thereby to cause the circuit under test toproduce a response signal. .Iaddend. .Iadd.76. The apparatus of claim 75 wherein said second part of said digital code controls the outputting of the indicated first or second logic state to the circuit under test, said apparatus further including aflip-flop responsive to said first part of said digital code for generating the indicated first or second logic state for the test signal, said first part of said digital code capable of indicating that
(i) the logic state of the test signal shall remain the same as before; or
(ii) the logic state of the test signal shall toggle to the opposite state.
.Iaddend. .Iadd.77. The apparatus of claim 76 wherein said flip-flop is a J-K flip-flop. .Iaddend. .Iadd.78. The apparatus of claim 76 further including a cyclic redundancy check register coupled to said response signal for compressing theactual response data from the circuit under test. .Iaddend. .Iadd.79. The apparatus in accordance with claims 75 or 76 further including electrical test pins contactable with electrical nodes in said circuit, said test pins comprising a bed-of-nailstest fixture. .Iaddend. .Iadd.80. Apparatus adapted for use with a central processor for the in-circuit testing of digital components interconnected at electrical nodes of a circuit under test, the digital components being responsive to digital testsignals having first, second, and disconnect logic states, said apparatus comprising:
(a) a plurality of programmable digital test-signal means, each including addressable memory locations for storing digital signals representative of a test signal to be applied to the circuit under test,
(i) each of said test signals comprising an independent, selectively variable, uninterrupted sequence of said first, second, and disconnect logic states,
(ii) each test-signal being applied to selected nodes of the circuit under test independently of processor control,
(iii) each said addressable memory location, when addressed, outputting a multi-bit digital code having a first part indicative of the first or second logic state for the test signal and a second part indicative of the disconnect logic state,said second part controlling the outputting of the indicated first or second logic state of the test signal to the circuit under test;
(b) a plurality of test pins, for receiving and applying said test signals to nodes of said circuit under test, for providing total nodal control of the circuit under test; and
(c) means for receiving a response signal from the circuit under test in
response to said test signals. .Iaddend. .Iadd.81. The apparatus of claim 80 wherein said means for receiving a response signal includes a cyclic redundancy check generator for compressing the digital response data bits from the circuit undertest. .Iaddend. .Iadd.82. The apparatus of claim 80 wherein each said digital test-signal means includes:
(a) random access memory having said addressable memory locations for storing said digital code; and
(b) a flip-flop responsive to said first part of said digital code for generating the indicated first or second logic state for the test signal, said first part of said digital code capable of controllig said flip-flop to keep the same logicstate as before or to toggle the digital test signal to the opposite logic state. .Iaddend. |
| Description: |
BACKGROUND OF THE INVENTION
The present invention relates to a measuring and testing apparatus for testing complex digital circuits; more particularly, to automatic digital in-circuit testers for testing digital circuits containing, but not limited to, large scaleintegrated circuits.
The in-circuit tester of the type disclosed herein is a tester that is capable of testing a circuit without regard to whether or not the electrical node into which a test signal is injected is connected to the output of another logic device. Thedisclosed in-circuit tester is capable of generating and applying a digital test signal to an output node of a logic device that is normally at a logic ground, and cause that output to go to a logic high without damaging the device. In other words, theuse of the term "in-circuit" means that the device or circuit under test does not have to be isolated or removed from the surrounding circuits in order to apply test signals and to monitor its output.
Printed circuit boards containing complex digital integrated logic circuits interconnected by copper lands to form functional circuits, offer a greater challenge to prior-art in-circuit digital testers than they are able to meet. Prior arttesters are able to select interconnection points between the digital components, referred to as the electrical nodes, and to apply test signals to a circuit or to monitor the response of the circuit to those signals. However, ever-increasing complexlogic devices, such as micro-processors, are being developed and extensively used by today's circuit designers. Prior-art digital in-circuit testers are not capable of performing the numerous, rapid and varied tests required for such complex circuits.
One of the most significant developments in digital circuit technology in recent years has been the fabrication of large and complex digital circuits on a single chip of semiconductor material using large scale integration (LSI) techniques. These circuits typically contain a great number of transistors and other components which enable the designer to package a greater number of circuits in a relatively small volume. Research and development is underway in the form of very large scaleintegration (VLSI) for methods to manufacture an even greater number of circuits within a single chip. Where LSI has thousands of transistors per chip, VLSI has hundreds of thousands. As a result of the large number of circuits contained in LSI devicesand the expected increases in circuit complexity from VLSI technology, the probability of chip failure has increased. Correspondingly, the importance of testing and diagnosis of chip failures has also increased. However, the prior-art digitalin-circuit testers either are not capable of performing the complex tests required, or are too slow, due to the time required to generate all the necessary test signals to test these complex circuits.
Because of the increased packing density of digital circuits and the wide variety of logic functions available, LSI devices are enjoying widespread use in most digital circuits and systems which designers are presently producing. The reliabilityof such systems and circuits depend greatly on the reliability and accuracy of operation of the LSI devices and, thus, a need has arisen for new and sophisticated equipment and procedures for testing of these circuits. Such testing is relativelydifficult because of the great number of different functional sections in each device. The problem is further compounded by the limited number of test nodes available to each integrated circuit for the connection of input and output signals.
Most of the functional sections of the integrated circuits consist of either combinational logic circuits or sequential logic circuits or some combination thereof. A combinational logic circuit is defined as one that consists entirely of gates(AND, OR, etc.). In a combinational logic system, no clock is required, and after the inputs have been established (disregarding settling time), the output is immediately available for checking to determine whether it conforms to the output signal thatthe circuit should correctly produce in response to the specified input signal. On the other hand, sequential circuits require a sequence of changes in the input test signals, such as a clock, before an output signal, produced in response to the testsignals, can be examined to determine if the device correctly responded. Because of the complexity of the digital circuits and the fact that there exists only a limited access to the integrated circuit chip's circuits via the IC pins, many differenttest signals must be generated before all of the functional capabilities of the LSI device can be checked. In a great many instances, an output signal must be checked as to the pattern of one's and zero's that is produced in response to a known set ofinput test signals to determine if the chip is working properly.
It is thus apparent that an apparatus for testing circuit assemblies containing LSI circuits must be able to develop and analyze a large quantity of data and test signals. Further, the test apparatus must be adapted to perform tests on a largenumber of different LSI circuits having widely different transfer functions. To best accomplish this requirement, a computer controlled test system is preferred. The versatility of test programs both to generate the necessary test signals and toanalyze the resulting response signals make the computer a necessary element of a test system for digital circuits having LSI devices. Although the computer offers great flexibility in selecting tests to be performed, often the response signal producedby the generated test signals consists of bit streams of data that would require excessive computer storage and execution time to analyze each and every bit so produced. Therefore, a technique of compressing the bit stream down into something that canreadily be assimilated by the computer to obtain maximum usage of the computer's capabilities would be desirable. This compression of the long bit streams can be accomplished by using a cyclic redundancy check (CRC) coding technique, which logicallycombines each bit with those that went before, to generate a compact digital code or signature. This signature represents, almost uniquely, the length and pattern of one's and zero's that occured. The computer could then compare the measured codeagainst a code for a correct response, to determine if the device is functioning properly.
A limitation of known computer-aided testers is the fact that the computer remains operatively tied into the test circuit during the performance of the test, because it is used as a source of test data. Because many LSI devices require lengthyand complex test signals in order to properly simmulate normal operations of the device, and because of speed limitations imposed by software-generated test signals, these types of computer-aided systems are capable of performing only a limited number oftests on these devices within a given time interval. However, if a computer-aided tester were provided which used intermediate test circuits to generate the test signals and to perform the functional tests, leaving for the computer only theinitialization of the tester circuits prior to the test and the analysis of the results following the test, the power and flexibility of the computer could effectively be utilized.
Thus, it would be advantageous to provide a computer-controlled in-circuit digital tester for testing digital circuits employing the complex integrated circuits resulting from LSI technology in which appropriate test signals are generated andfunctional tests performed by intermediate test circuits, the results of which are analyzed by the computer.
SUMMARY OF THE INVENTION
In accordance with this invention, an automatic, computer-controlled digital in-circuit tester is provided for controlling a test cycle in which digital test signals are generated for a circuit under test. A response signal generated from thatcircuit in response to the test signals is checked for a proper response. A set of selectable electrical node test pins are provided, to contact the circuit interconnections of the circuit test. These test pins permit the application of the testsignals at selected points of the circuit and the monitoring of a response to those signals. The test signals are applied to the circuit under test through a set of selectable test signal switches associated with each of the test pins. Throughprocessor control, a selected test pin has one switch from its associated set of test switches selected, to either apply a test signal to the test pin or to connect the test pin to a response signal bus. A digital test-signal generator is provided foreach set of test switches to generate one signal from a set of selectable digital test signals. Among the set of digital test signals are signals which have the characteristic that identifies them as a Gray code.
A test controller, responsive to the processor, is provided for controlling the generation of a test cycle in which the digital test signals are generated. The response signal generated during the test cycle is monitored by a functional testerto perform intermediate processor selected tests. One of the functional tests is the determination of the signature of the response signal by generation of a cyclic redundancy check code. The result of the functional tests is inputted to the processor,where it is compared to the expected response to determine if the circuit under test has functioned properly.
BRIEF DESCRIPTION OF THE DRAWINGS
For a fuller understanding of the nature and objects of the invention, reference should be had to the following detailed description taken in connection with the accompanying drawings, in which:
FIG. 1 is a block diagram of the computer-controlled digital circuit tester;
FIG. 2 is a block diagram of the test signal generator;
FIG. 3 is the timing diagram for the set of selectable Gray code digital test signals;
FIG. 4 is the circuit diagram of the pin memory data transfer controller;
FIG. 5 is a circuit diagram of the test signal address generator and the D & E sync generator;
FIG. 6 is the circuit diagram of a test signal D switch driver;
FIGS. 7(a) and 7(b) are block diagrams of the test controller, the D, E, F & G switch selector and the functional tester;
FIG. 8 is a circuit diagram of the listen enable and start-of-test cycle generators;
FIG. 9 is a circuit diagram of the functional tester; and
FIG. 10 is a timing diagram which illustrates the generation of a listen enable signal.
Similar reference characters refer to similar parts throughout the several views of the drawings.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
It will be helpful in understanding the following discussion to define certain logic terms. Each of the logic signals to which reference is made in the following discussions will have one of two possible logic states, a logic 1 or a logic 0. Alogic signal will be designated as a true signal without an asteric following the mnenomic. As an example, CLOCK would be a true signal while CLOCK* would be its inverse. Each logic signal, be it the true signal or its inverse, will have an assertedand unasserted state. In the case of CLOCK, a true signal, the asserted state will be a logic 1 and the unasserted state a logic 0. For CLOCK*, the reverse is true, the asserted state is logic 0 and the unasserted state is logic 1. A signal goes"true" when it switches from the unasserted to the asserted state and vice versa when it goes "false." Lastly, a flip-flop is in a logic 0 state when the Q output is at a logic 0 and the Q* is a logic 1. In the logic 1 state the outputs of the flip-flopare in the reverse states.
Referring first to FIG. 1, a block diagram of the computer controlled digital in-circuit tester is shown, with a central processing unit (CPU) 100 having a set of input/output (I/O) ports 102 that are used to communicate between the CPU 100 andthe remaining circuits of the digital tester. I/O ports 102 contain standard interface circuits for interfacing the CPU 100 to a peripheral device. As used herein, the term "central processing unit" is meant to include all programmable or programmeddevices of any size, such as microprocessors, minicomputers, computers, time-share computers, main frame computers, batch processors, data processors, etc.
The digital tester 101, which responds to commands from the CPU 100, is composed of test controller 104, test signal generator 108, functional test 106, board select decoder 114, D, E, F & G switch selectors 116, reed switches 120 and a bed ofnails 122. The bed of nails 122 consists of an array of selectable test pins that are contactable with the circuit interconnection nodes of the logic circuits on the printed circuit board of device under test (DUT) 124. The DUT 124 is a printed circuitboard assembly in which the interconnections between the various components are for the most part made with copper lands. Each DUT 124 will have its own preselected array of test pins that form the bed of nails 122 which contacts the interconnectionpoints or electrical nodes of the circuits on the DUT. The test pins that will be used in testing the DUT 124 in each test cycle is selected from the bed of nails 122 and programmed into the processor. The DUT 124 is placed over the bed of nails 122and a vacuum to cause the DUT PC board assembly to move down and contact the test pins in the bed of nails 122. The board is caused to move a sufficient amount to cause the spring loaded test pins to compress. This ensures that the test pins arecontacting the interconnection nodes of the DUT 124 with sufficient force to penetrate the copper land.
Each pin in the bed of nails 122 has an associated set of selectable switches, designated as the D, E, F & G switches, connected to it. It should be noted here that the D, E and G switches are provided as a safety feature to protect the digitaltester 101 internal circuits from excessive logic voltages that may appear on the electrical nodes of the DUT 124 by isolating each test pin through these switches.
For the digital tester 101 to work, the D, E and G switches do not have to be provided. However, the F switch is provided so that the test pin which will contact the output test signal node can be connected to the response line 128. Therefore,the set of selectable switches associated with each test pin could be as few as one but as many as desired. As shown in FIG. 1, one terminal of each of these selectable switches is connected to the test pin. During each test cycle, each of the selectedtest pins that contact the DUT 124 can either conduct an input test signal to the DUT or can conduct the selected output signal for the DUT, or it can alternately do both. If the selected test pin is to input an input test signal, the switch will beselected. The terminals of the E and G switches for each of the test pins that is not connected to its associated test pin are bussed together, respectively. The E switch selects the EXT CLOCK signal from the DUT to be applied to the master ckockgenerator 706 (see FIG. 7(a). The F switch selects the node of the DUT that is to be the response signal and applies it to the functional tester 106 (see FIG. 7(a). Each test pin in the bed of nails 122 has the capability of applying a preselecteddigital test signal to DUT 124 through its D switch when the switch is selected. Each test pin has an associated digital test signal generator whose output can be connected to the test pin through a D switch.
If the test pin is to be connected to the electrical node that is the output signal for the circuit under test, switch F is selected. The F switches for each of the test pins in the bed of nails 122 are also bused together to form the responsesignal line 128. Response signal line 128 is inputted to the functional tester 106, where one of four functional tests is performed. Because of the large number of test pins available in the bed of nails 122 (for the preferred embodiment 1,024 pins),practical considerations of constructing the tester require that the test pins be grouped into smaller subsets on boards to accommodate the circuits required to contain the D, E, F & G switches, to select the appropriate ones of those switches for eachtest pin used in the test, and to generate the digital test signals for the test. These circuits are chosen for inclusion in the subsets because they are duplicated for each test pin in the bed of nails 122.
For the preferred embodiment, the bed of nails 122 is divided into groups of sixteen test pins. Within each group, the E, F and G switches are bussed together. Further, the bussed E, F and G selectable switches are connected to buses betweenthe groups of sixteen test pins through selectable switches KFD, KED, and KGD. These selectable switches, KFC, KED and KGD, provide isolation for the internal bussing of the sixteen test pins from the external bussing between the groups of switches. But, in any event, each E, F and G switch for each test pin is connectable to the same bus.
The circuits required to generate sixteen separate digital test signals for each of the sixteen test pins in the subset, to select which of the four selectable switches for each test pin that is to be used during the test cycle, and to containthe actual reed switches and their coil drivers to provide the D, E, F and G contacts, are mounted on a single PC board assembly. Thus, for the preferred embodiment, a total of 64 boards are required for a bed of nails of 1,024 test pins. As shown inFIG. 1, each PC board assembly 103 containing the above described circuits is composed of a pin memory 112, test signal drivers 118, a board select decoder 114, D, E, F & G switch selectors 116, and reed switches 120.
Still referring to FIG. 1, the digital tester is used as follows: A circuit diagram of the device to be tested is examined to identify the circuits or chips that are to be tested. In general, all nodes will be contacted by a test pin, evenunused elements of the integrated circuits. The electrical nodes that are to be used in a test cycle as either an input node or as the circuit under test response node are identified and assigned the number that corresponds to the test pin number thatwill contact that node when the board assembly is placed on the bed of nails. Knowing how the circuit under test is intended to work, computer routines are generated that will, when executed by the computer, cause the tester to generate appropriate testsignals to the electrical nodes of the circuit under test. The tester 101 circuits will monitor the response signal and perform intermediate tests on the signal. Under computer control, the tester 101 will transmit the results of the intermediate teststo the computer, where a comparison between the measured response and the expected response determines if the circuit has functioned properly.
Each integrated circuit in the circuit under test is tested during a test cycle defined to be that period during which the digital test signals are actually being applied to the circuit under test. Although all of the test parameters arespecified by computer software, the actual tests are carried out, for the most part, independently of control of the computer. That is, the computer specifies the type of test that is to be performed, the length of the test cycle, the types of testsignals that are to be generated, the test pins to be selected, etc., prior to initiation of the test cycle. Once the test cycle is initiated, the CPU 100 must wait until the test cycle is finished before it acquires the results of the intermediatetests. As a result, the CPU supplies the digital tester 101 with the initial conditions for the test to be performed, before it causes the test cycle to begin.
The CPU 100, acting through I/O ports 102, initialize the circuits of tester 101 prior to a test cycle, by sequentially addressing each test pin that is to be used in testing of the circuit under test, and selects and latches at least one of theD, E, F or G switches for each of those selected test pins. Where appropriate, the KFD, KED and KGD switches are also selected and latched. Having selected and closed a switch for each test pin that will apply a test signal to an input node of thecircuit under test, and having selected and closed the F switch of the test pin that will be the response signal, the CPU 100 next sequentially transfers to the pin memories 112 the data necessary for the digital test signal generators to generate theappropriate selected test signal for the selected nodes of the circuit under test. Pin memory address and data load generator 110, in response to commands and data from the cPU 100, stores digital data in pin memory 112. This data, when read during thetest cycle, generates a pattern of one's and zero's on the input of test signal drivers 118. In response to the pattern, the drivers 118 generate the digital test signals that are applied to the selected test pins through their closed D switches.
To complete the initialization of the tester 101, the CPU 100 strobes into test controller 104 the parameters which specify: (1) Whether an internal or an external clock reference signal is to be used to generate the digital tester 101 systemclock; (2) data which determines the frequency of the system clock derived from the selected reference clock; (3) which of the intermediate tests is to be performed on the response signal; (4) the length of the test cycle that is to be performed; (5) thetime during the test cycle in which the response is tested and time during which the response is ignored; and (6) data to generate a threshold voltage which enables the digital circuit tester to interface to a wide range of logic voltage levels fromdifferent DUT's.
Having initialized the circuits of tester 101, the CPU 100 may now initiate a test cycle by issuing the appropriate command to the test controller 104. At the completion of the test cycle, the CPU 100 transmits a command to the tester 101 totransfer the contents of the functional tester to the computer. A comparison is then made between the actual result that would have been produced from a properly functioning circuit, to determine if the circuit is working. The preceding discussion hasbeen given to explain how the tester is used, so that the following detailed description of the circuits which implement the above-described functions may more readily be understood.
Shown in FIG. 7(b) are board select decoder 114, D, E, F & G switch selectors 116 and reed switches 120, which function to select and close one or more of the four selectable reed switches for the test pins used during the test cycle. Boardselect decoder 114 and D, E, F & G switch selectors 116 function as the switch-selecting means for selecting which reed switch is to be closed during the test cycle. A 8-input NAND gate 728 decodes the board address signals, BA0 through BA6 and theirinverse, to generate the board select signal BS if this board is selected.
Each slot of the digital tester into which a board is to be plugged has a unique address assigned to it. As previously discussed, each board contains the circuits for sixteen test pins. This board address is encoded into the connector wiringfor the slot, such that the appropriate board address signal (BA0 through BA6 or its inverse) is applied as one input to NAND gate 728. The output of NAND gate 728 is OR'ed in NOR gate 730 with a board address override signal (BAOR)* to generate thesignal BS. The signal BAOR* is generated when a board select signal is to be generated on all of the boards simultaneously. The board address signals are generated by the test controller 104 in response to commands and data from CPU 100. CPU 100 alsogenerates reed addresses (RA0 through RA3) and reed group addresses (RG0* and RG1*) which D, E, F and G switch selectors 116 decode, to select, for each of the sixteen test pins on the addressed board, one of the four selectable switches.
Reed addresses RA0 through RA3 and reed group addresses RG0* and RG1* are inputted to D, E, F and G switch selectors 116 to address a plurality of latches, to both store and reset the selection of the selectable switches. The RG0* and RG1*signals are decoded to select one of the four selectable switches (D, E, F or G), and the address signals RA0 through RA3 are decoded to select one of the sixteen test pins on a board. Since the selection process for the D, E, F & G reed switches is thesame, only an explanation for the selection of the D switches will be given.
Still referring to FIG. 7(b), in the clearing process for the D reed latches 732 and 734, a BS signal, when true, enables clear reed switch decoder 738, so that the reed group addresses, on the occurrence of RCLR* from CPU 100, generate one offour possible reed switch clear signals: CD*, CE*, CF*, or CG*. For clearing of the D reed latches 732 and 734, the signal CD* is generated. This signal is applied to the clear input of the latches 732 and 734 to clear any latches that were set fromthe previous test cycle.
In the reed switch selection process, reed addresses RA0 through RA2 provide a three bit octal address for latches 732 and 734. Reed address RA3, in conjunction with the reed group signals RG0 and RG1, are decoded by set reed switch decoder 736,on the occurrence of R STROBE*, to generate four pairs of enabling signals, ED0* and ED1* through EG0* and EG1*, with each pair selecting the pair of reed latches for each of the four selectable switches for each test pin. In other words, for the Dswitches, enabling signals ED0* and ED1* are generated to enable reed latches 732 and 734, respectively. With the set/clear* (S/C*) signal at a logic one, the individual latch addressed by the reed addresses RA0 through RA2, in conjunction with theenable signal from set reed switch decoder 736, loads a selection command into the addressed latch. The outputs from D reed latches 732 and 734 are applied to relay drivers 742 to energize the selected D reed switch. In this manner, each of theselectable switches associated with each of the test pins may be selected and latched closed prior to the start of the test cycle.
Again referring to FIG. 1, test signal generator 108 is shown, composed of pin memory address and data load generator 110, pin memory 112 and test signal drivers 118. Identical pin memory 112 and test signal driver 118 circuits are contained oneach of the tester boards in the digital tester 101. The output from pin memory address and data load generator 110 is bussed to each of the pin memory 112 and test signal drivers 118 contained on each of the system tester boards. Pin memory 112responds to the board select signal BS to enable the data on the bus from pin memory address and data load generator 110 to be inputted to the selected board. In this way, the circuits for pin memory address and data load generator 110 do not have to beduplicated for each board in the tester in order to generate a digital test signal for each test pin. The function of the test signal generator 108 is to generate, during the test cycle, one of the digital test signals from the set of selectable testsignals that includes the Gray code set of signals. Since the operations of pin memory address and data load generator 110, pin memory 112 and test signal drivers 118 are identical for each of the tester boards, only a discussion of one will be given.
Referring now to FIG. 2(a) and 2(b), which illustrates a typical test signal generator 108, pin memory address and data load generator 110 is shown, composed of pin memory data transfer controller 200 test signal address generator 202, D and Esync generator 204, and pin memory address multiplexer 206. The function of the pin memory address and data load generator 110 is to generate memory addresses and memory data for pin memory 112. Pin memory addresses are generated at two differenttimes. First, prior to a test cycle, data must be transferred and stored in pin memory 112 that will generate the digital test signal to be applied through the selected D switches for each of the selected test pins to the circuit under test. Second,during the test cycle, addresses must be generated to pin memory 112 to read the contents of the memory to generate the desired test signal.
The pin memory address and data input signals which program the pin memories 112 prior to a test cycle are generated by the pin memory data transfer controller 200. Pin memory data transfer controller 200, responding to inputs from CPU 100,generates an 8-bit data word on memory data lines MD0 through MD7. These data lines are inputted to pin memory 112 where tristate buffers 210, enabled by the BS signal for this board, pass the data to the input of the memories 214. At the same time,pin memory data transfer controller 200 generates a set of data transfer memory addresses, DTMA0 through DTMA3, which are inputted to pin memory address multiplexer 206. Additionally, pin memory data transfer controller 200 generates two controlsignals, write enable MW* and data transfer memory address mux, DTMA MUX. The signal DTMA MUX is inputted to pin memory address multiplexer 206 to cause the data transfer memory address lines to be multiplexed onto the memory address lines MA0* throughMA3*, which form the input address lines for the memories 214. The control signal MW* is inputted to the pin memory write enable decoder 208, to enable a write cycle to the memories 214. Also inputted to pin memory write enable decoder 208 are thememory group addresses MG0* and MG1*. The two addresses are inputted directly to decoder 208 from the CPU 100 through I/O ports 102 to generate WE0* through WE3* in the pin memory write enable decoder 208.
Each of the memories 214 is able to generate digital test signals for two of the D selectable switches. Thus, for a total of sixteen selectable D switches per board, 8 memories are required. The devices that are used in the preferred embodimentof the invention for the pin memories are 16.times.4 bit random access memories such as a 74LS189 manufactured by National Semiconductor, Inc. It will be appreciated by those of ordinary skill in the art that memory devices of different storage capacitycould be substituted for the memories used in the preferred embodiment, such as four 16.times.1 memory chips. Therefore, each pin memory requires four bits of data input and four bits of address input to address and store data in each of the addressablememory locations.
Since the data lines from pin memory data transfer controller 200 total 8, two memories or two test signal generators are programmed at the same time. Therefore, by bussing a write enable signal to two consecutive pin memories, only four pinmemory write enable signals need be generated. The function of pin memory write enable decoder 208 is to generate those four write enable signals. The memory group address lines MG0 and MG1 specify which of the four groups of two-pin memory chips areto be enabled, and when MW* is true, decoder 208 generates one of the four pin memory enable signals WE0* through WE3* specified by MG0 and MG1.
Test signal address generator 202, responding to a START CYCLE* from test controller 104, generates the Gray code memory address lines, GMA0 through GMA3, which are also inputted to pin memory address multiplexer 206. These address signals aregenerated during a test cycle to address and output the contents of the memories 214, to generate the test signal which the D selectable switches will apply to the circuit under test. The Gray code memory addresses are multiplexed on to the memoryaddress lines MA0* through MA3* by pin memory address multiplexer 206, when the system DCLR* signal and the control signal from pin memory data transfer controller 200, DTMA MUX, are both unasserted. A third mode of addressing the pin memories is alsopossible. This occurs when both the control signal DTMA MUX and DCLR* are at a logic 0. For this condition, CPU 100 delivers the memory address lines directly from one of the I/O ports 102 to pin memory address multiplexer 206. That address thenappears on the memory address lines MA0* through MA3*.
When a test cycle begins and Gray code memory addresses are generated by test signal address generator 202, D sync and E sync generator 204, in response to these addresses, generates the synchronization signals DSYNC* and ESYNC*. These twosynchronization signals are used by the test signal drivers 118 in the generation of the digital test signals that are applied to the DUT via the D selectable switches.
Referring now to FIG. 4, which shows the circuit diagram for pin memory data transfer controller 200, system commands CMD2* and CMD3*, generated in test controller 104, are used to select one of two operating modes fo the controller 200. In thefirst mode, data transfer controller 200 can pass the 8-bits presented by CPU 100 via I/O ports 102 to the memory data lines MD0 through MD7; or, in the second mode, controller 200 may accumulate sixteen consecutive 8 bit data values from the CPU beforethat data is placed on the memory data lines. To operate in the first mode, system command CMD14* is asserted. This signal is inputted to generate MW* which, as previously discussed, enables pin memory write enable decoder 208 (see FIGS. 2(a) and 2(b)to write the 8 bits into the memories 214. With the assertion of CMD14*, the data that is presented by CPU 100 to the "A" inputs of multiplexer 424 is muxed onto the memory data lines and strobed into the pin memories 214 enabled by one of the fourwrite enable signals, WEO* through WE3*, generated on the output of pin memory write enable decoder 208.
For the first mode of operation, the output of pin memory address multiplexer 206, MA0* through MA3*, is derived from an address specified by CPU 100 on the data lines of one of the output ports of I/O ports 102. The signal DTMA MUX is notasserted in this mode, but the signal DCLR* is. Therefore, pin memory address multiplexer 206 is selecting the data lines from one of the I/O ports 102 output ports to generate the memory address lines. For each 8 bit data word that is to be strobedinto the pin memories, a CMD140 signal is asserted.
For the second mode of operation of data transfer controller 200, in which sixteen consecutive 8 bit data words will be stored before transferring to the memories 214, two steps must occur. First, each 8 bit data word must be strobed into an 8bit shift register 400, and second, the contents of shift register 400 must be transferred into 16.times.8 bit shift register 422, which is acting as the buffer storage device. When shift register 422 is full, system command CMD2* is asserted toinitiate the sequence of transferring the contents of shift register 422 through multiplexer 424 onto the memory data lines. For each 8-bit data word that is supplied from I/O ports 102 output port number 3 to the input of shift register 400, PORT 3STROBE* is asserted to strobe the 8-bit data word into the shift register 400. At the same time, PORT 3 STROBE* resets set-reset flip-flop 402 to a logic zero. The Q output from flip-flop 402 is inputted to NOR gate 404, whose output switches to alogic zero and removes a clear signal to cascaded binary counters 410 and 412. Removing the clear signal to these two counters enables them to begin counting a 2 MHZ internal clock generated by test controller 104. The Q.sub.C and Q.sub.D outputs fromcounter 410 and the Q.sub.A output from counter 412 are decoded in OR gates 416 and 418 to provide an enabling signal when any one of these three signals is true. This enable signal is inputted as one input to AND gate 420. The other input of AND gate420 is the Q.sub.B of counter 410, which is the highest frequency signal on the Q outputs of counters 410 and 412 that are used by controllers 200. As a result, the output of gate 420 generates 7 shift pulses to shift register 400 when the enable signalon the output of OR gate 418 is at a logic 1. Inverter 414 inverts the Q.sub.B of counter 410 to generate 8 shift pulses to shift register 422. Because shift register 400 is presenting one of the 8 data bits to the input of shift register 422 beforethe generation of any shift pulses, only 7 shift pulses are required by register 400 to input all 8 bits to register 422; while 8 pulses are required by register 422 to load that data.
When the output of NOR gate 404 removes the clear signal to the binary counters 410 and 412, they begin to generate output signals each of which is half the frequency of the previous output signal. Thus, selecting three successive outputs wouldgenerate 8 possible states, selecting 4 successive outputs would generate 16 possible states, etc. Using this technique, the Q.sub.B output of counter 410 generates 8 cycles from the time the enable signal from gate 418 went true until the Q.sub.B outputof counter 412 goes true. In this manner, the 8 bit data word that was strobed into shift register 400 by PORT 3 STROBE* is serially clocked into shift register 422. When the Q.sub.B output of counter 412 goes true at the end of the eighth shift pulseto shift register 422, set-reset flip-flop 402 is set to a logic one. This causes NOR gate 404 to once again assert a clear pulse clearing counters 410 and 412 back to a counter of 0. Thus, in the second mode, the above-described sequence is repeatedfor sixteen consecutive 8 bit data words.
When shift register 422 contains sixteen 8 bit data words, asserting CMD 9* initiates the transfer of the contents of shift register 422 to the memories 214 (see FIGS. 2(a) and 2(b)). With the assertion of CMD 9*, set-reset flip-flop 401 iscleared to a logic zero. This causes NOR gate 404 to remove the clear signal to the binary counters 410 and 412. Also, the Q output of flip-flop 401 causes the 8 bit multiplexer 424 to select the output from shift register 422 applied to its "B"inputs, as the source of the data for the memory data lines MD0 through MD7. Inverter 426 inverts the select line of multiplexer 424 to generate the control signal DTMA MUX that is used by the pin memory address multiplexer 206 (see FIG. 2(a)) to enablethe data transfer memory address lines DTMA0 through DTMA3, generated by counters 410 and 412, to be multiplexed onto the memory address lines MA0* through MA3*. The signal DTMA MUX is ANDED with the Q.sub.B output of counter 410 by NAND gate 428 togenerate MW* on the output of inverter gate 432. Thus, a write enable clock is generated for each memory address specified by the data transfer addresses DTMA0 through DTMA3 to store in the memories 214 the 8 data bits multiplexed onto the memory datalines MD0 through MD7 from shift register 422.
The above sequence continues until sixteen 8 bit data words from shift register 422 have been transferred to the pin memories. At the completion of the transfer, the Q.sub.C of counter 412 goes true causing interter gate 408 to set flip-flop 401to a logic 1. This causes NOR gate 404 to once again assert a clear signal to the counters 410 and 412. Because the Q.sub.C output of counter 412 initiates the clear signal, the Q.sub.B output of counter 410 will generate 16 cycles before the countingis stopped. Thus, when Q.sub.C goes true and initiates the clear to counter 410 and 414, the sequence of transferring the sixteen 8-bit data words to the memories 214 is complete.
Referring now to FIG. 2(b), which is a block diagram of pin memory 112 and pin drivers 118, the contents of memory 214 used to generate one of the Gray code test signals are shown as a sequence of ones and zeros stored in the sixteen memorylocations. Shown above each of the bit memory locations is the pin memory address, in hexa-decimal notation, that will produce on the memory output data and enable lines, D0 and E0, the bit contained in the memory locations shown below the address.
The generation of a digital test signal which are applied to the contacts of the selectable D switches from data contained in the contents of memory 214 are the same, and only a discussion of one will be given. Still referring to FIG. 2(b), thesequence of ones and zeros produced on the output by the addressing of memory 214 during a test cycle is inputted to the DR0 switch driver 216. The output signal from this driver is the digital test signal that drives the DUT via the selectable DR0switch. The character of the digital test signal that is generated from the data stored in memory 214 is controlled by the sequence of addresses with which the memory 214 is addressed. Two memory 214 output signals are required to generate a digitaltest signal, one called the data bit; the other the enable bit. The data bit is the output signal from memory 214 that is lbeled D0, while the enable bit is the output labeled E0. As will more fully be discussed below, each memory location, from memoryaddress 1 through E, can select a different wave form from the set of Gray code wave forms to be generated by the DR0 switch driver 216.
Turning now to FIG. 3 and still referring to FIG. 2(b), the test signal timing diagram is illustrated for various selectable Gray code test signals, each signal including an initialization and preset portion. There are sixteen addressable memorylocations in memory 214. The contents of the memory 214 for addresses 0 and F control the initialization and preset portion of the digital wave form. The initialization and preset portion of the digital wave form is generated at the start of a testcycle. With two of the memory 214 storge locations used up for the initialization and preset data, only fourteen Gray Code test signals can be specified by the remaining memory locations. This number, of course, can be increased or decreased byincreasing or decreasing the memory capacity of memory 214. It is the distinguishing characteristic of a Gray code set of wave forms that, when all the waveforms are viewed simultaneously, for any given cycle of a clocking wave form which generates thedigital signals, only one signal will have a transition from one logic level to the other. In other words, no more than one transition in all the wave forms that comprise the Gray code occur for any given clock cycle. To select one of the Gray codetest signals, a "1" is recorded in pin memory 214 at the address that corresponds to the desired wave form, and zeros are recorded at the other addresses. Thus, for wave form number 2, a 1 is recorded in memory location 2; or for wave form number 13, a"1" is recorded in memory location D.
In addition to the fourteen Gray Code test signals that can be generated from data stored in memories 214, other digital test signals are possible, such as logic high, logic low, preset high (a single positive pulse at the start of the testcycle), preset low (a single negative pulse at the start of the test cycle) and the many permutations that are possible in the basic Gray Code signals that are generated by the use of the initialization and preset data a long with the enable datarecorded in the enable portion of memory 214. An example of just such a permutation is illustrated in FIG. 3 as signal f.sub.2. The following is a discussion of how the data in memory 214 generates the digital test signals.
Shown in FIG. 3 is a portion of the sequence of pin memory addresses that are generated during a test cycle. Also illustrated in FIG. 3 are the digital test signals that are generated on the output of DR0 switch driver 216, according to the dataon the D0 and E0 output lines of the pin memory 214. A transition in the output digital test signal from DR0 switch driver 216 is permitted each time that a 1 is outputted on the D0, line provided that the E0 line has previously or is concurrentlyoutputting a one. Referring to FIG. 3, the four waveforms f.sub.1, f.sub.1 *, preset high f.sub.1, preset low f.sub.1 * are shown. Disregarding the initialization and preset portion of those waveforms, it can be seen that on each occurrance of memoryaddress 1, a transition in f.sub.1 occurs. As will be discussed below, the DRIVE ENABLE f.sub.1 signal can modify the illustrated waveforms for f.sub.1 ; but for the f.sub.1 waveforms shown in FIG. 3, DRIVE ENABLE f.sub.1 went true during theinitialization portion of the test cycle.
For the initialization and preset time of the test cycle, the sequence of pin memory addresses is, in sequence, address 0, address F, an address designated as "don't care", and once again, address F. The address designated as "don't care" is solabeled because regardless of what address is generated by test signal address generator 202, signals DSYNC and ESYNC are absent, as nothing is permitted to happen in the DR0 switch driver 216 to cause a change in the generated test signal. Illustratedin FIG. 3 for the wave forms f.sub.1 and its derivatives showing the four possibilities for the initialization and preset portion. The generation of these four wave forms is possible for each of the fourteen Gray Code test signal. For the wave formsillustrated, the signal DRIVE ENABLE f.sub.1 was asserted at address 0 in the initialization and preset portion of the test cycle by having a "1" recorded in the enable portion of memory 214 at address 0. A different result would have occurred had theenable bit been stored in a different memory location. This result is illustrated for the wave form f.sub.2 in which the enable portion of memory 214 has a "1" recorded in location 3 and location 4. The result of two 1's recorded in the enable portionof the memory 214 is an enabling of the DR0 switch driver 216 on the first occurrence of a "1" on the E0, and a disabling of f.sub.2 on the second occurrence of a "1" on E0.
The illustrated wave form f.sub.2 in FIG. 3 is the signal generated from the data that is shown as stored in memory 214 in FIG. 2(b). On the first occurrence of the memory address 3, DRIVE ENABLE f.sub.2 is asserted and on the first occurrenceof address 4, DRIVE ENABLE f.sub.2 is cleared. The dotted wave forms that are shown for the signals f.sub.2 and DRIVE ENABLE f.sub.2 are the signals that would have been generated had there only been a "1" stored in the enable bit address location 0. As illustrated in FIG. 3, a transition in the DRIVE ENABLE f signals occur on the first occurrence of a pin memory address with a "1" stored in the enable portion of memory 214 for that address rather than on every occurrence of that address. This isbecause the illustrated clocking signal (ESYNC) in FIG. 3 which clocks the transitions in the enabling flip-flop 602 (see FIG. 6 and the discussion below) has been selected to occur only on the first occurrence of a pin memory address. A more detaileddiscussion of the possible variations in the generation of the clocking signal ESYNC is given in the discussions of the D sync and E sync generator 204.
Still referring to FIG. 3, refer also to FIG. 5 which is the circuit diagram of the test signal address generator 202 that generates the sequence of pin memory addresses as illustrated in FIG. 3. With the assertion of START CYCLE*, shiftregister 500 is loaded with a bit pattern that produces on the Q.sub.A through Q.sub.D outputs, 0101, respectively. For four consecutive cycles of the system clock MCKL*, the signals INIT*, CLOAD*, and PRESET* are generated. These three wave forms areshown in FIG. 3. The signal CLOAD* loads a fourteen bit binary down counter 506 with an all 1's pattern. Counter 506 is formed from the cascaded connection of four four bit binary down counters (not illustrated). The output of counter 506 is inputtedto the three-bit cascaded priority encoders 508 and 510 along with the signals INIT* and PRESET*. The outputs from encoders 508 and 510 are logically combined in NOR GATES 512, 514, 516 and inverter 518 to generate the Gray code memory address signalsGMA0 through GMA3, which are inputted to pin memory 206 (see FIG. 2(a)). Down counter 506 counts down from an all 1' s or maximum count to a count of 0. When counter 506 reaches a count of 0, one complete cycle of the Gray code test signals iscomplete. If more than one cycle of the Gray code signals are desired, the signal DCLR* from test controller 104 is not asserted, and down counter 506 continues to count down from a count of 0 to the next count which is once again an all 1's count tobegin the next cycle. However, for this and each subsequent cycle in the Gray code signals, no initialization or preset addresses, 0 or F, will occur.
Two clocking signals are generated by the D and E sync generator 204 to be used by the test signal drivers 118 to generate the digital test signals on the output of the D switch drivers 216. These two signals are called DSYNC* and ESYNC*. FIG.3 also illustrates these two signals. Except for the address "don't care" in the initilization and preset portion of the sequence of pin memory addresses and on the last occurrence of the "F" address in the test cycle, the signal DSYNC* is the same asthe clock signal MCKL*. On the other hand, the signal ESYNC* has the characteristic that it may occur on the first occurrence of each of the pin memory addresses or may occur on the occurrence of any one or all of the memory addresses.
Referring still to FIG. 5, in which is shown the circuit diagram for the D and E sync generator 204, the signal DSYNC* is derived from MCKL but is enabled only during a test cycle through AND gate 528 and inverter 530 by the signal DCLR*. Also,during the initialization and preset time of the test cycle when the third pin memory address is generated ("don't care" address), all input signals to priority encoders 508 and 510 are at a logic one. This causes the PRESET DISABLE output from priorityencoder 510 to be at a logic 0. This level causes DSYNC* to remain high for that "don't care" pin memory address in the initialization and preset portion. Because changes in the output of the digital test signal from the D switch driver 216 are clockedwhen the signal DSYNC* goes false in the middle of a pin memory address, for the "don't care" pin memory address of the initialization and preset time, no transition in DSYNC* occurs; thus the label "don't care".
Still referring to FIG. 5, the signal ESYNC* may be selected to occur on only the first occurrence of each of the pin memory addresses, or it can be selected to occur on every occurrence of any address or on every address. This flexibility isachieved as follows: A four-bit data word is inputted to the D sync and E sync generator 204 from the CPU 100 and on the assertion of CMD13*, is strobed into a sixteen-bit latch formed from addressable latches 532 and 534. Each of the sixteen latchescorresponds to one address in the possible sixteen pin memory addresses. The output from latches 532 and 534 are inputted to multiplexers 536 and 538, respectively. Also inputted to multiplexers 536 and 538 are the Gray Code pin memory addresses GMA0through GMA3. The multiplexed output from multiplexers 536 and 538 are bussed together to form an enabling signal to one input of AND gate 540. The latches 532 and 534 can be programmed to contain all zero's or all one's or any of the combinations ofone's and zero's that are possible. In operation, during the test cycle as the Gray Code pin memory addresses are generated, the contents of the latch from latches 532 and 534 that corresponds to the generated address is multiplexed to AND gate 540. Ifa one was stored in the latch, AND gate 540 is enabled to pass one cycle of MCKL to OR gate 542 whose output, acting through inventor 544, generates the signal ESYNC*. If a zero was stored in the latch, AND gate 540 is disabled and no ESYNC* signal willbe generated. Thus, the signal ESYNC* can be programmed to occur on any address by storing a one in the appropriate latch in latches 532 and 534.
It is also possible to have ESYNC* occur only on the first occurrence of the pin memory address during the test cycle. This is accomplished by a four-bit binary counter 522 in association with a four-bit magnitude comparator 520. At the startof the test cycle, counter 522 is cleared to a count of 0. The binary count from counter 522 is compared to the binary code on the Gray Code pin memory address lines GMA0 through GMA3, by four-bit magnitude comparator 520. When there is a count match,AND gate 524 is enabled by the "A=B" output of comparator 520, to permit one cycle of MCKL to be applied as the other input to OR gate 542 and thus to generate the signal ESYNC*. The output from AND gate 524 is inverted by inverter 526 and provides aclock signal to counter 522. This increments counter 522 to the next address. The first occurrence of this address by the pin memory address generator 202 will enable another ESYNC* to be generated. Once counter 522 has been incremented sixteen timesand reaches a count of 0 there will never be another match in magnitude comparator 520, because the Gray Code memory address is an all 0's or "0" address only during the initialization and present time, which occurs only at the start of the test cycle.
The signals DSYNC* and ESYNC* are inputted to test signal drivers 118 to clock each DR switch driver 216 to generate the digital test signal on the output of the driver (see FIG. 2(b)). Shown in FIG. 6 is a circuit diagram of a typical DR switchdriver 216. Since all of the DR switch drivers 216 of test signal drivers 118 are identical in operation, only a discussion of one will be given. The data (D0) and enable (E0) lines from memory 214 for test pin 1 of the bed of nails 122 are inputted toD switch driver 216 of FIG. 6 to provide the J and K inputs for flip-flops 600 and 602, respectively. Flip-flop 600 is clocked by DSYNC which is the buffered inverse of DSYNC* (see FIG. 2(b)), while flip-flop 602 is clocked by ESYNC, also buffered. TheQ and Q* outputs from flip-flop 600 provide inverse digital signals that control the conduction state of a complimentary pair of field effect transistors Q.sub.1 and Q.sub.2. These two transistors switch the output signal DR0 between the power supplyand ground potential for the DUT being tested to provide the voltage swing for the digital test signal. Ground potential for the DUT is the same as for the tester.
Before the Q and Q* outputs of flip-flop 600 are allowed to control the transistors Q.sub.1 and Q.sub.2, the enable flip-flop 602 must be clocked to a logic 1 by ESYNC. Open-collector NAND gate 604 combines the Q output of flip-flop 602 with theQ output of flip-flop 600 to provide the control signal for transistor Q.sub.1. Open-collector AND gate 612 combines the Q output of flip-flop 602 and the Q* output of flip-flop 600 to provide the control signal for transistor Q.sub.2.
Driver output DR0 has three allowable states: First, when neither transistor Q1 nor transistor Q2 is conducting, the driver DR0 is said to be disabled. When the driver is disabled, it does not stimulate the device under test. This disabledstate is obtained whenever enable flip-flop 602 is cleared to a logic zero. The output of AND gate 612 is low, turning off N-channel-transistor Q2. The output of open-collector NAND gate 604 is pulled up to "Driver V+" potential by resistor 608,turning off P-channel transistor Q1. In the disabled state, the output of the driver will be an open circuit. Therefore, it is possible to have both the D and the F switch for this test pin selected. During the test cycle, when the driver is disabled,the same node into which a digital test signal was or could have been inputted, a response signal could also be monitored. For some logic devices, that is the manner in which they function. For example, some memory devices require that an address beinputted on the same line that the contents of the memory specified by that address is outputted on. Because of the disable node of operation of the driver 216, the D switches is not required in the set of selectable switches associated with each testpin in the bed of nails 122. Second, when transistor Q1 is conducting, the driver output will be high. This state is obtained whichever enable flip-flop 602 and data flip-flop 600 are both set. The output of open-collector NAND gate 604 is low,stimulating the P-channel transistor Q1. Third, when transistor Q2 is conducting, the driver output will be low. This occurs when enable flip-flop 602 is set and data flip-flop 600 is cleared. The output of AND gate 612 is high, stimulating theN-channel transistor Q2. Note that for either transistor to conduct, the enable flip-flop 602 must be set, and that transistors Q1 and Q2 may not conduct simultaneously. In addition, the transistors are able to pass 150 milliamperes, enough to drive alogic node "in-circuit".
Referring now to FIG. 7(a), which illustrates a block diagram of test controller 104 and functional tester 106, the command decoder 710 of test controller 104 is shown connected to one of the CPU 100 I/O 102 ports. The function of commanddecoder 710 is to accept an 8-bit digital code from CPU 100 and decode it to generate one of thirty-two system commands CMD0* through CMD31*. Command decoder 710 also generates the miscellaneous system commands, such as board address override BAOR*,functional test COUNT*, functional test HIGH*, and EXT CLOCK SELECT*. Shown in Table 1 is a list of the system commands along with its functional name. System commands CMD5* through CMD7* are used to strobe data from the CPU 100 into latches (notshown) that function to generate other signals used by the tester 101 to perform various functions. The signals generated by these three system commands, CMD5* through CMD7*, are also shown in Table 1. In particular, this miscellaneous system commandsmentioned above are generated by CMD7* (mode latch #2) in association with the data on the data lines illustrated in Table 1. The system commands that are generated by command decoder 710 are used to start and stop various functions within the digitaltester 101.
TABLE 1 ______________________________________ COM- MAND SKIP CONTROLLER COMMANDS ______________________________________ CMD0* Master Reset CMD1* Trigger An Execution Cycle CMD2* Reed Set CMD3* Reed Clear CMD4* Reed Group Clear (RCLR*) CMD5* Control Reed Latch Data Line Control Reeds 0 Response Line Connect 1 Connect E Pole Reed 2 Ground E 3 Stimuli F 4 Ground G 5 not assigned CMD6* Mode Latch #1 Data Line Mode Latch #1 0 DUT - Reed 1 DUT + Reed 2 DUT + 5V Supply Relay 3DUT + RV Supply Relay 4 not assigned 5 not assigned CMD7* Mode Latch #2 Data Line Mode Latch #2 0 Count*/High* Reg. Select 1 BAOR* 2 EXT CLOCK SELECT* 3 not assigned 4 not assigned 5 not assigned CMD8* Shift Result Registers CMD9* Program DataTransfer CMD10* MG & RA & RG Latch CMD11* Threshold Voltage Latch CMD12* Clock Division Latch CMD13* ESYNC Set CMD14* MEM Write CMD15* Clear ESYNC Memory CMD16* Not Assigned CMD17* Not Assigned CMD18* PICA Busy Set CMD19* PICA Busy Reset CMD20* Interupt Enable CMD21* Interupt Disable CMD22* ##STR1## CMD23* X Relay Master Clear (MCLR) CMD24* Not Assigned CMD25* Not Assigned CMD26* Not Assigned CMD27* Not Assigned CMD28* Not Assigned CMD29* Not Assigned CMD30* Not Assigned CMD31* Not Assigned ______________________________________
In order to accommodate the various logic voltage levels used by different DUT's, test controller 104, in response to input data from CPU 100, generates a negative threshold voltage, (-) THRESHOLD, of a value somewhere between the logic low andlogic high for that family of integrated circuits. This threshold voltage is summed with signals from the DUT to generate a voltage that is applied as an input to a comparator. When the DUT signal is equal to a positive threshold voltage, the summedvoltage will be zero. A more detailed discussion of the summing circuits will be given below in the discussion of the response line interface 720. The signal (-) THRESHOLD is generated when system command CMD18* strobes an 8-bit digital word from theCPU 100 into threshold voltage latch 700. The output of latch 700 is inputted to digital-to-analog converter 702, which generates a negative voltage specified by the binary contents of the threshold latch 700.
The system clock which is generated by and used in the digital tester 101 circuits as the master clock is generated by master clock generator 706. The system clocks MCKL and MCKL* are outputted by master clock generator 706 by dividing down an 8MHZ oscillator clock signal from internal oscillator 708 in a divide-by-N counter. The vlaue of N is specified by the contents of divide-by-N counter latch 704. System command CMD12* strobes an 8-bit data word (N) from CPU 100 into latch 704 to programthe divide-by-N counter. Oscillator 708 also provides a 2 MHZ oscillator clock signal for use by the pin memory data transfer controller 200 (see FIG. 4). When an external clock other than the 8 MHZ internal clock is to be used, EXT CLOCK SELECT* isasserted to control master clock generator 706 to select the EXT CLOCK input as the source of the clock signal to the divide-by-N counter. Interface circuit between the tester 101 and DUT signal levels of the same design that are discussed below for theresponse line interface 720 are used to interface the EXT CLOCK signal into the master clock generator 706.
Still referring to FIG. 7(a), start test cycle generator 714, in association with the listen enable generator 712, controls the starting and stopping of the test cycle in which the digital test signals are generated and the response line signalmonitored by the functional tester 106. Responding to start test cycle generator 714, listen enable generator 712 also generates a listen enable signal LISTEN* that is inputted to the functional tester 106 to allow the functional tester 106 to examinethe response line signal 128 when the listen enable signal is true.
FIG. 8 illustrates the circuit diagram for start test cycle generator 714 and the listen enable generator 712. Start test cycle generator 714 generates the signal START CYCLE* to indicate the beginning of a test cycle. Upon the issuance of thesystem command CMD1*, flip-flop 800 is clocked by MCKL a logic 1 thus enabling one input of NAND gate 814. Because the Q output of flip-flop 800 was at a logic 0 prior to the issuance of CMD1*, the Q* output of flip-flop 802 is at a logic 1 when CMD1*is asserted. This signal is inputted to NAND gate 814 as well as the Q output of flip-flop 800 so that on the occurence of a logic 1 on the Q output of flip-flop 800, the output of NAND gate 814 asserts START CYCLE*. One MCKL cycle later, flip-flop 802is clocked to a logic zero causing the output of NAND gate 814 to switch back to a logic one. Thus, START CYCLE* is asserted for one clock cycle of MCKL. Following the assertion of START CYCLE*, DCLR* goes true to indicate that a test cycle isoccurring. The Q output of flip-flop 802 is DCLR* which assumes a logic 1 state during a test cycle. A test cycle will continue as long as flip-flop 802 is at a logic one. The three signals START CYCLE*, DCLR* and its inverse DCLR are used throughoutthe digital tester 101 to enable and disable the various functions that are performed.
The listen enable generator 712, as shown in FIG. 8, determines the length of the test cycle and generates a listen enable signal LISTEN* that enables the functional tester 106 to monitor and test the response signal 128 during a test cycle. LISTEN* will be enabled from the first occurrence of a selected pin memory address, although it may not actually be asserted at that time. Further conditions must also occur before LISTEN* will be asserted. To better understand the function of listenenable generator 712, refer to FIG. 10, which illustrates the timing diagram for five possible digital test signals that are members of the set of digital test signals. Each transition in the illustrated waveforms of FIG. 10 occurs when the pin memoryaddress for that test signal occurs (see FIG. 3). Thus, a transition in f.sub.3 occurs when the address "3" occurs. The listen enable generator 712 generates LISTEN* during the time that two preselected test signals are at a logic one and that a firstpreselected pin memory address has occurred and that a second preselected pin memory address has not. In other words, LISTEN* can occur between the first occurrence of two pin memory addresses but will not be asserted until two other test signals aresimultaneously in a logic one state. For example, FIG. 10 illustrates the generation of LISTEN* that is enabled between address 1 and address 4 with the added conditions that f.sub.2 and f.sub.3 are at a logic one.
The signal LISTEN* is generated as follows: Listen enable generator 712, as shown in FIG. 8, has a 16.times.4 bit memory 804 which is similar to the memories 214 in pin memory 112 (see FIG. 2(b)). Inputted to memory 804 are the pin memoryaddress signals MA0 through MA3. These address signals, as previously discussed, are generated both during the test cycle and also during the initialization of the digital tester 101. Also inputted to memory 804 are write enable and data input linesfrom CPU 100. During the initialization of the digital tester 101, data on the data lines MD4* through MD7* are strobed into memory 804 by asserting bit 7 of port #1 while the pin memories 112 are being programmed. During the test cycle, the contentsof memory 804 are outputted to flip-flops 806, 808, 810 and 812 under control of the Gray Code pinmemory address that are used by memories 214 to generate the digital test signals for the test pins. The J and F inputs to flip-flops 806, 808 and 810 areconnected to one of the four output bits from memory 804. The J and K inputs to flip-flop 812 is connected to the output from AND gate 816 that has as one of its two inputs, the last of the four bits from memory 804. This bit is enabled through ANDgate 816 by the signal INIT COMPLETE (see FIG. 5) from the test signal address generator 202. INIT COMPLETE goes true at the end of the initialization and preset portion of the test cycle. The signal INIT COMPLETE is used to prevent the addresses whichoccur during the initialization and preset portion of the test cycle from terminating the test cycle should those addresses be used in the generation of LISTEN*.
The Q outputs from flip-flop 806 and 808 are inputted to four input AND gate 826 whose output is the signal LISTEN*. The function of flip-flop 806 is to enable one input to AND gate 826 when the first occurrence of a pin memory address occursthereby signifying that one of the possible Gray Code signals has gone to a logic one. The function of flip-flop 808 is the same as 806. The Q output from set-reset flip-flops 820 and 822 are inputted as the two remaining inputs to AND gate 826. Flip-flop 820 is set when flip-flop 810 is clocked to a logic one and flip-flop 822 is reset (flip-flop 822 was set at the start of the test cycle by DCLR*) by the Q output of flip-flop 812 through NAND gate 824 which was enabled by the Q output offlip-flop 820 after flip-flop 820 has been set. In operation, the memory 804 is programmed with logic one's in the appropriate memory locations so that on the occurrence of the pin memory address, during a test cycle, that are selected to start and stopthe generation of the signal LISTEN* during a logic high of any two Gray Code signals, a logic one will be outputted to flip-flops 806, 808, 810 and 812. When flip-flops 806, 808 and 810 have been set, LISTEN* will be asserted. When flip-flop 812 isset, LISTEN* will go false terminating the enable signal to the functional tester 106 and the test cycle will be terminated. The Q output of flip-flop 822, which is reset when flip-flop 812 is set, is the signal STOP CYCLE which is inputted to the starttest cycle generator 714 to terminate the test cycle.
Now turning to FIG. 7(a), functional tester 106 is shown, composed of response interface 720 responding to the response signal input 128 and the (-) THRESHOLD voltage to generate the response signal RDATA. Also associated with the output ofresponse line interface 720 is an analog-to-digital converter 722, for converting the analog response line signal 128 to an 8 bit digital reresentation. The output of analog-to-digital converter 722 is inputted to CPU 100 through one of the input portsof I/O ports 102 when the analog voltage of the response line is desired. Functional tester 106, in addition to the analog-to-digital convert | | | |