TW202046329A - Memory apparatus - Google Patents

Memory apparatus Download PDF

Info

Publication number
TW202046329A
TW202046329A TW108118908A TW108118908A TW202046329A TW 202046329 A TW202046329 A TW 202046329A TW 108118908 A TW108118908 A TW 108118908A TW 108118908 A TW108118908 A TW 108118908A TW 202046329 A TW202046329 A TW 202046329A
Authority
TW
Taiwan
Prior art keywords
data
signal
inverter
coupled
read
Prior art date
Application number
TW108118908A
Other languages
Chinese (zh)
Other versions
TWI691964B (en
Inventor
中岡裕司
Original Assignee
華邦電子股份有限公司
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 華邦電子股份有限公司 filed Critical 華邦電子股份有限公司
Priority to TW108118908A priority Critical patent/TWI691964B/en
Application granted granted Critical
Publication of TWI691964B publication Critical patent/TWI691964B/en
Publication of TW202046329A publication Critical patent/TW202046329A/en

Links

Images

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

A memory apparatus is provided. A data read-write circuit is configured to access data in a memory cell array. A parity-data read-write circuit is configured to access a parity data in a parity memory cell array. A syndrome operation circuit generates an error decoding signal according to the data received from the data read-write circuit and the parity data received from the parity-data read-write circuit. During a same read period as reading the data, the data read-write circuit corrects an error bit of the data to output a corrected data and a correction bit signal based on the error decoding signal. The syndrome operation circuit further generates a parity data write signal to the parity-data read-write circuit to update the parity data in the parity data memory cell array according to the correction bit signal. The data read-write circuit also writes the corrected data back to the memory cell array.

Description

記憶體裝置Memory device

本發明是有關於一種記憶體裝置,且特別是有關於一種具有錯誤檢查和糾正錯誤功能的記憶體裝置。The present invention relates to a memory device, and more particularly to a memory device with error checking and error correction functions.

隨著科技的進步,消費者對儲存媒體的需求也急速增加,其中動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)具有結構簡單、高密度、低成本的優點,因此被廣泛地應用於各種電子裝置。為了提升DRAM的資料可靠度,某些DRAM會具備修正錯誤記憶體(Error-correcting code memory,ECC memory)來偵測儲存資料中的錯誤位元並且修正此錯誤位元。目前DRAM主要採用單錯誤校正(Single Error Correcting)技術,但單錯誤校正技術一次只能糾正一位元的錯誤。如果儲存資料同時具有2位元以上的錯誤,ECC電路的錯誤校正功能就會失效。然而DRAM操作時可能會因高溫、刷新等因素發生軟錯誤(Soft error)而產生錯誤位元。如果不能及時校正錯誤位元,可能會讓儲存資料累積兩個錯誤位元而降低記憶體的資料可靠度。因此,如何對儲存資料進行及時的校正以避免累積到2個以上的錯誤位元而維持DRAM的資料正確性成為一個待克服的問題。With the advancement of technology, consumer demand for storage media has also increased rapidly. Among them, Dynamic Random Access Memory (DRAM) has the advantages of simple structure, high density, and low cost, so it is widely used Various electronic devices. In order to improve the data reliability of DRAM, some DRAMs are equipped with error-correcting code memory (ECC memory) to detect the error bit in the stored data and correct the error bit. At present, DRAM mainly uses single error correction (Single Error Correcting) technology, but the single error correction technology can only correct one-bit errors at a time. If the stored data has an error of more than 2 bits at the same time, the error correction function of the ECC circuit will fail. However, during DRAM operation, soft errors may occur due to factors such as high temperature, refresh, etc., resulting in error bits. If the error bit cannot be corrected in time, the stored data may accumulate two error bits and reduce the data reliability of the memory. Therefore, how to correct the stored data in time to avoid the accumulation of more than 2 error bits and maintain the accuracy of the DRAM data becomes a problem to be overcome.

本發明提供一種記憶體裝置,可在資料的讀取週期中,即時校正錯誤位元並且更新儲存的資料與錯誤檢查校正用的校正資料。The present invention provides a memory device that can correct error bits in real time and update stored data and correction data for error checking and correction during data reading cycles.

本發明的一種記憶體裝置,包括:資料讀寫電路、校正資料讀寫電路與校驗子運算電路。資料讀寫電路耦接記憶胞陣列,用以存取記憶胞陣列的資料。校正資料讀寫電路耦接校正資料記憶胞陣列,用以存取校正資料記憶胞陣列的校正資料。校驗子運算電路根據從資料讀寫電路接收的資料以及從校正資料讀寫電路接收的校正資料產生錯誤解碼信號,其中,在讀取資料的同一個讀取週期中,資料讀寫電路根據錯誤解碼信號校正資料中的錯誤位元且輸出正確的資料與校正位元信號,其中資料讀寫電路將校正後的資料寫回記憶胞陣列,其中校驗子運算電路還根據校正位元信號輸出校正資料寫入信號至校正資料讀寫電路以更新校正資料記憶胞陣列中的校正資料。A memory device of the present invention includes: a data reading and writing circuit, a correction data reading and writing circuit, and a syndrome operation circuit. The data read-write circuit is coupled to the memory cell array for accessing data in the memory cell array. The calibration data read-write circuit is coupled to the calibration data memory cell array for accessing calibration data of the calibration data memory cell array. The syndrome calculation circuit generates an error decoding signal based on the data received from the data read and write circuit and the correction data received from the correction data read and write circuit. In the same read cycle when the data is read, the data read and write circuit The decoded signal corrects the error bits in the data and outputs the correct data and correction bit signals. The data read and write circuit writes the corrected data back to the memory cell array, and the syndrome calculation circuit also outputs corrections based on the correction bit signal The data write signal is sent to the calibration data read-write circuit to update the calibration data in the calibration data memory cell array.

基於上述,本發明的記憶體裝置可以在一個讀取週期中從記憶胞陣列讀取資料並完成檢查與校正。當發現資料中有一個錯誤位元時,本發明的記憶體裝置能夠在同一個讀取週期中即時校正錯誤以輸出正確的資料,並且對應地在一個連續的期間中將校正後的資料寫回記憶胞陣列以及將更新的校正資料寫回校正資料記憶胞陣列。藉此,本發明的記憶體裝置可以提高資料的可靠度。Based on the above, the memory device of the present invention can read data from the memory cell array and complete inspection and calibration in one read cycle. When an error bit is found in the data, the memory device of the present invention can instantly correct the error in the same read cycle to output the correct data, and correspondingly write back the corrected data in a continuous period The memory cell array and the updated calibration data are written back to the calibration data memory cell array. Therefore, the memory device of the present invention can improve the reliability of data.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

圖1是依照本發明一實施例的一種記憶體裝置的方塊圖。請參照圖1,記憶體裝置100包括記憶胞陣列110、校正資料記憶胞陣列120、資料讀寫電路130、校正資料讀寫電路140與校驗子運算電路170,其中校驗子運算電路170包括校驗子產生電路150以及校驗子解碼電路160。資料讀寫電路130耦接記憶胞陣列110以存取記憶胞陣列110的資料MD。校正資料讀寫電路140耦接校正資料記憶胞陣列120以存取校正資料記憶胞陣列120的校正資料PM。校正資料PM是用以對資料MD進行檢查與校正的錯誤檢查和校正碼,例如對資料MD進行漢明碼(Hamming code)等ECC編碼程序而產生。校正資料PM的位元數取決於資料MD的位元數。在本實施例中,資料MD的大小以64位元為例,校正資料PM的大小則對應設定為7位元,但本發明並不限制資料MD與校正資料PM的大小。FIG. 1 is a block diagram of a memory device according to an embodiment of the invention. 1, the memory device 100 includes a memory cell array 110, a calibration data memory cell array 120, a data reading and writing circuit 130, a calibration data reading and writing circuit 140, and a syndrome operation circuit 170, wherein the syndrome operation circuit 170 includes The syndrome generating circuit 150 and the syndrome decoding circuit 160. The data read/write circuit 130 is coupled to the memory cell array 110 to access the data MD of the memory cell array 110. The calibration data read-write circuit 140 is coupled to the calibration data memory cell array 120 to access the calibration data PM of the calibration data memory cell array 120. The correction data PM is an error checking and correction code used to check and correct the data MD, for example, the data MD is generated by ECC encoding procedures such as Hamming code (Hamming code). The number of bits of the correction data PM depends on the number of bits of the data MD. In this embodiment, the size of the data MD is 64 bits as an example, and the size of the correction data PM is correspondingly set to 7 bits, but the present invention does not limit the size of the data MD and the correction data PM.

校驗子運算電路170根據從資料讀寫電路130接收的資料MD(資料讀寫電路130讀取資料MD後輸出讀取位元信號RD)以及從校正資料讀寫電路140接收的校正資料PM(校正資料讀寫電路140讀取校正資料PM後輸出校正讀取信號PS)產生錯誤解碼信號SD,其中,在讀取資料MD的同一個讀取週期中,資料讀寫電路130根據錯誤解碼信號SD校正資料MD中的錯誤位元且輸出正確的資料(即資料輸出信號RWB)與校正位元信號CS。資料讀寫電路130會將校正後的資料寫回記憶胞陣列110,並且校驗子運算電路170還根據校正位元信號CS輸出校正資料寫入信號NS至校正資料讀寫電路140以更新校正資料記憶胞陣列120中的校正資料PM。The syndrome calculation circuit 170 is based on the data MD received from the data read/write circuit 130 (the data read/write circuit 130 reads the data MD and then outputs the read bit signal RD) and the correction data PM received from the correction data read/write circuit 140 ( The correction data reading and writing circuit 140 reads the correction data PM and outputs a correction read signal PS) to generate an error decoding signal SD, wherein, in the same reading cycle of reading the data MD, the data reading and writing circuit 130 decodes the signal SD according to the error Correct the error bit in the data MD and output the correct data (ie the data output signal RWB) and the correction bit signal CS. The data read and write circuit 130 writes the corrected data back to the memory cell array 110, and the syndrome calculation circuit 170 also outputs a correction data write signal NS according to the correction bit signal CS to the correction data read and write circuit 140 to update the correction data The correction data PM in the memory cell array 120.

換句話說,在本實施例中,在讀取資料MD與校正資料PM後,可以通過校驗子運算電路170的校驗子編碼(Syndrome encoding)與校驗子解碼(Syndrome decoding)來檢查資料MD中是否有錯誤位元。如果存在錯誤位元,資料讀寫電路130可以在同一個讀取周期中即時地根據錯誤解碼信號SD修正錯誤位元以輸出正確的資料輸出信號RWB,還可以一併輸出校正位元信號CS到校驗子運算電路170來使校正資料讀寫電路140更新校正資料PM。特別一提的是,在讀取資料MD到輸出正確的資料輸出信號RWB之間,記憶體裝置100不需要再次選擇記憶胞陣列110的記憶胞,可以在同一個讀取周期中完成上述動作,並且還可以更新校正資料PM。In other words, in this embodiment, after reading the data MD and the correction data PM, the data can be checked through the syndrome encoding and syndrome decoding of the syndrome calculation circuit 170. Whether there is an error bit in MD. If there is an error bit, the data reading and writing circuit 130 can instantly correct the error bit according to the error decoding signal SD in the same read cycle to output the correct data output signal RWB, and can also output the correction bit signal CS to The syndrome calculation circuit 170 causes the correction data read/write circuit 140 to update the correction data PM. In particular, between reading the data MD and outputting the correct data output signal RWB, the memory device 100 does not need to select the memory cells of the memory cell array 110 again, and can complete the above actions in the same read cycle. And can also update the correction data PM.

