A semiconductor memory device configured such that the time required for its access test can be reduced comprising a memory cell array, a row decoder, a column decoder, an error correction circuit, and an output circuit. The error correction circuit performs error correction on a code word read through the bit lines selected by the column decoder from ones of memory cells located at places at which the word line selected by the row decoder and the selected bit lines cross over, thereby detecting an error position in the code word to generate error detection data indicating the error position and corrects the information bit in the detected error position to generate error corrected data. The output circuit relays to the outside the error corrected data when a normal operation mode has been designated and the error detection data when a test operation mode has been designated.
|
1. A semiconductor memory device which stores predetermined code words each composed of information bits and parity check bits, comprising:
a memory cell array having a plurality of word lines and a plurality of bit lines and having a plurality of memory cells respectively formed at places at which said word lines and said bit lines cross over, said memory cells being arranged in a matrix;
a row decoder to select one of said word lines based on a row address signal;
a column decoder to select some of said bit lines based on a column address signal;
an error correction circuit to perform error correction on a code word read through the bit lines selected by said column decoder from ones of said memory cells located at places at which the word line selected by said row decoder and the selected bit lines cross over, thereby detecting an error position in the code word to generate error detection data indicating said error position, and to correct the information bit in said detected error position to generate error corrected data; and
an output circuit to receive said error detection data and said error corrected data from said error correction circuit,
wherein said output circuit relays said error corrected data to outside when a normal operation mode has been designated and relays said error detection data to outside when a test operation mode has been designated.
2. A semiconductor memory device according to
a test control circuit to supply a control signal indicating either said test operation mode or said normal operation mode to said output circuit,
wherein said output circuit outputs said error corrected data when said control signal indicates said normal operation mode and outputs said error detection data instead of said error corrected data when said control signal indicates said test operation mode.
3. A semiconductor memory device according to
4. A semiconductor memory device according to
5. A semiconductor memory device according to
a selecting circuit to select data from among said error corrected data according to an input page address; and
an output buffer circuit to output error corrected data selected by said selecting circuit when said normal operation mode has been designated and to output said error detection data supplied from said error correction circuit when said test operation mode has been designated; and
wherein said output buffer circuit comprises a selector to select either said error detection data supplied from said error correction circuit or the error corrected data selected by said selecting circuit and to output the selected data.
6. A semiconductor memory device according to
7. A semiconductor memory device according to
a selecting circuit to select data from among said error corrected data according to an input page address and to select either the selected data or said error detection data supplied from said error correction circuit; and
an output buffer circuit to relay the data selected by said selecting circuit to outside, and
wherein said selecting circuit comprises a selector to select the data selected by said selecting circuit according to said input page address when said normal operation mode has been designated and to select said error detection data supplied from said error correction circuit when said test operation mode has been designated.
8. A semiconductor memory device according to
9. A semiconductor memory device according to
10. A semiconductor memory device according to
11. A semiconductor memory device according to
12. A semiconductor memory device according to
13. A semiconductor memory device according to
14. A semiconductor memory device according to
15. A semiconductor memory device according to
16. A semiconductor memory device according to
|
1. Field of the Invention
The present invention relates to a semiconductor memory device having an error correction function and particularly to a nonvolatile semiconductor memory device having a high speed read mode as well as an error correction function.
2. Description of the Related Background Art
A nonvolatile semiconductor memory device generally has a memory cell array comprising multiple memory cells arranged in a matrix. As the storage capacity of semiconductor memory devices becomes larger, the probability of the occurrence of a bit error due to a hard error (a malfunction caused by a failure of a memory cell) or a soft error (a malfunction caused by radiation such as alpha rays) becomes higher. Since many years ago, there have been semiconductor memory devices having an ECC circuit to execute error correction on such bit errors. Further, in order to inspect the operation of the ECC circuit and whether a failure exists in a memory cell, an access test is executed which reads data from a semiconductor memory device storing data of a known test pattern under various conditions and verifies the read data pattern with the known test pattern. A conventional technique related to such an access test is disclosed in, e.g., Japanese Patent Kokai No. H05-241868 (Patent Document 1).
Meanwhile, there have been semiconductor memory devices having an operation mode in which to read data at high speed from the memory cell array. Among this type of operation modes, a page access mode and a burst mode are known. Japanese Patent Kokai No. H10-255495 (Patent Document 2) and U.S. Pat. No. 5,963,488 (Patent Document 3) disclose a semiconductor memory device having the page access mode. When operating in the page access mode, this semiconductor memory device reads one page worth of data from a predetermined number of memory cells of the memory cell array simultaneously in parallel and latches the read data and then time divides the latched data sequentially into multiple divided data to output consecutively the multiple time divided data. For example, where one page worth, 128 bits, of data is read out simultaneously in parallel and latched, the 128 bits of data is time divided into multiple 32-bit data, and these 32-bit data are output consecutively. Hence, in the page access mode, data can be read from the memory cell array at higher speed than in a normal random access mode.
The above access test is executed repeatedly each time under varied conditions of temperature, drive voltage, and the like, and hence there is the problem that an enormous amount of time is required for the access test. Even if data of a test pattern is read at high speed from a semiconductor memory device in the page access mode, the time required for the access test is not sufficiently reduced. The time required for the access test will be described below using a specific example.
A memory cell array 12 has multiple word lines W1, . . . , WK connected to the row decoder 11 and multiple bit lines B1, . . . , BL connected to the column decoder 13. Memory cells CL are respectively formed at places at which the word lines W1, . . . , WK and the bit lines B1, . . . , BL cross over. In the memory cell array 12, information bits and parity check bits of a test pattern for the access test are stored beforehand.
When reading data from the memory cell array 12, the row decoder 11 selectively activates one of the word lines W1 to WK based on the row address signal RA, and the column decoder 13 selectively activates some of the bit lines B1 to BL based on the column address signal CA. As a result, a current is read out from a memory cell CL connected to the activated word line Wi through an activated bit line Bj. The read-out current is input to an amp circuit 14 via the column decoder 13. The amp circuit 14 produces P-bit data AO[P−1:0] and outputs to a latch circuit 15.
The latch circuit 15, holding the P-bit data AO[P−1:0], outputs the latched data LO[P−1:0] to an error correction circuit 16. The error correction circuit 16 performs error correction on the latched data LO[P−1:0] and outputs Q-bit error corrected data EO[Q−1:0]. The selecting circuit 17 has a function to select R-bit data SEL[R−1:0] from the error corrected data EO[Q−1:0] supplied from the error correction circuit 16 according to the page address signal PA. The selected data SEL[R−1:0] is supplied to a pad circuit 19 via an output buffer circuit 18.
Referring to
As shown in
Assume that the time from time t1 to time t6 is 100 nanoseconds and that the time from time t7 to time t9 is 30 nanoseconds. Then it takes at least 190 nsec (=100 nsec+30 nsec×3) to read and verify the first to fourth data signals SEL1 to SEL4.
Meanwhile, when operating in a random access mode, a nonvolatile semiconductor memory device is required to allow data read from any memory cells at constant access speed. Accordingly, it is required to test the memory device on whether the values of the output data DO[R−1:0] match expected values and whether access speed is appropriate when changing the value of the address signal Ain[N−1:2] at a constant cycle.
As shown in
Thus, in the random access mode if the value of the address signal Ain[N−1:2] changes at a cycle of 100 nsec, it takes at least 400 nsec (=100 nsec×4) to read and verify one page worth of data.
In view of the above background, an object of the present invention is to provide a semiconductor memory device which enables a reduction in the time required for the access test.
In order to achieve the above object, according to the present invention, there is provided a semiconductor memory device which stores predetermined code words each composed of information bits and parity check bits, which comprises a memory cell array having a plurality of word lines and a plurality of bit lines and having a plurality of memory cells respectively formed at places at which the word lines and the bit lines cross over, the memory cells being arranged in a matrix; a row decoder to select one of the word lines based on a row address signal; a column decoder to select some of the bit lines based on a column address signal; an error correction circuit to perform error correction on a code word read through the bit lines selected by the column decoder from ones of the memory cells located at places at which the word line selected by the row decoder and the selected bit lines cross over, thereby detecting an error position in the code word to generate error detection data indicating the error position, and to correct the information bit in the detected error position to generate error corrected data; and an output circuit to receive the error detection data and the error corrected data from the error correction circuit. The output circuit relays the error corrected data to the outside when a normal operation mode has been designated and relays the error detection data to the outside when a test operation mode has been designated.
The semiconductor memory device has the output circuit that relays the error detection data to the outside when the test operation mode has been designated. Hence, because the error detection data can be analyzed, the time required for the access test can be greatly reduced.
Embodiments according to the present invention will be described below.
The address buffer 20 holds an input address signal Ain[N−1:0] supplied from an external controller (not shown) and supplies a row address signal RA of the input address signal Ain[N−1:0] to the row decoder 21, a column address signal CA of the input address signal Ain[N−1:0] to the column decoder 23, and a page address signal PA of the input address signal Ain[N−1:0] to the selecting circuit 27.
The memory cell array 22 has multiple word lines W1, . . . , WK connected to the row decoder 21 and multiple bit lines B1, . . . , BL connected to the column decoder 23. Memory cells CL are respectively formed at places at which the word lines W1, . . . , WK and the bit lines B1, . . . , BL cross over. In the memory cell array 22, known test pattern data for the access test is stored, and this test pattern data is constituted by code words each composed of information bits and parity check bits.
When reading data from the memory cell array 22, the row decoder 21 selectively activates one of the word lines W1 to WK based on the row address signal RA, and the column decoder 23 selectively activates some of the bit lines B1 to BL based on the column address signal CA. As a result, a current is read out from a memory cell CL connected to the activated word line Wi through an activated bit line Bj. The read-out current is input to the amp circuit 24 via the column decoder 23. The amp circuit 24 produces P-bit data AO[P−1:0] based on the read-out currents and outputs to the latch circuit 25. The latch circuit 25, holding the P-bit data AO[P−1:0], outputs the latched data LO[P−1:0] to the error correction circuit 26. The error correction circuit 26 performs error correction on the latched data LO[P−1:0] to produce error corrected data EO[Q−1:0].
As shown in
In the case where a 2-bit page address signal Ain[1:0] (=PA) is used, as shown in
The semiconductor memory device 2 of the present embodiment has a normal operation mode and a test operation mode. The test control circuit 30 of
Referring to
The error correction circuit 26 outputs the error corrected data EO[Q−1:0] and error detection data ED[b−1:0] for all bits of the latched data LO[P−1:0] to the output buffer circuit 28 at time t6. When the test control signal TCM is at the H level indicating the test operation mode, the output buffer circuit 28 supplies the error detection data ED[b−1:0] via the pad circuit 29 onto external connection terminals at time t7. Thus, when the page address signal Ain[1:0] is at 1, the error detection data ED[b−1:0] for all bits of the latched data LO[P−1:0] can be output to the outside, and the access test can be carried out using the error detection data ED[b−1:0]. Hence the period where the page address signal Ain[1:0] cycles through values of 2 to 4 can be omitted (Jumped over), and thus the time required for the access test can be greatly reduced.
As shown in
Next, when the page address signal Ain[1:0] is at 2, the circuits 24 to 28 start to output data AO[P−1:0], LO[P−1:0], EO[P−1:0], SEL[Q−1:0], ED[b−1:0], and DO[Q−1:0] between time t9 and time t14. Here the output buffer circuit 28 outputs the error detection data ED[b−1:0] for all bits of the latched data LO[P−1:0] read from the memory cells CL corresponding to pattern 2 of the address signal Ain[N−1:2] onto the external connection terminals.
Then, when the page address signal Ain[1:0] is at 3, the output buffer circuit 28 outputs the error detection data ED[b−1:0] for all bits of the latched data LO[P−1:0] read from the memory cells CL corresponding to pattern 1 of the address signal Ain[N−1:2] to the outside, but the same data as this error detection data ED[b−1:0] is already output to the outside at time t6. Hence the period where the page address signal Ain[1:0] cycles through a value of 3 can be omitted (jumped over), and thus the time required for the access test can be reduced.
As described above, because the semiconductor memory device 2 of the first embodiment has the test operation mode, the access test can be carried out in a short time. Moreover, an external test apparatus can easily find out a fully operable bit ratio and relieved bits of the memory cells CL in the memory cell array 22 from the error detection data ED[b−1:0] obtained in the test operation mode. By analyzing the error detection data ED[b−1:0] according to the Hamming system, an error in the latched data LO[P−1:0] input to the error correction circuit 26 can be accurately found, if any, and thus the mapping of failed memory cells CL can be carried out in a short time.
If the transmission of the error detection data ED[b−1:0] is earlier than that of the selected data SEL[R−1:0] as shown in
Next, a second embodiment of the present invention will be described.
In the second embodiment, the error correction circuit 26 supplies both the error corrected data EO[Q−1:0] and the error detection data ED[b−1:0] to the selecting circuit 27M. When the test control signal TCM is at the L level indicating the normal operation mode, the selecting circuit 27M produces the selected data SEL[R−1:0] from the error corrected data EO[Q−1:0] supplied from the error correction circuit 26. In contrast, when the test control signal TCM is at the H level indicating the test operation mode, the selecting circuit 27M selects the error corrected data EO[Q−1:0] preferentially to produce the selected data SEL[R−1:0].
The clocked inverter 70 of the clocked inverters 70, 74 shown in the figure goes into a high impedance state when the test control signal TCM is at the H level and becomes an inverter when the test control signal TCM is at the L level. Meanwhile, the other clocked inverter 74 becomes an inverter when the test control signal TCM is at the H level and goes into a high impedance state when the test control signal TCM is at the L level.
As described above, the error corrected data EO[Q−1:0] and the error detection data ED[b−1:0] are transmitted via more identical paths as comparing to
This application is based on Japanese Patent Application No. 2007-239614 which is hereby incorporated by reference.
Patent | Priority | Assignee | Title |
10312944, | Mar 17 2017 | Micron Technology, Inc. | Error correction code (ECC) operations in memory for providing redundant error correction |
10903860, | Mar 17 2017 | Micron Technology, Inc. | Error correction code (ECC) operations in memory for providing redundant error correction |
11431355, | Mar 17 2017 | Micron Technology, Inc. | Error correction code (ECC) operations in memory for providing redundant error correction |
11610640, | Aug 30 2021 | Taiwan Semiconductor Manufacturing Company Limited | Method for error correction coding with multiple hash groupings and device for performing the same |
8745463, | Jun 10 2009 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Error correcting codes for increased storage capacity in multilevel memory devices |
9690653, | Jan 08 2015 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Semiconductor device having error correction code (ECC) circuit |
Patent | Priority | Assignee | Title |
5638385, | Apr 16 1990 | International Business Machines Corporation; INTERNATIONAL BUSINESS MACHINES CORPORATION A CORP OF NEW YORK | Fast check bit write for a semiconductor memory |
5963488, | Mar 07 1997 | Sharp Kabushiki Kaisha | Semiconductor memory device |
6119251, | Apr 22 1997 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Self-test of a memory device |
6275960, | Dec 22 1997 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Self-test and correction of loss of charge errors in a flash memory, erasable and programmable by sectors thereof |
7076722, | Nov 21 2001 | Kioxia Corporation | Semiconductor memory device |
20040255224, | |||
20060195766, | |||
20080040652, | |||
JP10255495, | |||
JP2003157697, | |||
JP2005004876, | |||
JP4074400, | |||
JP5241868, | |||
JP58215797, | |||
JP60188000, | |||
JP62146500, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 17 2008 | ODA, DAISUKE | Oki Electric Industry Co, LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 021277 | /0513 | |
Jul 18 2008 | Oki Semiconductor Co., Ltd. | (assignment on the face of the patent) | / | |||
Oct 01 2008 | OKI ELECTRIC INDUSTRY CO , LTD | OKI SEMICONDUCTOR CO , LTD | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 022231 | /0935 | |
Oct 03 2011 | OKI SEMICONDUCTOR CO , LTD | LAPIS SEMICONDUCTOR CO , LTD | CHANGE OF NAME SEE DOCUMENT FOR DETAILS | 032495 | /0483 |
Date | Maintenance Fee Events |
Jul 03 2013 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Sep 18 2017 | REM: Maintenance Fee Reminder Mailed. |
Mar 05 2018 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Feb 02 2013 | 4 years fee payment window open |
Aug 02 2013 | 6 months grace period start (w surcharge) |
Feb 02 2014 | patent expiry (for year 4) |
Feb 02 2016 | 2 years to revive unintentionally abandoned end. (for year 4) |
Feb 02 2017 | 8 years fee payment window open |
Aug 02 2017 | 6 months grace period start (w surcharge) |
Feb 02 2018 | patent expiry (for year 8) |
Feb 02 2020 | 2 years to revive unintentionally abandoned end. (for year 8) |
Feb 02 2021 | 12 years fee payment window open |
Aug 02 2021 | 6 months grace period start (w surcharge) |
Feb 02 2022 | patent expiry (for year 12) |
Feb 02 2024 | 2 years to revive unintentionally abandoned end. (for year 12) |