Testing integrated circuit pad input and output structures

Abstract: Digital integrated circuit testable input/output pad logic includes modified output driver logic (66,86) and a latch (54,55) for storing a test bit provided externally at the I/O pad terminal (10). The output driver logic selects either the normal pad output signal (O) for output during normal operation, or the stored test bit (S) or its complement (S′) for output during a test operation. The output driver logic and latch are controlled by control logic signals (DP,SP,NDN,LS,NLS,NSN) derived from common tri-state (NTR) and latch (NTM) test signals provided externally at dedicated test pins (NTR,NTM). The control logic signals are provided over a bus (50) to all similar testable I/O pads for testing all testable I/O pads within the IC under control of the two test signals.

Description: BACKGROUND OF THE INVENTION The present invention relates to the field of digital integrated circuits and more particularly, to testing to verify the integrity of integrated circuit terminal pad input and output structures. While an integrated circuit (IC) may have been thoroughly tested before being assembled onto a printed circuit board, a board level test is usually still needed to verify that the IC has not been damaged during assembly, for example, by electrostatic discharge, which may destroy the logic coupled to an input/output pad. It is also necessary to test at the board level to ensure that there are no shorts or open circuits on the I/O pads. Known methods of testing for these failures generally involve providing a complex, time consuming, set of patterns to get the logic on the pads to desired states for testing purposes. For example, it is known to provide a serial scan path through an integrated circuit device for testing purposes. A carefully designed sequence of data is driven through the serial scan path to test logic functions. What is needed is a way to test receiver and driver logic on IC pads at the board level without requiring complex test patterns. U.S. Patent No. 4,896,296 discloses a programmable logic device which includes provision for a logic test mode of operation. During a logic test mode, data is serially loaded into a shift register latch ("SRL"). Under the control of a special test input signal, the data in the SRL is forced onto the sense amplifier inputs. This "apparent array pattern" is then sensed through the normal output logic and read out of a device output pin. Data can then be serially clocked out of the SRL and verified against the logical output that was received on the device output pins. This is an example of one way to test output logic circuitry in an integrated circuit. This technique, however, assumes that the serial data input and output pad structures function properly. The '296 patent does not disclose how to test input functionality of the device output pin. See FIGS. 1 and 5 and the text beginning at column 5, line 63, in the '296 patent. US-A-4970727 describes a semiconductor integrated circuit, such as a semiconductor memory device capable of operating in a special mode in addition to a standard operation mode, wherein a high voltage detection circuit detects a high voltage applied to one of control signal input terminals and outputs a detection signal to a special mode circuit. The special mode circuit outputs a switch signal to a switching circuit in response to the detection signal. The switching circuit connects an input/output buffer to a latch circuit in response to the switch signal. A special mode code is applied to input/output terminals and transmitted to the latch circuit through the switching circuit. A special mode decoder decodes the special mode code which has been latched by the latch circuit and outputs a signal for specifying the special mode to a control circuit. Operation in the special mode specified by the control circuit is executed. By detecting a confirmation signal applied to one of the control signal input terminals during the execution of the special mode, the special mode code which has been already latched by the latch circuit can be outputted from the input/output terminals. Features of the invention are defined by claim 1. Objects of the invention are: (a) to allow testing IC input/output pad logic without requiring complex test patterns or sequences; (b) to make one or more I/O pads in a digital IC readily testable at the board level; (c) to provide a plurality of testable I/O pads in an IC under control of only two test signal terminals; and (d) to provide convenient testability in a CMOS digital IC with a minimum of added circuit area. In an embodiment of the invention, a digital IC testable I/O pad includes modified output driver logic and a latch. In general, the logic provides for driving test data into the latch inside the pad and driving the test data back out to verify integrity of the input and output structures. Similar test logic and latches may be provided for each I/O pad as to which such testability is desired. Test operations for all testable I/O pads are controlled by two common test control signals, "tri-state" and "latch", provided externally on dedicated pins. Each testable I/O pad latch is coupled to the terminal and responsive to the latch signal for storing a test bit provided externally at the terminal. The latch may be formed, for example, of a cross-coupled pair of inverters. The output driver logic is arranged for selecting the normal pad output signal for output during normal operation, and for selecting the complement of the stored test bit for output during a test operation. A tri-state logic gate is connected between the terminal and the latch for isolating the latch from the terminal except when latching a new test bit. In a CMOS embodiment, the I/O pad includes complementary P and N type output driver transistors, and the output driver logic includes an AOI circuit for controlling the P-driver transistor and an OAI circuit for controlling the N-driver transistor. The AOI and OAI circuits are arranged for selecting either a normal pad output signal (O) or the inverted stored test bit (S') as an output bit responsive to the tri-state and latch test control signals. The AOI and OAI circuits are controlled by control logic signals which are derived from the tri-state and latch signals and routed to all testable I/O pads. The AOI and OAI circuits are further arranged for turning both output driver transistors OFF responsive to the tri-state signal, thereby tri-stating the output driver circuit to allow receiving a test bit present at the terminal. According to the invention, a test sequence includes: (1) tri-stating the output driver circuitry in all of the testable I/O pads for receiving test bits; (2) providing a test bit at each testable I/O pad terminal; (3) storing each test bit in the corresponding latch to form a latch data bit; (4) isolating the latches from the terminals; (5) inverting each of the latch data bits; (6) driving the inverted latch data bits out of the respective terminals as output bits; and (7) comparing each of the output bits to the corresponding test bit to verify integrity of the testable I/O pads. Appropriate test apparatus for providing test bits at the IC terminal(s) will be apparent to those skilled in the art. A test apparatus for automatically providing the test bits as well as the tri-state and latch test control signals may comprise solely hardware, or a combination of hardware and software, the latter arrangement likely being better suited to automated testing and data acquisition operations. The disclosed methods and apparatus are especially useful for automated testing of ICs at board level. The disclosed testing methods are simple enough, however, to allow quickly testing a suspect part "manually" i.e. using basic bench tools and equipment. The foregoing and other objects, features and advantages of the invention will become more readily apparent from the following detailed description of a preferred embodiment which proceeds with reference to the drawings. BRIEF DESCRIPTION OF THE DRAWINGS AND TABLES FIG. 1 is a schematic diagram of a typical prior art I/O (input/output) pad in a CMOS integrated circuit. FIG. 2 is a schematic diagram of a new testable I/O pad according to the present invention. FIG. 3 is a schematic diagram of the tri-state (NTR) test control pad logic. FIG. 4 is a schematic diagram of the latch (NTM) test control pad logic. TABLE 1 lists the testable pad logic signals for controlling the P-driver. TABLE 2 defines the testable pad bus logic signals. TABLE 3 shows the testable pad bus logic signals for a typical testing sequence. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 is a schematic diagram of a typical prior art input/output pad in a CMOS integrated circuit. The term "pad" is used herein to include the output driver and receiver circuitry associated with a device I/O terminal. Although the invention is described in detail in a CMOS embodiment, the principles disclosed herein can be applied generally to any digital logic technology. The I/O terminal, node 10, is connected to a device power supply signal DVDD through a pull-up transistor 12 and to a device ground DGND through a transistor 14. Transistors 12, 14 are controlled by pull-up and pull-down enable signals NEPU and EPD, respectively. (In this description, all signal names that begin with the letter N are active low.) The pad output signal (O) driver circuitry includes a P-driver transistor 16 and an N-driver transistor 18. Driver transistor 16 is controlled by a gate signal P and driver transistor 18 is controlled by a gate signal N. The output driver logic includes the following. A NAND gate 20 combines the pad output signal O (node 22) with a P-driver output enable signal NEP to provide the P gate signal. Conversely, a NOR gate 26 combines the pad output signal O with an N-driver output enable signal NEN to provide the N gate signal. Accordingly, when the output is enabled, the P and N driver transistors drive output node 10 to the logic state of the pad output signal O. The input, or receiver, circuitry comprises an inverter 30 having an input coupled to node 10. The output of inverter 30 is coupled through a second inverter 32 which, in turn, provides the pad input signal I. Signal I thus has the same logic state as is present at the device terminal, node 10. Inverter 32 is a tri-state device controlled by an input enable signal NEI and its complement, the latter being provided by an inverter 34, so that the output of inverter 32 is a high impedance when the pad is not in input mode. FIG. 2 is a schematic diagram of a new testable I/O pad according to the present invention. Some of the circuitry of FIG. 2 is common to the circuitry of FIG. 1, the same reference numbers being used to refer to common elements. The common elements include the terminal node 10, pull-up and pull-down transistors, P and N driver transistors, and the receiver circuitry (30,32,34). FIG. 2 includes a bus 50 comprising six signal lines. Bus 50 provides control signals to the new I/O pad shown, and extends to other similar testable I/O pads (not shown) so that all testable I/O pads within a single integrated circuit can be tested under the control of two test control signals, "tri-state" (NTR) and "latch" (NTM), further described below. The new circuit includes a tri-state inverter 52, coupled through an inverter 30 so as to receive a complement of an input signal SIG applied at the I/O terminal (node 10). The output of inverter 52 is coupled to the input of an inverter 54. The output of inverter 54 is coupled to the input of another inverter 56. The output of inverter 56 is coupled back to the input of inverter 54. Cross-coupled inverters 54, 56 together form a latch for storing a bit of test data. The tri-state output of inverter 52 is enabled by complementary latch control signals NLS ("not latch S") and LS ("latch S"). These signals are derived from the latch (NTM) test signal, and provided on the bus 50. Inverter 52 isolates the latch input terminal from the input receiver (30), responsive to the latch (NTM) signal. The logic state of the latch, i.e. the stored test bit, appears at node S. The complement of the stored test bit S, i.e. S', is provided at the output of inverter 54, and thence to the pad output driver logic. S' is subsequently read out of the device for verification. This inversion ensures that the state of the test bit read out for verification is not merely the result of capacitance that held the same data from when it was driven into the IC. New Output Driver Logic The usual P-driver logic, i.e. the logic that controls the P-driver transistor gate, is replaced with a first AND gate 60, a second AND gate 62, and a NOR gate 64 interconnected to form an AOI circuit 66. The usual N-driver logic is replaced by a first OR gate 80, a second OR gate 82, and a NAND gate 84, interconnected to form an OAI circuit 86. This new output driver logic provides for several functions, as follows. During normal operation, the output driver logic selects the normal pad output signal O for output to the terminal. During a test operation, the output driver logic first tri-states the I/O terminal (by disabling both P and N drivers) for receiving a test bit. After the test bit is latched, the output driver logic selects the latched test bit S (or its complement S') for output to the terminal. The output driver logic also is controlled by logic signals on bus 50. The logic signals on bus 50 are derived as follows. The operations described above as applied to the typical I/O pad of FIG. 1 may be described in the following set of logic equations for the P-driver of the testable pad. (The treatment is analogous for the N-driver.) The new testable pad signals are: O = PAD OUTPUT SIGNAL NEP = P-DRIVER OUTPUT ENABLE S = DATA SAVED IN LATCH P = GATE SIGNAL ON P-DRIVER The new test control signals, provided externally on dedicated pins, are: NTR = ACTIVE LOW TRI-STATE SIGNAL; TO ALLOW TEST DATA INPUT NTM = ACTIVE LOW LATCH SIGNAL; TO LATCH TEST DATA The logical relationships necessary to provide both the described test functions as well as normal operation of the I/O pad are shown below in Table 1 for the P-driver gate signal (P): O NEP NTR NTM S P P' 1 0 1 1 X 0 1 Normal operation 0 0 1 1 X 1 0 Normal operation X 1 1 1 X 1 0 Normal op P Disabled X X 0 1 X 1 0 Tri-state X X 0 0 X 1 0 Latch test bit S X X 1 0 0 0 1 drive inverse of latched 0 X X 1 0 1 1 0 drive inverse of latched 1 The logic equation for P, taken from the above table, is: P = (O'*NEP'*NTR*NTM) + (NEP*NTR*NTM) + (NTR'*NTM) + (NTR'*NTM') + (NTR*NTM'*S) However, the logic equation for P' is much simpler: P' = (O*NEP'*NTR*NTM) + (NTR*NTM'*S') Inverting the expression for P' yields: P = ((O*NEP'*NTR*NTM) + (NTR*NTM'*S'))' which may be implemented as an AOI (66 in FIG. 2). A similar treatment for the N-driver yields the expression: N = ((O+NEN+NTR'+NTM')*(NTR'+NTM+S'))' which may be implemented as an OAI (86 in FIG. 2). Logic Implementation To implement the logic equations described above, six logic signals are derived from various logical combinations of the two primary test control signals, tri-state (NTR) and latch (NTM). These signals, provided on bus 50, are defined in the following table: BUS SIGNAL DEFINITIONS SIGNAL NAME LOGIC EQUATION FUNCTION DP = NTR*NTM P-enable normal data SP = NTR*NTM' P-enable test data NDN = NTR'+NTM' not-N-enable normal data NSN = NTR'+NTM not-N-enable test data LS = NTM latch test data NLS = NTM' not-latch test data Based on these bus signals, each pad contains an AOI circuit (66) controlling the P driver with the equation: P = ((O*NEP'*DP) + (SP*S'))' and an OAI circuit (86) controlling the N-driver with the equation: N = ((O+NEN+NDN) * (S'+NSN))' To optimize layout space, the logic functions required to generate the six bus signals from the two primary test control signals were assigned arbitrarily to the two test control pads as described below. Specifically, the tri-state (NTR) test pad logic, FIG. 3, provides bus signals DP and NSN and two intermediate logic signals NTS and TS. The latch (NTM) test pad logic, FIG. 4, provides the other four bus signals NLS, LS, SP and NDN, and an intermediate logic signal NLSJ. Note that in these figures NTS=NTR, TS=NTR' and NLSJ=NTM'. Furthermore, DeMorgan's theorem was applied to the bus signal equations above for NAND/NOR layout convenience. Tri-state (NTR) pad logic (see FIG. 3): DP = (TS + NTM')' NSN = (NTS * NTM')' Latch (NTM) pad logic (see FIG. 4): SP = (TS + NTM)' NDN = (NTS * NTM)' LS = NTM NLS = NTM' Circuitry to implement these logic equations in a preferred embodiment is described next. The same or logically equivalent equations to achieve the same results may be implemented in various ways without departing from the present invention. FIG. 3 is a schematic diagram of the tri-state (NTR) test pad logic. The NTR terminal, node 100, is coupled to DVDD through a pull-up transistor 102 to maintain NTR in a logic high state when not in use, as it is an active low signal. Node 100 is coupled through an inverter 104 to provide an intermediate logic signal TS. A NOR gate 108 combines logic signals TS and NLSJ (node 106) to form a logic signal DP. DP is one of the logic signals on bus 50. Another inverter 110 has its input coupled to node TS and its output provides another intermediate logic signal NTS which is logically equivalent to NTR. A NAND gate 112 combines logic signals NTR and NLSJ to provide a logic signal NSN which is another one of the logic signals on bus 50. Logic signals DP and NSN form part of bus 50 for controlling the testable I/O pad. Intermediate logic signals TS and its complement, NTS, are provided to the circuitry shown on FIG. 4, described below. Another pair of inverters 120, 122 are coupled to receive logic signals NTR and TS, respectively, to provide logic signals ITS and INTS, respectively. Logic signals ITS and INTS may be used to turn off pad pull-ups and pull-downs when NTR goes low (i.e., during tri-state) by either tying them directly to the pull-up/pull-down signals or by routing them through logic in the IC and then to the pull-up/pull-downs. FIG. 4 is a schematic diagram of the NTM pad logic. The NTM terminal, coupled to node 130, receives the NTM logic signal. NTM is an active low latch signal used to latch test data into the latch of FIG. 2. Node 130 is coupled to a pull-up transistor 132 to maintain the pad high when it is not driven for test purposes. An inverter 134 is coupled to node 130 to provide logic signal NLSJ to FIG. 3. NLSJ is also coupled through an inverter 136 to provide a logic signal LS, which is logically equivalent to NTM. Another inverter 140 is coupled to the output of inverter 138 to provide logic signal NLS. Signals NLS and LS form part of bus 50 and are used to control the output of inverter 52 (FIG. 2) for writing into the latch of FIG. 2. A NOR gate 142 combines logic signals NTM and TS (from FIG. 3) to provide logic signal SP. Conversely, a NAND gate 144 combines logic signals NTM and NTS (the complement of TS) to provide a logic signal NDN. Signals SP and NDN form part of bus 50. Test Mode Operation A typical test sequence utilizing the logic described above is as follows: 1) The NTR and NTM lines are normally held high. 2) The NTR line is driven low tri-stating the pads, and the test bits to be latched are presented on the pad inputs. 3) The NTM line is driven low to latch the test bit into the latch on each of the pads. 4) The NTR line is driven back high, causing the pads to drive out the inverse of the latched test bit which was driven in. 5) The NTM line is driven high to return the pads to normal operation. The logic states of the control bus lines for this sequence are shown in Table 3, as follows: TEST SEQUENCE NTR NTM DP SP NDN NSN NLS LS Description 1 1 1 0 0 1 0 1 Normal operation 0 1 0 0 1 1 0 1 Tristate pins 0 0 0 0 1 1 1 0 Latch test data 1 0 0 1 1 0 1 0 Output inverse data 1 1 1 0 0 1 0 1 Normal operation Any number of I/O pads may be tested simultaneously under control of the NTR and NTM signals (subject to bus loading considerations). It is desirable to provide alternating ones and zeros to adjacent pins (I/O pad terminals) to check for short circuits between them. Having illustrated and described the principles of our invention in a preferred embodiment thereof, it should be readily apparent to those skilled in the art that the invention can be modified in arrangement and detail without departing from such principles.

