CN102339641B - Error checking and correcting verification module and data reading-writing method thereof - Google Patents

Error checking and correcting verification module and data reading-writing method thereof Download PDF

Info

Publication number
CN102339641B
CN102339641B CN201010237759.3A CN201010237759A CN102339641B CN 102339641 B CN102339641 B CN 102339641B CN 201010237759 A CN201010237759 A CN 201010237759A CN 102339641 B CN102339641 B CN 102339641B
Authority
CN
China
Prior art keywords
error detection
correction
data group
written
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010237759.3A
Other languages
Chinese (zh)
Other versions
CN102339641A (en
Inventor
舒清明
胡洪
苏如伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhaoyi Innovation Technology Group Co ltd
Original Assignee
GigaDevice Semiconductor Beijing Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GigaDevice Semiconductor Beijing Inc filed Critical GigaDevice Semiconductor Beijing Inc
Priority to CN201010237759.3A priority Critical patent/CN102339641B/en
Publication of CN102339641A publication Critical patent/CN102339641A/en
Application granted granted Critical
Publication of CN102339641B publication Critical patent/CN102339641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

The invention discloses an error checking and correcting (ECC) verification module and a data reading-writing method of the module, so as to solve the technical defect of low flexibility in present ECC verification modules. The verification module comprises: an ECC circuit used for ECC treatment of an ECC code word so as to obtain an error checked and corrected data set; a latch used for storing the error checked and corrected data set and updating the received input data to corresponding data positions in the checked and corrected data set, thus forming a data set to be written in; a verification circuit used for real-time verification of the data set to be written in and for generation of a verification bit corresponding to the data set to be written in; a write buffer used for writing the data set to be written in and a corresponding verification bit thereof into a storage medium. The embodiment of the invention realizes reading data from a main array or writing data into the main array in ECC code words, so that the control is easier and the data writing operation is speeded up.

Description

The method that Error-detection/erroverification verification module and this module read and write data
Technical field
Invention relates to nonvolatile memory, particularly relates to the method that error detection/correction (Error Checking andCorrecting, ECC) correction verification module and this module read and write data.
Background technology
Along with the develop rapidly of integrated circuit, the integrated level of semiconductor memory is more and more higher, and capacity is also increasing.Thing followed problem is that the reliability of semiconductor memory and yield rate face serious challenge, such as signal to noise ratio (S/N ratio) reduces along with the increase of integrated level, the reduction of the memory node quantity of electric charge makes storage cell more easily by the impact of cosmic rays, and the process deviation under deep sub-micron technique and fault in material cause the reduction etc. of storer yield rate.
Error correcting code be a kind of not only can detect mistake and also can Wrong localization position and and then correct a mistake one class coding, be a kind of important fault-tolerant technique in semiconductor memory.Hamming code is a kind of conventional error correcting code, because it is simple, be easy to the features such as realization, is able to widespread use in memory.
According to the theory of Hamming code, in Hamming code, the number of check bit need meet following relation:
2 k>=m+k+1 (formula 1)
Wherein:
K is check bit number;
M is data bit number.
As can be seen from above-mentioned formula 1, the ratio of data bit more at most shared by check bit is lower, that is adopts the area overhead of ECC circuit less.Such as, the data bit of 1 byte (byte) needs the check bit of 4 bits, and the area overhead of storage array is 50%; The data bit of 4 bytes then needs the check bit of 6 bits, and the area overhead of storage array is 18.8%.
It is the nonvolatile memory with ECC circuit carrying out data transmission in units of byte for external interface, in order to the problem reducing memory area expense can be solved in prior art, generally adopt the ECC code word of multibyte data position, enable check bit take less ratio.
But realizing in process of the present invention, when inventor finds that memory inside is read and write, what prior art adopted is the ECC code word of multibyte data position, especially when internally storage array writes new data, as page (Page with larger mikey, as 128KB) operate, if input data volume is discontented with one page (the current right and wrong of this situation are usually shown in), then the write time can be increased, greatly reduce storage dirigibility, extremely waste the space of write operation, and unnecessary erase/program operations can reduce the serviceable life of storer greatly in operating process.
Summary of the invention
Technical matters to be solved by this invention is the technology needing to provide a kind of ECC correction verification module and this module to read and write data, to solve the low technological deficiency of existing ECC correction verification module dirigibility.
In order to solve the problems of the technologies described above, the invention provides a kind of error detection/correction (ECC) correction verification module, comprising error detection/correction circuit, latch, checking circuit and write buffer, wherein:
Described error detection/correction circuit, for carrying out error detection/correction process to ECC code word, obtains the data group after error detection/correction;
Described latch, for storing the data group after described error detection/correction, by the corresponding data position in the data group after received input Data Update to described error detection/correction, forms data group to be written;
Described checking circuit, for verifying in real time described data group to be written, generates the check bit corresponding to described data group to be written; And
Described write buffer, for being written to described data group to be written and its corresponding check bit in storage medium.
Preferably, described error detection/correction circuit carries out described error detection/correction process for adopting the data group of the check bit of described ECC code word to described ECC code word.
Preferably, described latch is used in units of predetermined length, receive described input data.
Preferably, described latch be used in units of predetermined length by the corresponding data position in the data group after described input Data Update to described error detection/correction, form described data group to be written.
Preferably, described latch is used in units of byte, receive described input data, and/or with byte unit by the corresponding data position in the data group after described input Data Update to described error detection/correction.
Preferably, described write buffer is used for described data group to be written and its corresponding check bit being written in described storage medium with the form of ECC code word.
Preferably, described write buffer is used for the new ECC code word that buffer memory is formed by described data group to be written and its corresponding check bit, and is written in described storage medium by the described new ECC code word identified by flag;
Wherein, each described new ECC code word is respectively to having flag, and this flag plays the effect from described write buffer to the write-enable of described storage medium.
Preferably, when the data volume that described write buffer is used for being formed in described new ECC code word exceedes self-capacity, upgrade by the new ECC code word exceeded from start address.
Preferably, the capacity of described write buffer equals the capacity of described storage medium one page.
In order to solve the problems of the technologies described above, the invention allows for a kind of method of read data of error detection/correction (ECC) correction verification module as above, the method comprises:
Receive the read operation request of user;
Described error detection/correction circuit, according to described read operation request, obtains corresponding ECC code word from storage medium;
Described error detection/correction circuit carries out error detection/correction process to described ECC code word, obtains and data group after exporting error detection/correction.
Preferably, export the step of the data group after described error detection/correction, comprising:
The data group after described error detection/correction is exported in units of predetermined length.
Preferably, in units of described predetermined length, export the step of the data group after described error detection/correction, comprising:
The data group after described error detection/correction is exported in units of byte.
In order to solve the problems of the technologies described above, the invention allows for a kind of method writing data of error detection/correction (ECC) correction verification module as above, the method comprises:
The write operation requests receiving user and the input data that will write;
Described error detection/correction circuit obtains corresponding ECC code word according to described write operation requests from storage medium, and carries out error detection/correction process to described ECC code word, obtains the data group after error detection/correction and sends to described latch;
Data group after error detection/correction described in described latch stores, by the corresponding data position in the data group after described input Data Update to described error detection/correction, forms data group to be written and sends to described checking circuit and write buffer;
Described checking circuit verifies in real time to described data group to be written, generates the check bit corresponding to described data group to be written and sends to described write buffer; And
Described data group to be written and its corresponding check bit are written in described storage medium by described write buffer.
Preferably, described error detection/correction circuit carries out the step of described error detection/correction process to described ECC code word, comprising:
Described error detection/correction circuit adopts the data group of the check bit of described ECC code word to described ECC code word to carry out described error detection/correction process.
Preferably, described latch, by the corresponding data position in the data group after described input Data Update to described error detection/correction, forms the step of described data group to be written, comprising:
Described latch by the corresponding data position in the data group after described input Data Update to described error detection/correction, forms described data group to be written in units of predetermined length.
Preferably, described latch, by the step of the corresponding data position in the data group after described input Data Update to described error detection/correction, comprising:
Described latch with byte unit by the corresponding data position in the data group after described input Data Update to described error detection/correction.
Preferably, described data group to be written and its corresponding check bit are written to the step in described storage medium by described write buffer, comprising:
Described data group to be written and its corresponding check bit are written in described storage medium with the form of ECC code word by described write buffer.
Preferably, described data group to be written and its corresponding check bit to be written to the step in described storage medium by described write buffer with the form of ECC code word, comprising:
The new ECC code word that described write buffer buffer memory is formed by described data group to be written and its corresponding check bit, and the described new ECC code word identified by flag is written in described storage medium;
Wherein, each described new ECC code word is respectively to having flag, and this flag plays the effect from described write buffer to the write-enable of described storage medium.
Preferably, described write buffer, when the data volume that described new ECC code word is formed exceedes self-capacity, upgrades by the new ECC code word exceeded from start address.
Compared with prior art, embodiments of the invention to achieve in units of ECC code word from storage array read data or write data in storage arrays, effectively reducing the ratio that check bit takies storage array capacity, while saving the area overhead of check bit in storage array, modular structure and control simpler, the characteristic of storer by byte access is not affected while reading and writing data in units of ECC code word, improve the dirigibility of storage and the utilization ratio of storage space, accelerate the speed of data write operation, decrease simultaneously and perform the impact of read-write operation on the serviceable life of storer in units of page.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from instructions, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in instructions, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for instructions, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the composition schematic diagram of embodiment of the present invention ECC correction verification module;
Fig. 2 is the composition schematic diagram of the data group to be written in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the embodiment of the present invention two ECC correction verification module read data;
Fig. 4 is the schematic flow sheet that the embodiment of the present invention three ECC correction verification module writes data.
Embodiment
Describe embodiments of the present invention in detail below with reference to drawings and Examples, to the present invention, how application technology means solve technical matters whereby, and the implementation procedure reaching technique effect can fully understand and implement according to this.
Embodiment one, a kind of error detection/correction (ECC) correction verification module 10, comprise write buffer (Writebuffer) 110, error detection/correction circuit (Decoder_ECC) 120, latch (Latch) 130 and checking circuit (Encoder_ECC) 140, as shown in Figure 1, in the process (being represented by dotted lines data trend in figure) of read data:
Error detection/correction circuit 120, for obtaining the ECC code word in storage array (Main Array) 100, and adopt the check bit in this ECC code word to carry out error detection/correction to the data group (the present embodiment forms with 4 bytes) in this ECC code word, obtain correct data group (the data group hereinafter also referred to after error detection/correction) and send to outside output port 200; ECC code word comprises ECC data group (data set) and check bit;
Outside output port 200 is connected with this error detection/correction circuit 120, and with byte (byte) for unit exports the data group after this error detection/correction (byte output), the output signal in figure illustrates with Dout.
In the present embodiment, this output port 200 is one or four select a MUX, to realize the data group exported in units of byte after the error detection/correction of 32.In other embodiments, output port 200 also can be the data group export error detection/correction in units of other length after, and technical scheme of the present invention exports the data group after error detection/correction be referred to as " part export " by this in units of predetermined length.
In other embodiments, if the byte that data group comprises is other quantity, then can select corresponding MUX according to this quantity, such as a data group comprises 8 bytes, and eight now just can be selected to select a MUX as this output port 200.In a word, when output port 200 selects MUX, the type of this MUX selected, the ratio accounting for data group according to the data length that once can export is determined.
In the present embodiment shown in Fig. 1, an ECC code word has 38 (bit), and comprise data group (ECC data set) and check bit, wherein data group is 32, and check bit is 6.Data group is 1 byte (byte) with 8, has 4 bytes.Below as non-special declaration, in the following each embodiment of the application, 1 data group comprises 4 bytes, and 1 byte packet is containing 8, and corresponding check bit is 6.
Error detection/correction (ECC) correction verification module 10 shown by above-described embodiment, as shown in Figure 1, in the process (representing that data are moved towards with solid line in figure) writing data:
Error detection/correction circuit 120, for obtaining ECC code word according to read operation instruction from storage array (Main Array) 100, error detection/correction process (namely adopting the check bit in this ECC code word to carry out error detection/correction process to the data group in this ECC code word) is carried out to this ECC code word, obtains correct data group (the data group hereinafter referred to as after error detection/correction) and send to latch 130; ECC code word comprises data group (ECC data set) and check bit; Wherein, from storage array 100, obtain the address of this ECC code word according to this read operation instruction, can determine according to the operational order writing data;
Latch 130, be connected with this error detection/correction circuit 120 and an input port 300, for under the control of the first enable signal Load_cd, store the data group after this error detection/correction, and under the control of address signal A [1:0] and the second enable signal Load_din, the input data inputted by this input port 300 are updated to the corresponding data position in the data group after this error detection/correction in units of byte, form data group to be written and send to this write buffer 110 and checking circuit 140; Wherein this address signal A [1:0] determines input data to be written on that byte location of data group, when this first enable signal Load_cd is enable, allows the data group after by error detection/correction to be stored in this latch 130; When this second enable signal Load_din is enable, allow input data to be stored in this latch 130;
Checking circuit 140, is connected with this latch 130, for verifying in real time this data group to be written, generating the check bit corresponding to this data group to be written and sending to this write buffer 110;
Write buffer 110, be connected with this latch 130 and checking circuit 140, for the data group to be written that this latch 130 of buffer memory sends, and the check bit corresponding to this data group to be written that this checking circuit 140 sends, this data group to be written and its corresponding check bit are written in storage array 100 with the form of ECC code word;
Wherein, above-mentioned input port 300, for receiving input data in units of byte, illustrates with Din in figure.In the present embodiment, this input port 300 is in units of byte, receive input data, in other embodiments, input port 300 also can be in units of other length, receive input data, and this input receiving input data in units of predetermined length is referred to as " part input " by technical scheme of the present invention.Above-mentioned latch 130 also can be by the corresponding data position in the data group after input Data Update to this error detection/correction in units of other predetermined length.
As shown in Figure 2, in an embody rule of the present embodiment, this input port 300 have received the external data of a byte, the external data of this byte is written in second byte of the ECC data group after an error detection/correction by latch 130, the ECC data group that such generation one is new, wherein first in this new ECC data group, three and four bytes, for first of the ECC data group after this error detection/correction, three and four bytes (namely read from storage array 100 and treat the byte of write-back), second byte in this new ECC data group, by this input port 300 reception to be written byte.
As shown in Figure 2, in an embody rule of the present embodiment, this input port 300 have received the input data of a byte, the input data of this byte are written in second byte d2 of the data group after an error detection/correction by latch 130, the data group that such generation one is new, wherein first in this new data group, three and four bytes are (respectively with d1 in figure, d3 and d4 illustrates), for first of the data group after this error detection/correction, three and four bytes (namely read from storage array 100 and treat the byte of write-back), second byte in this new data group, by this input port 300 reception to be written byte.
In the present embodiment, because the data groups of 32 need 6 bit check positions, therefore in the present embodiment, this check bit that checking circuit 140 generates is 6.
The method of embodiment two, a kind of error detection/correction (ECC) correction verification module read data, this ECC correction verification module comprises error detection/correction circuit, and as shown in Figure 3, the method mainly comprises the steps:
Step S310, receives the read operation request of user;
Step S320, error detection/correction circuit, according to this read operation request, obtains corresponding ECC code word from storage array (or other storage mediums);
Step S330, error detection/correction circuit adopts the check bit in this ECC code word to carry out error detection/correction process to the data group in this ECC code word, obtains the data group after error detection/correction and sends to outside output port;
Step S340, external output port exports the data group after this error detection/correction in units of byte.
Embodiment three, a kind of error detection/correction (ECC) correction verification module write the method for data, and this ECC correction verification module comprises error detection/correction circuit, latch, checking circuit and write buffer, and as shown in Figure 4, the method comprises:
Step S410, the write operation requests receiving user and the input data that will write;
Step S420, this error detection/correction circuit, according to this write operation requests, obtains corresponding ECC code word from storage array (or other storage mediums);
Step S430, carries out error detection/correction process (namely adopting the check bit in this ECC code word to carry out error detection/correction process to the data group in this ECC code word) to this ECC code word, obtains the data group after error detection/correction and sends to latch;
Step S440, data group after this error detection/correction of this latch stores, by the corresponding data position (byte more corresponding in new data set in units of byte or other predetermined length) in the data group after aforesaid input Data Update to error detection/correction, obtain data group to be written and send to checking circuit and write buffer; This data group to be written namely for being upgraded the new data group that the data group after error detection/correction is formed in units of byte by input data;
Step S450, this checking circuit verifies in real time to data group to be written, generates the check bit corresponding to this data group to be written and sends to write buffer; And
Step S460, this data group to be written and its corresponding (namely being generated by checking circuit) check bit are written in this storage array with the form of ECC code word by this write buffer.
In the present embodiment, these input data, under the effect of address signal A [1:0] and the second enable signal Load_din, are updated to the relevant position in the data group after this error detection/correction by this latch in units of byte, form this data group to be written.
In embodiments of the invention, the capacity of write buffer is general comparatively large, usually consistent with the capacity of page in storage array, can the multiple ECC code word of buffer memory.In write buffer, data group to be written its corresponding (namely being generated by checking circuit) check bit forms new ECC code word together.Each ECC code word (comprising the ECC code word that this is new) in write buffer is to there being a bit-identify position, this flag plays the effect from write buffer to the write-enable storage array, be equivalent to the switch of storage array neutrality line (bitline), represent out when flag is 1 in the present embodiment (can write), when being 0, represent pass (can not write).From write buffer, data are write in storage array, just can directly be undertaken by flag, be about to by the identified ECC code word write storage array of flag, and in units of page, data need not be write in storage array in other words by whole page (page).So, significantly reduce the erasable number of times of the storage array of unchanged data space, avoid frequent erasable storage array, avoid the non-essential life consumption of storage array, make storage array have longer serviceable life.In embodiments of the invention, the width of write buffer is equal with the width of storage array, once can write at most one page (page) data volume.
In embodiments of the invention, perform write operation step, first data are write in write buffer, when being then written in storage array, corresponding operation information comprises: instruction+full address+data (code word), the one page (page) only in corresponding stored array of instruction wherein; Data are no more than one page under normal circumstances, but in order to the demand (such as some data real-time update) that compatibility is different, when the data volume (being formed by some new ECC code words) that write buffer stores exceedes self-capacity (the present embodiment gets one page that write buffer capacity is storage array), the data exceeded (new ECC code word) (may not be minimum or most significant digit) from the start address of write buffer are upgraded former data.
Embodiments of the invention comprise a data group and corresponding check bit with an ECC code word, and data group comprises 4 bytes, a byte be 8bits is that example is described, do not form the restriction to ECC code word or byte, ECC code word specifically comprises how many bytes or a byte packet containing how many bits, and comprising how many data bit and how many check bit in this ECC code word accordingly, the present invention is not limited.
Technical scheme of the present invention, by data volume in units of the ECC code word of page, completes the read-write of data.Technical solution of the present invention is applicable to the nonvolatile memory that external interface carries out data transmission in units of byte, especially EEPROM.Adopt the data bit of some bytes and corresponding check bit to form an ECC code word, and read and write in units of ECC code word, reduce the area overhead of ECC circuit, control also simpler.
When the data of a small amount of byte of storer stochastic inputs (data volume is less than page), memory inside only needs the ECC code word corresponding to those bytes to write, compared with writing data with prior art in units of page, considerably reduce the erasable number of times of storer, effectively extend the serviceable life of storer.
Although the embodiment disclosed by the present invention is as above, the embodiment that described content just adopts for the ease of understanding the present invention, and be not used to limit the present invention.Technician in any the technical field of the invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be done what implement in form and in details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.

Claims (8)

1. error detection/correction (ECC) correction verification module, is characterized in that, comprises error detection/correction circuit, latch, checking circuit and write buffer, wherein:
Described error detection/correction circuit, for carrying out error detection/correction process to ECC code word, obtains the data group after error detection/correction;
Described latch, for storing the data group after described error detection/correction, by the corresponding data position in the data group after received input Data Update to described error detection/correction, forms data group to be written;
Described checking circuit, for verifying in real time described data group to be written, generates the check bit corresponding to described data group to be written; And
Described write buffer, for being written in storage medium by described data group to be written and its corresponding check bit;
Wherein, described latch is used in units of predetermined length, receive described input data, by the corresponding data position in the data group after described input Data Update to described error detection/correction in units of predetermined length, forms described data group to be written; Wherein, described latch is used in units of byte, receive described input data, and/or with byte unit by the corresponding data position in the data group after described input Data Update to described error detection/correction;
Described write buffer is used for being written in described storage medium with the form of ECC code word by described data group to be written and its corresponding check bit;
Described write buffer is used for the new ECC code word that buffer memory is formed by described data group to be written and its corresponding check bit, and is written in described storage medium by the described new ECC code word identified by flag;
Wherein, each described new ECC code word is respectively to having flag, and this flag plays the effect from described write buffer to the write-enable of described storage medium.
2. module according to claim 1, is characterized in that:
Described error detection/correction circuit carries out described error detection/correction process for adopting the data group of the check bit of described ECC code word to described ECC code word.
3. module according to claim 1, is characterized in that:
When the data volume that described write buffer is used for being formed in described new ECC code word exceedes self-capacity, upgrade by the new ECC code word exceeded from start address.
4. module according to claim 3, is characterized in that:
The capacity of described write buffer equals the capacity of described storage medium one page.
5. a method for the read data of error detection/correction as claimed in claim 1 (ECC) correction verification module, it is characterized in that, the method comprises:
Receive the read operation request of user;
Described error detection/correction circuit, according to described read operation request, obtains corresponding ECC code word from storage medium;
Described error detection/correction circuit carries out error detection/correction process to described ECC code word, obtains and data group after exporting error detection/correction;
Wherein, export the step of the data group after described error detection/correction, comprising:
The data group after described error detection/correction is exported in units of predetermined length; In units of described predetermined length, export the step of the data group after described error detection/correction, comprising: in units of byte, export the data group after described error detection/correction.
6. the method writing data of error detection/correction as claimed in claim 1 (ECC) correction verification module, it is characterized in that, the method comprises:
The write operation requests receiving user and the input data that will write;
Described error detection/correction circuit obtains corresponding ECC code word according to described write operation requests from storage medium, and carries out error detection/correction process to described ECC code word, obtains the data group after error detection/correction and sends to described latch;
Data group after error detection/correction described in described latch stores, by the corresponding data position in the data group after described input Data Update to described error detection/correction, forms data group to be written and sends to described checking circuit and write buffer;
Described checking circuit verifies in real time to described data group to be written, generates the check bit corresponding to described data group to be written and sends to described write buffer; And
Described data group to be written and its corresponding check bit are written in described storage medium by described write buffer;
Wherein, described latch is by the corresponding data position in the data group after described input Data Update to described error detection/correction, form the step of described data group to be written, comprise: described latch by the corresponding data position in the data group after described input Data Update to described error detection/correction, forms described data group to be written in units of predetermined length; Described latch, by the step of the corresponding data position in the data group after described input Data Update to described error detection/correction, comprising: described latch with byte unit by the corresponding data position in the data group after described input Data Update to described error detection/correction;
Wherein, described data group to be written and its corresponding check bit are written to the step in described storage medium by described write buffer, comprising:
Described data group to be written and its corresponding check bit are written in described storage medium with the form of ECC code word by described write buffer;
Wherein, described data group to be written and its corresponding check bit to be written to the step in described storage medium by described write buffer with the form of ECC code word, comprising:
The new ECC code word that described write buffer buffer memory is formed by described data group to be written and its corresponding check bit, and the described new ECC code word identified by flag is written in described storage medium;
Wherein, each described new ECC code word is respectively to having flag, and this flag plays the effect from described write buffer to the write-enable of described storage medium.
7. method according to claim 6, is characterized in that, described error detection/correction circuit carries out the step of described error detection/correction process to described ECC code word, comprising:
Described error detection/correction circuit adopts the data group of the check bit of described ECC code word to described ECC code word to carry out described error detection/correction process.
8. method according to claim 6, is characterized in that:
When the data volume that the described new ECC code word of described write buffer reception is formed exceedes self-capacity, upgrade by the new ECC code word exceeded from start address.
CN201010237759.3A 2010-07-23 2010-07-23 Error checking and correcting verification module and data reading-writing method thereof Active CN102339641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010237759.3A CN102339641B (en) 2010-07-23 2010-07-23 Error checking and correcting verification module and data reading-writing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010237759.3A CN102339641B (en) 2010-07-23 2010-07-23 Error checking and correcting verification module and data reading-writing method thereof

Publications (2)

Publication Number Publication Date
CN102339641A CN102339641A (en) 2012-02-01
CN102339641B true CN102339641B (en) 2014-12-17

Family

ID=45515316

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010237759.3A Active CN102339641B (en) 2010-07-23 2010-07-23 Error checking and correcting verification module and data reading-writing method thereof

Country Status (1)

Country Link
CN (1) CN102339641B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831028B (en) * 2012-09-07 2016-01-20 苏州国芯科技有限公司 Based on ECC error correction method and the system of data bus
CN103631669B (en) * 2013-12-03 2016-06-22 中国科学院微电子研究所 A kind of write-back method of error correction SRAM
CN105023616A (en) * 2014-04-30 2015-11-04 深圳市中兴微电子技术有限公司 Method for storing and retrieving data based on Hamming code and integrated random access memory
KR102662417B1 (en) * 2017-01-11 2024-04-30 에스케이하이닉스 주식회사 Semiconductor device
CN111984457B (en) 2019-05-23 2022-09-02 华为技术有限公司 Method and device for updating storage information
CN110209524B (en) * 2019-06-18 2022-12-06 哈尔滨工业大学 ECC decoder reinforcing method for resisting single-event transient effect
CN112289353B (en) * 2019-07-25 2024-03-12 上海磁宇信息科技有限公司 Optimized MRAM system with ECC function and operation method thereof
CN110532127B (en) * 2019-08-13 2023-03-03 南京芯驰半导体科技有限公司 Error check bit protocol converter
CN117079686A (en) * 2020-09-18 2023-11-17 长鑫存储技术有限公司 Memory device
CN112764673B (en) * 2020-12-28 2024-03-15 中国测绘科学研究院 Hyperspectral linear array data storage rate optimization method, device and storage medium
CN114765056A (en) * 2021-01-14 2022-07-19 长鑫存储技术有限公司 Storage system
JP7343709B2 (en) 2021-01-14 2023-09-12 チャンシン メモリー テクノロジーズ インコーポレイテッド error correction system
KR20220107007A (en) 2021-01-14 2022-08-01 창신 메모리 테크놀로지즈 아이엔씨 comparison system
US11599417B2 (en) 2021-01-14 2023-03-07 Changxin Memory Technologies, Inc. Error correction system
US11990201B2 (en) 2021-01-14 2024-05-21 Changxin Memory Technologies, Inc. Storage system
CN114460447B (en) * 2021-01-19 2023-03-28 沐曦集成电路(上海)有限公司 Self-test circuit of latch and self-test method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1033889A (en) * 1987-05-15 1989-07-12 计数设备公司 The method and apparatus of byte write error code
CN101404183A (en) * 2007-10-02 2009-04-08 松下电器产业株式会社 Semiconductor storage device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4560072B2 (en) * 2007-08-30 2010-10-13 株式会社東芝 Semiconductor memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1033889A (en) * 1987-05-15 1989-07-12 计数设备公司 The method and apparatus of byte write error code
CN101404183A (en) * 2007-10-02 2009-04-08 松下电器产业株式会社 Semiconductor storage device

Also Published As

Publication number Publication date
CN102339641A (en) 2012-02-01

Similar Documents

Publication Publication Date Title
CN102339641B (en) Error checking and correcting verification module and data reading-writing method thereof
CN101079322B (en) Multi-bit memory device and memory system
US7809994B2 (en) Error correction coding for multiple-sector pages in flash memory devices
CN102132354B (en) The fast, low-power reading of the data in flash memory
US9229851B2 (en) Memory controller, semiconductor memory device and control method thereof
US8386905B2 (en) Error correcting method, and memory controller and memory storage system using the same
US20070300130A1 (en) Method of Error Correction Coding for Multiple-Sector Pages in Flash Memory Devices
US9513992B2 (en) Method and apparatus to perform concurrent read and write memory operations
US8756398B2 (en) Partitioning pages of an electronic memory
CN103137215B (en) Low delay error correcting code ability is provided to memory
CN101494085B (en) Prevent nonvolatile memory from method and the controller thereof of interference occurring to read
US9003153B2 (en) Method of storing blocks of data in a plurality of memory devices in a redundant manner, a memory controller and a memory system
WO2012039983A1 (en) Memory device with ecc history table
TWI479314B (en) Method of storing system data, and memory controller and memory storage apparatus using the same
CN106415502A (en) Data storage method and device
CN102543196B (en) Data reading method, memory storing device and controller thereof
US20110078541A1 (en) Storage device and data process method
US9063888B2 (en) Program code loading and accessing method, memory controller, and memory storage apparatus
CN101930402B (en) Nonvolatile memory with error detection/correction circuit and reading and writing method thereof
CN101930799B (en) Non-volatile memory with error checking/correcting circuit and methods thereof for reading and writing data
US9213597B2 (en) Memory storage device, memory controller thereof, and method for programming data thereof
WO2007137013A2 (en) Error correction coding for multiple-sector pages in flash memory devices
TW202207230A (en) Data writing method, memory control circuit unit and memory storage apparatus
US10922025B2 (en) Nonvolatile memory bad row management
CN101566969A (en) Method and controller capable of enhancing management efficiency of nonvolatile storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100083 Beijing City, Haidian District Xueyuan Road No. 30, large industrial building A block 12 layer

Applicant after: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.

Address before: 100084 Room 301, building B, research building, Tsinghua Science and Technology Park, Beijing

Applicant before: GigaDevice Semiconductor Inc.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: BEIJING GIGADEVICE SEMICONDUCTOR INC. TO: BEIJING GIGADEVICE SEMICONDUCTOR CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Room 101, Floor 1-5, Building 8, Yard 9, Fenghao East Road, Haidian District, Beijing 100094

Patentee after: Zhaoyi Innovation Technology Group Co.,Ltd.

Address before: 100083 12 Floors, Block A, Tiangong Building, Science and Technology University, 30 College Road, Haidian District, Beijing

Patentee before: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc.