This invention relates generally to the testing of semiconductor memories, and more specifically to a method and circuit for performing compression to reduce the time for testing memory cells in a semiconductor memory.
During the manufacture of semiconductor memories, such as synchronous dynamic random access memories (“SDRAMs”), it is necessary to test each memory to ensure it is operating properly. Electronic and computer systems containing semiconductor memories also normally test the memories when power is initially applied to the system. A typical SDRAM includes a number of arrays, each array including a number of memory cells arranged in rows and columns. During testing of the SDRAM, each memory cell must be tested to ensure it is operating properly. In a typical prior art test method, data having a first binary value (e.g., a “1”) is written to and read from all memory cells in the arrays, and thereafter data having a different binary value (e.g., a “0”) is typically written to and read from the memory cells. A memory cell is determined to be defective when the data written to the memory cell does not equal that read from the memory cell. As understood by one skilled in the art, other test data patterns may be utilized in testing the memory cells, such as an alternating bit pattern “101010 . . . 0” written to the memory cells in each row of the arrays.
In a typical test configuration, an automated memory tester is coupled to address, data, and control buses of the SDRAM, and applies signals to these buses to perform the desired tests. As the storage capacity of SDRAM and other memory devices increase, the number of memory cells and hence the number of data transfer operations the tester must perform correspondingly increases. For example, in a memory array having n rows and m columns of memory cells, the tester performs n*m cell accesses in writing the first binary data values to all the memory cells in the array, and thereafter performs n*m cell accesses in reading the same data. The tester must once again perform n*m accesses in writing data having a second binary value to each memory cell, and the same number of accesses in reading this data. The tester thus performs a total of four times n*m cell accesses, each of which requires a bus cycle to perform.
Data compression has been used by some testers to reduce the number of bus cycles required to test memory cells. Data compression generally relies on some means of quickly writing data to the memory cells of the memory device, and then reducing the amount of data that must be read from the memory device to indicate a pass or a fail condition. For example, sense amplifiers of an SDRAM device may be held at a particular logic level, such as a level corresponding to a binary “1” value, and the rows of memory cells sequentially activated, thereby quickly writing a binary value of “1” to each of the memory cells in the array. When data is read from the memory device, the binary values from all of the memory cells or groups of memory cells can be applied to an AND gate or other logic circuit. The logic circuit outputs a logic “1” if all of the memory cells in the row properly function to store the correct binary value. A similar process can then be used to write a binary value of “0” to all of the memory cells and then read the values stored in the memory cells. The results of reading each row can then be combined by conventional means so that the memory device will output a single binary value indicating either a pass or a fail condition.
In addition to compressed data testing of memory, semiconductor memory systems typically include logic to detect errors internally for correction. In general, error detection logic circuits are used to maintain the integrity of data stored in the memory array. When data are written to or read from memory, a calculation is performed on the data to produce or identify an error correction code (“ECC”). Both the code and data are stored, and the code is used to detect errors when the read data is compared to the data previously written. One type of error detection code generates parity bits for each data word written to memory. The parity bits are chosen so that the sum of the data and the parity bits are even. When the data word and parity bits are read from memory, the sum of the data word and the parity bits is determined. If the sum of the data word and the parity bits is an even number, then no error is detected. If one of the parity bits or one of the bits of the data word is in error, the sum of the data word and parity bits is an odd number. Although parity bits can be used to determine if the read data word contains an error, parity bits alone cannot be used to correct the error. A series of equations are derived using the parity bit configurations for generating ECC check bits particular to the data word being written to memory. The ECC check bits are written along with the data. When the data and check bits are read, the ECC logic detects the error by comparing the ECC check bits read from memory with ECC check bits calculated from the data read from memory. If no errors are detected, the read data are output from the memory device. If an error is detected, the ECC logic uses the read ECC check bits to correct the read data, and the corrected read data are output from the memory device. If too many bits of the read data are in error to be corrected, then the condition may be reported.
Hamming codes are conventional ECCs commonly use to detect and correct bit errors in a data word. The number of ECC bits for Hamming codes is determined by the total number of bits in the data and by the number of data bit errors that can be corrected. For example, an eight data bit word typically requires four check bits to correct a single bit error in the word, creating an ECC encoded word 12 bits in length. A conventional 8,4 Hamming code having eight data bits D0-D7 and four ECC bits P0-P3 is shown in
Conventional error detection methods such as those used in the memory system 250 of
Therefore, there is a need for an alternative approach to using ECC systems in order to reduce testing time when testing a large amount of data, such as data read from the memory cells of a large memory device or of several memory devices.
A system and method of testing a memory cell array includes an input logic circuit that receives input data bits and generates test data bits having a first pattern corresponding to the value of a subset of the input data bits. A selector then applies to an ECC encoder the input data bits in a normal operating mode and the test data bits in a test mode. The ECC encoder generates ECC check bits having a value corresponding to the value of the selected data bits. The ECC encoder may generate ECC bits that are all “1” if the selected data bits are all “1,” and it may generate ECC bits that are all “0” if the selected data bits are all “0.” The selected data bits and the corresponding ECC bits are then written to a memory cell array. The data bits and corresponding ECC check bits are subsequently read from the memory cell array. In the normal operating mode, the read data bits and corresponding ECC check bits are applied to an ECC decoder. The ECC decoder uses the received ECC check bits to check the received data bits and, if any of the received data bits are in error, to correct the received data bits to provide correct data bits. In the test mode, the read data bits and corresponding ECC check bits are checked by an output logic circuit to determine if the read data bits and ECC check bits have a second pattern corresponding to the value of the subset of the input data bits. The output logic circuit generates at least one test result bit having a value indicative of the read data bits and ECC check bits having the second pattern. Finally, a selector circuit outputs the correct data bits in the normal operating mode and the at least one test result bit in the test mode.
Embodiments of the present invention are directed to a test system to reduce testing time during the testing of integrated circuit devices, such as memory devices. In the following description, certain details are set forth below to provide a sufficient understanding of the invention. However, it will be clear to one skilled in the art that the invention may be practiced without these particular details. In other instances, well-known circuits, control signals, timing protocols, and software operations have not been shown in detail or omitted entirely in order to avoid unnecessarily obscuring the invention.
Embodiments of the present invention make use of revisions to the 8,4 Hamming code shown in
Once written to the memory array 270, data are now ready to be read from the memory array 270 and checked for errors. Continuing with the system in normal mode of operation, the data plus ECC bits are read from the memory array 270 and received by the ECC decoder 232. The ECC bits are used to check and correct any errors. The read data are then sent out to the read latch 234, which is coupled to the decoder 232, and the read data are latched as determined by the command logic. A read data multiplexer 436 is coupled to the read latch 234, and in the normal mode of operation the data multiplexer 436 passes the read data from the read latch 234 to the read drivers 238 for sending out as read data DQ<0:7>.
During the testing mode of operation, the test components of the ECC system are enabled by asserting the TM signal thereby disabling the normal mode of operation. The test components include a write test mode (“TM”) logic circuit 441 and a read TM logic circuit 431. During the testing mode, a predetermined bit, such as the D0 bit, from one of the bits in the data word is defined as a valid bit and the data containing the valid bit are received by the input buffers 249. The remaining bits are then irrelevant to the system. The system may alternatively receive a single valid bit instead of the entire 8-bit data. The input buffers 249, the input registers 248 and the write FIFO 246 during testing mode operate in the same manner as in the normal mode of operation. The write TM logic circuit 441 receives and selects the valid bit from the data from the write FIFO 246, and outputs the same value to all remaining bits of the write data. As a result, the write test data contains the same number of bits as the write data initially received by the memory device 450. For example, if the system receives an 8-bit data word and if the valid bit is a “1,” then the write test data would be 8-bits in length comprising of eight “1” bits. If only a single bit is received by the write TM logic circuit 441, then the value of the single bit is used for all 8-bits of the test data. As mentioned above, if the system is in testing mode, the TM signal has been asserted. The TM signal is applied to the write data multiplexer 444, indicating it to pass on the test data sent by the write TM logic circuit 441 instead of data from the write FIFO 246. The write data multiplexer 444 therefore receives the write test data and transfers the test data to the encoder 242. For example, if the single valid bit received by the memory device 450 is a “1,” then the write TM logic circuit 441 applies eight “1” bits to the multiplexer 444. The ECC encoder 242 receives the test data of eight “1” bits and generates four check bits of “1,” and the eight test bits plus four check bits are then written to memory.
Once the test data and ECC check bits are written to the memory array 270, they may be read from the memory array 270 to determine whether errors occurred after the write operation. During the testing mode, read data and ECC check bits are received from the memory array 270 by both the read TM logic circuit 431 and the ECC decoder 232. However, the read data multiplexer 436, which also receives the TM signal during testing mode, passes on the data from the read TM logic circuit 431 to the drivers 238, and not read data from the read latch 234. The read TM logic circuit 431 receives eight data bits plus four ECC bits, all being “1” or “0,” as long as no errors have occurred. The 12 bits are then compressed to a single bit “1” or “0,” indicating a pass or a fail condition during the memory array test. For example, if the read data and ECC check bits are all “1” indicative of a pass condition, the TM logic circuit 431 outputs a bit having a value of “1.” Alternatively, if the read data and ECC check bits are all “0,” which is also indicative of a pass condition, the TM logic circuit 431 outputs a bit having a value of “0.” If the read data and ECC check bits are other than all “0” or all “1,” a fail condition is indicated. However, generally only a few bits will fail. In such case, all but a few of the bits will be “0” if the valid bit received by the memory device was a “0.” In such case, the TM logic circuit 431 will signify a fail condition by outputting a bit having a value of “1.” If the valid bit received by the memory device was a “1,” all but a few of the bits will be “1.” In such case, the TM logic circuit 431 will signify a fail condition by outputting a bit having a value of “0.” The read data multiplexer 436 coupled to the read TM logic circuit 431 receives the single bit and sends it to the read drivers 238 to send out as a single bit of read test data DQ<0:7>. The compressed read test data bit is preferably the same data bit DQ<0:7> as the bit chosen to be the valid bit written to the memory device during the test mode. Therefore, regardless of the value of the valid data bit, the valid data bit read will be the same as the valid data bit written if there is no data error. However, other bit arrangements are also possible.
It will be appreciated that although previous sections describe a preferred embodiment of an ECC system test method using a predetermined test data set of all “1” or all “0,” other test data configurations may also be used. For example, the write TM logic circuit 441 may generate predetermined test data having an alternating “1” and “0” pattern. If the single valid bit received by the write TM logic circuit 441 is a “0,” the pattern generated by the write TM logic circuit 441 is “01010101.” If the single valid bit received by write TM logic circuit 441 is a “1,” the pattern generated by the write TM logic circuit 441 is “10101010.” This checkerboard type pattern is useful during testing of the memory device, not only for detecting memory cells defectively held in a high or low state, but also for detecting electrical shorts in adjacent memory cells. During the read operation, the read TM logic circuit 431 must be able to detect that the read data plus ECC check bits match the pattern written to the array 270. If the checkerboard pattern started with a “0,” the read TM logic circuit 431 outputs a “0” to signal a pass condition and a “1” to signal a fail condition. If the checkerboard pattern started with a “1,” the read TM logic circuit 431 outputs a “1” to signal a pass condition and a “0” to signal a fail condition. However, test data patterns comprising of a homogenous set of data are preferred because test data patterns of all “1” or all “0” make it easier to assign matching ECC check bits and make it easier for the read TM logic circuit 431 to detect that the pattern of data and ECC check bits read from the array 270 match the pattern of data and ECC check bits written to the array 270.
Although the simplest test data to administer by the tester 520 is a data pattern of all “0” or all “1,” other test data patterns may be used. For example, if a test data pattern of all “1” bits is used, then each memory device 540 coupled to the tester 520 receives a test bit “1” as their D0 bit. The tester 520 then seeks a return test bit value “1” from each working memory device 540, and determines a malfunction in the memory device 540 if a return test bit value “0” is received. Other test data patterns and pass or fail bit indicators are possible as previously described. Since the tester 520 determines whether the data received from each memory device 540 matches the data sent by each memory device 540, the actual data pattern provided by the tester 520 can be arbitrary.
An embodiment of a memory device that can advantageously use an embodiment of the ECC system in accordance with the present invention is illustrated in
After the row address has been applied to the address register 682 and stored in one of the row address latches 696, a column address is applied to the address register 682. The address register 682 couples the column address to a column address latch 610. Depending on the operating mode of the SDRAM 670, the column address is either coupled through a burst counter 612 to a column address buffer 614, or to the burst counter 612, which applies a sequence of column addresses to the column address buffer 614 starting at the column address that is stored in the column-address latch. In either case, the column address buffer 614 applies a column address to a column decoder 618, which applies various column signals to respective sense amplifiers and associated column circuitry 620, 622 for the respective memory banks 690, 692.
Data to be read from one of the memory banks 690, 692 are coupled to the column circuitry 620, 622 for one of the memory banks 690, 692, respectively. The data are then coupled to a data output register 626, which applies the data to a data bus 633. Data to be written to one of the memory banks 690, 692 are coupled from the data bus 643 through a data input register 624 to the column circuitry 620, 622 and then are transferred to one of the memory banks 690, 692, respectively. A mask register 627 may be used to selectively alter the flow of data into and out of the column circuitry 620, 622, such as by selectively masking data to be read from the memory banks 690, 692.
SDRAM 670 also includes an ECC system 660 for checking and correcting memory data comparable to the ECC system of the present invention. The ECC system 660 may also be operable to test the memory device SDRAM 670 and facilitate the operations of an external memory device tester. The SDRAM 670 is coupled to the ECC system 660 by a write bus 643 and a read bus 633. Data is transferred by the write bus 643 to be written to memory banks 690, 692. Data written to SDRAM 670 is processed and encoded with ECC check-bits such as the ECC bits generated as shown in
The above-described operation of the SDRAM 670 is controlled by a command decoder 674 responsive to high level command signals received on a control bus 676. These high level command signals, which are typically generated by a memory controller (not shown in
It will be appreciated that while this discussion mentions only two memory banks 690, 692, four, eight etc. memory banks 690, 692 may be coupled together to provide a greater degree of data compression. It will also be appreciated that, while this discussion is in terms of compressing data from multiple memory banks, data from multiple columns (or rows) within one memory bank may be compressed in a similar manner.
Although the present invention has been described with reference to a preferred embodiment, the invention is not limited to this preferred embodiment. Rather, the invention is limited only by the appended claims, which include within their scope all equivalent devices or methods which operate according to the principles of the invention as described.
Number | Name | Date | Kind |
---|---|---|---|
4005405 | West | Jan 1977 | A |
4084236 | Chelberg et al. | Apr 1978 | A |
4139148 | Scheuneman et al. | Feb 1979 | A |
4201337 | Lewis et al. | May 1980 | A |
4241446 | Trubisky | Dec 1980 | A |
4319357 | Bossen | Mar 1982 | A |
4336612 | Inoue et al. | Jun 1982 | A |
4453251 | Osman | Jun 1984 | A |
4464755 | Stewart et al. | Aug 1984 | A |
4498178 | Ohhashi | Feb 1985 | A |
4589112 | Karim | May 1986 | A |
4604748 | Sato | Aug 1986 | A |
4604750 | Manton et al. | Aug 1986 | A |
4617664 | Aichelmann, Jr. et al. | Oct 1986 | A |
4646304 | Fossati et al. | Feb 1987 | A |
4646312 | Goldsbury et al. | Feb 1987 | A |
4651321 | Woffinden et al. | Mar 1987 | A |
4660199 | Maeda et al. | Apr 1987 | A |
4661955 | Arlington et al. | Apr 1987 | A |
4689792 | Traynor | Aug 1987 | A |
4710934 | Traynor | Dec 1987 | A |
4775979 | Oka | Oct 1988 | A |
4782490 | Tenengolts | Nov 1988 | A |
4852100 | Christensen et al. | Jul 1989 | A |
4875212 | Hashimoto | Oct 1989 | A |
4903268 | Hidaka et al. | Feb 1990 | A |
4918692 | Hidaka et al. | Apr 1990 | A |
4926426 | Scheuneman et al. | May 1990 | A |
4961192 | Grimes | Oct 1990 | A |
4993028 | Hillis | Feb 1991 | A |
5010554 | Bechtel et al. | Apr 1991 | A |
5056095 | Horiguchi et al. | Oct 1991 | A |
5058116 | Chao et al. | Oct 1991 | A |
5146461 | Duschatko et al. | Sep 1992 | A |
5173905 | Parkinson et al. | Dec 1992 | A |
5325364 | Ouchi et al. | Jun 1994 | A |
5337317 | Takamisawa et al. | Aug 1994 | A |
5357529 | Tatosian et al. | Oct 1994 | A |
5383205 | Makihara et al. | Jan 1995 | A |
5465262 | Dell et al. | Nov 1995 | A |
5490155 | Abdoo et al. | Feb 1996 | A |
5491700 | Wright et al. | Feb 1996 | A |
5533189 | Cheong et al. | Jul 1996 | A |
5555250 | Walker et al. | Sep 1996 | A |
5581567 | Chen et al. | Dec 1996 | A |
5588010 | Hardell, Jr. et al. | Dec 1996 | A |
5598422 | Longwell et al. | Jan 1997 | A |
5633882 | Babb et al. | May 1997 | A |
5691996 | Chen et al. | Nov 1997 | A |
5699369 | Guha | Dec 1997 | A |
5729497 | Pawlowski | Mar 1998 | A |
5751744 | Babb | May 1998 | A |
5751745 | Chen et al. | May 1998 | A |
5754753 | Smelser | May 1998 | A |
5757823 | Chen et al. | May 1998 | A |
5761221 | Baat et al. | Jun 1998 | A |
5768294 | Chen et al. | Jun 1998 | A |
5781568 | Hsieh | Jul 1998 | A |
5841795 | Olarig et al. | Nov 1998 | A |
5864569 | Roohparvar | Jan 1999 | A |
5920580 | Mick | Jul 1999 | A |
5922080 | Olarig | Jul 1999 | A |
5923682 | Seyyedy | Jul 1999 | A |
5935263 | Keeth et al. | Aug 1999 | A |
5951708 | Yoshida | Sep 1999 | A |
5956351 | Bossen et al. | Sep 1999 | A |
5959914 | Gates et al. | Sep 1999 | A |
5978953 | Olarig | Nov 1999 | A |
6003144 | Olarig et al. | Dec 1999 | A |
6024485 | Yoshida | Feb 2000 | A |
6024486 | Olarig et al. | Feb 2000 | A |
6041430 | Yamauchi | Mar 2000 | A |
6052820 | Yoshida | Apr 2000 | A |
6058056 | Beffa et al. | May 2000 | A |
6085339 | Jeddeloh | Jul 2000 | A |
6085348 | Shimizu | Jul 2000 | A |
6163863 | Schicht | Dec 2000 | A |
6178537 | Roohparvar | Jan 2001 | B1 |
6209113 | Roohparvar | Mar 2001 | B1 |
6272651 | Chin et al. | Aug 2001 | B1 |
6279072 | Williams et al. | Aug 2001 | B1 |
6282689 | Seyyedy | Aug 2001 | B1 |
6295617 | Sonobe | Sep 2001 | B1 |
6295618 | Keeth | Sep 2001 | B1 |
6311299 | Bunker | Oct 2001 | B1 |
6331948 | Kasai et al. | Dec 2001 | B2 |
6367046 | Chapman et al. | Apr 2002 | B1 |
6418072 | Nakaya et al. | Jul 2002 | B2 |
6505318 | Quach et al. | Jan 2003 | B1 |
6510537 | Lee | Jan 2003 | B1 |
6519734 | Bodnar et al. | Feb 2003 | B1 |
6662333 | Zhang et al. | Dec 2003 | B1 |
6675349 | Chen | Jan 2004 | B1 |
6678860 | Lee | Jan 2004 | B1 |
6701480 | Karpuszka et al. | Mar 2004 | B1 |
6714253 | Kim et al. | Mar 2004 | B2 |
6751769 | Chen et al. | Jun 2004 | B2 |
6779148 | Tanaka | Aug 2004 | B2 |
6819611 | Keeth | Nov 2004 | B2 |
6838331 | Klein | Jan 2005 | B2 |
6839875 | Roohparvar | Jan 2005 | B2 |
6879504 | Lien et al. | Apr 2005 | B1 |
6888769 | Kirsch | May 2005 | B2 |
6920601 | Stern et al. | Jul 2005 | B1 |
6934895 | Yun | Aug 2005 | B2 |
6968491 | Yang et al. | Nov 2005 | B1 |
6973613 | Cypher | Dec 2005 | B2 |
6987684 | Branth et al. | Jan 2006 | B1 |
6990625 | Fujiwara et al. | Jan 2006 | B2 |
7051265 | Tsao et al. | May 2006 | B2 |
7065697 | Briggs et al. | Jun 2006 | B2 |
7079430 | Yen et al. | Jul 2006 | B2 |
7093182 | Dickson | Aug 2006 | B2 |
7096414 | Das Sharma | Aug 2006 | B2 |
7134069 | Longwell et al. | Nov 2006 | B1 |
7137057 | Williams | Nov 2006 | B2 |
7143329 | Trimberger et al. | Nov 2006 | B1 |
7325173 | Kikutake et al. | Jan 2008 | B2 |
20040199860 | Kim et al. | Oct 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20070277066 A1 | Nov 2007 | US |