Claims: A digital logic integrated circuit comprising: a plurality of I/O terminals (10), each terminal (10) having a corresponding testable I/O pad, each pad having integral I/O circuitry including a one-bit latch (52,54,56) coupled to and disposed adjacent to the corresponding I/O terminal for storing a test bit present at the I/O terminal and output driver logic (66,86) for driving a selected bit to the said corresponding I/O terminal as an output bit; a first test terminal (100) for receiving a tri-state signal (NTR); and a second test terminal (130) for receiving a latch signal (NTM); each output driver logic circuit (66,86) being arranged to present a high impedance to the corresponding I/O terminal, in response to the tri-state signal (NTR), to allow input at the corresponding latch of a test bit present at the corresponding I/O terminal; each of said latches (52,54,56) being arranged to store the corresponding test bit in response to the latch signal; and each of said output driver logic circuits (66,86) including selecting means for selecting the stored test bit as the selected bit when the latch signal (NTM) is asserted and the tri-state signal (NTR) is not asserted, and for selecting the normal pad output signal as the selected bit when neither the tri-state (NTR) nor the latch signal (NTM) is asserted. A digital logic integrated circuit according to claim 1 wherein: the integrated circuit is a CMOS device; the testable I/O pad further includes a P-driver transistor (16) and an N-driver transistor (18), each driver transistor controlled by a respective gate signal (P,N) and coupled to the terminal; the output driver logic includes an AOI circuit coupled to provide the P-driver gate signal; and the output driver logic includes an OAI circuit coupled to provide the N-driver gate signal. A testable I/O pad according to claim 2 wherein the AOI and OAI circuits are arranged for turning both output driver transistors OFF responsive to the tri-state signal, thereby tri-stating the output driver circuit to allow receiving the test bit.

Inventors: FRANZ DOUGLAS L, HOEKSTRA CASEY D, KLAUS RICHARD I, PRITCHARD THOMAS B, FRANZ, DOUGLAS L., HOEKSTRA, CASEY D., KLAUS, RICHARD I., PRITCHARD, THOMAS B.
Applicants: HEWLETT PACKARD CO, HEWLETT-PACKARD COMPANY
Application year: 1992
Main classification: G06F11
IPC codes: H01L27, G01R31, H01L21