TWI725306B - Memory repair method - Google Patents

Memory repair method Download PDF

Info

Publication number
TWI725306B
TWI725306B TW107115645A TW107115645A TWI725306B TW I725306 B TWI725306 B TW I725306B TW 107115645 A TW107115645 A TW 107115645A TW 107115645 A TW107115645 A TW 107115645A TW I725306 B TWI725306 B TW I725306B
Authority
TW
Taiwan
Prior art keywords
memory
byte
repair
bit
bad
Prior art date
Application number
TW107115645A
Other languages
Chinese (zh)
Other versions
TW202004767A (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 TW107115645A priority Critical patent/TWI725306B/en
Publication of TW202004767A publication Critical patent/TW202004767A/en
Application granted granted Critical
Publication of TWI725306B publication Critical patent/TWI725306B/en

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

本發明提供一種記憶體的修復方法,提供一組記憶體具有M個位元的複數記憶體位元組,相對每一記憶體位元組附加修復位元組具有N個修復位元供修復,提供一組與記憶體加上修復位元組具有相同或大於總位元數量的非揮發性的對照記憶體位元組,並檢測記憶體中所有記憶體位元組、修復位元組與對照記憶體位元組中是否具有不佳位元,以完成修復。或是相對每一記憶體位元組和修復位元組提供對照記憶體位址位元組具有Q個位元,以供標記記憶體位元組和修復位元組中的不佳位元位址,並檢測記憶體中所有記憶體位元組、修復位元組與對照記憶體位址位元組中是否具有不佳位元,以完成修復。 The present invention provides a method for repairing a memory, providing a group of multiple memory bytes with M bits, and each additional repair byte has N repair bits for repair, providing a Group and memory plus repair bytes with the same or greater than the total number of non-volatile control memory bytes, and detect all memory bytes, repair bytes and control memory bytes in the memory Whether there is a bad bit in the middle to complete the repair. Or provide a control memory address byte with Q bits for each memory byte and repair byte to mark the bad bit addresses in the memory byte and repair byte, and Check whether there are bad bits in all memory bytes, repair bytes, and control memory address bytes in the memory to complete the repair.

Description

記憶體的修復方法 Memory repair method

本發明係提供一種有關記憶體的修復方法,特別是一種關於記憶體位元級的修復方法。 The present invention provides a method for repairing memory, especially a method for repairing memory bit level.

現今,在記憶體中,可分為揮發性或非揮發性記憶體,揮發性記憶體例如隨機存取記憶體(Random Access Memory,RAM),係與電腦裝置的中央處理器(Central Processing Unit,CPU)直接進行資料交換的記憶體,也可稱之為主記憶體,它可以隨時讀寫,而且速度非常快,通常作為作業系統或是其它執行中程式的臨時資料儲存媒介。RAM進一步可以區分為,靜態隨機存取記憶體(Static Random-Access Memory,SRAM)及動態隨機存取記憶體(Dynamic Random Access Memory,DRAM)兩大類。SRAM具有快速存取的優點,缺點是生產成本較為昂貴,主要的應用是快取。DRAM因為具有較低的單位容量價格,所以主要應用在系統的主記憶體。另外還包含一些新興記憶體如相變化記憶體(Phase-Change Memory)、電阻式隨機存取記憶體(Resistive Random Access Memory)、磁阻式隨機存取記憶體(Magnetoresistive Random Access Memory)等。 Nowadays, memory can be divided into volatile or non-volatile memory. Volatile memory, such as Random Access Memory (RAM), is related to the central processing unit (Central Processing Unit, CPU) The memory that directly exchanges data can also be called the main memory. It can be read and written at any time and is very fast. It is usually used as a temporary data storage medium for the operating system or other running programs. RAM can be further divided into two categories: Static Random-Access Memory (SRAM) and Dynamic Random Access Memory (DRAM). SRAM has the advantage of fast access. The disadvantage is that the production cost is relatively expensive, and the main application is cache. Because DRAM has a lower price per unit capacity, it is mainly used in the main memory of the system. It also includes some emerging memories such as Phase-Change Memory, Resistive Random Access Memory, Magnetoresistive Random Access Memory and so on.

SRAM因為操作速度快,時常做為電腦裝置中,CPU與DRAM間的緩衝裝置,例如快取記憶體(Cache Memory)可以提高系統操作速度,不受輸出位元影響,以高輸出位元個數的SRAM作為設計目標。然而,在高容量記憶體產品製造完成後,隨著容量的增大、記憶體位元陣列密度的提高,存在於IC製造過程中的各種非理想因素,皆容易造成記憶體內部形成缺陷,降低記憶體的良率,或是更進一步使記憶體產品無法正常運作。 Because of its fast operating speed, SRAM is often used as a buffer device between CPU and DRAM in computer devices. For example, Cache Memory can increase the operating speed of the system without being affected by the output bits, and the number of output bits is high. SRAM as the design target. However, after the manufacture of high-capacity memory products is completed, as the capacity increases and the density of the memory bit array increases, various non-ideal factors existing in the IC manufacturing process can easily cause defects in the memory and reduce the memory. The yield rate of the body may further prevent the normal operation of the memory product.

一般記憶體中,因為在製造時容易產生缺陷,因此最初設計記憶體時,會利用內部的部分空間作為冗餘記憶位元區域,當記憶體成品經由測試發現具有瑕疵或是具有不佳記憶體位元時,可以提供冗餘記憶位元取代這些不佳的記憶體位元,以發揮修復效能,以有效提升記憶體產品的製造良率。 In general memory, because it is prone to defects during manufacturing, when the memory is initially designed, part of the internal space is used as a redundant memory bit area. When the memory product is tested and found to have defects or poor memory positions At the same time, redundant memory bits can be provided to replace these poor memory bits to exert repair performance and effectively improve the manufacturing yield of memory products.

目前,習知的揮發性記憶體,多數在設計時會加入多餘列(Row Redundancy)的輔助電路,用來取代記憶體中損害的記憶體陣列,因為結構簡單,且不會造成晶片尺寸的大幅度增加,但一般的多餘行的結構則相當複雜,若是將多餘行再附加至記憶體的冗餘記憶位元中,就會造成面積大量增加,因此一般在設計時,不會將多餘行加入記憶體中,使得一旦損害在行陣列的輸出時,就無法修復。並且,習知記憶體的檢測位元的動作,是透過逐一檢查的方式,用在速度快的記憶體中,容易在具有損害記憶體位元時,延緩整體的速度,並且降低製造的良率,因此在為了確保良率,習知的記憶體容易產生較大面積。 At present, most of the conventional volatile memory is designed with a redundant row (Row Redundancy) auxiliary circuit to replace the damaged memory array in the memory, because the structure is simple and does not cause the chip size to be large. The amplitude increases, but the general redundant row structure is quite complicated. If the redundant rows are added to the redundant memory bits of the memory, the area will increase greatly. Therefore, generally, the redundant rows will not be added during the design. In the memory, once the output of the row array is damaged, it cannot be repaired. In addition, the operation of detecting bits of conventional memory is used in fast memory through inspection one by one. It is easy to slow down the overall speed and reduce the manufacturing yield when the memory bits are damaged. Therefore, in order to ensure the yield rate, the conventional memory is prone to produce a larger area.

因此,在各種電子產品的體積逐漸縮小的趨勢中,各種揮發性記憶體勢必需要降低自身的尺寸,但在如何確保製造良率、操作速度及尺寸的矛盾中,找出最佳的處理方式,則是一個不易解決的難題。 Therefore, in the trend of gradual reduction in the volume of various electronic products, various volatile memories will inevitably need to reduce their own size. However, in how to ensure the contradiction of manufacturing yield, operating speed and size, find the best way to deal with it. It is a difficult problem to solve.

有鑑於此,本發明為了解決習知記憶體位元修復的困擾,特別提出了一種記憶體的修復方法,用以解決記憶體中,記憶體位元在修復上的缺失。 In view of this, in order to solve the problem of conventional memory bit restoration, the present invention specifically proposes a memory restoration method to solve the lack of memory bit restoration in the memory.

本發明的主要目的是在提供一種記憶體的修復方法,用於提高記憶體的修復速度,並提高記憶體的製造良率,最後製造而成的記憶體晶片更比習知記憶體晶片體積小,適用於各種縮減體積的電子產品中。 The main purpose of the present invention is to provide a memory repair method, which is used to increase the repair speed of the memory and increase the manufacturing yield of the memory. The finally manufactured memory chip is smaller than the conventional memory chip. , Suitable for all kinds of reduced volume electronic products.

本發明的另一目的是在提供一種記憶體的修復方法,在製造記憶體時,為了避免製造的瑕疵以產生部分位元不佳,利用此一修復方法,可以利用修復位元替補需修復的資料位元,或是利用對照記憶體位置位元組將不佳位 元標記,接著進行檢測修復,以使此一記憶體可以運作順暢。 Another object of the present invention is to provide a method for repairing memory. In order to avoid manufacturing defects and cause partial bit defects when manufacturing the memory, using this repair method, the repair bit can be used to replace what needs to be repaired. Data bits, or use the control memory location byte to make the bad bits Meta tags are then tested and repaired so that this memory can operate smoothly.

為了達成上述的目的,本發明提供一種記憶體的修復方法,包含有以下步驟,先提供一組記憶體有複數記憶體位元組及其具有M個位元,M係為正整數,相對每一記憶體位元組附加一修復位元組,並具有N個修復位元以供修復,N係為正整數,且N小於M,再提供一組與記憶體加上修復位元組具有相同或大於總位元數量的非揮發性之對照記憶體位元組,檢測記憶體中所有記憶體位元組、修復位元組與對照記憶體位元組中是否具有不佳位元,若否,結束記憶體的修復,若是,將具有任一不佳位元的記憶體位元組和修復位元組,對應記憶體位元組之不佳位元數量,以自修復位元組中等同數量的非不佳的修復位元替補至記憶體位元組的所有不佳位元,以完成記憶體中每一記憶體位元組的修復和修復位元組中不佳位元的標記。 In order to achieve the above objective, the present invention provides a memory repair method, which includes the following steps. First, a set of memory has a plurality of memory bytes and M bits, M is a positive integer, relative to each A repair byte is added to the memory byte, and there are N repair bits for repair. N is a positive integer and N is less than M, and a set is the same as or greater than the memory plus the repair byte The non-volatile control memory byte group of the total number of bits is used to detect whether there are bad bits in all memory bytes, repair bytes and control memory bytes in the memory. If not, stop the memory Repair, if it is, the memory byte with any bad bit and the repair byte will correspond to the number of bad bits in the memory byte, and the equivalent number of non-bad bytes in the self-repairing byte will be repaired The bit substitutes all the bad bits of the memory byte to complete the repair of each memory byte in the memory and the mark of the bad bit in the repair byte.

在本發明中,對照記憶體位元組係為非揮發性記憶體、一次性可程式記憶體、多次性可程式記憶體、NOR快閃記憶體。 In the present invention, the control memory byte sets are non-volatile memory, one-time programmable memory, multiple-time programmable memory, and NOR flash memory.

在本發明中,對照記憶體位元組係為相變化記憶體、電阻式隨機存取記憶體、磁阻式隨機存取記憶體。 In the present invention, the control memory byte sets are phase change memory, resistive random access memory, and magnetoresistive random access memory.

在本發明中,先將記憶體位元組和修復位元組的不佳位元對應的對照記憶體位元作標記,並標記對照記憶體位元組中的不佳位元,若記憶體位元組的位元和修復位元檢測為非不佳位元時,但若其對照記憶體位元為不佳位元則仍視記憶體位元組之位元和修復位元為不佳位元。其中標記方法為將不佳位元對應的對照記憶體位元組中的位元和對照記憶體位元組的不佳位元寫到不同於對照記憶體的非不佳位元的記憶狀態。 In the present invention, first mark the control memory bit corresponding to the bad bit of the memory byte and the repair byte, and mark the bad bit in the control memory byte. When the bit and the repair bit are detected as non-bad bits, but if the corresponding memory bit is a bad bit, the bits of the memory byte group and the repair bit are still regarded as bad bits. The marking method is to write the bits in the control memory byte group corresponding to the bad bits and the bad bits of the control memory byte group to a memory state different from the non-bad bits of the control memory.

在本發明中,每一記憶體位元組、修復位元組及此組對照記憶體係藉由內部讀、寫及擾動以及外部溫度、磁場、電場之擾動以檢測是否具有不佳位元。 In the present invention, each memory byte, repair byte and this set of control memory system use internal reading, writing and disturbance, as well as external temperature, magnetic field, and electric field disturbances to detect whether there are bad bits.

在本發明中,此組記憶體進行修復後,重新排列每一位元及每一修復位元。 In the present invention, after this group of memories is repaired, each bit and each repair bit are rearranged.

在本發明中,修復後的記憶體位元組和每一修復位元組供資料位元使用,也可以供修正位元使用的校驗位元使用,以提升使用時的可靠性。 In the present invention, the repaired memory byte and each repaired byte are used for data bits, and can also be used for check bits used for correction bits, so as to improve reliability during use.

在本發明中,每一記憶體位元組、每一修復位元組和每一對照記憶體位元組可搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷,以達到極佳的修補效率。 In the present invention, each memory byte, each repair byte, and each control memory byte can be used in combination with the bit line and word line repair methods to repair the bit line level and word line level defects, In order to achieve excellent repair efficiency.

為了達成上述的目的,本發明又提供一種記憶體的修復方法,包含有以下步驟,先提供一組記憶體具有複數記憶體位元組及其具有M個位元,M係為正整數,相對每一記憶體位元組附加一修復位元組,其具有N個修復位元以供修復,N係為正整數,且N小於M,相對每一記憶體位元組和修復位元組提供一對照記憶體位址位元組,其具有Q個位元以供標記記憶體位元組和修復位元組中的不佳位元位址,且2Q

Figure 107115645-A0304-12-0004-1
M+N,接著檢測記憶體中所有記憶體位元組、修復位元組與對照記憶體位址位元組中是否具有不佳位元,若否,結束記憶體的修復,若是,將具有任一不佳位元的記憶體位元組,以自修復位元組中的一個非不佳的修復位元替補至記憶體位元組的不佳位元,以完成記憶體中每一記憶體位元組的任一不佳位元修復和修復位元組中之不佳位元的標記。 In order to achieve the above-mentioned object, the present invention provides a memory repair method, which includes the following steps. First, a group of memory has a plurality of memory bytes and M bits, M is a positive integer, relative to each A memory byte is appended with a repair byte, which has N repair bits for repair. N is a positive integer, and N is less than M. A comparison memory is provided for each memory byte and repair byte. Body address byte, which has Q bits for marking the bad bit address in the memory byte and repairing the byte, and 2 Q
Figure 107115645-A0304-12-0004-1
M+N, then check whether there are bad bits in all memory bytes, repair bytes, and control memory address bytes in the memory, if not, end the memory repair, if so, it will have any The memory byte of the bad bit is replaced by a non-bad repair bit in the self-repairing byte to the bad bit of the memory byte to complete each memory byte in the memory Any bad bit repairs and repairs the mark of the bad bit in the byte group.

在本發明中,對照記憶體位址位元組係為非揮發性記憶體、一次性可程式記憶體、多次性可程式記憶體、NOR快閃記憶體。 In the present invention, the reference memory address byte is non-volatile memory, one-time programmable memory, multiple-time programmable memory, and NOR flash memory.

在本發明中,對照記憶體位址位元組係為相變化記憶體、電阻式隨機存取記憶體、磁阻式隨機存取記憶體。 In the present invention, the reference memory address byte sets are phase change memory, resistive random access memory, and magnetoresistive random access memory.

在本發明中,先將記憶體位元組和修復位元組的不佳位元標記在對應的對照記憶體位址位元組,將不佳位元的位元位址寫到對應的對照記憶體位址位元組中,若記憶體位元組和修復位元組無不佳位元,則將對應的對照記 憶體位址位元組寫入非記憶體位元組之位元位址。 In the present invention, first mark the bad bits of the memory byte and repair byte in the corresponding control memory address byte, and write the bit address of the bad bit to the corresponding control memory location In the address byte group, if there is no bad bit in the memory byte and repair byte, the corresponding comparison will be recorded. The memory address byte is written into the byte address of the non-memory byte.

在本發明中,修復後的記憶體位元組和每一修復位元組係供資料位元使用,也可以供修正位元使用的校驗位元使用,以提升在使用時的可靠性。 In the present invention, the repaired memory byte and each repaired byte are used for data bits, and can also be used for check bits used for correction bits, so as to improve reliability during use.

在本發明中,每一記憶體位元組、每一修復位元組和每一對照記憶體位址位元組可搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷,以達成極佳的修補效率。 In the present invention, each memory byte group, each repair byte group, and each control memory address byte group can be used in combination with bit line and word line repair methods to repair the bit line level and the word line level Defects in order to achieve excellent repair efficiency.

在本發明中,每一記憶體位元組、修復位元組及此組對照記憶體位址位元組係藉由內部讀、寫及擾動及外部溫度、磁場、電場之擾動檢測是否具有不佳位元。 In the present invention, each memory byte, repair byte and this set of control memory address byte are detected by internal read, write and disturbance, and external temperature, magnetic field, and electric field disturbance to detect whether there is a bad bit. yuan.

底下藉由具體實施例配合所附的圖式詳加說明,當更容易瞭解本發明之目的、技術內容、特點及其所達成之功效。 The following detailed descriptions are combined with specific embodiments and accompanying drawings to make it easier to understand the purpose, technical content, characteristics and effects of the present invention.

10‧‧‧記憶體 10‧‧‧Memory

12‧‧‧記憶體位元組 12‧‧‧Memory byte

122‧‧‧位元 122‧‧‧bit

14‧‧‧修復位元組 14‧‧‧Repair byte

142‧‧‧修複位元 142‧‧‧Repair bit

16‧‧‧對照記憶體位元組 16‧‧‧Compare memory byte

20‧‧‧記憶體 20‧‧‧Memory

22‧‧‧記憶體位元組 22‧‧‧Memory Bytes

222‧‧‧位元 222‧‧‧bit

24‧‧‧修複位元組 24‧‧‧Repair byte

242‧‧‧修復位元 242‧‧‧Repair bit

26‧‧‧對照記憶體位址位元組 26‧‧‧Compare memory address byte

262‧‧‧位元 262‧‧‧bit

第一圖為本發明中記憶體及其中記憶體位元組與修復位元組的簡易示意圖。 The first figure is a simplified schematic diagram of the memory and its memory byte and repair byte in the present invention.

第二圖為本發明中記憶體的修復方法第一實施例之步驟流程圖。 The second figure is a flowchart of the first embodiment of the memory repair method in the present invention.

第三a圖~第三c圖為本發明執行記憶體修復方法的步驟示意圖。 The third figure a to the third figure c are schematic diagrams of the steps of the memory repair method of the present invention.

第四圖為本發明中記憶體的修復方法第二實施例之步驟流程圖。 The fourth figure is a flowchart of the steps of the second embodiment of the memory repair method of the present invention.

本發明揭露不同習知記憶體(Memory)的修復方法,以期達成體積小、良率高及修復速度快之技術特徵,更適合用在縮減體積的電子產品中,以節省其空間。 The present invention discloses different conventional memory repair methods to achieve the technical characteristics of small size, high yield and fast repair speed, and is more suitable for use in reduced-volume electronic products to save space.

首先請參照本發明第一圖所示,一組記憶體10包含複數記憶體位元組12包含有M個位元122,M為正整數,及相對每一記憶體位元組12附加一複數修復位元組14,其係具有N個修複位元142以供修復,N亦係為正整數,且N小 於M,本實施例先以128位元的記憶體位元組12以及32位元的修復位元組14為例說明,也就是具有128個位元122及32個修複位元142。另外,提供一組與記憶體10具有相同或大於總位元數量的非揮發性之對照記憶體位元組16,同樣具有M個對照位元及N個對照修復位元,意即這M個對照位元數量係與位元122相同,例如皆為128位元,並且位元排列位置也相同,而N個對照修復位元的數量與修複位元142相同,例如皆為32位元,並且位元排列位置亦也相同,在本發明中不以這些位元數量為發明限制。在本實施例中,非揮發性之對照記憶體位元組16係為非揮發性記憶體(Non-Volatile Memory),但本發明不以此為限制,對照記憶體位元組16亦可為一次性可程式記憶體(OTP)、多次性可程式記憶體(MTP)、NOR快閃記憶體(NOR Flash)或是為相變化記憶體(Phase-Change Memory)、電阻式隨機存取記憶體(Resistive Random Access Memory)、磁阻式隨機存取記憶體(Magnetoresistive Random Access Memory)。 First of all, please refer to the first figure of the present invention. A group of memory 10 includes a plurality of memory bytes 12 including M bits 122, M is a positive integer, and a complex repair bit is added to each memory byte 12 Tuple 14, which has N repair bits 142 for repair, N is also a positive integer, and N is small In M, this embodiment first takes the 128-bit memory byte 12 and the 32-bit repair byte 14 as an example, that is, there are 128 bits 122 and 32 repair bits 142. In addition, a set of non-volatile control memory byte groups 16 having the same or greater number of total bits as the memory 10 is provided, and also has M control bits and N control repair bits, which means these M control bits The number of bits is the same as that of bit 122, for example, they are all 128 bits, and the bit arrangement positions are also the same, and the number of N comparison repair bits is the same as that of repair bits 142, for example, they are all 32 bits, and The element arrangement position is also the same, and the number of these bits is not a limitation of the invention in the present invention. In this embodiment, the non-volatile control memory byte 16 is a non-volatile memory (Non-Volatile Memory), but the present invention is not limited to this, and the control memory byte 16 can also be a one-time Programmable memory (OTP), multiple programmable memory (MTP), NOR flash memory (NOR Flash) or phase-change memory (Phase-Change Memory), resistive random access memory ( Resistive Random Access Memory, Magnetoresistive Random Access Memory.

接著,請參照本發明第二圖所示,並請同時參照第三a圖~第三d圖,以詳細說明本發明係如何進行記憶體10的修復。首先,如步驟S10所示,並請參照第三a圖,提供一組記憶體10,包含有複數記憶體位元組12,其中具有128位元的位元122。如步驟S12所示,並請參照第三b圖,相對每一記憶體位元組12,附加一修複位元組14,其中具有32個修複位元142以供修復。如步驟S14所示,並請參照第三c圖,提供一組與記憶體10加上修複位元組14具有相同或大於總位元數量的非揮發性之對照記憶體位元組16。如步驟S16所示,檢測記憶體10中所有記憶體位元組12和修復位元組14與對照記憶體位元組16中是否具有不佳位元,若檢測出具有不佳位元時,則進入下一步驟。如步驟S18所示,將具有任一不佳位元的記憶體位元組12及修復位元組14,對應記憶體位元組12的不佳位元數量,自修復位元組12中相同數量的非不佳修復位元142替補至記憶體位元組12的所有不佳位元,以完成記憶體10中每一記憶體位元組12的修復,以及修復位 元組14中不佳位元的標記,在本實施例中係以內部讀、寫與擾動(disturb)以及外部溫度、磁場、電場之擾動做每一記憶體位元組12、修復位元組14及對照記憶體位元組16是否具有不佳位元的檢測,例如,先將記憶體位元組12和修復位元組14的不佳位元對應的對照記憶體位元作標記,並標記對照記憶體位元組16中的不佳位元,若記憶體位元組12的位元122和修復位元檢測為非不佳位元時,但若其對照記憶體位元為不佳位元則仍視記憶體位元組12之位元122和修復位元142為不佳位元。其中標記方法為將不佳位元對應的對照記憶體位元組16中的位元和對照記憶體位元組16的不佳位元寫到不同於對照記憶體的非不佳位元的記憶狀態,無論是記憶體10或是對照記憶體16的修復,修復後,會重新排列其中的每一位元122及每一修復位元142。若在步驟16中沒有檢測到不佳位元,則進入到步驟S20,結束記憶體10的修復。 Next, please refer to the second figure of the present invention, and also refer to figures 3 a to 3 d, to explain in detail how the memory 10 is repaired in the present invention. First, as shown in step S10 and referring to the third figure a, a set of memory 10 is provided, including a plurality of memory bytes 12, which have 128-bit bits 122. As shown in step S12, and referring to the third figure b, with respect to each memory byte group 12, a repair byte group 14 is added, which has 32 repair bits 142 for repair. As shown in step S14, and referring to Figure 3c, a set of non-volatile control memory byte groups 16 that are the same as or greater than the total number of bits of the memory 10 plus repair byte 14 are provided. As shown in step S16, check whether all the memory byte 12 and repair byte 14 in the memory 10 and the control memory byte 16 have bad bits. If bad bits are detected, enter Next step. As shown in step S18, the memory byte 12 and the repair byte 14 with any bad bit are corresponding to the bad bit number of the memory byte 12, and the same number of the memory byte 12 is self-repaired. The non-bad repair bit 142 is substituted for all bad bits of the memory byte 12 to complete the repair of each memory byte 12 in the memory 10, and the repair bit The mark of the bad bit in the tuple 14, in this embodiment, the internal read, write, disturbance and disturbance of the external temperature, magnetic field, and electric field are used as each memory byte 12 and repair byte 14 And check whether the memory byte 16 has a bad bit, for example, first mark the check memory bit corresponding to the bad bit of the memory byte 12 and repair byte 14, and mark the check memory bit The bad bit in the tuple 16, if the bit 122 of the memory byte 12 and the repair bit are detected as non-bad bits, but if the corresponding memory bit is a bad bit, the memory bit is still considered The bit 122 and the repair bit 142 of the tuple 12 are bad bits. The marking method is to write the bits in the control memory byte group 16 corresponding to the bad bits and the bad bits of the control memory byte 16 to a memory state that is different from the non-bad bits of the control memory. Regardless of whether it is the repair of the memory 10 or the control memory 16, after the repair, each bit 122 and each repair bit 142 therein will be rearranged. If no bad bit is detected in step S16, the process proceeds to step S20, and the repair of the memory 10 is ended.

上述修復後的記憶體位元組和每一修復位元組可以提供資料位元使用,也可以提供修正位元(Error-Correction Code,ECC)使用的校驗位元(Parity Bit)使用,以提升在使用時的可靠性。每一記憶體位元組、每一修復位元組和每一對照記憶體位元組可以搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷,藉此以做到極佳的修補效率。 The above-mentioned repaired memory bytes and each repaired byte can provide data bits for use, and can also provide parity bits for correction bits (Error-Correction Code, ECC) to improve Reliability in use. Each memory byte, each repair byte and each control memory byte can be used in combination with bit line and word line repair methods to repair bit line and word line level defects, so as to achieve Excellent repair efficiency.

本發明除了上述的修復方法以外,另外也提供一種記憶體20的修復方法,請同時參照第四圖,以詳細說明本發明如何進行記憶體20的修復。首先,如步驟S30所示,提供一組記憶體20,包含有複數記憶體位元組22,其中具有M個位元222,例如128位元的位元222。如步驟S32所示,相對每一記憶體位元組22,附加一修複位元組24,其中具有N個修復位元242,例如32個修複位元242以供修復,修復位元242的數量係小於位元222的數量。如步驟S34所示,相對每一記憶體位元組22及修復位元組24提供一組對照記憶體位址位元組26,其係具有Q個位元262以供標記記憶體位元組22及修復位元組24中的不佳位元位 址,且2Q

Figure 107115645-A0304-12-0008-2
M+N,本實施例的對照記憶體位址位元組26係可為一次性可程式記憶體(OTP)、多次性可程式記憶體(MTP)、NOR快閃記憶體(NOR Flash)或是為相變化記憶體(Phase-Change Memory)、電阻式隨機存取記憶體(Resistive Random Access Memory)、磁阻式隨機存取記憶體(Magnetoresistive Random Access Memory),本發明不以此為限制。如步驟S36所示,檢測記憶體20中所有記憶體位元組22和修復位元組24與對照記憶體位址位元組26中是否具有不佳位元,若檢測出具有不佳位元時,則進入下一步驟。如步驟S38所示,將具有任一不佳位元的記憶體位元組22以自修復位元組24的一個非不佳的修復位元替補至記憶體位元組22的不佳位元,以完成記憶體20中每一記憶體位元組22的任一不佳位元之修復,以及修復位元組24中不佳位元的標記,在本實施例中係以內部讀、寫與擾動(disturb)以及外部溫度、磁場、電場之擾動做每一記憶體位元組22、修復位元組24及對照記憶體位址位元組26是否具有不佳位元的檢測,例如,先將記憶體位元組22和修復元組24的不佳位元標記在對應的對照記憶體位址位元組26,將不佳位元的位元位址寫到對應的對照記憶體位址位元組26中,若記憶體位元組22和修復位元組24沒有不佳位元,則將對應的對照記憶體位址位元組26寫入非記憶體位元組22的位元位址。若在步驟36中沒有檢測到不佳位元,則進入到步驟S40,結束記憶體20的修復。 In addition to the above-mentioned repair method, the present invention also provides a method for repairing the memory 20. Please also refer to the fourth figure to explain in detail how the present invention performs the repair of the memory 20. First, as shown in step S30, a set of memory 20 is provided, including a plurality of memory byte groups 22, which have M bits 222, such as 128-bit bits 222. As shown in step S32, for each memory byte group 22, a repair byte group 24 is added, which has N repair bits 242, for example, 32 repair bits 242 for repair, and the number of repair bits 242 is Less than the number of bits 222. As shown in step S34, for each memory byte 22 and repair byte 24, a set of control memory address byte 26 is provided, which has Q bits 262 for marking the memory byte 22 and repairing Bad bit address in byte 24, and 2 Q
Figure 107115645-A0304-12-0008-2
M+N, the control memory address byte 26 of this embodiment can be one-time programmable memory (OTP), multiple-time programmable memory (MTP), NOR flash memory (NOR Flash) or They are Phase-Change Memory, Resistive Random Access Memory, and Magnetoresistive Random Access Memory, and the present invention is not limited thereto. As shown in step S36, it is checked whether all the memory byte 22 and repair byte 24 in the memory 20 and the control memory address byte 26 have bad bits. If bad bits are detected, Then go to the next step. As shown in step S38, the memory byte 22 with any bad bit is replaced by a non-bad repair bit from the self-repair byte 24 to the bad bit of the memory byte 22 to The repair of any bad bit in each memory byte group 22 in the memory 20 is completed, and the mark of the bad bit in the repair byte 24 is completed. In this embodiment, internal read, write, and disturbance ( disturb) and the disturbance of external temperature, magnetic field, and electric field to check whether each memory byte 22, repair byte 24, and control memory address byte 26 have bad bits. For example, first set the memory bit The bad bits of group 22 and repair tuple 24 are marked in the corresponding control memory address byte group 26, and the bit address of the bad bit is written into the corresponding control memory address byte 26, if If the memory byte 22 and the repair byte 24 have no bad bits, the corresponding control memory address byte 26 is written into the non-memory byte 22 bit address. If no bad bit is detected in step 36, the process proceeds to step S40 to end the repair of the memory 20.

上述修復後的記憶體位元組和每一修復位元組也可以做為提供資料位元使用,同時也能可以提供修正位元使用的校驗位元使用,以提升在使用時的可靠性。每一記憶體位元組、每一修復位元組和每一對照記憶體位址位元組可以搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷,藉此同時可以做到極佳的修補效率。 The above-mentioned repaired memory byte and each repaired byte can also be used as data bits, and at the same time, it can also be used to provide check bits for correction bits to improve reliability during use. Each memory byte, each repair byte, and each control memory address byte can be used in combination with bit line and word line repair methods to repair bit line and word line defects, thereby simultaneously Can achieve excellent repair efficiency.

本發明提供兩種不同之記憶體的修復方法,可以提升記憶體的修復速度以及準確性,提供使用者更創新的記憶體修復方法,無論未來應用在何 種產品中,會更加具有競爭力。 The present invention provides two different memory repair methods, which can improve the speed and accuracy of memory repair, and provide users with more innovative memory repair methods, no matter where they are applied in the future. Among these products, it will be more competitive.

以上所述之實施例僅係為說明本發明之技術思想及特點,其目的在使熟習此項技藝之人士能夠瞭解本發明之內容並據以實施,當不能以之限定本發明之專利範圍,即大凡依本發明所揭示之精神所作之均等變化或修飾,仍應涵蓋在本發明之專利範圍。 The above-mentioned embodiments are only to illustrate the technical ideas and features of the present invention, and their purpose is to enable those who are familiar with the art to understand the content of the present invention and implement them accordingly. When they cannot be used to limit the patent scope of the present invention, That is, all equal changes or modifications made in accordance with the spirit of the present invention should still be covered by the patent scope of the present invention.

Claims (13)

一種記憶體的修復方法,包含下列步驟:提供一組記憶體,其中具有複數記憶體位元組係具有M個位元,M係為正整數;相對每一該記憶體位元組,附加一修復位元組,其係具有N個修復位元以供修復,N係為正整數,且N小於M;提供一組與該記憶體加上該修復位元組具有相同或大於總位元數量的對照記憶體位元組,該對照記憶體位元組係為非揮發性記憶體(Non-Volatile Memory);以及檢測該記憶體中所有該記憶體位元組、該修復位元組與該對照記憶體位元組中是否具有不佳位元:若否,則結束該記憶體的修復;及若是,將具有任一該不佳位元的該記憶體位元組和該修復位元組,對應該記憶體位元組之該不佳位元的數量,以自該修復位元組中等同數量的非不佳的該修復位元替補至該記憶體位元組的所有該不佳位元,以完成該記憶體中每一該記憶體位元組的修復和該修復位元組中之該不佳位元的標記;其中,先將該記憶體位元組和該修復位元組的該不佳位元對應的對照記憶體位元作標記,並標記該對照記憶體位元組中之該不佳位元,若該記憶體位元組之該位元和該修復位元檢測為非不佳位元時,但若該對照記憶體位元為不佳位元則仍視該記憶體位元組之該位元和該修復位元為不佳位元,標記方法為將該不佳位元對應的該對照記憶體位元組中的該位元和該對照記憶體位元組之該不佳位元寫到不同於該對照記憶體的該非不佳位元的記憶狀態。 A method for repairing a memory includes the following steps: providing a set of memory, where there are a plurality of memory byte groups with M bits, and M is a positive integer; for each memory byte, a repair bit is added Tuple, which has N repair bits for repair, N is a positive integer, and N is less than M; provide a set of comparisons that have the same or greater number of bits as the memory plus the repair byte Memory byte, the control memory byte is non-volatile memory (Non-Volatile Memory); and detecting all the memory bytes, the repair byte and the control memory byte in the memory Whether there is a bad bit in the memory: if not, the repair of the memory is ended; and if so, the memory byte and the repair byte that have any of the bad bits will correspond to the memory byte The number of the bad bits is replaced by the equivalent number of non-bad repair bits in the repair byte to all the bad bits in the memory byte to complete each A repair of the memory byte and a mark of the bad bit in the repair byte; wherein, first the memory byte and the control memory bit corresponding to the bad bit of the repair byte Mark, and mark the bad bit in the control memory byte. If the bit of the memory byte and the repair bit are detected as non-bad, but if the control memory bit If the bit is a bad bit, the bit of the memory byte and the repair bit are still regarded as bad bits. The marking method is the bit in the control memory byte corresponding to the bad bit. Yuan and the bad bit of the control memory byte group are written to a different memory state than the non-bad bit of the control memory. 如請求項1所述之記憶體的修復方法,其中該對照記憶體位元組係為一次性可程式記憶體(OTP)、多次性可程式記憶體(MTP)或NOR快閃記憶體(NOR Flash)。 The memory repair method according to claim 1, wherein the control memory byte is one-time programmable memory (OTP), multi-time programmable memory (MTP) or NOR flash memory (NOR Flash). 如請求項1所述之記憶體的修復方法,其中該對照記憶體位元組係為相變化記憶體(Phase-Change Memory)、電阻式隨機存取記憶體(Resistive Random Access Memory)或磁阻式隨機存取記憶體(Magnetoresistive Random Access Memory)。 The memory repair method according to claim 1, wherein the control memory byte is a phase-change memory (Phase-Change Memory), a resistive random access memory (Resistive Random Access Memory) or a magnetoresistive type Random Access Memory (Magnetoresistive Random Access Memory). 如請求項1所述之記憶體的修復方法,其中每一該記憶體位元組、該修復位元組及該組對照記憶體係藉由內部讀、寫及擾動(disturb)以及外部溫度、磁場、電場之擾動以檢測是否具有該不佳位元。 The method for repairing memory according to claim 1, wherein each of the memory byte, the repair byte and the set of control memory system is read, written, and disturbed by internal reading, writing, and disturbance, as well as external temperature, magnetic field, The disturbance of the electric field is used to detect whether there is the bad bit. 如請求項1所述之記憶體的修復方法,其中該組記憶體進行修復後,重新排列每一該位元及每一該修復位元。 The memory repair method according to claim 1, wherein after the repair of the group of memories, each bit and each repair bit are rearranged. 如請求項1所述之記憶體的修復方法,其中修復後的該記憶體位元組和每一該修復位元組係供資料位元之用,也可以供修正位元(Error-Correction Code,ECC)使用的校驗位元(parity bit)之用,以提升在使用時的可靠性。 The method for repairing memory as described in claim 1, wherein the repaired memory byte and each repaired byte are used for data bits, and can also be used for correction bits (Error-Correction Code, The parity bit used by ECC) is used to improve the reliability in use. 如請求項1所述之記憶體的修復方法,其中每一該記憶體位元組、每一該修復位元組和每一該對照記憶體位元組係可搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷。 The method for repairing memory as described in claim 1, wherein each of the memory byte, each of the repaired byte and each of the control memory byte can be repaired by using bit lines and word lines in combination The method repairs bit line level and word line level defects. 一種記憶體的修復方法,包含下列步驟:提供一組記憶體,其中具有複數記憶體位元組係具有M個位元,M係為正整數;相對每一該記憶體位元組,附加一修復位元組,其係具有N個修復位元以供修復,N係為正整數,且N小於M; 相對每一該記憶體位元組和該修復位元組提供一對照記憶體位址位元組,該對照記憶體位址位元組係為非揮發性記憶體(Non-Volatile Memory),其係具有Q個位元以供標記該記憶體位元組和該修復位元組中的不佳位元位址,且2Q
Figure 107115645-A0305-02-0014-1
M+N;以及檢測該記憶體中所有該記憶體位元組、該修復位元組與該對照記憶體位址位元組中是否具有不佳位元:若否,則結束該記憶體的修復;及若是,將具有任一該不佳位元的該記憶體位元組,以自該修復位元組中的一個非不佳的該修復位元替補至該記憶體位元組的該不佳位元,以完成該記憶體中每一該記憶體位元組的任一該不佳位元修復和該修復位元組中之該不佳位元的標記;其中,先將該記憶體位元組和該修復位元組的該不佳位元標記在對應的該對照記憶體位址位元組,將該不佳位元的位元位址寫到對應的該對照記憶體位址位元組中,若該記憶體位元組和該修復位元組無不佳位元,則將對應的該對照記憶體位址位元組寫入非該記憶體位元組之位元位址。
A method for repairing a memory includes the following steps: providing a set of memory, where there are a plurality of memory byte groups with M bits, and M is a positive integer; for each memory byte, a repair bit is added A tuple, which has N repair bits for repair, N is a positive integer, and N is less than M; for each of the memory byte and the repair byte, a control memory address byte is provided, The control memory address byte is a non-volatile memory (Non-Volatile Memory), which has Q bits for marking the bad bit in the memory byte and the repair byte Address, and 2 Q
Figure 107115645-A0305-02-0014-1
M+N; and detecting whether all the memory bytes, the repair bytes, and the control memory address bytes in the memory have bad bits: if not, the repair of the memory is ended; And if so, replace the memory byte with any one of the bad bits with a non-bad repair bit in the repair byte to the bad bit of the memory byte , In order to complete the repair of any one of the bad bits in each of the memory bytes in the memory and the mark of the bad bit in the repair bytes; wherein, first the memory byte and the The bad bit of the repair byte is marked in the corresponding control memory address byte, and the bit address of the bad bit is written into the corresponding control memory address byte. If the If there is no bad bit in the memory byte and the repair byte, then the corresponding control memory address byte is written into the non-memory byte address.
如請求項8所述之記憶體的修復方法,其中該對照記憶體位址位元組係為一次性可程式記憶體(OTP)、多次性可程式記憶體(MTP)或NOR快閃記憶體(NOR Flash)。 The memory repair method according to claim 8, wherein the reference memory address byte is one-time programmable memory (OTP), multiple-time programmable memory (MTP) or NOR flash memory (NOR Flash). 如請求項8所述之記憶體的修復方法,其中該對照記憶體位址位元組係為相變化記憶體(Phase-Change Memory)、電阻式隨機存取記憶體(Resistive Random Access Memory)或磁阻式隨機存取記憶體(Magnetoresistive Random Access Memory)。 The memory repair method according to claim 8, wherein the control memory address byte is a phase-change memory (Phase-Change Memory), a resistive random access memory (Resistive Random Access Memory) or a magnetic Resistive Random Access Memory (Magnetoresistive Random Access Memory). 如請求項8所述之記憶體的修復方法,其中修復後的該記憶體位元組 和每一該修復位元組係供資料位元之用,也可以供修正位元(Error-Correction Code,ECC)使用的校驗位元(parity bit)之用,以提升在使用時的可靠性。 The method for repairing memory according to claim 8, wherein the repaired memory byte And each repair bit group is used for data bits, and can also be used for parity bits (Error-Correction Code, ECC) used to improve reliability in use Sex. 如請求項8所述之記憶體的修復方法,其中每一該記憶體位元組、每一該修復位元組和每一該對照記憶體位址位元組係可搭配使用位元線和字元線修補方法修補位元線級和字元線級缺陷。 The memory repair method according to claim 8, wherein each of the memory bytes, each of the repair bytes, and each of the control memory address bytes can be used in combination with bit lines and characters The line repair method repairs bit line level and word line level defects. 如請求項8所述之記憶體的修復方法,其中每一該記憶體位元組、該修復位元組及該組對照記憶體位址位元組係藉由內部讀、寫及擾動(disturb)以及外部溫度、磁場或電場之擾動以檢測是否具有該不佳位元。 The method for repairing a memory according to claim 8, wherein each of the memory byte, the repair byte and the set of the control memory address byte is performed by internal reading, writing and disturbance (disturb) and The disturbance of external temperature, magnetic field or electric field is used to detect whether there is such a bad bit.
TW107115645A 2018-05-16 2018-05-16 Memory repair method TWI725306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107115645A TWI725306B (en) 2018-05-16 2018-05-16 Memory repair method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107115645A TWI725306B (en) 2018-05-16 2018-05-16 Memory repair method

Publications (2)

Publication Number Publication Date
TW202004767A TW202004767A (en) 2020-01-16
TWI725306B true TWI725306B (en) 2021-04-21

Family

ID=69942230

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107115645A TWI725306B (en) 2018-05-16 2018-05-16 Memory repair method

Country Status (1)

Country Link
TW (1) TWI725306B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI764790B (en) * 2021-07-23 2022-05-11 大陸商珠海南北極科技有限公司 Memory bit-level repair methods

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI736252B (en) * 2020-05-08 2021-08-11 大陸商珠海南北極科技有限公司 Memory circuit and memory repair method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105316A1 (en) * 2003-10-30 2005-05-19 Kabushiki Kaisha Toshiba Multi chip package type memory system and a replacement method of replacing a defect therein
US7379359B2 (en) * 2006-03-30 2008-05-27 Fujitsu Limited Nonvolatile semiconductor memory
US9471420B2 (en) * 2013-06-28 2016-10-18 SK Hynix Inc. Nonvolatile memory and semiconductor device including the same
US9959166B2 (en) * 2015-02-20 2018-05-01 Western Digital Technologies, Inc. Error correction for non-volatile memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105316A1 (en) * 2003-10-30 2005-05-19 Kabushiki Kaisha Toshiba Multi chip package type memory system and a replacement method of replacing a defect therein
US7379359B2 (en) * 2006-03-30 2008-05-27 Fujitsu Limited Nonvolatile semiconductor memory
US9471420B2 (en) * 2013-06-28 2016-10-18 SK Hynix Inc. Nonvolatile memory and semiconductor device including the same
US9959166B2 (en) * 2015-02-20 2018-05-01 Western Digital Technologies, Inc. Error correction for non-volatile memory

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI764790B (en) * 2021-07-23 2022-05-11 大陸商珠海南北極科技有限公司 Memory bit-level repair methods

Also Published As

Publication number Publication date
TW202004767A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
US11393519B2 (en) Semiconductor memory devices and methods of operating the semiconductor memory devices
US11557332B2 (en) Semiconductor memory devices, memory systems and methods of operating semiconductor memory devices
US10635535B2 (en) Semiconductor memory devices, memory systems, and methods of operating the semiconductor memory devices
US10255989B2 (en) Semiconductor memory devices, memory systems including the same and methods of operating the same
US11656935B2 (en) Semiconductor memory devices and memory systems
US9805827B2 (en) Semiconductor memory devices, memory systems including the same and methods of operating the same
TWI733967B (en) Repair circuit for repair operation, and memory device including the same
US20130318418A1 (en) Adaptive error correction for phase change memory
US9747159B2 (en) MRAM smart bit write algorithm with error correction parity bits
TW548653B (en) Semiconductor memory device having redundancy memory circuit
US9514843B2 (en) Methods for accessing a storage unit of a flash memory and apparatuses using the same
US11436079B2 (en) Semiconductor memory devices having enhanced error correction circuits therein
KR20180070779A (en) Data backup method for performing post package repair at repair on system
US10204700B1 (en) Memory systems and methods of operating semiconductor memory devices
TWI725306B (en) Memory repair method
TWI657459B (en) Memory bit level repair method
KR102649318B1 (en) Memory device comprising status circuit and operating method thereof
US20050135165A1 (en) MRAM with controller
CN110610737B (en) Memory repair method
US20180151249A1 (en) Data storage apparatus and operating method thereof
US11017876B2 (en) Memory correcting method
US10726940B2 (en) Column skip inconsistency correction
CN111863059A (en) MRAM chip with dynamic redundancy function
US20190042449A1 (en) Memory with reduced exposure to manufacturing related data corruption errors
US20240006013A1 (en) Memory device including flexible column repair circuit