The present invention relates generally to testing an embedded device, and more particularly to testing a device embedded in a programmable logic device.
Programmable logic devices exist as a well-known type of integrated circuits that may be programmed by a user to perform specified logic functions. There are different types of programmable logic devices, such as programmable logic arrays (PLAs) and complex programmable logic devices (CPLDs). One type of programmable logic devices, called a field programmable gate array (FPGA), is very popular because of a superior combination of capacity, flexibility and cost.
An FPGA typically includes an array of configurable logic blocks (CLBs) surrounded by a ring of programmable input/output blocks (IOBs). The CLBs and IOBs are interconnected by a programmable interconnect structure. The CLBs, IOBs, and interconnect structure are typically programmed by loading a stream of configuration data (bitstream) into internal configuration memory cells that define how the CLBs, IOBs, and interconnect structure,are configured. The configuration bitstream may be read from an external memory, conventionally an external integrated circuit memory EEPROM, EPROM, PROM, and the like, though other types of memory may be used. The collective states of the individual memory cells then determine the function of the FPGA.
An FPGA or other integrated circuit is conventionally tested by connecting it to a socket coupled to probe printed circuit board (PCB) or card, prototype card or other testing or tester card. Externally accessible input and output pins of such an integrated circuit are coupled to a printed circuit board for coupling to a tester.
However, an embedded device may not have directly accessible external pins after it is embedded. For example, a wafer having a plurality of microprocessor cores formed on it may be subsequently processed to form respective FPGAs in contact with such a microprocessor core. The microprocessor core may no longer be directly accessible owing to interconnect layers and dielectric layers, among others, extending over the microprocessor core.
This presents a problem for testing the microprocessor core. Even if a microprocessor core were tested prior to FPGA fabrication, it would still need to be retested after such FPGA fabrication. To test such a microprocessor core, input and output pins of the combined FPGA and microprocessor core device need to be used to access internal pins of the microprocessor core device. However, the microprocessor core device may comprise more inputs and outputs than the device in which it is embedded. Moreover, extending inputs and outputs of the microprocessor core device to provide additional inputs and outputs of the combined device would necessitate significant additional interconnect routing and an increase in package size.
Accordingly, it would be desirable and useful to provide method and apparatus for testing an embedded device without increased package size. Moreover, it would be desirable and useful to provide method and apparatus to test an embedded device without additional circuitry even though an integrated circuit manufactured with such an embedded device has fewer input and output pins than the embedded device.
An aspect of the present invention is a method for testing an embedded device in an integrated circuit. More particularly, the integrated circuit has a first plurality of pins, and the embedded device has a second plurality of pins, where the second plurality of pins is greater than the first plurality of pins. A portion of the integrated circuit, not the embedded device, is programmed as a vector controller. A test vector is obtained and divided into partial test vectors. Each of the partial test vectors is separately sent to the vector controller, where the partial test vectors are reassembled as the test vector. The test vector is then sent from the vector controller to the embedded device.
Another aspect of the present invention is a system for testing comprising a tester. An integrated circuit to be tested is coupled to the tester, where the integrated circuit comprises a programmable logic device and an embedded device. The embedded device has more input pins than the integrated circuit. The programmable logic device is programmed to receive portions of a test vector and assemble the portions of the test vector to test the embedded device.
Another aspect of the present invention is a method of providing testing capability for an integrated circuit having fewer pins than an embedded device in the integrated circuit. More particularly, a programmable logic device coupled to the embedded device is provided. The programmable logic device forms a portion of the integrated circuit. The programmable logic device is programmed to function as a vector controller, where the vector controller is configured to obtain portions of a test vector, to assemble the portions into the test vector, to provide the test vector as assembled to the embedded device, to obtain a test vector result in response to the test vector as assembled, to disassemble the test vector result into test vector result portions and to output the test vector result portions.
Another aspect of the present invention is an integrated circuit apparatus for providing testing capability for an embedded device in a programmable logic device where the embedded device has more input and output pins than the programmable logic device. At least a portion of the programmable logic device is configured to function as a vector controller, where the vector controller is configured to receive test vector portions, assemble the test vector portions to provide a test vector input to the embedded device, obtain a test vector result from the embedded device in response to the test vector input, and output the test vector result.
So that the manner in which the above recited features, advantages and objects of the present invention are attained and can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to the embodiments thereof which are illustrated in the appended drawings.
It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the present invention may admit to other equally effective embodiments.
In the following description, numerous specific details are set forth to provide a more thorough understanding of the present invention. However, it will be apparent to one of skill in the art that the present invention may be practiced without one or more of these specific details. In other instances, well-known features have not been described in order to avoid obscuring the present invention.
Referring to
Integrated circuit 100 comprises a plurality of input and/or output pins (I/O pins) 104 for connecting to traces or conductive lines on printed circuit board 201 Notably, though system 200 is described in terms of conventional electrically conductive traces, it should be understood that the present invention is not so limited; rather, other forms of connectivity may be used, including, but not limited to, optical, radio wave, and like forms of interconnection.
I/O pins 104 are less in number than I/O pins 114 of embedded core 110. For purposes of clarity and not limitation, assume integrated circuit has 100 input pins and 100 output pins, and assume embedded core 110 has 400 input pins and 400 output pins. A test data vector 203 only 100 bits wide will not induce correct toggling of embedded core 110 for testing purposes. Assuming 400 inputs must be provided to embedded core 110 for correct toggling for testing purposes, such a test data vector is broken up into parts. Continuing the above example, 4 sets of 100 inputs each may be provided from tester 202 as partial test data vectors 203. Again it should be understood that the number of externally accessible inputs of an integrated circuit is less than the number of internally accessible inputs of an embedded core. Additionally, though certain numerical examples have been used for purposes of clarity, it should be apparent that other values may be used depending on actual numbers of input and/or output pins. Moreover, there may be unequal numbers of input and/or output pins, and the number of input and/or output pins need not be equally divisible.
Prior to providing test data partial-vectors 203 to integrated circuit 100 for testing embedded core 110, FPGA 120, or more particularly a portion of FPGA 120, is programmed to provide vector controller 129. By programming FPGA 120 to provide vector controller 129, no additional circuitry is added for testing, rather existing programmable circuitry is used. Furthermore, FPGA 120 comprises sufficient connectivity or data width to and from embedded core 110 for purposes of testing. In other words, FPGA 120 may be interconnected to microprocessor core 110 via input conductive paths 111 and output conductive paths 112, where the number of conductive paths 111 is equal to the number of input pins 114-A used, and the number of conductive paths 112 is equal to the number of output pins 114-B used.
Referring to
At step 301, inputs and outputs of vector controller 129 are defined, including inputs and outputs from step 301, as well as applicable data widths. Assuming that 100 external inputs 104-A are available for external data input, then data_in 102 may be 100 bits wide ([99:0]). Notably, not all external pins are available for data, as source voltage, ground and control signals are provided to integrated circuit 100. Assuming that embedded core 110 comprises 400 input pins 114-A, then output to embedded core 110 from vector controller 129 may be 400 bits wide ([399:0]) for signal outputs 111. Assuming that embedded core 110 comprises 500 output pins 114-B, then input from embedded core 110 to vector controller 129 may be 500 bits wide ([499:0]) for signal inputs 112. Again, these are merely examples of numbers of inputs and outputs, which numbers can and do vary depending on implementation.
At step 302, control inputs 101, data inputs 102 and inputs 112 from embedded core 110 for vector controller 129 are initialized, and outputs 111 to embedded core 110, control output 121 and data outputs 122 for vector controller 129 are initialized. Notably, during initialization, a signal may be set to 0, 1 or don't care. Inputs to vector controller 129 include, but are not limited to, reset, input-clock (CLK), data_in, input_from_core, and new_vector. Outputs from vector controller 129 include, but are not limited to, output_to_core, data_out, data_ready and output_clock (PCLK). Particularly, output_clock (PCLK) is provided to a clock pin of input pins 114-A of embedded core 110 of
At step 303, registers for vector controller 129 are assigned. Registers may be used to receive and temporarily store respective partial test vector input from data_in and output for data_out. One or more cycle registers may be used to count input and output test vector information, such as partial test vectors and partial test vector results. Notably, as connectivity exists between vector controller 129 and embedded core 110, once FPGA 120 is configured, then there may be lingering signal or invalid data on metal lines interconnecting embedded core 110 and vector controller 129. Accordingly, it is important to delineate between valid data and such invalid data. Thus, vector controller 129 may be programmed with a state machine to make use of registers to determine: when valid assembled data is to be sent from vector controller 129 to embedded core 110, when valid core response data is to be sampled from embedded core 110 to vector controller 129, and when valid control output 121 and valid data output 122 is to be sent from vector controller 129 to tester 202.
At step 304, operations of vector controller 129 are defined. Operations of vector controller 129 are described in more detail below.
Referring to
At step 510, partial test vectors and associated partial expected results are provided to tester 202. Partial test vectors may be provided using a computer program that reads a line from a test vector file, then reads out a determined number of digits to a first line in an output file, reads-out the determined number of digits to a second line in an output file, and so on until a last line of such a test vector file has been read out. Notably, the determined number in the above example is constant. For a test vector file that is not evenly divisible, dummy values may be inserted. Notably, original expected results may be formed into partial expect results the same way partial test vectors are split from original test vector input.
At step 501, a partial test vector is sent from tester 202 to vector controller 129 via signal inputs 102 of integrated circuit chip 100. In
Input_clock signal 401 may be used to clock in each partial test vector from data_in signal 405 into registers 525 forming a portion of vector controller 129. A register may be used to count each such partial test vector inputted to indicate when all partial test vectors for an original test vector have been inputted to controller 129. Though registers are described herein, it should be understood that other well-known storage circuits may be used, the availability of which may depend on the non-embedded device.
Clocking partial test vectors into vector controller 129 is represented in
Once all partial test vectors associated with a complete line of an original test vector have been provided to vector controller 129, vector controller 129 provides them as an input test vector to embedded core 110 at step 504. In
In response to receiving an input test vector, embedded core 110 provides a test vector result to vector controller 129 at step 505. Vector controller 129 is configured to know when valid data may be caught from signal input lines 112 from output signals on pins 114-B. In
This test vector result is disassembled and stored as partial test vector results at step 506 in vector controller 129. A test vector result may be stored in the same or different registers used for storing partial test vectors, or in some other well-known storage device. Though such a test vector result is divided into partial vector results for output in sections or blocks, it may be stored as a test vector result and output serially. However, for taking out a test vector result longer or wider than output pins 104-B at step 507, such a test vector result is divided into blocks of lengths no greater than that of output pins 104-B. Again, this may require adding dummy bits to fill unused space or such partial test vector results may have different lengths or some combination thereof.
In
Referring to
Referring to
With reference to
While foregoing is directed to the preferred embodiment of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow. For example, though the present invention is described in terms of an FPGA and embedded processor core, it should be understood that constructs other than an FPGA and an embedded processor core may be used, including, but not limited to, combinations formed of a programmable logic device and at least one of a memory, an Application Specific Integrated Circuit, an Application Specific Standard Product, a Digital Signal Processor, a microprocessor, a microcontroller, and the like. Moreover, though an example of 400% more pins was used, it should be apparent that an embedded device may have a greater or lesser percentage of pins or terminals for interconnectivity than 400%. Furthermore, use of the present invention should be considered even when then number of pins in the embedded device is in a range of approximately 5 to 25 percent greater than the number of pins on the integrated circuit.
All trademarks are the respective property of their owners.
Number | Name | Date | Kind |
---|---|---|---|
4758985 | Carter | Jul 1988 | A |
4855669 | Mahoney | Aug 1989 | A |
5072418 | Boutaud et al. | Dec 1991 | A |
5142625 | Nakai | Aug 1992 | A |
RE34363 | Freeman | Aug 1993 | E |
5274570 | Izumi et al. | Dec 1993 | A |
5311114 | Sambamurthy et al. | May 1994 | A |
5339262 | Rostoker et al. | Aug 1994 | A |
5347181 | Ashby et al. | Sep 1994 | A |
5361373 | Gilson | Nov 1994 | A |
5457410 | Ting | Oct 1995 | A |
5473267 | Stansfield | Dec 1995 | A |
5500943 | Ho et al. | Mar 1996 | A |
5504738 | Sambamurthy et al. | Apr 1996 | A |
5537601 | Kimura et al. | Jul 1996 | A |
5543640 | Sutherland et al. | Aug 1996 | A |
5550782 | Cliff et al. | Aug 1996 | A |
5553082 | Connor et al. | Sep 1996 | A |
5574930 | Halverson, Jr. et al. | Nov 1996 | A |
5574942 | Colwell et al. | Nov 1996 | A |
5581745 | Muraoka | Dec 1996 | A |
5600845 | Gilson | Feb 1997 | A |
5652904 | Trimberger | Jul 1997 | A |
5671355 | Collins | Sep 1997 | A |
5705938 | Kean | Jan 1998 | A |
5732250 | Bates et al. | Mar 1998 | A |
5737631 | Trimberger | Apr 1998 | A |
5740404 | Baji | Apr 1998 | A |
5742179 | Sasaki | Apr 1998 | A |
5742180 | DeHon et al. | Apr 1998 | A |
5748979 | Trimberger | May 1998 | A |
5752035 | Trimberger | May 1998 | A |
5760607 | Leeds et al. | Jun 1998 | A |
5809517 | Shimura | Sep 1998 | A |
5835405 | Tsui et al. | Nov 1998 | A |
5859804 | Hedberg et al. | Jan 1999 | A |
5874834 | New | Feb 1999 | A |
5889788 | Pressly et al. | Mar 1999 | A |
5892961 | Trimberger | Apr 1999 | A |
5914616 | Young et al. | Jun 1999 | A |
5914902 | Lawrence et al. | Jun 1999 | A |
5933023 | Young | Aug 1999 | A |
5970254 | Cooke et al. | Oct 1999 | A |
6011407 | New | Jan 2000 | A |
6020755 | Andrews et al. | Feb 2000 | A |
6026481 | New et al. | Feb 2000 | A |
6096091 | Hartmann | Aug 2000 | A |
6154051 | Nguyen et al. | Nov 2000 | A |
6163166 | Bielby et al. | Dec 2000 | A |
6172990 | Deb et al. | Jan 2001 | B1 |
6178541 | Joly et al. | Jan 2001 | B1 |
6181163 | Agrawal et al. | Jan 2001 | B1 |
6211697 | Lien et al. | Apr 2001 | B1 |
6242945 | New | Jun 2001 | B1 |
6272451 | Mason et al. | Aug 2001 | B1 |
6279045 | Muthujumaraswathy et al. | Aug 2001 | B1 |
6282627 | Wong et al. | Aug 2001 | B1 |
6301696 | Lien et al. | Oct 2001 | B1 |
6343207 | Hessel et al. | Jan 2002 | B1 |
6353331 | Shimanek | Mar 2002 | B1 |
6356987 | Aulas | Mar 2002 | B1 |
6389558 | Herrmann et al. | May 2002 | B1 |
6434735 | Watkins | Aug 2002 | B1 |
6460172 | Insenser Farre et al. | Oct 2002 | B1 |
6467009 | Winegarden et al. | Oct 2002 | B1 |
6483342 | Britton et al. | Nov 2002 | B2 |
6507942 | Calderone et al. | Jan 2003 | B1 |
6510548 | Squires | Jan 2003 | B1 |
6518787 | Allegrucci et al. | Feb 2003 | B1 |
6519753 | Ang | Feb 2003 | B1 |
6522167 | Ansari et al. | Feb 2003 | B1 |
6532572 | Tetelbaum | Mar 2003 | B1 |
6539508 | Patrie et al. | Mar 2003 | B1 |
6541991 | Hornchek et al. | Apr 2003 | B1 |
6578174 | Zizzo | Jun 2003 | B2 |
6587995 | Duboc et al. | Jul 2003 | B1 |
6588006 | Watkins | Jul 2003 | B1 |
6601227 | Trimberger | Jul 2003 | B1 |
6604228 | Patel et al. | Aug 2003 | B1 |
6611951 | Tetelbaum et al. | Aug 2003 | B1 |
6751762 | Antonischki | Jun 2004 | B2 |
20010049813 | Chan et al. | Dec 2001 | A1 |
20030062922 | Douglass et al. | Apr 2003 | A1 |
Number | Date | Country |
---|---|---|
0315275 | Oct 1989 | EP |
0 905 906 | Mar 1999 | EP |
1 235 351 | Aug 2002 | EP |
WO 93 25968 | Dec 1993 | WO |