TWI729786B - Memory storage device and automatic error repair method thereof - Google Patents
Memory storage device and automatic error repair method thereof Download PDFInfo
- Publication number
- TWI729786B TWI729786B TW109113818A TW109113818A TWI729786B TW I729786 B TWI729786 B TW I729786B TW 109113818 A TW109113818 A TW 109113818A TW 109113818 A TW109113818 A TW 109113818A TW I729786 B TWI729786 B TW I729786B
- Authority
- TW
- Taiwan
- Prior art keywords
- memory
- memory cells
- word line
- redundant
- storage device
- Prior art date
Links
Images
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
Abstract
Description
本發明是有關於一種具有自動錯誤修復機制的記憶體儲存裝置和由記憶體儲存裝置使用的自動錯誤修復方法。The invention relates to a memory storage device with an automatic error repair mechanism and an automatic error repair method used by the memory storage device.
目前,由於儲存在記憶體儲存裝置中的使用者資料預期是高度可靠的,典型記憶體儲存裝置應用特定錯誤校正碼(error correction code;ECC)技術,以檢測位元故障(bit failures)且隨後恢復與位元故障相關聯的資料。如果記憶體儲存裝置中的單元遭到損壞或變得更弱,則儲存在受損單元中的儲存位元(memory bits)可通過ECC來檢測。然而,通過ECC可能無法修復物理上損壞或磨損(worn out)的單元,且由此儲存在這些受損單元上的儲存位元將很可能繼續發生故障。此外,ECC只能夠修復預定數目的位元。如果相同行位址或列位址中除了預定數目的位元之外的一個或多個額外位元出現故障,則無法通過ECC來修復資料。Currently, since user data stored in memory storage devices are expected to be highly reliable, typical memory storage devices use specific error correction code (ECC) technology to detect bit failures and subsequent Restore the data associated with the bit failure. If the unit in the memory storage device is damaged or becomes weaker, the memory bits stored in the damaged unit can be detected by ECC. However, it may not be possible to repair physically damaged or worn out cells through ECC, and thus the storage bits stored on these damaged cells will likely continue to fail. In addition, ECC can only repair a predetermined number of bits. If one or more extra bits in the same row address or column address except for the predetermined number of bits fail, the data cannot be repaired by ECC.
由於任何ECC技術對於修復所儲存儲存位元都具有限制,因此在例如單元到單元短路(cell to cell short)、字元線方向故障(例如,浮動字元線、字元線短路到位元線等)等的情況下,記憶體儲存裝置可經歷不可修復的錯誤。在記憶體儲存裝置已出售給客戶且處於正常操作之後,必須在由其產品規格預先確定的指定時間段內自動修復位元故障,且位元故障可能不會超過所使用的ECC方案的最大能力。此類問題對於需要高可靠性的記憶體儲存裝置來說可為致命的。因此,一旦記憶體儲存裝置在出售給使用者之後處於正常操作,如果可自動檢測且物理上修復故障位元,則故障的機率可大大降低。Since any ECC technology has limitations on repairing the stored storage bits, such as cell to cell short (cell to cell short), word line direction failure (for example, floating word line, word line short-circuit to bit line, etc. ), etc., the memory storage device may experience irreparable errors. After the memory storage device has been sold to the customer and is in normal operation, the bit failure must be automatically repaired within the specified time period predetermined by its product specifications, and the bit failure may not exceed the maximum capacity of the ECC scheme used . Such problems can be fatal for memory storage devices that require high reliability. Therefore, once the memory storage device is in normal operation after being sold to the user, if the faulty bit can be automatically detected and physically repaired, the probability of the fault can be greatly reduced.
修復故障位元的一種方式是在故障嘗試(failure attempt)之後使用冗餘儲存塊(redundant memory block)用於儲存資料和位址。然而,此類方案將常常涉及通過資料線讀取資料及/或寫入資料。當整合到現有體系結構中時,此類方案將具有困難,由於資料線不僅由冗餘儲存塊使用,而且每當接收寫入命令時由正常操作使用。One way to repair fault bits is to use redundant memory blocks to store data and addresses after a failure attempt. However, such solutions will often involve reading data and/or writing data through the data line. When integrated into an existing architecture, this type of solution will have difficulties because the data line is not only used by redundant storage blocks, but also used by normal operations whenever a write command is received.
有鑑於此,本發明提供一種具有自動誤差修復機制的記憶體儲存裝置和由記憶體儲存裝置使用的自動誤差修復方法。In view of this, the present invention provides a memory storage device with an automatic error repair mechanism and an automatic error repair method used by the memory storage device.
在本發明的一實施例中,提供一種記憶體儲存裝置,包含連接介面、記憶體陣列、熔絲熔斷控制器與記憶體控制電路。連接介面配置成接收寫入命令和與寫入命令相關聯的字元線位址。記憶體陣列包含記憶體庫,記憶體庫包含ECC檢測器、由字元線位址控制的多個記憶體單元以及由冗餘字元線位址控制的多個冗餘記憶體單元。熔絲熔斷控制器配置成接收字元線位址以熔斷字元線位址的電熔絲以啟動多個冗餘記憶體單元。記憶體控制電路耦接到連接介面、記憶體陣列以及熔絲熔斷控制器,且配置成:響應於接收寫入命令或讀取命令對多個記憶體單元執行寫入操作或讀取操作;響應於檢測到來自寫入操作或讀取操作的錯誤,從ECC檢測器接收故障指示;響應於接收故障指示,熔斷字元線位址的電熔絲以啟動多個冗餘記憶體單元;以及響應於電熔絲已熔斷,通過位元線將資料從多個記憶體單元傳送到多個冗餘記憶體單元中。In an embodiment of the present invention, a memory storage device is provided, which includes a connection interface, a memory array, a fuse blowing controller, and a memory control circuit. The connection interface is configured to receive a write command and a word line address associated with the write command. The memory array includes a memory bank, and the memory bank includes an ECC detector, a plurality of memory cells controlled by a word line address, and a plurality of redundant memory cells controlled by a redundant word line address. The fuse blowing controller is configured to receive the word line address to blow the electric fuse of the word line address to activate a plurality of redundant memory cells. The memory control circuit is coupled to the connection interface, the memory array, and the fuse blowing controller, and is configured to: in response to receiving a write command or a read command, perform a write operation or a read operation on a plurality of memory cells; Upon detecting an error from a write operation or a read operation, receive a fault indication from the ECC detector; in response to receiving the fault indication, blow the electric fuse of the word line address to activate a plurality of redundant memory cells; and respond Since the electric fuse has been blown, the data is transmitted from the multiple memory cells to the multiple redundant memory cells through the bit line.
在本發明的一實施例中,提供一種由記憶體儲存裝置使用的自動錯誤修復方法。方法將包含:接收寫入命令和與寫入命令相關聯的字元線位址;響應於接收寫入命令或讀取命令,對由記憶體儲存裝置的記憶體陣列的字元線位址控制的多個記憶體單元執行寫入操作或讀取操作,其中記憶體陣列包含記憶體庫,記憶體庫包括ECC檢測器、多個記憶體單元以及由冗餘字元線位址控制的多個冗餘記憶體單元;響應於檢測到來自寫入操作或讀取操作的錯誤,從ECC檢測器接收故障指示;響應於接收故障指示,熔斷字元線位址的電熔絲以啟動多個冗餘記憶體單元;以及響應於電熔絲已熔斷,通過位元線將資料從多個記憶體單元傳送到多個冗餘記憶體單元中。In an embodiment of the present invention, an automatic error repair method used by a memory storage device is provided. The method will include: receiving a write command and a word line address associated with the write command; in response to receiving a write command or a read command, controlling the word line address of the memory array of the memory storage device A plurality of memory cells perform write operations or read operations, where the memory array includes a memory bank, the memory bank includes an ECC detector, a plurality of memory cells, and a plurality of memory cells controlled by redundant word line addresses Redundant memory unit; in response to detecting an error from a write operation or a read operation, a fault indication is received from the ECC detector; in response to receiving a fault indication, the electric fuse of the word line address is blown to activate multiple redundant The remaining memory cells; and in response to the electric fuse has been blown, the data is transmitted from the multiple memory cells to the multiple redundant memory cells through the bit line.
基於上述,本公開的實施例中,能夠自動修復錯誤而無需從使用者接收任何外部命令,且獨立於記憶體儲存裝置的任何正常功能來操作,使得自動錯誤修復機制將不會產生額外操作時間且將不會導致記憶體性能下降。Based on the above, the embodiments of the present disclosure can automatically repair errors without receiving any external commands from the user, and operate independently of any normal function of the memory storage device, so that the automatic error repair mechanism will not generate additional operating time And it will not cause a decrease in memory performance.
為讓本揭露的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present disclosure more obvious and understandable, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
現在將詳細參考本發明的當前示例性實施例,附圖中示出了所述示例性實施例的實例。Reference will now be made in detail to the current exemplary embodiment of the present invention, examples of which are shown in the accompanying drawings.
為了解決前述難題,本發明提供一種具有自動錯誤修復機制的記憶體儲存裝置和自動錯誤修復方法,所述自動錯誤修復方法將在使用者不知道的情況下以無縫方式自動修復物理錯誤,以增加記憶體儲存裝置的可靠性。記憶體儲存裝置將利用ECC方案以執行故障檢測和錯誤校正。然而,ECC方案不可用於修復硬體缺陷,且由此只要故障是由於物理故障(physical failure),故障位元(failure bit)將仍然存在。在與記憶體儲存裝置的故障位址相關聯的一個或多個單元中檢測到物理錯誤(physical error)之後,可通過使用電熔絲(electrical fuse)技術來自動修復錯誤,而無需任何使用者輸入和用戶意識。此外,來自故障位址的單元的資料將通過位元線自動複製到冗餘單元,而無需通過資料線。以這種方式,複製操作將不會干擾記憶體儲存裝置的正常操作。值得注意的是,位元線是指連接到記憶體儲存裝置的單元的電路徑,而資料線是指可集合多個位元線且構成多個頁(pages)之間資料連接的電路徑。In order to solve the aforementioned problems, the present invention provides a memory storage device with an automatic error repair mechanism and an automatic error repair method. The automatic error repair method will automatically repair physical errors in a seamless manner without the user's knowledge. Increase the reliability of memory storage devices. The memory storage device will use the ECC scheme to perform fault detection and error correction. However, the ECC scheme cannot be used to repair hardware defects, and therefore as long as the failure is due to a physical failure, the failure bit will still exist. After a physical error is detected in one or more units associated with the fault address of the memory storage device, the error can be automatically repaired by using electrical fuse technology without any user Input and user awareness. In addition, the data from the cell at the faulty address will be automatically copied to the redundant cell through the bit line without passing through the data line. In this way, the copy operation will not interfere with the normal operation of the memory storage device. It is worth noting that the bit line refers to the electrical path connected to the unit of the memory storage device, and the data line refers to the electrical path that can gather multiple bit lines and form a data connection between multiple pages.
圖1繪示示例性記憶體儲存裝置100,所述記憶體儲存裝置100可以是任何可重寫非揮發性記憶體。記憶體儲存裝置100包含不限於電連接到連接介面110的記憶體控制電路130、具有ECC檢測器的記憶體陣列150以及熔絲熔斷控制器170。FIG. 1 shows an exemplary memory storage device 100. The memory storage device 100 may be any rewritable non-volatile memory. The memory storage device 100 includes, but is not limited to, a
在一個實施例中,連接介面110配置成通過串列進階技術附件(Serial Advanced Technology Attachment;SATA)標準來耦接到主機系統(未示出)的元件。但本發明不限於此。因而,連接介面110配置成接收外部輸入(例如寫入命令和與寫入命令相關聯的字元線位址)。In one embodiment, the
記憶體陣列150包含一個或多個記憶體庫(memory banks),且每一記憶體庫可包含ECC檢測器151、由字元線位址控制的多個記憶體單元。字元線位址的記憶體單元可具有由冗餘字元線位址控制的多個冗餘記憶體單元。熔絲熔斷控制器170配置成接收字元線位址以熔斷字元線位址的電熔絲以啟動多個冗餘記憶體單元。記憶體控制電路130將在連接介面110、記憶體陣列150以及熔絲熔斷控制器170之間進行協調,以執行例如寫入操作的記憶體儲存裝置100的功能。The
在接收寫入命令或讀取命令之後,記憶體控制電路130可協調記憶體儲存裝置的硬體以對多個記憶體單元執行寫入操作或讀取操作。ECC檢測器將接著檢測寫入操作或讀取操作是否產生錯誤。在檢測錯誤時,ECC檢測器將發送故障指示以指示已檢測到來自寫入操作或讀取操作的錯誤。故障指示用於觸發自動錯誤修復機制,且故障指示可以是ECC故障旗標(ECC failure flag)。在一個或多個ECC故障之後,ECC檢測器可發送ECC故障旗標。ECC故障旗標可被閂鎖,且啟動記憶體控制電路和熔絲熔斷控制器以實施自動錯誤修復機制。After receiving the write command or the read command, the
接著,記憶體控制電路可協調熔絲熔斷控制器170以熔斷字元線位址的電熔絲,從而在接收故障指示之後啟動多個冗餘記憶體單元。隨後,在電熔絲已熔斷之後,記憶體控制電路130可協調從多個記憶體單元通過位元線到多個冗餘記憶體單元中的資料傳送。熔斷控制器170可發送指示熔斷字元線位址的電熔絲已完成的熔絲熔斷旗標。記憶體控制電路130可隨後響應於接收熔接熔斷旗標和ECC故障旗標而等待自動更新命令或自更新命令。記憶體控制電路130可響應於接收自動更新命令或自更新命令,更新多個冗餘記憶體單元。Then, the memory control circuit can coordinate the
在不通過資料線傳送資料的情況下,完成將資料從多個記憶體單元通過位元線傳送到多個冗餘記憶體中。以這種方式,由於另一寫入操作或另一讀取操作可能潛在地使用相同字元線,因此記憶體儲存裝置能夠獨立於記憶體儲存裝置的任何正常功能進行操作,而不會與其他操作衝突。在已檢測到自動更新命令或自更新命令之後,記憶體控制電路130將通過將資料從感測放大器直接複製到多個冗餘記憶體單元中而將資料從多個記憶體單元通過字元線傳送到多個冗餘記憶體單元中,從而繞過使用資料線。In the case of not transmitting data through the data line, the data is transmitted from multiple memory cells to multiple redundant memories via bit lines. In this way, since another write operation or another read operation may potentially use the same character line, the memory storage device can operate independently of any normal function of the memory storage device, and will not interact with other Operation conflict. After the automatic update command or the self-update command has been detected, the
本發明還提供一種不限於由圖2所示的步驟的自動錯誤修復方法。參考圖2,在步驟S201中,記憶體儲存裝置將接收不限於啟動命令(active command)或寫入命令以及與寫入命令相關聯的字元線位址。啟動命令或寫入命令可包含列位址、行位址或塊位址。啟動命令可包含列位址或塊位址。寫入命令或讀取命令可進一步包含行位址。在步驟S203中,記憶體儲存裝置將對由記憶體陣列的字元線位址控制的多個記憶體單元執行寫入操作。在步驟S205中,響應於檢測來自寫入操作的錯誤,記憶體儲存裝置將從ECC檢測器接收故障指示。舉例來說,根據聯合電子管工程委員會(Joint Electron Tube Engineering Council;JEDEC)標準,ECC檢測器將執行在讀取操作或寫入操作期間可能發生的ECC操作。此外,列位址可在寫入操作之前插入,或讀取操作可伴隨列位址。在步驟S207中,記憶體儲存裝置將熔斷字元線位址的電熔絲以啟動多個冗餘記憶體單元。在步驟S209中,記憶體儲存裝置將通過位元線將資料從多個記憶體單元傳送到多個冗餘記憶體單元中。The present invention also provides an automatic error repair method that is not limited to the steps shown in FIG. 2. Referring to FIG. 2, in step S201, the memory storage device will receive not limited to an active command or a write command and the word line address associated with the write command. The start command or the write command can include a column address, a row address, or a block address. The start command can include a column address or a block address. The write command or the read command may further include a row address. In step S203, the memory storage device will perform a write operation on a plurality of memory cells controlled by the word line addresses of the memory array. In step S205, in response to detecting an error from the write operation, the memory storage device will receive a failure indication from the ECC detector. For example, according to the Joint Electron Tube Engineering Council (JEDEC) standard, the ECC detector will perform ECC operations that may occur during a read operation or a write operation. In addition, the column address can be inserted before the write operation, or the read operation can be accompanied by the column address. In step S207, the memory storage device blows the electric fuse of the word line address to activate a plurality of redundant memory cells. In step S209, the memory storage device will transmit data from the multiple memory cells to the multiple redundant memory cells via bit lines.
為了進一步闡明如圖1和圖2中所描述的本發明概念和其對應書面描述,本發明提供若干實例來更詳細地描述本發明概念。參考圖3,在步驟S301中,記憶體儲存裝置100將接收讀取命令或寫入命令以將使用者資料寫入到記憶體150的位置中。寫入命令可包含列位址、行位址或塊位址。舉例來說,根據示例性實施例,寫入命令可以是包含列位址以寫入具體列中的記憶體單元的‘啟動’命令,接著是包含行位址以寫入具體列的特定行中的記憶體單元的‘寫入’命令。In order to further clarify the concept of the present invention as described in FIGS. 1 and 2 and its corresponding written description, the present invention provides several examples to describe the concept of the present invention in more detail. Referring to FIG. 3, in step S301, the memory storage device 100 will receive a read command or a write command to write user data into the location of the
在步驟S302中,可在特定ECC方案下對使用者資料進行編碼,且隨後ECC檢測器151可應用特定ECC方案的演算法來檢測錯誤。在步驟S303中,假定ECC檢測器151在一個或多個檢測嘗試之後已檢測到錯誤,則ECC檢測器可將故障指示發送到記憶體控制電路130。故障指示可以是ECC故障旗標。或者,在ECC檢測器151已檢測到錯誤之後,可嘗試具有更高寫入電壓或更長寫入時間的一或多次寫入嘗試。如果沒有檢測到錯誤,則在步驟S304中,記憶體儲存裝置100將繼續進行正常操作。然而,一旦ECC檢測器151已將故障指示發送到記憶體控制電路130,則將觸發自動錯誤修復機制。In step S302, user data may be encoded under a specific ECC scheme, and then the
在步驟S305中,假定寫入操作在嘗試儲存使用者資料的列和記憶體庫的位址處出現故障,則記憶體陣列150將從ECC檢測器151發送故障位址。故障位址將通過故障位址閂鎖來閂鎖。在步驟S306中,故障位址閂鎖將故障位址發送到熔絲熔斷控制器,且在步驟S311中,故障位址閂鎖還將故障位址發送到更新位址閂鎖。在步驟S307中,記憶體控制電路130可檢查是否存在任何冗餘記憶體單元可用於替代故障位址的記憶體單元。根據一示例性實施例,可存在冗餘記憶體單元的備用列用於每個現有記憶體單元。或者,可存在含有多列冗餘記憶體單元的備用記憶體庫,以潛在地替代受損的單元列。冗餘記憶體單元的備用記憶體庫或備用列的準確數目是靈活的,且可基於設計考慮進行調整。In step S305, assuming that the write operation fails at the row trying to store user data and the address of the memory bank, the
假定沒有冗餘記憶體單元可用於故障位址,則在步驟S312中,記憶體控制電路130將重置修復功能或可求助替代性方案以處理錯誤。假定沒有冗餘記憶體單元可用於故障位址,則在步驟S308中,熔絲熔斷控制器170可重置所有修復相關動作且返回正常操作。舉例來說,如果出現故障的塊不具有任何更多修復單元(例如,冗餘列、冗餘塊等)可用,則不會有任何修復動作,使得可放棄修復以允許記憶體裝置回到其正常操作。然而,如果已通過ECC檢測器檢測到另一塊中的下一個故障且修復單元可用,則後續修復動作將通過從故障位址的記憶體單元複製到對應于冗餘字元線位址的記憶體單元來繼續。Assuming that there is no redundant memory unit available for the fault address, in step S312, the
根據一示例性實施例,故障位址是已經確定為含有一個或多個物理錯誤的記憶體單元列的字元線位址,字元線位址的記憶體單元待替換為另一冗餘字元線位址的冗餘記憶體單元。然而,在替換之後,冗餘字元線位址的物理位址將保持與替換掉的字元線位址相同。在熔絲熔斷控制器170已熔斷故障位址的熔絲之後,熔絲熔斷控制器170將發送指示熔絲已熔斷的熔絲熔斷旗標。According to an exemplary embodiment, the fault address is a word line address of a memory cell row that has been determined to contain one or more physical errors, and the memory cell of the word line address is to be replaced with another redundant word The redundant memory unit of the meta-line address. However, after the replacement, the physical address of the redundant word line address will remain the same as the replaced word line address. After the
響應於接收ECC故障旗標和熔絲熔斷旗標,在步驟S309中,記憶體控制電路130將等待和檢測下一次自動更新命令或自更新命令,且故障位址還可通過更新位址產生器來閂鎖。在步驟S310中,在已接收自動更新命令或自更新命令之後,故障位址將充當更新位址,因為冗餘記憶體單元將經歷更新操作,在此期間,先前儲存在故障位址的記憶體單元(即,字元線位址)中的使用者資料將複製到冗餘記憶體單元。根據一示例性實施例,假定故障位址是由字元線控制的記憶體單元列,則使用者資料將從對應於故障位址的記憶體單元列複製到由另一字元線控制的冗餘記憶體單元的新列中。換句話說,在自動更新命令或自更新命令期間,將來自故障字元線位址的資料複製到冗餘字元線位址。在接收自動更新命令或自更新命令之後,將停用ECC故障旗標和熔絲熔斷旗標。接著,將完成修復動作。In response to receiving the ECC fault flag and the fuse blown flag, in step S309, the
基於所提供的機制,記憶體儲存裝置100將能夠同時並連續地執行故障檢測和自動錯誤修復,因為修復操作將不會佔用資料線。以這種方式,記憶體儲存裝置100將能夠正常操作而不影響記憶體儲存裝置100的正常操作。Based on the provided mechanism, the memory storage device 100 will be able to perform fault detection and automatic error repair simultaneously and continuously, because the repair operation will not occupy the data line. In this way, the memory storage device 100 will be able to operate normally without affecting the normal operation of the memory storage device 100.
圖4和其對應的書面描述中提供複製操作的進一步細節。記憶體陣列150可具有至少但不限於多個儲存塊400,其中感測放大器(sense amplifier;SA)連接每一儲存塊,且每一儲存塊可含有一個或多個記憶體單元列。假定已通過ECC檢測器151確定錯誤出現在由儲存塊1 401中的字元線位址WL(i) 402控制的記憶體單元內,則儲存在對應於字元線位址WL(i) 402的記憶體單元中的使用者資料將複製到對應於字元線位址WL(j) 403的記憶體單元。從由一個字元線控制的單元到由另一字元線控制的冗餘單元的複製操作通過對應位元線中的每一個完成,而不通過資料線。Figure 4 and its corresponding written description provide further details of the copy operation. The
根據一示例性實施例,複製操作可在自動更新操作或自更新操作期間完成。通常,在自動更新操作或自更新操作期間,儲存在由字元線控制的記憶體單元中的使用者資料可首先儲存在感測放大器中,且接著使用者資料可從感測放大器複製回到由字元線控制的記憶體單元,以完成自動更新操作或自更新操作。然而,在此示例性實施例中,儲存在對應於字元線位址WL(i) 402的記憶體單元中可儲存在感測放大器中,且接著複製到對應於字元線位址WL(j) 403的冗餘記憶體單元。以這種方式,使用者資料可從由一個字元線控制的單元通過對應位元線中的每一個複製到由另一字元線控制的冗餘單元,而不通過資料線,使得錯誤修復機制將不會干擾記憶體儲存裝置100的正常操作。According to an exemplary embodiment, the copy operation may be completed during the automatic update operation or the self-update operation. Generally, during the automatic update operation or the self-update operation, the user data stored in the memory cell controlled by the character line can be first stored in the sense amplifier, and then the user data can be copied back from the sense amplifier The memory cell controlled by the word line to complete the automatic update operation or the self-update operation. However, in this exemplary embodiment, stored in the memory cell corresponding to the word line address WL(i) 402 can be stored in the sense amplifier and then copied to the corresponding word line address WL( j) 403 redundant memory unit. In this way, user data can be copied from a cell controlled by one word line through each of the corresponding bit lines to a redundant cell controlled by another word line, without passing through the data line, enabling error recovery The mechanism will not interfere with the normal operation of the memory storage device 100.
作為一實例,圖5繪示用於將資料“1”從故障字元線位址複製到冗餘字元線的時序圖。如圖5中所見,在已通過ECC檢測器151檢測到故障之後,對應於Cell(y)的字元線WL(i)的電壓將拉高。隨後,當電壓拉高時,對應於字元線WL(i)和冗餘字元線WL(j)的感測放大器S1和感測放大器S2將啟動。由於在S1處的位元線(bit line;BL)電壓501大於位元線條(bit line bar;BLB)電壓502,因此待複製的資料是‘1’。在熔絲熔斷控制器170已完成熔斷故障位址的熔絲之後,當冗餘字元線WL(j)電壓503拉高時,啟動冗餘字元線WL(j)。接著,儲存在由字元線WL(i)控制的單元中的原始儲存資料504通過位元線BL和位元線感測放大器BLSA複製到由冗餘字元線WL(j)控制的冗餘單元,所述冗餘單元可以是對應於Cell(y)的記憶體單元,作為還將具有值‘1’的冗餘儲存資料505。基本上在讀取操作或寫入操作期間檢測到故障之後。在已檢測到且修復故障之後,將在下一次自動更新操作或自更新操作時執行資料複製操作。As an example, FIG. 5 shows a timing diagram for copying the data "1" from the address of the defective word line to the redundant word line. As seen in FIG. 5, after the failure has been detected by the
圖6繪示用於將資料“0”從故障字元線位址複製到冗餘字元線的類似實例。如圖6中所見,在已通過ECC檢測器151檢測到故障之後,對應於Cell(x)的字元線WL(i)的電壓將拉高。隨後,當電壓拉高時,對應於字元線WL(i)和冗餘字元線WL(j)的感測放大器S1和感測放大器S2將啟動。由於在S1處的位元線條(BLB)電壓601大於位元線(BL)電壓602,因此待複製的資料是‘0’。在熔絲熔斷控制器170已完成熔斷故障位址的熔絲之後,當WL(j)電壓603拉高時,啟動冗餘字元線WL(j)。接著,儲存在由字元線WL(i)控制的單元中的原始儲存資料604通過位元線和位元線感測放大器複製到由冗餘字元線WL(j)控制的冗餘單元,所述冗餘單元可以是對應於Cell(x)的記憶體單元,作為還將具有值‘0’的冗餘儲存資料605。如上所述在讀取操作或寫入操作期間檢測到故障之後。在已檢測到且修復故障之後,將在下一次自動更新操作或自更新操作時執行資料複製操作。FIG. 6 shows a similar example for copying the data "0" from the address of the defective word line to the redundant word line. As seen in FIG. 6, after the failure has been detected by the
圖7進一步詳細繪示從硬體圖的角度的自動錯誤修復機制。參考圖7,命令解碼器702將接收‘啟動’命令,‘啟動’命令是針對列位址的寫入命令,且位址緩衝器701將接收用於將使用者資料寫入到記憶體陣列704的記憶體庫中的一個的列中的列位址,所述記憶體陣列704是先前所描述的記憶體陣列150的實例。列位址閂鎖703將接著從命令解碼器702接收列位址的寫入命令,以及從位址緩衝器701接收列位址。接著,列位址將被發送到記憶體陣列704,以將使用者資料寫入到列位址中。Figure 7 further illustrates the automatic error repair mechanism from the perspective of the hardware diagram. Referring to FIG. 7, the
假定記憶體陣列704的ECC檢測器中的一個已檢測到儲存在對應列位址的一個或多個單元中的使用者資料的錯誤,則在一個或多個檢測嘗試之後,ECC檢測器可將ECC故障旗標發送到包含位址緩衝器701、命令解碼器702、列位址閂鎖703、故障位址閂鎖705、更新位址閂鎖707、更新位址計數器708以及自動更新或自更新控制電路709的記憶體控制電路130的更新位址閂鎖707。或者,可嘗試具有更高寫入電壓或更長寫入時間的一或多次寫入嘗試以修復錯誤。如果錯誤無法修復,則其可意味著錯誤是物理性質的,且因此無法修復。當ECC檢測器中的一個發送ECC故障旗標以觸發自動錯誤修復機制時,ECC檢測器將還將故障位址發送到故障位址閂鎖705。響應於接收故障位址,故障位址閂鎖705將向更新位址閂鎖707以及熔絲熔斷控制器706(即170)發送故障位址,以熔斷對應於故障位址的電熔絲。在熔絲熔斷控制器170已熔斷故障位址的熔絲之後,熔絲熔斷控制器170將發送指示熔絲已熔斷的熔絲熔斷旗標。Assuming that one of the ECC detectors of the
響應於接收ECC故障旗標和熔絲熔斷旗標,更新位址閂鎖707將等待且檢測下一次自動更新命令或自更新命令,所述命令可以由更新位址計數器708確定的規則間隔出現,或可在從命令解碼器702到自動更新或自更新控制電路709接收更新命令之後出現。在已由更新位址閂鎖707接收來自更新位址計數器708的自動更新或自更新命令之後,冗餘記憶體單元將經歷更新操作,在此期間,先前儲存在故障位址(即字元線位址)的記憶體單元中的使用者資料將複製到冗餘記憶體單元。由於假定故障位址是由字元線控制的記憶體單元列,因此使用者資料將從由字元線控制的記憶體單元列複製到由冗餘字元線控制的冗餘記憶體單元列中。在接收自動更新命令或自更新命令之後,將停用ECC故障旗標和熔絲熔斷旗標。In response to receiving the ECC failure flag and the fuse blown flag, the update address latch 707 will wait and detect the next automatic update command or self-update command, which may occur at regular intervals determined by the update address counter 708, Or it may appear after receiving the update command from the
圖8繪示在批量資料移動(備份)操作期間的資料複製操作用於將資料從塊1複製到冗餘記憶體位置(例如,備份01/12)。如圖8中所示,塊1包含由至少三列字元線WL(i)、冗餘字元線WL(j)、字元線WL(k)以及冗餘字元線WL(1)控制的多個記憶體單元。多個記憶體單元的每一列的資料可通過連接到感測放大器的位元線輸出。假定ECC檢測器已檢測到由在讀取操作或寫入操作期間作為故障檢測WL的字元線WL(i)控制的有缺陷記憶體單元,則熔絲控制器將啟動由作為修復WL的冗餘字元線WL(l)控制的記憶體單元列。將來自由字元線WL(i)控制的記憶體單元的資料複製到由WL(l)控制的記憶體單元。在已檢測到且修復故障之後,將在下一次自動更新操作或自更新操作時執行資料複製操作。FIG. 8 shows that a data copy operation during a bulk data movement (backup) operation is used to copy data from
值得注意的是,儘管以每列(row)為基礎提供自動錯誤修復機制用作實例,但本發明不限於以每列為基礎進行修復,因為自動錯誤修復機制還可用以以每行(column)為基礎或以每塊(block)為基礎進行修復。It is worth noting that although an automatic error repair mechanism is provided on a row basis as an example, the present invention is not limited to repair on a per column basis, because the automatic error repair mechanism can also be used for each row (column) Repair on a basis or on a block basis.
綜上所述,本發明適於例如動態隨機存取記憶體(DRAM)的記憶體儲存裝置來實施,能夠自動修復錯誤而無需從使用者接收任何外部命令,且獨立於記憶體儲存裝置的任何正常功能來操作,使得自動錯誤修復機制將不會產生額外操作時間且將不會導致記憶體性能下降。In summary, the present invention is suitable for implementation of memory storage devices such as dynamic random access memory (DRAM), can automatically repair errors without receiving any external commands from the user, and is independent of any memory storage device. Normal function operation, so that the automatic error repair mechanism will not generate additional operating time and will not cause memory performance degradation.
本領域的技術人員將顯而易見的是,在不脫離本發明的範圍或精神的情況下,可對所公開實施例的結構作出各種修改和變化。鑒於前述內容,希望本發明涵蓋屬於所附權利要求書和其等效物的範圍內的本發明的修改及變化。It will be apparent to those skilled in the art that various modifications and changes can be made to the structure of the disclosed embodiments without departing from the scope or spirit of the present invention. In view of the foregoing, it is hoped that the present invention covers the modifications and changes of the present invention that fall within the scope of the appended claims and their equivalents.
100:記憶體儲存裝置
110:連接介面
130:記憶體控制電路
150、704:記憶體陣列
151:ECC檢測器
170、706:熔絲熔斷控制器
400:儲存塊
501、602:位元線電壓
502、601:位元線條電壓
503、603:WL(j)電壓
504、604:原始儲存資料
505、605:冗餘儲存資料
701:位址緩衝器
702:命令解碼器
703:列位址閂鎖
705:故障位址閂鎖
707:更新位址閂鎖
708:更新位址計數器
709:自動更新或自更新控制電路
401:儲存塊1
402:字元線位址WL(i)
403:字元線位址WL(j)
S1、S2、SA:感測放大器
WL(i)、WL(k):字元線
WL(j)、WL(1):冗餘字元線
BL:位元線
BLB:位元線條
BLSA:位元線感測放大器
S201、S203、S205、S207、S209、S301、S302、S303、S304、S305、S306、S307、S308、S309、S310、S311、S312、S313、S314、S315、S316、S317、S318、S319:步驟100: Memory storage device
110: Connection interface
130:
圖1是本實施例中的具有自動錯誤修復機制的記憶體儲存裝置的方塊圖。 圖2是本實施例中的由記憶體儲存裝置使用的自動錯誤修復方法的流程圖。 圖3是本實施例中進一步詳細示自動錯誤修復方法的流程圖 圖4是本實施例中的通過電熔絲技術的損毀修復的實例。 圖5是本實施例中的將資料“1”從故障字元線位址複製到冗餘字元線位址的複製功能的時序圖。 圖6是本實施例中的將資料“0”從故障字元線位址複製到冗餘字元線位址的複製功能的時序圖。 圖7是本實施例中的具有自動錯誤修復機制的記憶體儲存裝置的方塊圖。 圖8是本實施例中的將資料從由字元線(已通過透視位元線中的每一個檢測到為故障)控制的記憶體單元傳送到由冗餘字元線控制的冗餘記憶體單元中的實例。 FIG. 1 is a block diagram of a memory storage device with an automatic error repair mechanism in this embodiment. FIG. 2 is a flowchart of the automatic error repair method used by the memory storage device in this embodiment. FIG. 3 is a flowchart showing the automatic error repair method in further detail in this embodiment FIG. 4 is an example of damage repair through electric fuse technology in this embodiment. FIG. 5 is a timing diagram of the copy function of copying data "1" from the faulty word line address to the redundant word line address in this embodiment. FIG. 6 is a timing diagram of the copy function of copying data "0" from the faulty word line address to the redundant word line address in this embodiment. FIG. 7 is a block diagram of a memory storage device with an automatic error repair mechanism in this embodiment. FIG. 8 shows the transfer of data from the memory cell controlled by the word line (each of which has been detected as a fault through the perspective of the bit lines) in the present embodiment to the redundant memory controlled by the redundant word line Examples in the unit.
S201、S203、S205、S207、S209:步驟 S201, S203, S205, S207, S209: steps
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109113818A TWI729786B (en) | 2020-04-24 | 2020-04-24 | Memory storage device and automatic error repair method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109113818A TWI729786B (en) | 2020-04-24 | 2020-04-24 | Memory storage device and automatic error repair method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI729786B true TWI729786B (en) | 2021-06-01 |
TW202141511A TW202141511A (en) | 2021-11-01 |
Family
ID=77517126
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109113818A TWI729786B (en) | 2020-04-24 | 2020-04-24 | Memory storage device and automatic error repair method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI729786B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW559696B (en) * | 2001-10-22 | 2003-11-01 | Jeng-Jye Shau | Error correction code circuits |
US20090185421A1 (en) * | 2008-01-21 | 2009-07-23 | Sung-Won Yun | Charge-Trap Flash Memory Device with Reduced Erasure Stress and Related Programming and Erasing Methods Thereof |
US8356212B2 (en) * | 2008-09-30 | 2013-01-15 | Infineon Technologies Ag | Memory repair |
TWI438776B (en) * | 2008-07-02 | 2014-05-21 | Micron Technology Inc | Method and apparatus for repairing high capacity/high bandwidth memory devices |
US9223672B1 (en) * | 2013-09-24 | 2015-12-29 | Intuit Inc. | Method and system for providing error repair status data to an application user |
US9336820B2 (en) * | 2013-06-26 | 2016-05-10 | Seagate Technology Llc | Data sector sync mark with multiple patterns |
-
2020
- 2020-04-24 TW TW109113818A patent/TWI729786B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW559696B (en) * | 2001-10-22 | 2003-11-01 | Jeng-Jye Shau | Error correction code circuits |
US20090185421A1 (en) * | 2008-01-21 | 2009-07-23 | Sung-Won Yun | Charge-Trap Flash Memory Device with Reduced Erasure Stress and Related Programming and Erasing Methods Thereof |
TWI438776B (en) * | 2008-07-02 | 2014-05-21 | Micron Technology Inc | Method and apparatus for repairing high capacity/high bandwidth memory devices |
US8356212B2 (en) * | 2008-09-30 | 2013-01-15 | Infineon Technologies Ag | Memory repair |
US9336820B2 (en) * | 2013-06-26 | 2016-05-10 | Seagate Technology Llc | Data sector sync mark with multiple patterns |
US9223672B1 (en) * | 2013-09-24 | 2015-12-29 | Intuit Inc. | Method and system for providing error repair status data to an application user |
Also Published As
Publication number | Publication date |
---|---|
TW202141511A (en) | 2021-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9389954B2 (en) | Memory redundancy to replace addresses with multiple errors | |
US10042725B2 (en) | Memory control circuit, cache memory and memory control method | |
US5267242A (en) | Method and apparatus for substituting spare memory chip for malfunctioning memory chip with scrubbing | |
TWI483257B (en) | Flash memory device and method of controlling flash memory device | |
US7200780B2 (en) | Semiconductor memory including error correction function | |
US11163640B2 (en) | Semiconductor memory devices, memory systems and methods of controlling of repair of semiconductor memory devices | |
US6590816B2 (en) | Integrated memory and method for testing and repairing the integrated memory | |
US8874979B2 (en) | Three dimensional(3D) memory device sparing | |
US8015438B2 (en) | Memory circuit | |
US8869007B2 (en) | Three dimensional (3D) memory device sparing | |
TW202001881A (en) | Variable resistance random-access memory | |
KR102378819B1 (en) | Memory device | |
JPH04277848A (en) | Memory-fault mapping device, detection-error mapping method and multipath-memory-fault mapping device | |
CN106328208B (en) | Semiconductor device and method of operating the same | |
EP3770764B1 (en) | Method of controlling repair of volatile memory device and storage device performing the same | |
US20150235716A1 (en) | Self-repairing memory and method of use | |
KR20070026075A (en) | Semiconductor integrated circuit device | |
US20050240838A1 (en) | Semiconductor memory device having code bit cell array | |
CN113268373B (en) | Memory storage device with automatic error repair mechanism and method thereof | |
US20020010891A1 (en) | Redundant memory access system | |
JP3659350B2 (en) | New micro-cell redundancy scheme for high performance eDRAM | |
CN104750577A (en) | Random multi-bit fault-tolerant method and device for on-chip large-capacity buffer memory | |
TWI729786B (en) | Memory storage device and automatic error repair method thereof | |
US10665297B2 (en) | Memory systems for memory devices and methods of operating the memory systems | |
JP5251142B2 (en) | Transfer device, transfer device control method, and information processing device |