以下進一步說明本實施例的電路結構與實施方式。圖2是依照本發明的一實施例的資料讀寫電路的電路方塊示意圖。請參照圖2,資料讀寫電路130包括資料讀取電路210、資料校正電路220與資料寫入電路230。資料讀取電路210耦接記憶胞陣列110,用以從記憶胞陣列110讀取資料MD以產生讀取資料AD與對應的讀取位元信號RD。資料校正電路220耦接資料讀取電路210與校驗子運算電路170的校驗子解碼電路160,用以在讀取週期中鎖存讀取資料AD,以及根據錯誤解碼信號SD校正讀取資料AD的錯誤位元以產生正確的資料輸出信號RWB與校正位元信號CS,其中資料輸出信號RWB是資料讀寫電路130讀取與校正資料MD後的輸出結果。資料寫入電路230耦接資料校正電路220與記憶胞陣列110,用以使用校正位元信號CS取代對應錯誤位元的資料輸出信號RWB以將正確的資料MD寫回記憶胞陣列110。The circuit structure and implementation of this embodiment are further described below. FIG. 2 is a circuit block diagram of a data reading and writing circuit according to an embodiment of the invention. Please refer to FIG. 2, the data reading and writing circuit 130 includes a data reading circuit 210, a data correction circuit 220 and a data writing circuit 230. The data reading circuit 210 is coupled to the memory cell array 110 for reading the data MD from the memory cell array 110 to generate the read data AD and the corresponding read bit signal RD. The data correction circuit 220 is coupled to the data reading circuit 210 and the syndrome decoding circuit 160 of the syndrome operation circuit 170, and is used to latch the read data AD during the read cycle and correct the read data according to the error decoding signal SD The error bit of AD is used to generate the correct data output signal RWB and correction bit signal CS. The data output signal RWB is the output result of the data read and write circuit 130 reading and correcting the data MD. The data writing circuit 230 is coupled to the data correction circuit 220 and the memory cell array 110 for replacing the data output signal RWB corresponding to the error bit with the correction bit signal CS to write the correct data MD back to the memory cell array 110.

請再參照圖1,校驗子運算電路170包括校驗子產生電路150與校驗子解碼電路160。校驗子產生電路150耦接資料讀寫電路130與校正資料讀寫電路140,並根據讀取操作或寫入操作選擇接收資料讀取電路210或資料校正電路220的輸出信號產生校正資料寫入信號NS。更具體來說,資料讀寫電路130進行讀取操作時,校驗子產生電路150根據讀取位元信號RD產生校正資料寫入信號NS,且在資料讀寫電路130進行寫入操作時,校驗子產生電路150根據校正位元信號CS或資料輸出信號RWB產生校正資料寫入信號NS。1 again, the syndrome calculation circuit 170 includes a syndrome generation circuit 150 and a syndrome decoding circuit 160. The syndrome generating circuit 150 is coupled to the data read/write circuit 130 and the correction data read/write circuit 140, and according to the read operation or the write operation, selects to receive the output signal of the data read circuit 210 or the data correction circuit 220 to generate correction data write Signal NS. More specifically, when the data read/write circuit 130 performs a read operation, the syndrome generation circuit 150 generates a correction data write signal NS according to the read bit signal RD, and when the data read/write circuit 130 performs a write operation, The syndrome generating circuit 150 generates a correction data write signal NS according to the correction bit signal CS or the data output signal RWB.

校驗子產生電路150比較校正資料寫入信號NS與對應的校正資料PM(校正資料讀寫電路140讀取校正資料PM以提供校正讀取信號PS給校驗子產生電路150)來產生校驗子信號SY。校驗子解碼電路160耦接校驗子產生電路150以對校驗子信號SY進行解碼而產生錯誤解碼信號SD。資料讀寫電路130根據錯誤解碼信號SD校正資料MD中的錯誤位元。The syndrome generation circuit 150 compares the correction data write signal NS with the corresponding correction data PM (the correction data read-write circuit 140 reads the correction data PM to provide the correction read signal PS to the syndrome generation circuit 150) to generate a check Sub signal SY. The syndrome decoding circuit 160 is coupled to the syndrome generating circuit 150 to decode the syndrome signal SY to generate an error decoding signal SD. The data reading and writing circuit 130 corrects the error bits in the data MD according to the error decoding signal SD.

接著說明資料讀寫電路130的具體實施方式。圖3A是依照本發明的一實施例的資料讀取電路的電路示意圖,圖3B是依照本發明一實施例的記憶體裝置的讀取操作的波形示意圖。圖4是依照本發明的一實施例的資料校正電路的電路示意圖,圖5A是依照本發明的一實施例的資料寫入電路的電路示意圖,圖5B是依照本發明的一實施例的資料寫入電路的控制信號產生電路的電路示意圖。請搭配圖1與圖2參照圖3A至圖5B以具體說明資料讀寫電路130的實施細節。Next, a specific implementation of the data reading and writing circuit 130 is described. 3A is a schematic circuit diagram of a data reading circuit according to an embodiment of the present invention, and FIG. 3B is a schematic diagram of waveforms of a reading operation of a memory device according to an embodiment of the present invention. 4 is a schematic circuit diagram of a data correction circuit according to an embodiment of the present invention, FIG. 5A is a schematic circuit diagram of a data writing circuit according to an embodiment of the present invention, and FIG. 5B is a data writing circuit according to an embodiment of the present invention The circuit diagram of the control signal generating circuit of the input circuit. Please refer to FIGS. 3A to 5B in conjunction with FIGS. 1 and 2 to specifically describe the implementation details of the data reading and writing circuit 130.

在圖3A中,資料讀取電路210包括讀取開關310、預充電路320與放大電路330。讀取開關310的輸入端從記憶胞陣列110接收資料MD,並受控於讀取致能信號DE而導通或斷開。預充電路320耦接讀取開關310的輸入端,受控於預充信號PB以對讀取開關310的輸入端執行預充電動作。放大電路330的輸入端耦接讀取開關310的輸出端,受控於讀取致能信號DE以產生讀取資料AD,並產生對應的讀取位元信號RD。In FIG. 3A, the data reading circuit 210 includes a reading switch 310, a precharge circuit 320, and an amplifier circuit 330. The input terminal of the read switch 310 receives the data MD from the memory cell array 110 and is turned on or off under the control of the read enable signal DE. The precharge circuit 320 is coupled to the input terminal of the read switch 310 and is controlled by the precharge signal PB to perform a precharge action on the input terminal of the read switch 310. The input terminal of the amplifying circuit 330 is coupled to the output terminal of the read switch 310 and is controlled by the read enable signal DE to generate the read data AD and generate the corresponding read bit signal RD.

具體來說,記憶胞陣列110中的感測放大器以差分信號(Differential signal)的方式來輸出儲存於記憶胞中的資料MD,因此資料MD會包括資料信號MDiT與反相資料信號MDiN的差分信號,其中資料MD以64位元為例,在本說明書中以MDi表示資料MD的其中一個位元,i是0到63的整數(i=0, 1, 2…, 63),例如MD0、MD1、…MD63。同理,讀取資料AD也是包括讀取資料信號ADiT與反相讀取資料信號ADiN的差分信號。本說明書中的i是指對應的位元,例如,讀取位元信號RDi、資料輸出信號RWBi與校正位元信號CSi是表示讀取位元信號RD、資料輸出信號RWB跟校正位元信號CS中對應的位元,請以此類推。Specifically, the sense amplifier in the memory cell array 110 outputs the data MD stored in the memory cell in the form of a differential signal, so the data MD includes the differential signal of the data signal MDiT and the inverted data signal MDiN , The data MD takes 64 bits as an example. In this manual, MDi represents one of the bits of the data MD, i is an integer from 0 to 63 (i=0, 1, 2..., 63), such as MD0, MD1 ,...MD63. Similarly, the read data AD is also a differential signal including the read data signal ADiT and the inverted read data signal ADiN. In this specification, i refers to the corresponding bit. For example, read bit signal RDi, data output signal RWBi and correction bit signal CSi means read bit signal RD, data output signal RWB and correction bit signal CS Corresponding bits in, please analogize.

在讀取開關310中,傳輸閘TG1耦接位元線BL以接收資料信號MDiT,傳輸閘TG2耦接互補位元線BLN以接收反相資料信號MDiN,並且傳輸閘TG1與傳輸閘TG2都受控於讀取致能信號DE。圖3A中的反相器INV1的輸入端接收讀取致能信號DE,其輸出端共同耦接傳輸閘TG1與傳輸閘TG2的其中一控制端(例如傳輸閘TG1與傳輸閘TG2中的N型電晶體的控制端)。反相器INV2的輸入端耦接反相器INV1的輸出端,其輸出端共同耦接傳輸閘TG1與傳輸閘TG2的另一控制端(例如傳輸閘TG1與傳輸閘TG2中的P型電晶體的控制端)。In the read switch 310, the transmission gate TG1 is coupled to the bit line BL to receive the data signal MDiT, the transmission gate TG2 is coupled to the complementary bit line BLN to receive the inverted data signal MDiN, and both the transmission gate TG1 and the transmission gate TG2 are Controlled to read the enable signal DE. The input terminal of the inverter INV1 in FIG. 3A receives the read enable signal DE, and its output terminal is commonly coupled to one of the control terminals of the transmission gate TG1 and the transmission gate TG2 (for example, the N-type in the transmission gate TG1 and the transmission gate TG2) The control end of the transistor). The input terminal of the inverter INV2 is coupled to the output terminal of the inverter INV1, and its output terminal is commonly coupled to the transmission gate TG1 and the other control terminal of the transmission gate TG2 (for example, the P-type transistor in the transmission gate TG1 and the transmission gate TG2) Control end).

在預充電路320中,反相器INV3接收預充信號PB。P型電晶體TP1的第一端耦接電源電壓VDD,其控制端耦接反相器INV3的輸出端,其第二端耦接位元線BL。P型電晶體TP2其第一端耦接電源電壓VDD,其控制端耦接反相器INV3的輸出端,其第二端耦接互補位元線BLN。P型電晶體TP3耦接於P型電晶體TP1的第二端與P型電晶體TP2的第二端之間,其控制端耦接反相器INV3的輸出端。In the precharge circuit 320, the inverter INV3 receives the precharge signal PB. The first terminal of the P-type transistor TP1 is coupled to the power supply voltage VDD, the control terminal thereof is coupled to the output terminal of the inverter INV3, and the second terminal thereof is coupled to the bit line BL. The first end of the P-type transistor TP2 is coupled to the power supply voltage VDD, the control end is coupled to the output end of the inverter INV3, and the second end is coupled to the complementary bit line BLN. The P-type transistor TP3 is coupled between the second terminal of the P-type transistor TP1 and the second terminal of the P-type transistor TP2, and its control terminal is coupled to the output terminal of the inverter INV3.

在放大電路330中,放大器332耦接讀取開關310以接收資料信號MDiT與反相資料信號MDiN,且對應地輸出讀取資料信號ADiT與反相讀取資料信號ADiN。反相器INV4接收反相讀取資料信號ADiN以輸出讀取位元信號RDi。In the amplifying circuit 330, the amplifier 332 is coupled to the read switch 310 to receive the data signal MDiT and the inverted data signal MDiN, and correspondingly output the read data signal ADiT and the inverted read data signal ADiN. The inverter INV4 receives the inverted read data signal ADiN to output the read bit signal RDi.

在本實施例中,放大器332包括P型電晶體T31~T32以及N型電晶體T33~T35。P型電晶體T31與N型電晶體T33串接於電壓電源VDD與N型電晶體T35的第一端之間,P型電晶體T32與N型電晶體T34同樣串接於電壓電源VDD與N型電晶體T35的第一端之間,其中P型電晶體T31與N型電晶體T33的控制端共同耦接N型電晶體T34的第一端,P型電晶體T32與N型電晶體T34的控制端共同耦接N型電晶體T33的第一端。N型電晶體T35的第二端耦接接地電壓GND,其控制端耦接讀取致能信號DE。In this embodiment, the amplifier 332 includes P-type transistors T31 to T32 and N-type transistors T33 to T35. The P-type transistor T31 and the N-type transistor T33 are connected in series between the voltage power supply VDD and the first terminal of the N-type transistor T35. The P-type transistor T32 and the N-type transistor T34 are also connected in series with the voltage power supply VDD and N. Between the first ends of the P-type transistor T35, the control ends of the P-type transistor T31 and the N-type transistor T33 are commonly coupled to the first end of the N-type transistor T34, the P-type transistor T32 and the N-type transistor T34 The control terminals of are commonly coupled to the first terminal of the N-type transistor T33. The second terminal of the N-type transistor T35 is coupled to the ground voltage GND, and the control terminal thereof is coupled to the read enable signal DE.

在圖3B中,在讀取操作前,預充信號PB導通讀取開關310以對位元線BL跟互補位元線BLN進行預充電動作。當要開始讀取操作時,預充信號PB會關閉讀取開關310以結束預充電動作。同時,用以選擇記憶胞陣列110的記憶胞的選擇信號CSL會由低邏輯位準(Low)變為高邏輯位準(High),以讀取所選擇的記憶胞的資料MD。接著,讀取致能信號DE切換到高邏輯位準(High)以導通讀取開關310與啟動放大器332來放大資料信號MDiT與反相資料信號MDiN以輸出讀取資料信號ADiT、反相讀取資料信號ADiN與讀取位元信號RDi。圖3B中的低電壓VSS在此以接地電壓GND為例。In FIG. 3B, before the read operation, the precharge signal PB turns on the read switch 310 to perform a precharge operation on the bit line BL and the complementary bit line BLN. When the reading operation is about to start, the precharging signal PB turns off the reading switch 310 to end the precharging operation. At the same time, the selection signal CSL used to select the memory cells of the memory cell array 110 changes from a low logic level (Low) to a high logic level (High) to read the data MD of the selected memory cell. Then, the read enable signal DE is switched to a high logic level (High) to turn on the read switch 310 and the enable amplifier 332 to amplify the data signal MDiT and the inverted data signal MDiN to output the read data signal ADiT, and inverted read The data signal ADiN and the read bit signal RDi. The low voltage VSS in FIG. 3B uses the ground voltage GND as an example.

請參照圖4,資料校正電路220包括校正開關410、讀取位元鎖存器420、校正電路430與輸出電路440。校正開關410的輸入端從資料讀取電路210接收讀取資料ADi,並受控於讀取鎖存信號LAR而導通或斷開。讀取位元鎖存器420耦接校正開關410,用以鎖存讀取資料ADi。校正電路430耦接讀取位元鎖存器420且接收對應的錯誤解碼信號SDi,用以根據錯誤解碼信號SDi校正讀取位元鎖存器420所儲存的位元。輸出電路440耦接校正電路430與讀取位元鎖存器420,受控於輸出致能信號OE將讀取位元鎖存器420所儲存的位元輸出為資料輸出信號RWBi。4, the data correction circuit 220 includes a correction switch 410, a read bit latch 420, a correction circuit 430, and an output circuit 440. The input terminal of the calibration switch 410 receives the read data ADi from the data read circuit 210, and is turned on or off under the control of the read latch signal LAR. The read bit latch 420 is coupled to the calibration switch 410 for latching the read data ADi. The correction circuit 430 is coupled to the read bit latch 420 and receives the corresponding error decoding signal SDi, for correcting the bit stored in the read bit latch 420 according to the error decoding signal SDi. The output circuit 440 is coupled to the correction circuit 430 and the read bit latch 420, and is controlled by the output enable signal OE to output the bits stored in the read bit latch 420 as the data output signal RWBi.

在圖4的校正開關410中,傳輸閘TG3從資料讀取電路210接收讀取資料信號ADiT,傳輸閘TG4從資料讀取電路210接收反相讀取資料信號ADiN,且傳輸閘TG3與傳輸閘TG4都受控於讀取鎖存信號LAR。反相器INV5輸入端接收讀取鎖存信號LAR,其輸出端共同耦接傳輸閘TG3與傳輸閘TG4的其中一控制端以提供讀取鎖存信號LAR的反相信號。In the calibration switch 410 of FIG. 4, the transmission gate TG3 receives the read data signal ADiT from the data reading circuit 210, the transmission gate TG4 receives the inverted read data signal ADiN from the data reading circuit 210, and the transmission gate TG3 and the transmission gate TG4 is controlled by the read latch signal LAR. The input terminal of the inverter INV5 receives the read latch signal LAR, and its output terminal is commonly coupled to one of the control terminals of the transmission gate TG3 and the transmission gate TG4 to provide an inverted signal of the read latch signal LAR.

讀取位元鎖存器420包括反相器INV6與反相器INV7。反相器INV6的輸入端耦接反相器INV7的輸出端且通過傳輸閘TG3接收讀取資料信號ADiT。反相器INV7的輸入端耦接反相器INV6的輸出端且通過傳輸閘TG4接收反相讀取資料信號ADiN。The read bit latch 420 includes an inverter INV6 and an inverter INV7. The input terminal of the inverter INV6 is coupled to the output terminal of the inverter INV7 and receives the read data signal ADiT through the transmission gate TG3. The input terminal of the inverter INV7 is coupled to the output terminal of the inverter INV6 and receives the inverted read data signal ADiN through the transmission gate TG4.

在校正電路430中,反相器INV8接收錯誤解碼信號SDi,反相器INV9耦接反相器INV6的輸出端以輸出校正位元信號CSi。P型電晶體TP4的第一端耦接電源電壓VDD,其第二端耦接P型電晶體TP5的第一端,其控制端耦接反相器INV8的輸出端。P型電晶體TP5的第二端耦接反相器INV6的輸入端,其控制端接收讀取資料信號ADiT。P型電晶體TP6的第一端同樣耦接電源電壓VDD,其第二端耦接P型電晶體TP7的第一端,其控制端耦接反相器INV8的輸出端。P型電晶體TP7的第二端耦接反相器INV6的輸出端,其控制端接收反相讀取資料信號ADiN。In the correction circuit 430, the inverter INV8 receives the error decoding signal SDi, and the inverter INV9 is coupled to the output terminal of the inverter INV6 to output the correction bit signal CSi. The first terminal of the P-type transistor TP4 is coupled to the power supply voltage VDD, the second terminal thereof is coupled to the first terminal of the P-type transistor TP5, and the control terminal thereof is coupled to the output terminal of the inverter INV8. The second terminal of the P-type transistor TP5 is coupled to the input terminal of the inverter INV6, and its control terminal receives the read data signal ADiT. The first terminal of the P-type transistor TP6 is also coupled to the power supply voltage VDD, the second terminal thereof is coupled to the first terminal of the P-type transistor TP7, and the control terminal thereof is coupled to the output terminal of the inverter INV8. The second terminal of the P-type transistor TP7 is coupled to the output terminal of the inverter INV6, and its control terminal receives the inverted read data signal ADiN.

在輸出電路440中,反相器INV10的輸入端耦接輸出致能信號OE。反及閘NAND1的第一輸入端耦接P型電晶體TP5的第二端,其第二輸入端接收輸出致能信號OE。反或閘NOR1的第一輸入端耦接P型電晶體TP5的第二端,其第二輸入端耦接反相器INV10的輸出端。P型電晶體TP8的第一端耦接電源電壓VDD,其控制端耦接反及閘NAND1的輸出端,並且N型電晶體TN1的第一端耦接P型電晶體TP8的第二端並提供校正後的資料輸出信號RWBi,其控制端耦接反或閘NOR1的輸出端,其第二端耦接接地電壓GND。輸出電路440還可以包括耦接於N型電晶體TN1的第一端的鎖存器442。鎖存器442的電路架構與讀取位元鎖存器420相同,由兩個反相器INV互接所形成。In the output circuit 440, the input terminal of the inverter INV10 is coupled to the output enable signal OE. The first input terminal of the NAND gate NAND1 is coupled to the second terminal of the P-type transistor TP5, and the second input terminal thereof receives the output enable signal OE. The first input terminal of the NOR gate NOR1 is coupled to the second terminal of the P-type transistor TP5, and the second input terminal thereof is coupled to the output terminal of the inverter INV10. The first terminal of the P-type transistor TP8 is coupled to the power supply voltage VDD, the control terminal is coupled to the output terminal of the inverter NAND1, and the first terminal of the N-type transistor TN1 is coupled to the second terminal of the P-type transistor TP8. The corrected data output signal RWBi is provided, the control terminal of which is coupled to the output terminal of the NOR1, and the second terminal of which is coupled to the ground voltage GND. The output circuit 440 may further include a latch 442 coupled to the first terminal of the N-type transistor TN1. The circuit structure of the latch 442 is the same as that of the read bit latch 420 and is formed by two inverters INV interconnected.

請再次參照圖3B,當讀取鎖存信號LAR切換至高邏輯位準,讀取位元鎖存器420接收讀取資料ADi以鎖存其位元值,並產生對應的正鎖存位元信號EiT以及反鎖存位元信號EiN。在圖3B中,在讀取鎖存信號LAR的高邏輯位準期間中,正鎖存位元信號EiT改變至低邏輯位準,反鎖存位元信號EiN改變至高邏輯位準。在讀取鎖存信號LAR切換至低邏輯位準後,如果資料MD的第i個位元是錯誤位元,來自校驗子解碼電路160的錯誤解碼信號SDi會切換至高邏輯位準。在同一個讀取週期內,校正電路430會根據錯誤解碼信號SDi反轉讀取位元鎖存器420所鎖存的錯誤的位元值,因此正鎖存位元信號EiT以及反鎖存位元信號EiN發生反轉以糾正錯誤。最後,輸出電路440根據輸出致能信號OE輸出正確的資料輸出信號RWBi。Please refer to FIG. 3B again, when the read latch signal LAR switches to a high logic level, the read bit latch 420 receives the read data ADi to latch its bit value, and generates a corresponding positive latch bit signal EiT and anti-latch bit signal EiN. In FIG. 3B, during the period when the high logic level of the latch signal LAR is read, the positive latch bit signal EiT changes to a low logic level, and the anti-latched bit signal EiN changes to a high logic level. After the read latch signal LAR is switched to a low logic level, if the i-th bit of the data MD is an error bit, the error decoding signal SDi from the syndrome decoding circuit 160 will be switched to a high logic level. In the same read cycle, the correction circuit 430 reads the wrong bit value latched by the bit latch 420 according to the error decoding signal SDi, so the bit signal EiT is positively latched and the bit is negatively latched. The signal EiN is inverted to correct the error. Finally, the output circuit 440 outputs the correct data output signal RWBi according to the output enable signal OE.

請參照圖5A,資料寫入電路230包括反相器INV11、寫入開關510、寫入開關520、寫入位元鎖存器530與輸出電路540。反相器INV11的輸入端接收對應的資料輸出信號RWBi。寫入開關510的輸入端耦接反相器INV11的輸出端並受控於第一寫入鎖存信號LAWm而進行導通或斷開。寫入開關520的輸入端接收對應的校正位元信號CSi並受控於第二寫入鎖存信號LDWm而進行導通或斷開。在此m是0~7的整數,表示對應的遮罩(Mask)位元。寫入位元鎖存器530耦接寫入開關510的輸出端以及寫入開關520的輸出端,輸出電路540耦接寫入開關520的輸出端以及寫入位元鎖存器530。輸出電路540受控於寫入致能信號WE且將資料輸出信號RWBi或校正位元信號CSi寫入記憶胞陣列110。5A, the data writing circuit 230 includes an inverter INV11, a writing switch 510, a writing switch 520, a writing bit latch 530, and an output circuit 540. The input terminal of the inverter INV11 receives the corresponding data output signal RWBi. The input terminal of the write switch 510 is coupled to the output terminal of the inverter INV11 and is controlled by the first write latch signal LAWm to be turned on or off. The input terminal of the write switch 520 receives the corresponding correction bit signal CSi and is controlled by the second write latch signal LDWm to be turned on or off. Here m is an integer from 0 to 7, which represents the corresponding mask bit. The write bit latch 530 is coupled to the output terminal of the write switch 510 and the output terminal of the write switch 520, and the output circuit 540 is coupled to the output terminal of the write switch 520 and the write bit latch 530. The output circuit 540 is controlled by the write enable signal WE and writes the data output signal RWBi or the correction bit signal CSi into the memory cell array 110.

在此,輸出電路540所輸出的資料信號MDiT與反相資料信號MDiN可以分別被傳送回記憶胞陣列110的位元線與互補位元線以重新寫入資料MDi。Here, the data signal MDiT and the inverted data signal MDiN output by the output circuit 540 can be respectively sent back to the bit line and the complementary bit line of the memory cell array 110 to rewrite the data MDi.

在圖5A中,寫入開關510是以傳輸閘TG5的方式實施,寫入開關520是以傳輸閘TG6的方式實施。傳輸閘TG5的兩個控制端分別接收對應的第一寫入鎖存信號LAWm與第一寫入鎖存信號LAWm的反相信號(簡稱反相第一寫入鎖存信號)LAWmB,傳輸閘TG6的兩個控制端分別接收第二寫入鎖存信號LDWm與第二寫入鎖存信號LDWm的反相信號(簡稱反相第二寫入鎖存信號)LDWmB。In FIG. 5A, the write switch 510 is implemented in the manner of the transfer gate TG5, and the write switch 520 is implemented in the manner of the transfer gate TG6. The two control terminals of the transmission gate TG5 respectively receive the corresponding first write latch signal LAWm and the inverted signal of the first write latch signal LAWm (referred to as the inverted first write latch signal) LAWmB, the transmission gate TG6 The two control terminals of, respectively receive the second write latch signal LDWm and the inverted signal of the second write latch signal LDWm (referred to as the inverted second write latch signal) LDWmB.

寫入位元鎖存器530包括反相器INV12與反相器INV13。反相器INV12的輸入端耦接反相器INV13的輸出端,反相器INV13的輸入端耦接反相器INV12的輸出端,其中反相器INV12的輸入端共同耦接傳輸閘TG5與傳輸閘TG6的輸出端。The write bit latch 530 includes an inverter INV12 and an inverter INV13. The input terminal of the inverter INV12 is coupled to the output terminal of the inverter INV13, the input terminal of the inverter INV13 is coupled to the output terminal of the inverter INV12, and the input terminal of the inverter INV12 is commonly coupled to the transmission gate TG5 and the transmission Gate the output of TG6.

在輸出電路540中,反相器INV14串接反相器INV15,且反相器INV14接收寫入致能信號WE。反及閘NAND2的第一輸入端耦接反相器INV12的輸出端,其第二輸入端耦接反相器INV15的輸出端,反或閘NOR2的第一輸入端耦接反相器INV12的輸出端,其第二輸入端耦接反相器INV14的輸出端。P型電晶體TP9的第一端耦接電源電壓VDD,其控制端耦接反及閘NAND2的輸出端,並且N型電晶體TN2的第一端耦接P型電晶體TP9的第二端並提供對應的資料信號MDiT,其控制端耦接反或閘NOR2的輸出端,其第二端耦接接地電壓GND。反及閘NAND3的第一輸入端耦接反相器INV13的輸出端,其第二輸入端耦接反相器INV15的輸出端。反或閘NOR3的第一輸入端耦接反相器INV13的輸出端,其第二輸入端耦接反相器INV14的輸出端。P型電晶體TP10的第一端耦接電源電壓VDD,其控制端耦接反及閘NAND3的輸出端,且N型電晶體TN3的第一端耦接P型電晶體TP10的第二端並提供對應的反相資料信號MDiN,其控制端耦接反或閘NOR3的輸出端,其第二端耦接接地電壓GND。In the output circuit 540, the inverter INV14 is connected in series to the inverter INV15, and the inverter INV14 receives the write enable signal WE. The first input terminal of the inverter gate NAND2 is coupled to the output terminal of the inverter INV12, the second input terminal thereof is coupled to the output terminal of the inverter INV15, and the first input terminal of the inverter gate NOR2 is coupled to the output terminal of the inverter INV12 The output terminal, the second input terminal of which is coupled to the output terminal of the inverter INV14. The first terminal of the P-type transistor TP9 is coupled to the power supply voltage VDD, its control terminal is coupled to the output terminal of the inverter NAND2, and the first terminal of the N-type transistor TN2 is coupled to the second terminal of the P-type transistor TP9. A corresponding data signal MDiT is provided, the control terminal of which is coupled to the output terminal of the NOR gate NOR2, and the second terminal of which is coupled to the ground voltage GND. The first input terminal of the inverter NAND3 is coupled to the output terminal of the inverter INV13, and the second input terminal thereof is coupled to the output terminal of the inverter INV15. The first input terminal of the NOR gate NOR3 is coupled to the output terminal of the inverter INV13, and the second input terminal thereof is coupled to the output terminal of the inverter INV14. The first terminal of the P-type transistor TP10 is coupled to the power supply voltage VDD, the control terminal is coupled to the output terminal of the inverter NAND3, and the first terminal of the N-type transistor TN3 is coupled to the second terminal of the P-type transistor TP10. A corresponding inverted data signal MDiN is provided, the control terminal of which is coupled to the output terminal of the NOR3, and the second terminal of which is coupled to the ground voltage GND.

請參照圖5B,資料寫入電路230還包括控制信號產生電路550,控制信號產生電路550根據初始寫入鎖存信號LAW與寫入遮罩信號DM產生第一寫入鎖存信號LAWm與第二寫入鎖存信號LDWm。在本實施例中,寫入遮罩信號DM是8位元的信號,因此寫入遮罩信號DMm是表示對應第m個位元的信號,m是0到7的整數。Referring to FIG. 5B, the data writing circuit 230 further includes a control signal generating circuit 550. The control signal generating circuit 550 generates a first write latch signal LAWm and a second write latch signal LAWm according to the initial write latch signal LAW and the write mask signal DM Write the latch signal LDWm. In this embodiment, the write mask signal DM is an 8-bit signal, so the write mask signal DMm is a signal corresponding to the m-th bit, and m is an integer from 0 to 7.

控制信號產生電路550提供校驗寫入鎖存信號LAWPT與反相校驗寫入鎖存信號LAWPB至校正資料讀寫電路140,並且提供對應的第一寫入鎖存信號LAWm與第二寫入鎖存信號LDWm,以及其反相信號至資料寫入電路230。The control signal generating circuit 550 provides the verification write latch signal LAWPT and the inverse verification write latch signal LAWPB to the correction data read-write circuit 140, and provides corresponding first write latch signal LAWm and second write The latch signal LDWm and its inverted signal are sent to the data writing circuit 230.

控制信號產生電路550包括反相器INV16、反相器INV17、反相器INV18與信號產生電路610。反相器INV16與反相器INV17串接且反相器INV16的輸入端接收初始寫入鎖存信號LAW,反相器INV17輸出校驗寫入鎖存信號LAWPT至校正資料讀寫電路140,其中反相器INV18接收初始寫入鎖存信號LAW以輸出反相校驗寫入鎖存信號LAWPB。The control signal generating circuit 550 includes an inverter INV16, an inverter INV17, an inverter INV18, and a signal generating circuit 610. The inverter INV16 and the inverter INV17 are connected in series and the input terminal of the inverter INV16 receives the initial write latch signal LAW, and the inverter INV17 outputs the verify write latch signal LAWPT to the correction data read-write circuit 140, wherein The inverter INV18 receives the initial write latch signal LAW to output an inverted verify write latch signal LAWPB.

補充說明的是,在進行讀取操作時,寫入致能信號WE、初始寫入鎖存信號LAW會保持在低邏輯位準。It is supplemented that during the read operation, the write enable signal WE and the initial write latch signal LAW will remain at a low logic level.

在圖5B的信號產生電路610中,反相器INV19的輸出端接收對應的寫入遮罩信號DMm。反及閘NAND4的第一輸入端接收初始寫入鎖存信號LAW,其第二輸入端耦接反相器INV19的輸出端,其輸出端輸出對應的反相第一寫入鎖存信號LAWmB。反相器INV20的輸入端耦接反及閘NAND4的輸出端以輸出對應的第一寫入鎖存信號LAWm。反及閘NAND5的第一輸入端接收初始寫入鎖存信號LAW,其第二輸入端接收對應的寫入遮罩信號DMm,其輸出端輸出對應的反相第二寫入鎖存信號LDWmB。反相器INV21的輸入端耦接反及閘NAND5的輸出端以輸出對應的第二寫入鎖存信號LDWm。In the signal generating circuit 610 of FIG. 5B, the output terminal of the inverter INV19 receives the corresponding write mask signal DMm. The first input terminal of the inverter NAND4 receives the initial write latch signal LAW, the second input terminal thereof is coupled to the output terminal of the inverter INV19, and the output terminal thereof outputs the corresponding inverted first write latch signal LAWmB. The input terminal of the inverter INV20 is coupled to the output terminal of the inverter NAND4 to output the corresponding first write latch signal LAWm. The first input terminal of the inverter NAND5 receives the initial write latch signal LAW, the second input terminal receives the corresponding write mask signal DMm, and the output terminal outputs the corresponding inverted second write latch signal LDWmB. The input terminal of the inverter INV21 is coupled to the output terminal of the inverter NAND5 to output the corresponding second write latch signal LDWm.

圖6A是依照本發明一實施例的記憶體裝置在未發現錯誤位元情況下的寫入操作的波形示意圖,圖6B是依照本發明一實施例的記憶體裝置在校正錯誤位元情況下的寫入操作的波形示意圖。請同時搭配上述實施例參照圖6A與圖6B。6A is a waveform diagram of a write operation of a memory device according to an embodiment of the present invention when no error bit is found, and FIG. 6B is a waveform diagram of a memory device according to an embodiment of the present invention when an error bit is corrected The waveform diagram of the write operation. Please refer to FIGS. 6A and 6B in conjunction with the above embodiments.

在圖6A中,當記憶體裝置100要寫入資料MD且要寫入的位元不需要校正時,用以選擇記憶胞的選擇信號CSL的致能時間(例如保持在高邏輯位準的時間)稱為正常寫入時間。在正常寫入時間中校正位元信號CS與寫入遮罩信號DM會一直保持低邏輯位準,寫入開關510被導通而寫入開關520被關閉,資料寫入電路230選擇將資料輸出信號RWBi寫入記憶胞陣列110。In FIG. 6A, when the memory device 100 wants to write data MD and the bit to be written does not need to be corrected, the enable time of the select signal CSL used to select the memory cell (for example, the time to maintain the high logic level) ) Is called the normal writing time. During the normal writing time, the correction bit signal CS and the writing mask signal DM will always maintain a low logic level, the writing switch 510 is turned on and the writing switch 520 is turned off, and the data writing circuit 230 selects the data output signal RWBi is written into the memory cell array 110.

在圖6B中,記憶體裝置100在資料MD中發現錯誤位元後,且資料寫入電路230要寫回正確的資料時,選擇信號CSL的致能時間稱為校正寫入時間。在校正寫入時間中,讀取鎖存信號LAR被切換到低邏輯位準後,對應錯誤位元位置的錯誤解碼信號SDi的邏輯位準轉變成高位準,對應地,資料校正電路220輸出的校正位元信號CSi也會切換至高邏輯位準。補充說明的是,校驗子產生電路150也會對應地輸出校正資料寫入信號NS至校正資料讀寫電路140以更新校正資料PM。In FIG. 6B, after the memory device 100 finds an error bit in the data MD and the data writing circuit 230 wants to write back the correct data, the enabling time of the selection signal CSL is called the correction writing time. In the correction writing time, after the read latch signal LAR is switched to a low logic level, the logic level of the error decoding signal SDi corresponding to the error bit position is changed to a high level. Correspondingly, the output of the data correction circuit 220 The correction bit signal CSi is also switched to a high logic level. It is supplemented that the syndrome generating circuit 150 also correspondingly outputs the correction data write signal NS to the correction data read-write circuit 140 to update the correction data PM.

接著資料寫入電路230進行寫入操作,對應的第一寫入鎖存信號LAWm會關閉寫入開關510並且對應的第二寫入鎖存信號LDWm會導通寫入開關520,讓校正位元信號CSi取代資料輸出信號RWBi輸入至輸出電路540以在寫入致能信號WE的致能時間中寫入正確的位元值。Then the data write circuit 230 performs a write operation, the corresponding first write latch signal LAWm will turn off the write switch 510 and the corresponding second write latch signal LDWm will turn on the write switch 520 to correct the bit signal CSi replaces the data output signal RWBi and is input to the output circuit 540 to write the correct bit value in the enable time of the write enable signal WE.

簡言之,當要寫入的位元原本就是正確時,資料寫入電路230將資料輸出信號RWBi寫入記憶胞陣列110,當要寫入的位元是錯誤位元的位置時,資料寫入電路230將校正位元信號CSi寫入記憶胞陣列110。In short, when the bit to be written is originally correct, the data writing circuit 230 writes the data output signal RWBi into the memory cell array 110. When the bit to be written is the position of the wrong bit, the data writing circuit 230 The input circuit 230 writes the correction bit signal CSi into the memory cell array 110.

特別說明的是,在本實施例中,選擇信號CSL的致能時間可以改變,校正寫入時間會大於正常寫入時間。當記憶體裝置100發現有錯誤位元時,可以通過延長選擇信號CSL的致能時間,資料讀寫電路130與校正資料讀寫電路140就可以在進行校正的同一期間內將正確的資料寫回記憶胞陣列110以及更新校正資料PM。也就是說,選擇信號CSL只需要致能一次就可以完成檢查校正與更新的動作。In particular, in this embodiment, the enabling time of the selection signal CSL can be changed, and the correction writing time will be longer than the normal writing time. When the memory device 100 finds an error bit, the data read/write circuit 130 and the correction data read/write circuit 140 can write back the correct data during the same period of correction by extending the enable time of the selection signal CSL Memory cell array 110 and update calibration data PM. In other words, the selection signal CSL only needs to be enabled once to complete the check, correction and update actions.

接著說明校驗子產生電路150的電路架構細節。圖7A是依照本發明的一實施例的校驗子產生電路的電路示意圖,圖7B是依照本發明的一實施例的校驗子產生電路的內部運算電路的電路示意圖,圖7C是依照本發明的一實施例的校驗子產生電路的校驗子控制信號產生電路的電路示意圖。Next, the circuit structure details of the syndrome generating circuit 150 will be described. FIG. 7A is a schematic circuit diagram of a syndrome generating circuit according to an embodiment of the present invention, FIG. 7B is a schematic circuit diagram of an internal arithmetic circuit of the syndrome generating circuit according to an embodiment of the present invention, and FIG. 7C is a schematic diagram according to the present invention A schematic circuit diagram of the syndrome control signal generating circuit of the syndrome generating circuit of an embodiment.

