IC with comparator receiving expected and mask data from pads
Test circuits located on semiconductor die enable a tester to test a plurality of die/ICs in parallel by inputting both stimulus and response patterns to the plurality of die/ICs. The response patterns from the tester are input to the test circuits along with the output response of the die/IC to be compared. Also disclosed is the use of a response signal encoding scheme whereby the tester transmits response test commands to the test circuits, using a single signal per test circuit, to perform: (1) a compare die/IC output against an expected logic high, (2) a compare die/IC output against an expected logic low, and (3) a mask compare operation. The use of the signal encoding scheme allows functional testing of die and ICs since all response test commands (i.e. 1-3 above) required at each die/IC output can be transmitted to each die/IC output using only a single tester signal connection per die/IC output. In addition to functional testing, scan testing of die and ICs is also possible.
1. An integrated circuit comprising:
A. input pads;
B. output pads, including a first output pad also receiving as an input expected test data, and a second output pad also receiving as an input mask test data;
C. core circuitry having input leads and output leads coupled between the input pads and the output pads;
D. output circuitry coupled between the core circuitry and the output pads, for each output pad the output circuitry including:
i. a first tri-state buffer having a core input connected to a first core output lead, a data output connected to the first output pad, and a tristate enable input;
ii. a second tri-state buffer having a core input lead connected to a second core output lead, a data output connected to the second output pad, and a tristate enable input; and
iii. comparator circuitry having a core input connected to the first core output lead, an expected data input connected to the first output pad, a mask data input connected to the second output pad, and an enable input connected to the enable inputs of the tri-state buffers.
2. The integrated circuit of claim 1 in which the comparator circuitry includes a serial scan input, a serial scan output, a serial scan control input and a compare strobe input.
3. The integrated circuit of claim 1 in which the comparator circuitry includes compare gates, a pass/fail latch, and a scan cell, the compare gates having inputs connected to the core input, the expected data input, and the mask data input, and having an output, the pass/fail latch having an input coupled to the output of the compare gates and having an output, and the scan cell being coupled to the output of the pass/fail latch and having a scan input lead, a scan output lead and a scan control lead.
4. The integrated circuit of claim 3 in which the pass/fail latch includes an AND gate having an input coupled to the output of the compare gates, and a flip-flop having an input connected to the output of the AND gate.
5. The integrated circuit of claim 4 in which the scan cell includes a multiplexer having inputs connected to the output of the flip-flop, the scan input lead and the scan control lead and having an output, and the scan cell includes a flip-flop having inputs connected to the output of the multiplexer and to the scan control lead, and having an output connected to the scan output lead.