The claimed subject matter relates generally to multi-core processors and, more specifically, to techniques for testing individual cores in a multi-core processor.
As processors and systems on a chip have become more complicated, the number of cores on the devices has increased. An increase in the number of cores has correspondingly increased the complexity of testing procedures. Current design that employ built in self test (BIST) constructs often use multiple input signature registers (MISRs) to collect the results of tests. Typically, use of MISRs involves scanning each MISR of a processor and transmitting the results as a scan chain to a manufacturer test program. The scan chain is then parsed to identify the result from each MISR and the individual results are compared to expected results to determine if the corresponding core has passed or failed the test. As the number of cores have increased, the amount of time required for parsing and comparing has also increased.
Assuming a processor with sixty-four (64) cores, each core having two hundred thousand (200,000) latches, under a worst case scenario, the device has a total of 12.8 million latch bits, each of which must be examined. One modest approach is to connect all the MISRs together in one scan chain. If 32-bit MISRs are used, sixty-four (64) cores would contribute 2048 bits to the scan chain. In current implementations, a pass/fail analysis is performed by software on a manufacturing tester. Of course, there are multiple techniques for arranging a scan chain to facilitate transmitting the chain from a chip being tested. A test pattern, depending upon the particular arrangement technique, is written so that latch locations are identified for each MISR in the scan chain. The manufacturing test then inspects the locations corresponding to each MISR to determine a pass/fail status for a corresponding core.
Provided is an apparatus that includes a processor comprising a plurality of processing cores and a corresponding plurality of LBIST modules, each LBIST module corresponding to one of the plurality of processing cores; a MISR read out connection, comprising a compare value register, a plurality of MISR registers equal in number to the plurality of cores, each MISR register corresponding to one of the plurality of processing cores and a corresponding plurality of XOR logic gates, each XOR logic gate coupled to the compare value register and a corresponding one of the MISR registers and configured to signal whether or not the event the compare value register and the corresponding MISR register match and logic, stored and executed on the processor, for transmitting the signals generated by the plurality of XOR logic gates.
This summary is not intended as a comprehensive description of the claimed subject matter but, rather, is intended to provide a brief overview of some of the functionality associated therewith. Other systems, methods, functionality, features and advantages of the claimed subject matter will be or will become apparent to one with skill in the art upon examination of the following figures and detailed description.
A better understanding of the claimed subject matter can be obtained when the following detailed description of the disclosed embodiments is considered in conjunction with the following figures, in which:
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
One embodiment, in accordance with the claimed subject, is directed to a programmed method for testing multi-core processors. The term “programmed method”, as used herein, is defined to mean one or more process steps that are presently performed; or, alternatively, one or more process steps that are enabled to be performed at a future point in time. The term ‘programmed method” anticipates three alternative forms. First, a programmed method comprises presently performed process steps. Second, a programmed method comprises a computer-readable medium embodying computer instructions, which when executed by a computer performs one or more process steps. Finally, a programmed method comprises a computer system that has been programmed by software, hardware, firmware, or any combination thereof, to perform one or more process steps. It is to be understood that the term “programmed method” is not to be construed as simultaneously having more than one alternative form, but rather is to be construed in the truest sense of an alternative form wherein, at any given point in time, only one of the plurality of alternative forms is present.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Turning now to the figures,
Also coupled to each of cores 100-163 is a multiple input signature register (MISR) 300-363, respectively. Again for the sale of simplicity, only MISRs 300-315 and 356-363 are illustrated. MISRs 300-363 store results corresponding to the operation by cores 100-163, respectively, to the test patterns generated by LBISTs 200-263, respectively. Also coupled to processor 90 is a MISR read out connection 400, which is described in more detail below in conjunction with
MISR read out connection 400 also includes a compare value register 404, which, in this example, is thirty-two (32) bits, of which only bit ‘0’ and bit ‘31’ are illustrated. An input 406 to compare register 404 enables a manufacturing tester to set compare register 404 with an expected value. It should be noted different tests may produce different expected results so input 406 is provided to enable the manufacturing tester to match a particular test to an expected result for that particular test. Once LBISTs 200-263 (
Scan output of compare value register 402 is coupled to the inputs of sixty-four (64) XOR logic gates 500-563, of which only 500-503 and 560-563 are illustrated. Scan outputs of each of MISRs 300-363 are also coupled to a second input of the corresponding XOR logic gate 500-563. Output of XOR logic gates 500-563 are transmitted via a MISR read out connection output signal 408. The relationships and functions of inputs 402 and 406, output 408, MISRs 300-363, compare value 404 and XOR logic gates 500-563 are explained in more detail below in conjunction with
During a “Compare Values” block 608, each of the results generated during block 604 is compared with the value stored in CVR 404 during block 606. The comparisons are executed by logic associated with XOR logic gates 500-563 (
During a “Bit Clear?” block 658, process 650 determines whether or not the bit read during block 656 is clear, i.e. set to a value of ‘0’, or not, i.e. set to a value of ‘1’. If the bit is not clear, control proceeds to a “Correlate Bit to Core” block 660 during which process 650 determines the place of the bit in the scan chain to determine the corresponding core 100-163 that produced the value. During a “Note Core Failure” block 662, process 650 notes that the core identified during block 660 is defective.
Once the defective core has been noted during block 662 or, once the read bit has been evaluated to have a value of ‘0’ during block 658, control proceeds to a “More Bits?” block 664 during which process 650 determines whether or not every bit in the scan chain received during block 654 has been examined. If there are more bits to examine, control returns to Read Next Bit block 656 during which the next unexamined bit is read and processing continues as described above. If, during block 664, process 650 determines that each bit has been examined, control proceeds to a “Report Results” block 666 during which process 650 repots to an appropriate entity the results noted during 662, which include indications of each core 100-163 that failed the test.
Finally control proceeds to an “End Analyze Output” block 669 in which process 650 is complete. In this manner, rather than producing a scan chain comprised of sixty-four (64) times thirty-two (32) bits with each thirty-two bit scan chains corresponding to one of cores 100-163 (FI), the disclosed technology produces, in this example, a thirty-two (32) bit scan chain for analysis. Advantages of this approach include a simple design with a low area requirement by incorporating one XOR logic gate 500-563 per MISR 300-363. The time to test processor 90 is also minimized because only thirty-two (32) scan clocks (not shown) are required to determine the health of sixty-four (64) cores 100-163. The width of a MISR 300-363 determines the number of scan clocks needed. In addition, a minimum manufacturing test program is required because test logic merely needs to look at the scan chain transmitted during block 612 for values of ‘1’ on an output pin (not shown) to identify a failed core 100-163. The design is also scalable because, although the example shows sixty-four (64) cores 100-163, the disclosed techniques may be applied to any number of cores.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Number | Name | Date | Kind |
---|---|---|---|
4510435 | Tanno | Apr 1985 | A |
4835479 | Haines | May 1989 | A |
6158032 | Currier et al. | Dec 2000 | A |
6393594 | Anderson et al. | May 2002 | B1 |
7155637 | Jarboe, Jr. et al. | Dec 2006 | B2 |
7181661 | Bybell | Feb 2007 | B2 |
7206966 | Barr et al. | Apr 2007 | B2 |
7353440 | Ohwada et al. | Apr 2008 | B2 |
7627797 | Miner et al. | Dec 2009 | B2 |
7673208 | Seuring | Mar 2010 | B2 |
7685487 | Kuo et al. | Mar 2010 | B1 |
7856582 | Cervantes et al. | Dec 2010 | B2 |
7992059 | Anvekar et al. | Aug 2011 | B2 |
20030009715 | Ricchetti | Jan 2003 | A1 |
20040006729 | Pendurkar | Jan 2004 | A1 |
20060080585 | Kiryu | Apr 2006 | A1 |
20070050693 | Kiryu | Mar 2007 | A1 |
20070260823 | Dickinson et al. | Nov 2007 | A1 |
20080276144 | Huben et al. | Nov 2008 | A1 |
20090055696 | Grise et al. | Feb 2009 | A1 |
20090210763 | Eckelman et al. | Aug 2009 | A1 |
20100262897 | Miyagawa et al. | Oct 2010 | A1 |
Entry |
---|
Liu et al., “Memory Built-in Self Test in Multicore Chips with Mesh-Based Networks,” IEEE Micro, 2009, pp. 46-55. |
Karimi et al., “Parallel Testing of Multi-Port Static Random Access Memories for BIST,” Proceedings of the 2001 IEEE International Symposium on Defect and Fault Tolerance in VLSI Systems, 2001, pp. 1-9. |
Number | Date | Country | |
---|---|---|---|
20120084603 A1 | Apr 2012 | US |