請先參照圖7A,校驗子產生電路150包括內部運算電路710與多個互斥或閘XOR2,其中內部運算電路710包括多個傳輸閘TG(如圖7B中的傳輸閘TG7~TG9)與多個互斥或閘XOR1。7A, the syndrome generation circuit 150 includes an internal arithmetic circuit 710 and a plurality of mutually exclusive OR gates XOR2, wherein the internal arithmetic circuit 710 includes a plurality of transmission gates TG (transmission gates TG7~TG9 in FIG. 7B) and Multiple mutually exclusive or gate XOR1.

在圖7B中,內部運算電路710通過控制多個傳輸閘TG以選擇提供資料輸出信號RWB、校正位元信號CS或讀取位元信號RD至多個互斥或閘XOR1以輸出校正資料寫入信號NS。具體來說,內部運算電路710具有多個輸入電路720。每個輸入電路720除了接收對應的資料輸出信號RWBi,還可以從資料讀取電路210接收對應的讀取位元信號RDi,從資料校正電路220接收對應的校正位元信號CSi。內部運算電路710通過控制輸入電路720中的多個傳輸閘TG7~TG9以選擇輸入讀取位元信號RD、資料輸出信號RWB與校正位元信號CS的其中一個信號至對應的互斥或閘XOR1。In FIG. 7B, the internal arithmetic circuit 710 controls a plurality of transmission gates TG to selectively provide a data output signal RWB, a correction bit signal CS, or a read bit signal RD to a plurality of mutually exclusive or gates XOR1 to output a correction data write signal. NS. Specifically, the internal arithmetic circuit 710 has a plurality of input circuits 720. In addition to receiving the corresponding data output signal RWBi, each input circuit 720 can also receive the corresponding read bit signal RDi from the data reading circuit 210 and the corresponding correction bit signal CSi from the data correction circuit 220. The internal arithmetic circuit 710 controls the multiple transmission gates TG7 to TG9 in the input circuit 720 to select and input one of the read bit signal RD, the data output signal RWB and the correction bit signal CS to the corresponding mutual exclusion or gate XOR1 .

詳言之,傳輸閘TG7接收對應的讀取位元信號RDi且受控於寫入資料控制信號WED以及寫入資料控制信號WED的反相信號WEDB,傳輸閘TG8接收資料輸出信號RWBi且受控於寫入資料選擇信號WEm以及寫入資料選擇信號WEm的反相信號WEmB,傳輸閘TG9接收校正位元信號CSi且受控於寫入遮罩選擇信號DWm以及寫入遮罩選擇信號DWm的反相信號DWmB。In detail, the transmission gate TG7 receives the corresponding read bit signal RDi and is controlled by the write data control signal WED and the inverted signal WEDB of the write data control signal WED, and the transmission gate TG8 receives the data output signal RWBi and is controlled In the write data selection signal WEm and the inverted signal WEmB of the write data selection signal WEm, the transmission gate TG9 receives the correction bit signal CSi and is controlled by the write mask selection signal DWm and the inverse of the write mask selection signal DWm Phase signal DWmB.

在記憶體裝置100進行讀取操作時,輸入電路720選擇接收讀取位元信號RDi,導通傳輸閘TG7並關閉傳輸閘TG8與傳輸閘TG9;在記憶體裝置100進行寫入操作時,輸入電路720關閉傳輸閘TG7,並根據寫入遮罩信號DM導通傳輸閘TG8或傳輸閘TG9以選擇接收資料輸出信號RWBi或校正位元信號CSi。When the memory device 100 performs a read operation, the input circuit 720 selects to receive the read bit signal RDi, turns on the transmission gate TG7 and closes the transmission gate TG8 and the transmission gate TG9; when the memory device 100 performs a write operation, the input circuit 720 closes the transmission gate TG7, and turns on the transmission gate TG8 or the transmission gate TG9 according to the write mask signal DM to select to receive the data output signal RWBi or the correction bit signal CSi.

經過多級的互斥或閘XOR1運算,內部運算電路710最終輸出校正資料寫入信號NSj,其中,因為本實施例的校驗位元是7位元,因此j是0到6的整數,校正資料寫入信號NSj表示校正資料寫入信號NS中對應第j個位元的信號。After multiple levels of mutual exclusion or gate XOR1 operations, the internal arithmetic circuit 710 finally outputs the correction data write signal NSj. Because the parity bit in this embodiment is 7 bits, j is an integer from 0 to 6, and the correction The data write signal NSj represents the signal corresponding to the jth bit in the corrected data write signal NS.

在圖7A中,多個互斥或閘XOR2從內部運算電路710接收對應的校正資料寫入信號NSj以及從校正資料讀寫電路140接收對應的校正讀取信號PSj。校驗子產生電路150對校正讀取信號PS與校正資料寫入信號NS進行比較以輸出校驗子信號SY。校驗子解碼電路160接收校驗子信號SY與解碼控制信號SDE並對校驗子信號SY進行解碼運算以輸出錯誤解碼信號SD給資料讀寫電路130的資料校正電路220。In FIG. 7A, a plurality of mutually exclusive OR gates XOR2 receive the corresponding correction data write signal NSj from the internal arithmetic circuit 710 and the corresponding correction read signal PSj from the correction data read-write circuit 140. The syndrome generating circuit 150 compares the corrected read signal PS with the corrected data write signal NS to output a syndrome signal SY. The syndrome decoding circuit 160 receives the syndrome signal SY and the decoding control signal SDE and performs a decoding operation on the syndrome signal SY to output an error decoding signal SD to the data correction circuit 220 of the data reading and writing circuit 130.

校驗子產生電路150還包括校驗子控制信號產生電路730,用以產生上述傳輸閘TG的控制信號。圖7C中校驗子控制信號產生電路730的電路架構與圖5B的控制信號產生電路550相似,因此校驗子控制信號產生電路730的運作細節在此不再贅述。The syndrome generating circuit 150 also includes a syndrome control signal generating circuit 730 for generating the control signal of the transmission gate TG. The circuit structure of the syndrome control signal generating circuit 730 in FIG. 7C is similar to the control signal generating circuit 550 in FIG. 5B, so the details of the operation of the syndrome control signal generating circuit 730 will not be repeated here.

接著說明校正資料讀寫電路140的具體電路架構。圖8是依照本發明的一實施例的校正資料讀寫電路的電路示意圖,圖9是依照本發明的一實施例的校正資料寫入電路的電路示意圖。Next, the specific circuit structure of the correction data reading and writing circuit 140 is described. 8 is a schematic circuit diagram of a correction data reading and writing circuit according to an embodiment of the present invention, and FIG. 9 is a circuit schematic diagram of a correction data writing circuit according to an embodiment of the present invention.

請參照圖8,校正資料讀寫電路140包括校正資料讀取電路810與校正資料寫入電路820。校正資料讀取電路810耦接校正資料記憶胞陣列120與校驗子運算電路170,用以從校正資料記憶胞陣列120讀取校正資料PM以輸出校正讀取信號PS至校驗子運算電路170的校驗子產生電路150。校正資料寫入電路820耦接校正資料記憶胞陣列120與校驗子運算電路170的校驗子產生電路150,用以將校正後的校正資料PM寫入校正資料記憶胞陣列120。Referring to FIG. 8, the correction data reading and writing circuit 140 includes a correction data reading circuit 810 and a correction data writing circuit 820. The calibration data reading circuit 810 is coupled to the calibration data memory cell array 120 and the syndrome operation circuit 170 for reading the calibration data PM from the calibration data memory cell array 120 to output the calibration read signal PS to the syndrome operation circuit 170 The syndrome generating circuit 150. The correction data writing circuit 820 is coupled to the correction data memory cell array 120 and the syndrome generation circuit 150 of the syndrome operation circuit 170, and is used for writing the corrected correction data PM into the correction data memory cell array 120.

當記憶體裝置100進行讀取操作時,校正資料讀取電路810可以從校正資料記憶胞陣列120讀取校正資料PM以輸出校正讀取信號PS至校驗子產生電路150。校驗子產生電路150根據校正讀取信號PS檢查讀取位元信號RD是否有錯誤位元。如果存在錯誤位元,對應的錯誤解碼信號SDi就會改變邏輯位準。在本實施例中,如果資料MD的第i個位元錯誤,錯誤解碼信號SDi會改變至高邏輯位準,如圖3B所顯示。When the memory device 100 performs a reading operation, the calibration data reading circuit 810 can read the calibration data PM from the calibration data memory cell array 120 to output a calibration read signal PS to the syndrome generating circuit 150. The syndrome generating circuit 150 checks whether the read bit signal RD has an error bit according to the corrected read signal PS. If there is an error bit, the corresponding error decoding signal SDi will change the logic level. In this embodiment, if the i-th bit of the data MD is wrong, the error decoding signal SDi will change to a high logic level, as shown in FIG. 3B.

校正資料讀取電路810的電路細節可以參考圖3A,本領域具有通常知識者可從的資料讀取電路210獲致足夠的建議、教示與實施方式,在此不再加以贅述。For the circuit details of the calibration data reading circuit 810, refer to FIG. 3A. Those skilled in the art can obtain sufficient suggestions, teachings, and implementations from the data reading circuit 210, which will not be repeated here.

圖9顯示校正資料寫入電路820的電路細節,其電路架構與圖5A的資料寫入電路230相似,本領域具有通常知識者可從的資料寫入電路230獲致足夠的建議、教示與實施方式,在此不再加以贅述。9 shows the circuit details of the correction data writing circuit 820, and its circuit structure is similar to the data writing circuit 230 of FIG. 5A. Those skilled in the art can obtain sufficient suggestions, teachings and implementations from the data writing circuit 230 , I will not repeat them here.

請再參考圖6B,當校驗子產生電路150檢查出讀取位元信號RD有錯誤位元時,資料寫入電路230對讀取位元信號RD進行糾錯,校驗子產生電路150會根據記錄錯誤位元位置的校正位元信號CS輸出新的校正資料寫入信號NS。校正資料寫入電路820將新的校正資料寫入信號NS寫入至校正資料記憶胞陣列120以更新校正資料PM。圖9中的校正資料PM是包括由校正資料信號PMjT與反相校正資料信號PMjN組成的差分信號,j是0到6的整數,代表對應的校驗位元。Please refer to FIG. 6B again. When the syndrome generating circuit 150 detects that the read bit signal RD has an error bit, the data writing circuit 230 performs error correction on the read bit signal RD, and the syndrome generating circuit 150 will A new correction data write signal NS is output according to the correction bit signal CS for recording the error bit position. The calibration data writing circuit 820 writes a new calibration data writing signal NS to the calibration data memory cell array 120 to update the calibration data PM. The correction data PM in FIG. 9 includes a differential signal composed of a correction data signal PMjT and an inverted correction data signal PMjN, j is an integer from 0 to 6, representing the corresponding parity bit.

綜上所述,本發明的記憶體裝置可以在一個讀取週期中從記憶胞陣列讀取資料並進行檢查,其中當發現資料中有一個錯誤位元時,本發明的記憶體裝置能夠在同一個讀取週期中即時校正錯誤並且輸出正確的資料。此外,本發明的記憶體裝置還可以同時輸出校正位元信號至資料寫入電路與校驗子產生電路。藉由延長選擇信號的使能期間,資料寫入電路可以把校正後的資料寫回記憶胞陣列並且校驗子產生電路能夠提供新的校正資料寫入信號至校正資料寫入電路以更新校正資料。如此一來,選擇信號只需要對要寫入的記憶胞提供一次使能期間就可以完成資料的校正與更新,達到即時檢查與糾正錯誤的功效。In summary, the memory device of the present invention can read data from the memory cell array and check it in one read cycle. When an error bit in the data is found, the memory device of the present invention can be Correct the error instantly and output the correct data in one reading cycle. In addition, the memory device of the present invention can also simultaneously output correction bit signals to the data writing circuit and the syndrome generating circuit. By extending the enable period of the selection signal, the data writing circuit can write the corrected data back to the memory cell array and the syndrome generating circuit can provide a new correction data writing signal to the correction data writing circuit to update the correction data . In this way, the selection signal only needs to provide an enabling period for the memory cell to be written once to complete the data correction and update, achieving the effect of real-time checking and correcting errors.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.

