The subject matter of this application is related to the subject matter of co-pending application Ser. No. 12/985,604 (“the '604 patent application”), filed on Jan. 6, 2011, the teachings of which are incorporated herein by reference in their entirety.
This application is directed, in general, to an electronic device, and, more specifically, to self-testing thereof.
An electronic device such as an integrated circuit (IC) sometimes includes self-test circuitry that may be used to determine device functionality of the IC before or after deployment of the device in a product. The self-test circuitry may include scan chains used to test combinatorial logic on the IC. The scan chains are typically configured with a series of test patterns to test functionality of the IC at the end of the manufacturing line before the IC is shipped to a customer.
Reference is now made to the following descriptions taken in conjunction with the accompanying drawings, in which:
Many complex IC devices include a scan chain used to functionally test combinatorial logic in the IC typically during an end-of-line, device-level test. A tester system typically provides test patterns (aka test vectors, test input data) to the scan chains, and reads test results (aka test output data) from the scan chain. Such testing is useful for detecting and sequestering ICs that include fatal manufacturing defects and ICs that may suffer from early failure after a short period of operation. In many cases, after the IC leaves the manufacturing facility, the scan chain is thereafter unused.
This disclosure benefits from the recognition by the inventor that the scan chain infrastructure on the IC may be advantageously used after the IC leaves the manufacturing environment. The '604 patent application describes a BIST (built-in self-testing) technique in which test patterns are stored in a nonvolatile memory associated with the IC. On device startup, or periodically, a controller associated with the IC initiates and manages a test of the combinatorial logic (aka the device under test or DUT) using the test patterns. The results of the test may be used to modify operation of the IC, such as reporting the test error or disabling further operation of the IC to prevent generation of spurious results in the system employing the IC.
The '604 patent application describes a BIST architecture that includes a device under test (DUT), a system test controller, and a memory. The memory stores all of the data needed to perform the BIST testing, including configuration data for configuring the DUT for BIST testing, test input data to be provided to the DUT for the BIST testing, and information (referred to as the “golden signature” data) characterizing the desired test output data generated by the DUT during the BIST testing for that test input data. The controller is responsible for (i) configuring the DUT for the BIST testing, (ii) providing the test input data to the DUT, (iii) receiving the resulting test output data from the DUT, and (iii) evaluating the test output data with respect to the corresponding golden signature data to determine whether the DUT passed or failed the BIST testing. In this BIST architecture, system-level automatic testing equipment (ATE), which is external to the circuit board on which the DUT is configured, instructs the controller to initiate the BIST testing, and the controller informs the system-level ATE when the BIST testing is complete and whether the DUT passed or failed the BIST testing.
According to the '604 patent application, the controller, memory, and DUT are all configured on the same circuit board and possibly even on the same integrated circuit (IC) chip. For example, in one implementation, the DUT and the controller are implemented on the same chip, which is itself mounted on the same circuit board as the memory, which is external to the chip.
According to BIST architecture 100, testing controller 120 is not responsible for making the ultimate determination as to whether BIST testing was successful. In particular, testing controller 120 is not responsible for comparing the BIST test output data with corresponding golden signature data to detect errors in the BIST testing. Rather, controller 120 simply receives configuration and test input data from system ATE 150 via TAP 140, configures the logic core for the BIST testing, provides the test input data to the logic core, receives the resulting test output data from the logic core, and forwards that test output data via TAP 140 to system ATE 150, which is responsible for storing the golden signature data and evaluating the test output data to determine whether the logic core passed or failed the BIST testing.
As shown in
Chip 110 supports (at least) two different types of testing of logic core 130: device-level testing and system-level testing. Device-level testing is typically performed by the manufacturer of chip 110 before the chip is assembled onto its final (e.g., product) circuit board, while system-level testing is typically performed by a customer of the manufacturer after the chip is assembled onto its final circuit board. During device-level testing, a device-level ATE (not shown in
During device-level testing, input data mux 126 is configured to select input (i.e., configuration and test) data provided by the device-level ATE to chip 110 via I/O ports. Along with appropriate clock signals, that input data is applied by mux 126 to logic core 130 as the following signals. There is one I/O port for each of the following signals:
As represented in
System-level testing of logic core 130 can be described in terms of four phases:
During Phase 1, system ATE 150 loads test configuration data for the SP LBIST test into the register SP_LBIST_PARAMETER via the TMS signal of
During Phase 2, system ATE 150 initiates the SP LBIST testing. This is done by loading a specific data pattern into the SP_LBIST_MODE_STATUS register via the tap 140. This pattern sets the Start_bit of this register to 1. Once the START bit is set to 1, the BIST controller takes control of the scan channels, the scan clocks, and the scan control signals going into the core logic 130 by configuring the mux 126.
During Phase 3, SP LBIST testing is executed. In particular, during Phase 3, a number of scan loads are executed equal to one more than the value stored in the field Pattern_Count of the register SP_LBIST_PARAMETER during Phase 1. The amount of input and output data in each scan load is based on the value stored in the field Chain_length of the register SP_LBIST_PARAMETER during Phase 1.
During each scan load, SP LBIST module 122 loads another subset of test input data stored in SCAN_TEST_DATA_BUFFER into logic core 130 via input data mux 126. In addition, during each scan load, SP LBIST module 122 reads out another subset of test output data, corresponding to the subset of test input data from the previous scan load, from logic core 130 for buffering in SCAN_TEST_DATA_BUFFER, from which system ATE 150 reads the test output data via output data mux 128 and tap 140 as the TDO signal of
During the first scan load, the first subset of test input data is loaded into logic core 130, and the test output data read out from logic core 130 during that first scan load is ignored. The extra scan load (i.e., one more than Pattern_Count) is used to shift out the last subset of test output data corresponding the previously loaded, last subset of test input data. During that last scan load, no new test input data is loaded into logic core 130.
During Phase 4, the SP LBIST test is completed by checking the status of the test. This is done by the ATE 150 reading out the content of the SP_LBIST_MODE_STATUS register via the tap 140. The ATE checks the content of the BUSY bit and the CRC bit. For the test to pass, the BUSY bit must be set to 0 and the CRC bit must be set to 0.
SP LBIST module 122 then relinquishes control of the logic core scan clocks, scan control signals, and input and output scan channels. In addition, SP LBIST module 122 resets the register SP_LBIST_MODE_STATUS such that the fields Start_bit and BUSY are both 0, while the field CRC indicates the result of the CRC check.
Those skilled in the art to which this application relates will appreciate that other and further additions, deletions, substitutions and modifications may be made to the described embodiments.
Number | Name | Date | Kind |
---|---|---|---|
7284175 | Wang et al. | Oct 2007 | B2 |
7313739 | Menon et al. | Dec 2007 | B2 |
7353440 | Ohwada et al. | Apr 2008 | B2 |
7550995 | Guilloteau et al. | Jun 2009 | B1 |
7568141 | Menon et al. | Jul 2009 | B2 |
20020138801 | Wang et al. | Sep 2002 | A1 |
20040128596 | Menon et al. | Jul 2004 | A1 |
20050240850 | Ohwada et al. | Oct 2005 | A1 |
20070168803 | Wang et al. | Jul 2007 | A1 |
20080104466 | Menon et al. | May 2008 | A1 |
20080256407 | Selva et al. | Oct 2008 | A1 |
20110214026 | Rajski et al. | Sep 2011 | A1 |
20130077421 | Wang et al. | Mar 2013 | A1 |