100:記憶體裝置 110:記憶胞陣列 120:校正資料記憶胞陣列 130:資料讀寫電路 140:校正資料讀寫電路 150:校驗子產生電路 160:校驗子解碼電路 170:校驗子運算電路 210:資料讀取電路 220:資料校正電路 230:資料寫入電路 310:讀取開關 320:預充電路 330:放大電路 332:放大器 410:校正開關 420:讀取位元鎖存器 430:校正電路 440、540:輸出電路 442:鎖存器 510、520:寫入開關 530:寫入位元鎖存器 550:控制信號產生電路 610:信號產生電路 710:校驗子運算電路 720:輸入電路 730:校驗子控制信號產生電路 810:校正資料讀取電路 820:校正資料寫入電路 AD、ADi:讀取資料 ADiT:讀取資料信號 ADiN:反相讀取資料信號 BL:位元線 BLN:互補位元線 CS:校正位元信號 DE:讀取致能信號 DM:寫入遮罩信號 DWm:寫入遮罩選擇信號 DWmB:反相寫入遮罩選擇信號 EiT:正鎖存位元信號 EiN:反鎖存位元信號 GND:接地電壓 LAR:讀取鎖存信號 LAWIN:初始寫入鎖存信號 LAWm:第一寫入鎖存信號 LAWmB:反相第一寫入鎖存信號 LDWm:第二寫入鎖存信號 LDWmB:反相第二寫入鎖存信號 LAWPT:校驗寫入鎖存信號 LAWPB:反相校驗寫入鎖存信號 MD:資料 MDiT:資料信號 MDiN:反相資料信號 NAND1~NAND5:反及閘 NOR1~NOR3:反或閘 NS:校正資料寫入信號 INV、INV1~INV21:反相器 OE:輸出致能信號 PB:預充信號 PM:校正資料 PS:校正讀取信號 RWB、RWBi:資料輸出信號 RD、RDi:讀取位元信號 SY:校驗子信號 SD、SDi:錯誤解碼信號 SDE解碼控制信號 TG、TG1~TG9:傳輸閘 T31、T32、TP1~TP10:P型電晶體 T33、T34、T35、TN1~TN3:N型電晶體 VDD:電壓電源 VSS:低電壓 WE:寫入致能信號 WED:寫入資料控制信號 WEDB:反相寫入資料控制信號 WEm:寫入資料選擇信號 WEmB:反相寫入資料選擇信號100: Memory device 110: Memory cell array 120: Calibration data memory cell array 130: data read and write circuit 140: Calibration data read and write circuit 150: Syndrome generation circuit 160: Syndrome Decoding Circuit 170: syndrome calculation circuit 210: Data reading circuit 220: data correction circuit 230: Data writing circuit 310: Read switch 320: pre-charging circuit 330: amplifier circuit 332: Amplifier 410: Calibration switch 420: read bit latch 430: correction circuit 440, 540: output circuit 442: Latch 510, 520: write switch 530: Write bit latch 550: Control signal generating circuit 610: signal generating circuit 710: Syndrome Operation Circuit 720: input circuit 730: Syndrome control signal generating circuit 810: Calibration data reading circuit 820: Calibration data writing circuit AD, ADi: read data ADiT: read data signal ADiN: Inverted read data signal BL: bit line BLN: complementary bit line CS: Correction bit signal DE: Read enable signal DM: write mask signal DWm: Write mask selection signal DWmB: Inverted write mask selection signal EiT: Positive latch bit signal EiN: Anti-latching bit signal GND: Ground voltage LAR: read latch signal LAWIN: Initial write latch signal LAWm: first write latch signal LAWmB: inverted first write latch signal LDWm: The second write latch signal LDWmB: Inverted second write latch signal LAWPT: Verify write latch signal LAWPB: Inverted verification write latch signal MD: Information MDiT: data signal MDiN: Inverted data signal NAND1~NAND5: reverse and gate NOR1~NOR3: reverse or gate NS: Correction data write signal INV, INV1~INV21: inverter OE: output enable signal PB: Precharge signal PM: Calibration data PS: Correct reading signal RWB, RWBi: data output signal RD, RDi: read bit signal SY: syndrome signal SD, SDi: Error decoded signal SDE decode control signal TG, TG1~TG9: Transmission gate T31, T32, TP1~TP10: P-type transistor T33, T34, T35, TN1~TN3: N-type transistor VDD: voltage supply VSS: Low voltage WE: Write enable signal WED: write data control signal WEDB: Inverted write data control signal WEm: write data selection signal WEmB: Inverted write data selection signal

圖1是依照本發明一實施例的一種記憶體裝置的方塊圖。 圖2是依照本發明的一實施例的資料讀寫電路的電路方塊示意圖。 圖3A是依照本發明的一實施例的資料讀取電路的電路示意圖。 圖3B是依照本發明一實施例的記憶體裝置的讀取操作的波形示意圖。 圖4是依照本發明的一實施例的資料校正電路的電路示意圖。 圖5A是依照本發明的一實施例的資料寫入電路的電路示意圖。 圖5B是依照本發明的一實施例的資料寫入電路的控制信號產生電路的電路示意圖。 圖6A是依照本發明一實施例的記憶體裝置在未發現錯誤位元情況下的寫入操作的波形示意圖。 圖6B是依照本發明一實施例的記憶體裝置在校正錯誤位元情況下的寫入操作的波形示意圖。 圖7A是依照本發明的一實施例的校驗子產生電路的電路示意圖。 圖7B是依照本發明的一實施例的校驗子產生電路的內部運算電路的電路示意圖。 圖7C是依照本發明的一實施例的校驗子產生電路的校驗子控制信號產生電路的電路示意圖。 圖8是依照本發明的一實施例的校正資料讀寫電路的電路示意圖。 圖9是依照本發明的一實施例的校正資料寫入電路的電路示意圖。FIG. 1 is a block diagram of a memory device according to an embodiment of the invention. FIG. 2 is a circuit block diagram of a data reading and writing circuit according to an embodiment of the invention. 3A is a schematic circuit diagram of a data reading circuit according to an embodiment of the invention. 3B is a schematic diagram of waveforms of a read operation of the memory device according to an embodiment of the invention. FIG. 4 is a circuit diagram of a data correction circuit according to an embodiment of the invention. 5A is a circuit diagram of a data writing circuit according to an embodiment of the invention. 5B is a schematic circuit diagram of a control signal generating circuit of a data writing circuit according to an embodiment of the invention. 6A is a schematic diagram of a write operation of a memory device according to an embodiment of the present invention when no error bit is found. 6B is a schematic diagram of waveforms of a write operation in the case of correcting error bits in the memory device according to an embodiment of the present invention. FIG. 7A is a schematic circuit diagram of a syndrome generating circuit according to an embodiment of the invention. FIG. 7B is a circuit diagram of the internal arithmetic circuit of the syndrome generating circuit according to an embodiment of the present invention. 7C is a schematic circuit diagram of the syndrome control signal generating circuit of the syndrome generating circuit according to an embodiment of the present invention. FIG. 8 is a circuit diagram of a correction data reading and writing circuit according to an embodiment of the present invention. FIG. 9 is a circuit diagram of a correction data writing circuit according to an embodiment of the invention.

100:記憶體裝置 100: Memory device

110:記憶胞陣列 110: Memory cell array

120:校正資料記憶胞陣列 120: Calibration data memory cell array

130:資料讀寫電路 130: data read and write circuit

140:校正資料讀寫電路 140: Calibration data read and write circuit

150:校驗子產生電路 150: Syndrome generation circuit

160:校驗子解碼電路 160: Syndrome Decoding Circuit

170:校驗子運算電路 170: syndrome calculation circuit

CS:校正位元信號 CS: Correction bit signal

MD:資料 MD: Information

NS:校正資料寫入信號 NS: Correction data write signal

PM:校正資料 PM: Calibration data

PS:校正讀取信號 PS: Correct reading signal

RD:讀取位元信號 RD: read bit signal

RWB:資料輸出信號 RWB: Data output signal

SY:校驗子信號 SY: syndrome signal

SD:錯誤解碼信號 SD: Error decoded signal

Claims (17)

一種記憶體裝置,包括: 資料讀寫電路,耦接記憶胞陣列,用以存取所述記憶胞陣列的資料; 校正資料讀寫電路,耦接校正資料記憶胞陣列,用以存取所述校正資料記憶胞陣列的校正資料; 校驗子運算電路,用以根據從所述資料讀寫電路接收的所述資料以及從所述校正資料讀寫電路接收的所述校正資料產生錯誤解碼信號, 其中,在讀取所述資料的同一個讀取週期中,所述資料讀寫電路根據所述錯誤解碼信號校正所述資料中的錯誤位元且輸出正確的所述資料與校正位元信號,其中所述資料讀寫電路將校正後的所述資料寫回所述記憶胞陣列,其中所述校驗子運算電路還根據所述校正位元信號輸出校正資料寫入信號至所述校正資料讀寫電路以更新所述校正資料記憶胞陣列中的所述校正資料。A memory device includes: A data read and write circuit, coupled to the memory cell array, for accessing data in the memory cell array; The correction data read-write circuit is coupled to the correction data memory cell array for accessing the correction data of the correction data memory cell array; A syndrome operation circuit for generating an error decoding signal based on the data received from the data reading and writing circuit and the correction data received from the correction data reading and writing circuit, Wherein, in the same read cycle when the data is read, the data read-write circuit corrects the error bit in the data according to the error decoding signal and outputs the correct data and correction bit signal, The data read-write circuit writes the corrected data back to the memory cell array, and the syndrome operation circuit also outputs a correction data write signal to the correction data read based on the correction bit signal The writing circuit updates the correction data in the correction data memory cell array. 如申請專利範圍第1項所述的記憶體裝置,其中,當校正後的所述資料要被寫入所述記憶胞陣列時,用以選擇記憶胞的選擇信號的致能時間稱為校正寫入時間,且當未被發現所述錯誤位元的所述資料要被寫入所述記憶胞陣列時,所述選擇信號的致能時間稱為正常寫入時間,其中所述校正寫入時間大於所述正常寫入時間。The memory device described in item 1 of the scope of patent application, wherein when the corrected data is to be written into the memory cell array, the enable time of the selection signal used to select the memory cell is called correction writing When the data without the error bit is to be written into the memory cell array, the enable time of the selection signal is called the normal writing time, and the correction writing time Greater than the normal writing time. 如申請專利範圍第1項所述的記憶體裝置,其中所述資料讀寫電路包括: 資料讀取電路,耦接所述記憶胞陣列,用以從所述記憶胞陣列讀取所述資料以產生讀取資料以及對應的讀取位元信號; 資料校正電路,耦接所述資料讀取電路與所述校驗子運算電路,用以在所述讀取週期中鎖存所述讀取資料,以及根據所述錯誤解碼信號校正所述讀取資料的錯誤位元以產生資料輸出信號與所述校正位元信號,其中所述資料輸出信號是所述資料讀寫電路讀取與校正所述資料後的輸出結果;以及 資料寫入電路,耦接所述資料校正電路與所述記憶胞陣列,用以將所述校正位元信號取代對應所述錯誤位元的所述資料輸出信號以將正確的所述資料寫回所述記憶胞陣列。The memory device described in item 1 of the scope of patent application, wherein the data reading and writing circuit includes: A data reading circuit, coupled to the memory cell array, for reading the data from the memory cell array to generate read data and corresponding read bit signals; A data correction circuit, coupled to the data reading circuit and the syndrome operation circuit, is used for latching the read data during the read period and correcting the read according to the error decoding signal Error bits of data to generate a data output signal and the correction bit signal, wherein the data output signal is the output result of the data read and write circuit after reading and correcting the data; and A data writing circuit, coupled to the data correction circuit and the memory cell array, for replacing the data output signal corresponding to the error bit with the correction bit signal to write back the correct data The memory cell array. 如申請專利範圍第3項所述的記憶體裝置,其中所述資料讀取電路包括: 讀取開關,其輸入端從所述記憶胞陣列接收所述資料,並受控於讀取致能信號而導通或斷開; 預充電路,耦接所述讀取開關的輸入端,受控於預充信號以對所述讀取開關的輸入端執行預充電動作, 放大電路,其輸入端耦接所述讀取開關的輸出端,受控於所述讀取致能信號以產生所述讀取資料,並產生對應的所述讀取位元信號。The memory device described in item 3 of the scope of patent application, wherein the data reading circuit includes: A read switch, the input terminal of which receives the data from the memory cell array, and is turned on or off under the control of a read enable signal; A pre-charging circuit, coupled to the input terminal of the read switch, is controlled by a pre-charge signal to perform a pre-charging action on the input terminal of the read switch, An amplifying circuit, the input terminal of which is coupled to the output terminal of the read switch, is controlled by the read enable signal to generate the read data and generate the corresponding read bit signal. 如申請專利範圍第4項所述的記憶體裝置,其中, 所述讀取開關包括: 第一傳輸閘與第二傳輸閘,其中所述第一傳輸閘耦接位元線以接收資料信號,所述第二傳輸閘耦接互補位元線以接收反相資料信號,且所述第一傳輸閘與所述第二傳輸閘都受控於所述讀取致能信號,其中所述資料是包括所述資料信號與所述反相資料信號的差分信號;以及 第一反相器與第二反相器,其中所述第一反相器的輸入端接收所述讀取致能信號,其輸出端共同耦接所述第一傳輸閘與所述第二傳輸閘的其中一控制端,所述第二反相器的輸入端耦接所述第一反相器的輸出端,其輸出端共同耦接所述第一傳輸閘與所述第二傳輸閘的另一控制端; 所述預充電路包括: 第三反相器,接收所述預充信號; 第一P型電晶體,其第一端耦接電源電壓,其控制端耦接所述第三反相器的輸出端,其第二端耦接所述位元線; 第二P型電晶體,其第一端耦接所述電源電壓,其控制端耦接所述第三反相器的輸出端,其第二端耦接所述互補位元線;以及 第三P型電晶體,耦接於所述第一P型電晶體的第二端與所述第二P型電晶體的第二端之間,其控制端耦接所述第三反相器的輸出端;以及 所述放大電路包括: 放大器,耦接所述讀取開關以接收所述資料信號與所述反相資料信號,且對應地輸出讀取資料信號與反相讀取資料信號,其中所述讀取資料是包括所述讀取資料信號與所述反相讀取資料信號的差分信號;以及 第四反相器,接收所述反相讀取資料信號以輸出所述讀取位元信號。The memory device described in item 4 of the scope of patent application, wherein: The read switch includes: The first transmission gate and the second transmission gate, wherein the first transmission gate is coupled to a bit line to receive a data signal, the second transmission gate is coupled to a complementary bit line to receive an inverted data signal, and the first transmission gate is Both a transmission gate and the second transmission gate are controlled by the read enable signal, wherein the data is a differential signal including the data signal and the inverted data signal; and A first inverter and a second inverter, wherein the input terminal of the first inverter receives the read enable signal, and the output terminal is commonly coupled to the first transmission gate and the second transmission One of the control terminals of the gate, the input terminal of the second inverter is coupled to the output terminal of the first inverter, and the output terminal is commonly coupled to the first transmission gate and the second transmission gate. The other control end The pre-charging path includes: A third inverter, which receives the precharge signal; A first P-type transistor, the first terminal of which is coupled to the power supply voltage, the control terminal of which is coupled to the output terminal of the third inverter, and the second terminal of which is coupled to the bit line; A second P-type transistor, the first terminal of which is coupled to the power supply voltage, the control terminal of which is coupled to the output terminal of the third inverter, and the second terminal of which is coupled to the complementary bit line; and The third P-type transistor is coupled between the second terminal of the first P-type transistor and the second terminal of the second P-type transistor, and its control terminal is coupled to the third inverter The output terminal; and The amplifying circuit includes: Amplifier, coupled to the read switch to receive the data signal and the inverted data signal, and correspondingly output the read data signal and the inverted read data signal, wherein the read data includes the read Obtaining a difference signal between the data signal and the inverted read data signal; and The fourth inverter receives the inverted read data signal to output the read bit signal. 如申請專利範圍第3項所述的記憶體裝置,其中所述資料校正電路包括: 校正開關,其輸入端從所述資料讀取電路接收所述讀取資料,並受控於讀取鎖存信號而導通或斷開; 讀取位元鎖存器,耦接所述校正開關,用以鎖存所述讀取資料; 校正電路,耦接所述讀取位元鎖存器且接收所述錯誤解碼信號,用以根據所述錯誤解碼信號校正所述讀取位元鎖存器所儲存的位元;以及 第一輸出電路,耦接所述校正電路與所述讀取位元鎖存器,受控於輸出致能信號將所述讀取位元鎖存器所儲存的位元輸出為所述資料輸出信號。The memory device according to the third item of the scope of patent application, wherein the data correction circuit includes: A calibration switch, the input terminal of which receives the read data from the data read circuit, and is turned on or off under the control of a read latch signal; A read bit latch, coupled to the correction switch, for latching the read data; A correction circuit, coupled to the read bit latch and receives the error decoding signal, for correcting the bits stored in the read bit latch according to the error decoding signal; and A first output circuit, coupled to the correction circuit and the read bit latch, is controlled by an output enable signal to output the bits stored in the read bit latch as the data output signal. 如申請專利範圍第6項所述的記憶體裝置,其中, 所述校正開關包括: 第三傳輸閘與第四傳輸閘,其中所述第三傳輸閘從所述資料讀取電路接收讀取資料信號,所述第四傳輸閘從所述資料讀取電路接收反相讀取資料信號,且所述第三傳輸閘與所述第四傳輸閘都受控於所述讀取鎖存信號,其中所述讀取資料是包括所述讀取資料信號與所述反相讀取資料信號的差分信號;以及 第五反相器,輸入端接收所述讀取鎖存信號,其輸出端共同耦接所述第三傳輸閘與所述第四傳輸閘的其中一控制端;以及 所述讀取位元鎖存器包括: 第六反相器與第七反相器,其中所述第六反相器的輸入端耦接所述第七反相器的輸出端且通過所述第三傳輸閘接收所述讀取資料信號,以及所述第七反相器的輸入端耦接所述第六反相器的輸出端且通過所述第四傳輸閘接收所述反相讀取資料信號。The memory device described in item 6 of the scope of patent application, wherein: The calibration switch includes: The third transmission gate and the fourth transmission gate, wherein the third transmission gate receives a read data signal from the data reading circuit, and the fourth transmission gate receives an inverted read data signal from the data reading circuit , And the third transmission gate and the fourth transmission gate are both controlled by the read latch signal, wherein the read data includes the read data signal and the inverted read data signal Differential signal; and A fifth inverter, the input terminal of which receives the read latch signal, and the output terminal of which is commonly coupled to one of the control terminals of the third transmission gate and the fourth transmission gate; and The read bit latch includes: A sixth inverter and a seventh inverter, wherein the input terminal of the sixth inverter is coupled to the output terminal of the seventh inverter and receives the read data signal through the third transmission gate , And the input terminal of the seventh inverter is coupled to the output terminal of the sixth inverter and receives the inverted read data signal through the fourth transmission gate. 如申請專利範圍第7項所述的記憶體裝置,其中,所述校正電路包括: 第八反相器,接收所述錯誤解碼信號; 第九反相器,耦接所述第六反相器的輸出端以輸出所述校正位元信號; 第四P型電晶體與第五P型電晶體,其中所述第四P型電晶體的第一端耦接電源電壓,其第二端耦接所述第五P型電晶體的第一端,其控制端耦接所述第八反相器的輸出端,以及所述第五P型電晶體的第二端耦接所述第六反相器的輸入端,其控制端接收所述讀取資料信號;以及 第六P型電晶體與第七P型電晶體,其中所述第六P型電晶體的第一端耦接所述電源電壓,其第二端耦接所述第七P型電晶體的第一端,其控制端耦接所述第八反相器的輸出端,以及所述第七P型電晶體的第二端耦接所述第六反相器的輸出端,其控制端接收所述反相讀取資料信號。The memory device according to item 7 of the scope of patent application, wherein the correction circuit includes: An eighth inverter, which receives the error decoding signal; A ninth inverter, coupled to the output terminal of the sixth inverter to output the correction bit signal; A fourth P-type transistor and a fifth P-type transistor, wherein the first end of the fourth P-type transistor is coupled to the power supply voltage, and the second end is coupled to the first end of the fifth P-type transistor , Its control terminal is coupled to the output terminal of the eighth inverter, and the second terminal of the fifth P-type transistor is coupled to the input terminal of the sixth inverter, and its control terminal receives the read Get data signals; and The sixth P-type transistor and the seventh P-type transistor, wherein the first end of the sixth P-type transistor is coupled to the power supply voltage, and the second end thereof is coupled to the second end of the seventh P-type transistor One end, its control end is coupled to the output end of the eighth inverter, and the second end of the seventh P-type transistor is coupled to the output end of the sixth inverter, and its control end receives the output end of the sixth inverter. The inversion reads the data signal. 如申請專利範圍第8項所述的記憶體裝置,其中所述第一輸出電路包括: 第十反相器,其輸入端耦接所述輸出致能信號; 第一反及閘,其第一輸入端耦接所述第五P型電晶體的第二端,其第二輸入端接收所述輸出致能信號; 第一反或閘,其第一輸入端耦接所述第五P型電晶體的第二端,其第二輸入端耦接所述第十反相器的輸出端; 第八P型電晶體,其第一端耦接所述電源電壓,其控制端耦接所述第一反及閘的輸出端; 第一N型電晶體,其第一端耦接所述第八P型電晶體的第二端並提供校正後的所述資料輸出信號,其控制端耦接所述第一反或閘的輸出端,其第二端耦接一接地電壓。The memory device according to item 8 of the scope of patent application, wherein the first output circuit includes: A tenth inverter, the input terminal of which is coupled to the output enable signal; The first inverter, the first input terminal of which is coupled to the second terminal of the fifth P-type transistor, and the second input terminal of which receives the output enable signal; A first inverter, whose first input terminal is coupled to the second terminal of the fifth P-type transistor, and its second input terminal is coupled to the output terminal of the tenth inverter; An eighth P-type transistor, the first terminal of which is coupled to the power supply voltage, and the control terminal of which is coupled to the output terminal of the first inverter; A first N-type transistor, the first terminal of which is coupled to the second terminal of the eighth P-type transistor and provides the corrected data output signal, and its control terminal is coupled to the output of the first inverter The second terminal is coupled to a ground voltage. 如申請專利範圍第3項所述的記憶體裝置,其中所述資料寫入電路包括: 第十一反相器,其輸入端接收對應的所述資料輸出信號; 第一寫入開關,其輸入端耦接所述第十一反相器的輸出端,並受控於第一寫入鎖存信號而進行導通或斷開; 第二寫入開關,其輸入端接收對應的所述校正位元信號,並受控於第二寫入鎖存信號而進行導通或斷開; 寫入位元鎖存器,耦接所述第一寫入開關的輸出端以及所述第二寫入開關的輸出端; 第二輸出電路,耦接所述第二寫入開關的輸出端以及所述寫入位元鎖存器,受控於寫入致能信號且將所述資料輸出信號或所述校正位元信號寫入所述記憶胞陣列。The memory device described in item 3 of the scope of patent application, wherein the data writing circuit includes: An eleventh inverter, the input terminal of which receives the corresponding data output signal; A first write switch, the input terminal of which is coupled to the output terminal of the eleventh inverter, and is controlled by the first write latch signal to be turned on or off; A second write switch, the input terminal of which receives the corresponding correction bit signal and is controlled by the second write latch signal to be turned on or off; Write bit latch, coupled to the output terminal of the first write switch and the output terminal of the second write switch; A second output circuit, coupled to the output terminal of the second write switch and the write bit latch, is controlled by a write enable signal and outputs the data signal or the correction bit signal Write the memory cell array. 如申請專利範圍第10項所述的記憶體裝置,其中, 所述第一寫入開關為第五傳輸閘,所述第二寫入開關為第六傳輸閘;以及 所述寫入位元鎖存器包括: 第十二反相器與第十三反相器,其中所述第十二反相器的輸入端耦接所述第十三反相器的輸出端,所述第十三反相器的輸入端耦接所述第十二反相器的輸出端,其中所述第十二反相器的輸入端共同耦接所述第五傳輸閘與所述第六傳輸閘的輸出端。The memory device described in item 10 of the scope of patent application, wherein: The first write switch is a fifth transmission gate, and the second write switch is a sixth transmission gate; and The write bit latch includes: The twelfth inverter and the thirteenth inverter, wherein the input end of the twelfth inverter is coupled to the output end of the thirteenth inverter, and the input of the thirteenth inverter The terminal is coupled to the output terminal of the twelfth inverter, wherein the input terminal of the twelfth inverter is commonly coupled to the output terminals of the fifth transmission gate and the sixth transmission gate. 如申請專利範圍第11項所述的記憶體裝置,其中所述第二輸出電路包括: 第十四反相器與第十五反相器,所述第十四反相器串接所述第十五反相器,且所述第十四反相器接收所述寫入致能信號; 第二反及閘,其第一輸入端耦接所述第十二反相器的輸出端,其第二輸入端耦接所述第十五反相器的輸出端; 第二反或閘,其第一輸入端耦接所述第十二反相器的輸出端,其第二輸入端耦接所述第十四反相器的輸出端; 第九P型電晶體,其第一端耦接電源電壓,其控制端耦接所述第二反及閘的輸出端; 第二N型電晶體,其第一端耦接所述第九P型電晶體的第二端並提供對應的資料信號,其控制端耦接所述第二反或閘的輸出端,其第二端耦接接地電壓; 第三反及閘,其第一輸入端耦接所述第十三反相器的輸出端,其第二輸入端耦接所述第十五反相器的輸出端; 第三反或閘,其第一輸入端耦接所述第十三反相器的輸出端,其第二輸入端耦接所述第十四反相器的輸出端; 第十P型電晶體,其第一端耦接所述電源電壓,其控制端耦接所述第三反及閘的輸出端;以及 第三N型電晶體,其第一端耦接所述第十P型電晶體的第二端並提供對應的反相資料信號,其控制端耦接所述第三反或閘的輸出端,其第二端耦接所述接地電壓,其中所述資料是包括所述資料信號與所述反相資料信號的差分信號。The memory device according to claim 11, wherein the second output circuit includes: A fourteenth inverter and a fifteenth inverter, the fourteenth inverter is serially connected to the fifteenth inverter, and the fourteenth inverter receives the write enable signal ; A second inverter, the first input terminal of which is coupled to the output terminal of the twelfth inverter, and the second input terminal of which is coupled to the output terminal of the fifteenth inverter; A second inverter, whose first input terminal is coupled to the output terminal of the twelfth inverter, and its second input terminal is coupled to the output terminal of the fourteenth inverter; A ninth P-type transistor, the first terminal of which is coupled to the power supply voltage, and the control terminal of which is coupled to the output terminal of the second inverter; The first end of the second N-type transistor is coupled to the second end of the ninth P-type transistor and provides a corresponding data signal. The control end is coupled to the output end of the second inverter. The two ends are coupled to the ground voltage; The third inverter, the first input terminal of which is coupled to the output terminal of the thirteenth inverter, and the second input terminal of which is coupled to the output terminal of the fifteenth inverter; A third inverter, whose first input terminal is coupled to the output terminal of the thirteenth inverter, and its second input terminal is coupled to the output terminal of the fourteenth inverter; A tenth P-type transistor, the first terminal of which is coupled to the power supply voltage, and the control terminal of which is coupled to the output terminal of the third inverter; and A third N-type transistor, the first terminal of which is coupled to the second terminal of the tenth P-type transistor and provides a corresponding inverted data signal, and its control terminal is coupled to the output terminal of the third inverter, The second terminal is coupled to the ground voltage, wherein the data is a differential signal including the data signal and the inverted data signal. 如申請專利範圍第12項所述的記憶體裝置,其中,所述資料寫入電路還包括控制信號產生電路,所述控制信號產生電路根據初始寫入鎖存信號與寫入遮罩信號產生所述第一寫入鎖存信號與所述第二寫入鎖存信號,包括: 第十六反相器、第十七反相器與第十八反相器,其中所述第十六反相器與所述第十七反相器串接且所述第十六反相器的輸入端接收所述初始寫入鎖存信號,所述第十七反相器輸出校驗寫入鎖存信號至所述校正資料讀寫電路,其中所述第十八反相器接收所述初始寫入鎖存信號以輸出反相校驗寫入鎖存信號至所述校正資料讀寫電路;以及 信號產生電路,包括: 第十九反相器,其輸出端接收對應的所述寫入遮罩信號; 第四反及閘,其第一輸入端接收所述初始寫入鎖存信號,其第二輸入端耦接所述第十九反相器的輸出端,其輸出端輸出對應的所述第一寫入鎖存信號的反相信號; 第二十反相器,其輸入端耦接所述第四反及閘的輸出端以輸出對應的所述第一寫入鎖存信號; 第五反及閘,其第一輸入端接收所述初始寫入鎖存信號,其第二輸入端接收對應的所述寫入遮罩信號,其輸出端輸出對應的所述第二寫入鎖存信號的反相信號;以及 第二十一反相器,其輸入端耦接所述第五反及閘的輸出端以輸出對應的所述第二寫入鎖存信號。The memory device according to the 12th patent application, wherein the data writing circuit further includes a control signal generating circuit, and the control signal generating circuit generates the data according to the initial write latch signal and the write mask signal The first write latch signal and the second write latch signal include: The sixteenth inverter, the seventeenth inverter and the eighteenth inverter, wherein the sixteenth inverter and the seventeenth inverter are connected in series and the sixteenth inverter The input terminal of the inverter receives the initial write latch signal, the seventeenth inverter outputs a verify write latch signal to the correction data read-write circuit, and the eighteenth inverter receives the An initial write latch signal to output an inverted verification write latch signal to the correction data read-write circuit; and The signal generating circuit includes: A nineteenth inverter, the output terminal of which receives the corresponding write mask signal; The fourth inverter, its first input terminal receives the initial write latch signal, its second input terminal is coupled to the output terminal of the nineteenth inverter, and its output terminal outputs the corresponding first Write the inverted signal of the latch signal; A twentieth inverter, the input terminal of which is coupled to the output terminal of the fourth inverter to output the corresponding first write latch signal; The fifth inverter, its first input terminal receives the initial write latch signal, its second input terminal receives the corresponding write mask signal, and its output terminal outputs the corresponding second write lock The inverted signal of the stored signal; and The input terminal of the twenty-first inverter is coupled to the output terminal of the fifth inverter to output the corresponding second write latch signal. 如申請專利範圍第3項所述的記憶體裝置,其中所述校驗子運算電路包括: 校驗子產生電路,耦接所述資料讀寫電路與所述校正資料讀寫電路,根據讀取操作或寫入操作來選擇接收所述資料讀取電路或所述資料校正電路的輸出信號以產生所述校正資料寫入信號,並且比較所述校正資料寫入信號與對應的所述校正資料來產生校驗子信號; 校驗子解碼電路,耦接所述校驗子產生電路,對所述校驗子信號進行解碼以產生所述錯誤解碼信號。The memory device described in item 3 of the scope of patent application, wherein the syndrome operation circuit includes: The syndrome generating circuit is coupled to the data reading and writing circuit and the correction data reading and writing circuit, and according to the reading operation or the writing operation, it selects and receives the output signal of the data reading circuit or the data correction circuit to Generating the correction data write signal, and compare the correction data write signal with the corresponding correction data to generate a syndrome signal; A syndrome decoding circuit, coupled to the syndrome generating circuit, decodes the syndrome signal to generate the error decoded signal. 如申請專利範圍第14項所述的記憶體裝置,其中,在所述資料讀寫電路進行所述讀取操作時,所述校驗子產生電路根據所述讀取位元信號產生所述校正資料寫入信號,且在所述資料讀寫電路進行所述寫入操作時,所述校驗子產生電路根據所述校正位元信號或所述資料輸出信號產生所述校正資料寫入信號。The memory device according to claim 14, wherein, when the data read-write circuit performs the read operation, the syndrome generation circuit generates the correction according to the read bit signal Data write signal, and when the data read/write circuit performs the write operation, the syndrome generation circuit generates the correction data write signal according to the correction bit signal or the data output signal. 如申請專利範圍第14項所述的記憶體裝置,其中,所述校正資料讀寫電路讀取所述校正資料以輸出校正讀取信號至所述校驗子產生電路,並且所述校驗子產生電路包括: 內部運算電路,包括多個傳輸閘與多個第一互斥或閘,通過控制所述多個傳輸閘以選擇提供所述資料輸出信號、所述校正位元信號或所述讀取位元資料至所述多個第一互斥或閘以輸出所述校正資料寫入信號;以及 多個第二互斥或閘,從所述內部運算電路接收所述校正資料寫入信號且從所述校正資料讀寫電路接收對應的所述校正讀取信號以輸出所述校驗子信號。The memory device according to item 14 of the scope of patent application, wherein the correction data read-write circuit reads the correction data to output a correction read signal to the syndrome generation circuit, and the syndrome The generating circuit includes: The internal arithmetic circuit includes a plurality of transmission gates and a plurality of first mutually exclusive or gates, and the data output signal, the correction bit signal or the read bit data are selectively provided by controlling the plurality of transmission gates To the plurality of first mutually exclusive OR gates to output the correction data write signal; and A plurality of second mutually exclusive OR gates receive the correction data write signal from the internal arithmetic circuit and receive the corresponding correction read signal from the correction data read-write circuit to output the syndrome signal. 如申請專利範圍第1項所述的記憶體裝置,其中,所述校正資料讀寫電路包括: 校正資料讀取電路,耦接所述校正資料記憶胞陣列與所述校驗子運算電路,用以從所述校正資料記憶胞陣列讀取所述校正資料以輸出校正讀取信號至所述校驗子運算電路; 校正資料寫入電路,耦接所述校正資料記憶胞陣列與所述校驗子運算電路,用以將校正後的所述校正資料寫入所述校正資料記憶胞陣列。The memory device according to item 1 of the scope of patent application, wherein the correction data read-write circuit includes: A calibration data reading circuit, coupled to the calibration data memory cell array and the syndrome operation circuit, is used to read the calibration data from the calibration data memory cell array to output a calibration read signal to the calibration Empirical calculation circuit; A correction data writing circuit is coupled to the correction data memory cell array and the syndrome operation circuit, and is used for writing the corrected correction data into the correction data memory cell array.
TW108118908A 2019-05-31 2019-05-31 Memory apparatus TWI691964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108118908A TWI691964B (en) 2019-05-31 2019-05-31 Memory apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108118908A TWI691964B (en) 2019-05-31 2019-05-31 Memory apparatus

Publications (2)

Publication Number Publication Date
TWI691964B TWI691964B (en) 2020-04-21
TW202046329A true TW202046329A (en) 2020-12-16

Family

ID=71134514

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108118908A TWI691964B (en) 2019-05-31 2019-05-31 Memory apparatus

Country Status (1)

Country Link
TW (1) TWI691964B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013033560A (en) * 2009-12-03 2013-02-14 Panasonic Corp Semiconductor memory device
US9619326B2 (en) * 2014-12-09 2017-04-11 Western Digital Technologies, Inc. Methods and systems for implementing redundancy in memory controllers
KR20170014109A (en) * 2015-07-29 2017-02-08 삼성전자주식회사 Semiconductor memory device and memory system including the same
US20180284746A1 (en) * 2016-05-09 2018-10-04 StrongForce IoT Portfolio 2016, LLC Methods and systems for data collection optimization in an industrial internet of things environment

Also Published As

Publication number Publication date
TWI691964B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
US20220197740A1 (en) Error correction in row hammer mitigation and target row refresh
US7397685B2 (en) Semiconductor memory device having error checking and correcting circuit
US8213253B2 (en) Semiconductor memory
US11200926B2 (en) Dual rail memory, memory macro and associated hybrid power supply method
TWI786707B (en) Apparatuses and methods for error correction coding and data bus inversion for semiconductor memories
US20190304516A1 (en) Apparatuses and methods for coupling data lines in memory devices
US11157354B2 (en) Dynamic random access memory devices and memory systems having the same
US11087805B2 (en) Apparatus with a biasing mechanism and methods for operating the same
US11010243B2 (en) Memory apparatus with error bit correction in data reading period
US7949933B2 (en) Semiconductor integrated circuit device
US9959916B2 (en) Dual rail memory, memory macro and associated hybrid power supply method
CN112131037B (en) memory device
WO2014176213A1 (en) Retention optimized memory device using predictive data inversion
US20050278594A1 (en) Semiconductor memory device having ECC circuit
US11417413B2 (en) Semiconductor memory apparatus and method for reading the same
JP6907265B2 (en) Memory device
TWI691964B (en) Memory apparatus
US6560148B2 (en) Semiconductor memory having mirroring function
KR102145688B1 (en) Memory apparatus
JP2009271991A (en) Semiconductor storage device
US20170242754A1 (en) Semiconductor device
US20200335148A1 (en) Semiconductor storage device, read method thereof, and test method thereof
US9390810B2 (en) Semiconductor device and control method thereof
JP2018005967A (en) Memory device
CN114664338A (en) Dual port memory, read data output control method, read data output control device and read data output control medium