TWI544486B - Memory accessing method - Google Patents

Memory accessing method Download PDF

Info

Publication number
TWI544486B
TWI544486B TW103127237A TW103127237A TWI544486B TW I544486 B TWI544486 B TW I544486B TW 103127237 A TW103127237 A TW 103127237A TW 103127237 A TW103127237 A TW 103127237A TW I544486 B TWI544486 B TW I544486B
Authority
TW
Taiwan
Prior art keywords
word line
line address
memory cell
address
infringing
Prior art date
Application number
TW103127237A
Other languages
Chinese (zh)
Other versions
TW201606773A (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 TW103127237A priority Critical patent/TWI544486B/en
Publication of TW201606773A publication Critical patent/TW201606773A/en
Application granted granted Critical
Publication of TWI544486B publication Critical patent/TWI544486B/en

Links

Description

記憶體的存取方法 Memory access method

本發明是有關於一種記憶體的存取方法,且特別是有關於一種記憶體的降低字線衝擊效應(Row hammer effect)的方法。 The present invention relates to a method of accessing a memory, and more particularly to a method of reducing the word hammer effect of a memory.

動態記憶體在特定的應用狀況下,會發生其中特定的字線(word line)需要被重複開啟很多次的情況。在這樣的情況下,鄰近被重複開啟很多次的字線的字線上的記憶胞就可能因為串音(cross talk)或耦合(coupling)效應而使所儲存的資料產生變異。上述的狀態被稱為字線衝擊效應(Row hammer effect)。 Dynamic memory can occur when a particular word line needs to be repeatedly opened many times under certain application conditions. In such a case, the memory cells on the word line adjacent to the word line that is repeatedly turned on many times may mutate the stored data due to cross talk or coupling effects. The above state is referred to as a word hammer effect.

具體來說明,請參照圖1繪示的動態記憶體產生字線衝擊效應的示意圖。在當字線WLA在被兩次鄰近的刷新動作間被重複的多次的被開啟,與字線WLA相鄰的字線WLB以及WLC會因為字線WLA的重複開啟動作而產生記憶胞中的資料發生變異的現象。其中,字線WLB以及WLC可以被稱為受侵害(victim)的字線,而字線WLA則可以被稱為侵害(aggressor)字線。 Specifically, please refer to the schematic diagram of the dynamic memory generated word line impact effect illustrated in FIG. 1 . When the word line WLA is turned on multiple times between two adjacent refresh operations, the word lines WLB and WLC adjacent to the word line WLA are generated in the memory cell due to the repeated turn-on action of the word line WLA. The phenomenon of data variability. Among them, the word line WLB and the WLC may be referred to as a victim word line, and the word line WLA may be referred to as an aggressor word line.

在習知的技術領域中,常透過額外的重刷新(refresh)動作來解決上述的字線衝擊效應。這樣的作法在叢發式的重刷新 動作是無法被實現的。另外,為配合所要進行的額外的重刷新動作,通常需要針對動態記憶體的使用規格進行變更,容易造成使用上的困難。 In the prior art, the above-mentioned word line impact effect is often solved by an additional refresh operation. This way of re-refreshing in the burst Actions cannot be implemented. In addition, in order to cope with the additional re-refresh operation to be performed, it is usually necessary to change the usage specifications of the dynamic memory, which is liable to cause difficulty in use.

本發明提供一種記憶體裝置及記憶體的存取方法,用以有效減低動態隨機存取記憶體中發生字線衝擊所可能造成的影響。 The invention provides a memory device and a memory access method for effectively reducing the influence of word line impact in a dynamic random access memory.

本發明的記憶體的存取方法,包括:計算各字線位址的被存取次數;依據比較被存取次數與一臨界存取數以設定對應的各字線位址為侵害字線位址;以及設定備用字線位址,並利用備用字線位址的記憶胞來取代侵害字線位址的記憶胞。 The method for accessing the memory of the present invention comprises: calculating the number of times of access of each word line address; and according to comparing the number of times of access and a number of critical accesses, setting corresponding word line addresses as infringing word line positions Address; and set the alternate word line address, and replace the memory cell that invades the word line address with the memory cell of the alternate word line address.

基於上述,本發明利用計算常用的位元線的位址的被存取次數來判定位元線的位址是否為侵害字線位址。並且,在當位元線的位址被判定為侵害字線位址時,利用備用字線位址的記憶胞來取代侵害字線位址的記憶胞。如此一來,因字線衝擊效應所可能產生的資料錯誤的現象可以有效的被避免,提升記憶體儲存資料的可靠度。 Based on the above, the present invention determines whether the address of the bit line is an infringing word line address by calculating the number of times the address of the commonly used bit line is accessed. Moreover, when the address of the bit line is determined to be a violation of the word line address, the memory cell that invades the word line address is replaced by the memory cell of the alternate word line address. In this way, the phenomenon of data errors that may occur due to the impact of the word line can be effectively avoided, and the reliability of the data stored in the memory is improved.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 The above described features and advantages of the invention will be apparent from the following description.

S210~S230、S510~S590、S5100~S5120‧‧‧記憶體存取步驟 S210~S230, S510~S590, S5100~S5120‧‧‧ memory access steps

WLA、WLB、WLC、WLBA、WLBB、WLBC‧‧‧字線 WLA, WLB, WLC, WLBA, WLBB, WLBC‧‧‧ word lines

410、420‧‧‧感測放大器 410, 420‧‧ ‧ sense amplifier

T1~T4‧‧‧時間點 T1~T4‧‧‧ time point

BL、BLB‧‧‧位元線 BL, BLB‧‧‧ bit line

Td‧‧‧延遲時間 Td‧‧‧Delayed time

600‧‧‧記憶體裝置 600‧‧‧ memory device

610‧‧‧記憶體控制器 610‧‧‧ memory controller

620‧‧‧動態隨機存取記憶體 620‧‧‧ Dynamic Random Access Memory

622‧‧‧字線解碼器 622‧‧‧Word Line Decoder

401、621‧‧‧記憶胞陣列 401, 621‧‧‧ memory cell array

圖1繪示的動態記憶體產生字線衝擊效應的示意圖。 FIG. 1 is a schematic diagram of a dynamic memory generating a word line impact effect.

圖2繪示本發明一實施例的記憶體的存取方法的流程圖。 2 is a flow chart showing a method of accessing a memory according to an embodiment of the present invention.

圖3繪示的備用字線位址與侵害字線位址的取代動作的示意圖。 FIG. 3 is a schematic diagram showing the replacement action of the alternate word line address and the infringing word line address.

圖4A繪示的本發明實施例的資料複製動作示意圖。 FIG. 4A is a schematic diagram of a data copying operation according to an embodiment of the present invention.

圖4B繪示的本發明實施例的資料複製動作波形圖。 FIG. 4B is a waveform diagram of a data copying operation according to an embodiment of the present invention.

圖4C繪示的本發明實施例的侵害字線位址的還原動作的示意圖。 FIG. 4C is a schematic diagram showing the restoration operation of the infringing word line address according to the embodiment of the present invention.

圖5A以及圖5B繪示本發明另一實施例的記憶體的存取方法的流程圖。 FIG. 5A and FIG. 5B are flowcharts showing a method for accessing a memory according to another embodiment of the present invention.

圖6繪示本發明一實施例的記憶體裝置的示意圖。 FIG. 6 is a schematic diagram of a memory device according to an embodiment of the invention.

請參照圖2,圖2繪示本發明一實施例的記憶體的存取方法的流程圖。其中,本實施例為針對動態隨機存取記憶體進行資料存取的方法流程,特別是關於DDR4(double-data-rate 4)規格的動態隨機存取記憶體的存取方法流程。在步驟S210中,在記憶體的運作過程中,針對各字線位址被存取的次數進行計算的動作。上述的存取的次數的計算動作可以在各字線位址的重刷新(re-fresh)動作被執行後啟動,並且在當各字線位址被啟動以進 行存取動作時,對應各字線位址的被存取的次數的值可被遞增(例如增加1)。另外,當對應各字線位址的下一次的重刷新動作被執行時,對應各字線位址的被存取的次數的值則可以被重置(reset)為0。 Please refer to FIG. 2. FIG. 2 is a flow chart of a method for accessing a memory according to an embodiment of the present invention. The present embodiment is a method flow for data access for a dynamic random access memory, and particularly relates to a method for accessing a dynamic random access memory of a DDR4 (double-data-rate 4) standard. In step S210, during the operation of the memory, an operation of calculating the number of times each word line address is accessed is performed. The above-mentioned calculation operation of the number of accesses can be started after the re-fresh action of each word line address is executed, and when each word line address is activated, In the row access action, the value of the number of times the address corresponding to each word line address is accessed may be incremented (eg, by one). In addition, when the next re-refresh operation corresponding to each word line address is performed, the value of the number of times of access corresponding to each word line address can be reset to zero.

在步驟S220中,則使各字線位址的被存取的次數來與臨界存取數進行比較的動作,並依據比較的結果,來決定是否設定各字線位址為侵害字線位址。仔細來說明,當各字線位址的被存取的次數大於臨界存取數時,表示這個字線位址的被存取次數已經過高,並可能產生字線衝擊效應來使鄰近的字線位址的記憶胞中的資料產生變異。因此,可將被存取次數大於臨界存取數的字線位址設定為侵害字線位址。 In step S220, the number of times of accessing each word line address is compared with the number of critical accesses, and according to the result of the comparison, whether to set each word line address as the infringing word line address is determined. . Carefully, when the number of times each word line address is accessed is greater than the critical access number, the number of times the address of the word line address is accessed is too high, and a word line impact effect may be generated to make adjacent words. The data in the memory cells of the line address is mutated. Therefore, the word line address whose access number is greater than the critical access number can be set as the infringing word line address.

附帶一提的,上述的臨界存取數是預先設定的數值。其中,記憶體的設計者可以依據記憶體實際的工作狀態來設定臨界存取數的數值。 Incidentally, the above-mentioned critical access number is a preset value. Among them, the designer of the memory can set the value of the critical access number according to the actual working state of the memory.

在步驟S230中,則設定備用字線位址,並利用備用字線位址與侵害字線位址進行置換的動作,以使備用字線位址的記憶胞取代侵害字線位址的記憶胞以進行資料存取的動作。在此,記憶體中可以預先設定部份的字線位址為一般的字線位址,並設定另一部分的字線位址以作為備用字線位址。並且,鄰近於被設定為備用字線位址的字線,都可被設定為閒置的字線。 In step S230, the alternate word line address is set, and the alternate word line address is used to replace the infringing word line address, so that the memory cell of the alternate word line address replaces the memory cell that invades the word line address. For the purpose of data access. Here, in the memory, a part of the word line address may be preset as a general word line address, and another part of the word line address may be set as a spare word line address. Also, a word line adjacent to the address set as a spare word line address can be set as an idle word line.

在進行備用字線位址與侵害字線位址的取代動作時,須先將侵害字線位址上的記憶胞所儲存的資料轉存至備用字線位址 的記憶胞中,再進行備用字線位址取代侵害字線位址的取代動作。 When performing the replacement of the alternate word line address and the infringing word line address, the data stored in the memory cell on the infringing word line address must first be transferred to the alternate word line address. In the memory cell, the alternate word line address is replaced by the substitution action of the infringing word line address.

在另一方面,若當侵害字線位址發生重刷新動作後,表示侵害字線位址可以再被正常使用,因此,除了重置侵害字線位址對應的被存取的次數的值外,還可進行侵害字線位址的記憶胞取代備用字線位址的記憶胞以使侵害字線位址的記憶胞可以繼續被使用。 On the other hand, if the infringing word line address re-refresh action occurs, it indicates that the infringing word line address can be used normally again, and therefore, in addition to resetting the value of the number of times of access corresponding to the infringing word line address. The memory cell that invades the word line address can also be replaced by the memory cell that invades the word line address so that the memory cell that invades the word line address can continue to be used.

換句話說,當侵害字線位址發生重刷新動作後,可先將備用字線位址的記憶胞中的資料複製至侵害字線位址,並將映射至備用字線位址的邏輯位址轉映射至侵害字線位址,藉此還原侵害字線位址為正常的字線位址。 In other words, after the re-refresh operation of the infringing word line address, the data in the memory cell of the spare word line address may be copied to the infringing word line address, and the logical bit mapped to the spare word line address may be mapped. The address is mapped to the infringing word line address, thereby restoring the infringing word line address to a normal word line address.

以下請參見圖3繪示的備用字線位址與侵害字線位址的取代動作的示意圖。在圖3中,字線WLA、WLB以及WLC皆為一般的字線,而字線WLBA、WLBB以及WLBC則被設定為備用字線。在當字線WLA的字線位址被重複的開啟次數大於臨界存取數時,字線WLA的字線位址被設定為侵害字線位址,而字線WLB以及WLC的字線位址則為被侵害字線位址。為了防止字線WLB以及WLC的記憶胞上的資料受到字線WLA的重複開啟的影響,備用字線WLBA的字線位址可以被設定為備用字線位址,並使備用字線WLBA的字線位址取代字線WLA的字線位址。值得注意的,與備用字線WLBA相鄰的備用字線WLBB以及WLBC都是被閒置的。也就是說,備用字線WLBB以及WLBC的字線位址的記憶胞是不用以儲存資料的。 Please refer to FIG. 3 for a schematic diagram of the replacement action of the alternate word line address and the infringing word line address. In FIG. 3, word lines WLA, WLB, and WLC are all normal word lines, and word lines WLBA, WLBB, and WLBC are set as spare word lines. When the number of times the word line address of the word line WLA is repeated is greater than the critical access number, the word line address of the word line WLA is set to the infringing word line address, and the word line address of the word line WLB and the WLC Then it is the infringed word line address. In order to prevent the word line WLB and the data on the memory cell of the WLC from being affected by the repeated opening of the word line WLA, the word line address of the spare word line WLBA can be set as the spare word line address, and the word of the spare word line WLBA is made. The line address replaces the word line address of the word line WLA. It is worth noting that the spare word lines WLBB and WLBC adjacent to the spare word line WLBA are all idle. That is to say, the memory cells of the alternate word line WLBB and the word line address of WLBC are not used to store data.

在進行備用字線WLBA的字線位址取代字線WLA的字線位址的部份,首先,須先將字線WLA的記憶胞所儲存的資料轉存至備用字線WLBA的記憶胞。接著,將原先映射至字線WLA的字線位址的邏輯位址LA,轉映射至備用字線WLBA的字線位址。換言之,當有需要對邏輯位址LA進行存取動作時,實際提供以進行存取的字線位址為備用字線WLBA的字線位址。 In the portion where the word line address of the spare word line WLBA is substituted for the word line address of the word line WLA, first, the data stored in the memory cell of the word line WLA must first be transferred to the memory cell of the spare word line WLBA. Next, the logical address LA of the word line address originally mapped to the word line WLA is mapped to the word line address of the spare word line WLBA. In other words, when there is a need to perform an access operation on the logical address LA, the word line address actually provided for access is the word line address of the spare word line WLBA.

附帶一提的,在完成上述的字線WLA與備用字線WLBA的置換動作後,被設定為侵害字線位址的字線WLA可被設定為閒置的狀態。 Incidentally, after the replacement operation of the word line WLA and the spare word line WLBA described above is completed, the word line WLA set to be invaded by the word line address can be set to be in an idle state.

關於將侵害字線位址記憶胞的資料複製至備用字線位址的記憶胞的部份,請參照圖4A繪示的本發明實施例的資料複製動作示意圖,以及圖4B繪示的本發明實施例的資料複製動作波形圖。其中,多數個記憶胞形成的記憶胞陣列401透過位元線BL以及BLB所構成的位元線組以耦接至感測放大器410以及420。當進行將設定為侵害字線的字線WLA的字線位址的記憶胞中的資料複製至備用字線WLBA的字線位址的記憶胞的動作時,在時間點T1,字線WLA可依據所接收的侵害字線信號而被啟動。對應於此,位元線BL以及BLB的電壓在時間點T1後開始產生差異。並且,時間點T1的一個延遲時間Td後的時間點T2,位元線BL以及BLB的電壓變化趨於穩定,備用字線WLBA可依據所接收的備用字線信號而被啟動。 For the part of the memory cell that copies the data of the infringing word line address memory cell to the alternate word line address, please refer to the schematic diagram of the data copying operation of the embodiment of the present invention illustrated in FIG. 4A, and the present invention illustrated in FIG. 4B. The data copy action waveform of the embodiment. The memory cell array 401 formed by a plurality of memory cells is coupled to the sense amplifiers 410 and 420 through a bit line group formed by the bit lines BL and BLB. When the action of copying the data in the memory cell set to the word line address of the word line WLA of the word line to the memory cell of the word line address of the spare word line WLBA is performed, at the time point T1, the word line WLA can be It is activated according to the received violation word line signal. Corresponding to this, the voltages of the bit lines BL and BLB start to differ after the time point T1. Also, at a time point T2 after a delay time Td of the time point T1, the voltage variations of the bit lines BL and BLB tend to be stable, and the spare word line WLBA can be activated in accordance with the received spare word line signal.

在當備用字線WLBA被開啟後,字線WLA的記憶胞的 資料就可以透過位元線BL以及BLB被傳送至感測放大器420,並透過感測放大器420的動作將字線WLA的記憶胞的資料寫入至備用字線WLBA的記憶胞中。 After the alternate word line WLBA is turned on, the memory of the word line WLA The data can be transmitted to the sense amplifier 420 through the bit lines BL and BLB, and the data of the memory cells of the word line WLA is written into the memory cells of the spare word line WLBA through the action of the sense amplifier 420.

附帶一提的,在備用字線WLBA被啟動的初期,位元線BL以及BLB上的電壓會因為備用字線WLBA的被啟動動作而產生些微的擾動,然而,這個些微擾動的程度並不會造成資料寫入至備用字線WLBA的記憶胞的動作產生錯誤。 Incidentally, in the initial stage of the standby word line WLBA being activated, the voltages on the bit lines BL and BLB may be slightly disturbed due to the activated operation of the spare word line WLBA, however, the degree of these micro perturbations does not occur. The action of causing data to be written to the memory cell of the alternate word line WLBA produces an error.

附帶一提的,關於進行侵害字線位址的還原動作。在當侵害字線位址進行了新的重刷新動作後,可進行使侵害字線位址取代備用字線位址的動作,並藉以還原侵害字線位址為正常的線位址。在進行侵害字線位址的還原動作時,請參照圖4C繪示的本發明實施例的侵害字線位址的還原動作的示意圖。其中,先透過備用字線信號在時間點T3開啟備用字線WLBA,並在時間點T3的一延遲時間Td後的時間點T4開啟字線WLA。如此一來,透過位元線BL以及BLB的電壓以及感測放大器410、420的動作,備用字線WLBA的記憶胞中的資料就可以被複製到字線WLA的記憶胞中。再透過轉映射備用字線WLBA與字線WLA的字線位址的對應關係,就可以完成侵害字線位址的還原動作。 Incidentally, regarding the restoration action of the infringing word line address. After a new re-refresh action is performed on the infringing word line address, an action of replacing the infringing word line address with the alternate word line address may be performed, thereby restoring the infringing word line address to a normal line address. When performing the restoration operation of the infringing word line address, please refer to FIG. 4C for a schematic diagram of the restoration operation of the infringing word line address according to the embodiment of the present invention. The first word line WLBA is turned on at the time point T3 through the spare word line signal, and the word line WLA is turned on at a time point T4 after a delay time Td at the time point T3. As a result, the data in the memory cells of the spare word line WLBA can be copied into the memory cells of the word line WLA through the voltages of the bit lines BL and BLB and the actions of the sense amplifiers 410 and 420. Then, by mapping the corresponding relationship between the alternate word line WLBA and the word line address of the word line WLA, the restoration operation of the infringing word line address can be completed.

請參照圖5A以及圖5B,圖5A以及圖5B繪示本發明另一實施例的記憶體的存取方法的流程圖。請先參照圖5A,在步驟S510時,針對各字線的被存取次數進行統計,並記錄統計獲得的對應各字線的被存取次數。其中,各字線的被存取次數可以用儲 存裝置(例如靜態記憶體)來進行儲存。在步驟S520中,則判斷是否存在字線的被存取次數大於臨界存取數的情況發生。當未有發生字線的被存取次數大於臨界存取數的情況時,則可進行步驟S530的一般性操作。相對的,若發生字線的被存取次數大於臨界存取數的情況時,則執行步驟S540以設定存取次數大於臨界存取數的字線位址為侵害字線位址。 Referring to FIG. 5A and FIG. 5B, FIG. 5A and FIG. 5B are flowcharts showing a method for accessing a memory according to another embodiment of the present invention. Referring to FIG. 5A first, in step S510, the number of times of access of each word line is counted, and the number of times of access of each word line corresponding to the statistics is recorded. Among them, the number of times each word line is accessed can be used Store devices (such as static memory) for storage. In step S520, it is determined whether or not there is a case where the number of accesses of the word line is greater than the critical access number. When the number of times the word line is accessed is greater than the critical access number, the general operation of step S530 can be performed. In contrast, if the number of times the word line is accessed is greater than the critical access number, step S540 is executed to set the word line address whose access number is greater than the critical access number as the infringing word line address.

接著,在步驟S550中,將侵害字線位址的記憶胞中的資料複製到所選定的備用字線位址的記憶胞中。並且,在步驟S560中判斷侵害字線位址是否發生新的存取需求。若步驟S560的判斷結果為否,則進行步驟S570的一般性操作,相對的,若步驟S560的判斷結果為是,則請參照圖5B。 Next, in step S550, the data in the memory cell that invades the word line address is copied into the memory cell of the selected alternate word line address. Also, it is determined in step S560 whether a new access request has occurred for the infringing word line address. If the result of the determination in step S560 is NO, the general operation of step S570 is performed. If the result of the determination in step S560 is YES, please refer to FIG. 5B.

在圖5B中,承續圖5A的節點A,當步驟S560的判斷結果為是時,則執行步驟S580以使用備用字線位址的記憶胞來取代侵害字線位址的記憶胞,並使備用字線位址的記憶胞來提供步驟S560中所判斷的新的存取動作。另外,步驟S590中持續進行判斷有無發生侵害字線位址的重刷新的動作,若侵害字線位址無發生重刷新的動作時,一旦判斷出侵害字線位址需要進行資料存取的動作(步驟S5100),則執行步驟S580以使用備用字線位址的記憶胞來取代侵害字線位址的記憶胞以執行存取的動作。相對的,當S5100判斷出侵害字線位址無需進行資料存取的動作時,則進行步驟S5110的一般性操作。 In FIG. 5B, following the node A of FIG. 5A, when the result of the determination in step S560 is YES, step S580 is performed to replace the memory cell invading the word line address with the memory cell of the alternate word line address, and The memory cell of the alternate word line address provides the new access action determined in step S560. In addition, in step S590, it is continuously determined whether or not the operation of re-refreshing the address line address is violated. If the operation of re-refreshing the word line address is not performed, it is determined that the access to the word line address requires data access. (Step S5100), step S580 is executed to replace the memory cell invading the word line address with the memory cell of the alternate word line address to perform the access operation. In contrast, when S5100 determines that the operation of invading the word line address does not require data access, the general operation of step S5110 is performed.

在另一方面,當步驟S590判斷出侵害字線位址發生重刷 新的動作時,則進行步驟S5120以利用侵害字線位址取代備用字線位址以還原侵害字線位址為一般的字線位址。 On the other hand, when it is determined in step S590 that the infringing word line address is re-brushed In the new action, step S5120 is performed to replace the spare word line address with the infringing word line address to restore the infringing word line address to a general word line address.

以下請參照圖6,圖6繪示本發明一實施例的記憶體裝置的示意圖。記憶體裝置600包括記憶體控制器610、字線解碼器622以及動態隨機存取記憶體620。動態隨機存取記憶體620包括記憶胞構成的記憶胞陣列621、多數條字線WLA以及多數條備用字線WLBA。記憶體控制器610耦接字線WLA以及備用字線WLBA。記憶體控制器610計算各字線WLA的字線位址的被存取次數,並依據比較被存取次數與臨界存取數以設定對應的各字線的字線位址為侵害字線位址。另外,記憶體控制器610設定備用字線位址,並利用備用字線位址的記憶胞來取代侵害字線位址的記憶胞。 Please refer to FIG. 6. FIG. 6 is a schematic diagram of a memory device according to an embodiment of the invention. The memory device 600 includes a memory controller 610, a word line decoder 622, and a dynamic random access memory 620. The dynamic random access memory 620 includes a memory cell array 621 composed of memory cells, a plurality of word lines WLA, and a plurality of spare word lines WLBA. The memory controller 610 is coupled to the word line WLA and the spare word line WLBA. The memory controller 610 calculates the number of accesses of the word line address of each word line WLA, and sets the corresponding word line address of each word line as the infringing word line position according to the compared number of times of access and the number of critical accesses. site. In addition, the memory controller 610 sets the alternate word line address and replaces the memory cell that invades the word line address with the memory cell of the alternate word line address.

記憶體控制器610可透過字線解碼器622來產生字線信號以開啟或關閉字線WLA以及備用字線WLBA。 The memory controller 610 can generate a word line signal through the word line decoder 622 to turn on or off the word line WLA and the spare word line WLBA.

關於記憶體控制器610的動作細節在前述的實施例及實施方式都有詳細的說明,以下恕不多贅述。 The details of the operation of the memory controller 610 are described in detail in the foregoing embodiments and embodiments, and will not be further described below.

綜上所述,本發明透過偵測字線的被存取次數來判斷對應的字線位址是否為侵害字線位址,並透過備用字線位址來取代侵害字線位址以執行資料存取的動作。藉此,任一字線位址的被存取次數可以有效的被控制,以使字線衝擊效應不至於發生。如此一來,記憶體所儲存資料的可以正確的被保存,提昇資料的可靠度。 In summary, the present invention determines whether the corresponding word line address is an infringing word line address by detecting the number of times the word line is accessed, and replaces the infringing word line address by the alternate word line address to execute the data. Access action. Thereby, the number of accesses of any word line address can be effectively controlled so that the word line impact effect does not occur. In this way, the data stored in the memory can be correctly saved and the reliability of the data can be improved.

S210~S230‧‧‧記憶體存取步驟 S210~S230‧‧‧ memory access step

Claims (6)

一種記憶體的存取方法,該記憶體具有多數個字線位址,包括:計算各該字線位址的一被存取次數;依據比較該被存取次數與一臨界存取數以設定對應的各該字線位址為一侵害字線位址;以及設定一備用字線位址,並利用該備用字線位址的記憶胞來取代該侵害字線位址的記憶胞,其中設定該備用字線位址,並利用該備用字線位址的記憶胞來取代該侵害字線位址的記憶胞的步驟包括:複製該侵害字線位址的記憶胞的資料至該備用字線位址的記憶胞;映射該備用字線位址至該侵害字線位址映射的一邏輯位址;以及設定該侵害字線位址為閒置狀態,其中複製該侵害字線位址的記憶胞的資料至該備用字線位址的記憶胞的步驟包括:透過一字線信號以開啟該侵害字線位址的記憶胞;以及在該侵害字線位址的記憶胞被開啟的一延遲時間後,透過一備用字線信號以開啟該備用字線位址的記憶胞,其中,該侵害字線位址的記憶胞中的資料,在該備用 字線位址的記憶胞被開啟的情況下,透過多數條位元線組傳送至該備用字線信號的記憶胞中。 A memory access method, the memory having a plurality of word line addresses, comprising: calculating an accessed number of each of the word line addresses; setting the number of accessed times and a critical access number to compare Corresponding each of the word line addresses is an infringing word line address; and setting a spare word line address, and using the memory cell of the spare word line address to replace the memory cell of the infringing word line address, wherein setting The alternate word line address, and replacing the memory cell of the infringing word line address with the memory cell of the spare word line address includes: copying the data of the memory cell of the infringing word line address to the spare word line a memory cell of the address; mapping the alternate word line address to a logical address of the infringing word line address mapping; and setting the invasive word line address to an idle state, wherein the memory cell of the infringing word line address is copied The data to the memory cell of the spare word line address includes: opening a memory cell of the infringing word line address through a word line signal; and a delay time when the memory cell of the infringing word line address is turned on After passing through a spare word line signal Open the spare memory cell word line address, wherein the word line address against the memory cell in the data in the spare When the memory cell of the word line address is turned on, it is transmitted to the memory cell of the spare word line signal through a plurality of bit line groups. 如申請專利範圍第1項所述的記憶體的存取方法,其中計算各該字線位址的該被存取次數的步驟包括:當各該字線發生被存取事件時,遞增各該字線位址的該被存取次數。 The method for accessing a memory according to claim 1, wherein the step of calculating the number of accesses of each of the word line addresses comprises: incrementing each of the word lines when an access event occurs The number of times the word line address was accessed. 如申請專利範圍第1項所述的記憶體的存取方法,其中依據比較該被存取次數與該臨界存取數以設定對應的各該字線位址為該侵害字線位址的步驟包括:比較該被存取次數與該臨界存取數;以及當該被存取次數大於該臨界存取數時,設定對應的各該字線位址為該侵害字線位址。 The method for accessing a memory according to the first aspect of the invention, wherein the step of comparing the accessed times with the number of critical accesses to set the corresponding word line address is the step of the infringing word line address. The method includes: comparing the accessed times with the critical access number; and when the accessed number is greater than the critical access number, setting the corresponding word line address to the infringing word line address. 如申請專利範圍第1項所述的記憶體的存取方法,更包括:當該侵害字線位址的一重刷新動作被執行後,使該侵害字線位址的記憶胞取代該備用字線位址的記憶胞。 The method for accessing the memory according to claim 1, further comprising: replacing the spare word line with the memory cell of the invading word line address after the one refresh operation of the infringing word line address is performed The memory of the address. 如申請專利範圍第4項所述的記憶體的存取方法,其中使該侵害字線位址的記憶胞取代該備用字線位址的記憶胞的步驟包括:複製該備用字線位址的記憶胞的資料至該侵害字線位址的記憶胞;映射該侵害字線位址至該備用字線位址映射的一邏輯位址; 以及設定該備用字線位址為閒置狀態。 The method for accessing a memory according to claim 4, wherein the step of replacing the memory cell of the spare word line address by the memory cell of the infringing word line address comprises: copying the spare word line address And storing the data of the memory cell to the memory cell of the infringing word line address; mapping the infringing word line address to a logical address of the alternate word line address mapping; And setting the alternate word line address to be idle. 如申請專利範圍第5項所述的記憶體的存取方法,其中複製該備用字線位址的記憶胞的資料至該侵害字線位址的記憶胞的步驟包括:透過一備用字線信號以開啟該的記憶胞;以及在該備用字線位址的記憶胞被開啟的一延遲時間後,透過一字線信號以開啟該侵害字線位址的記憶胞,其中,該備用字線位址的記憶胞中的資料,在該的記憶胞被開啟的情況下,透過多數條位元線組傳送至該侵害字線位址的記憶胞中。 The method for accessing a memory according to claim 5, wherein the step of copying the data of the memory cell of the spare word line address to the memory cell of the infringing word line address comprises: transmitting a spare word line signal To turn on the memory cell; and after a delay time when the memory cell of the spare word line address is turned on, a word line signal is used to turn on the memory cell of the infringing word line address, wherein the spare word line bit The data in the memory cell of the address is transmitted to the memory cell of the invading word line address through a plurality of bit line groups in the case where the memory cell is turned on.
TW103127237A 2014-08-08 2014-08-08 Memory accessing method TWI544486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103127237A TWI544486B (en) 2014-08-08 2014-08-08 Memory accessing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103127237A TWI544486B (en) 2014-08-08 2014-08-08 Memory accessing method

Publications (2)

Publication Number Publication Date
TW201606773A TW201606773A (en) 2016-02-16
TWI544486B true TWI544486B (en) 2016-08-01

Family

ID=55810123

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103127237A TWI544486B (en) 2014-08-08 2014-08-08 Memory accessing method

Country Status (1)

Country Link
TW (1) TWI544486B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI635497B (en) * 2017-08-23 2018-09-11 Nanya Technology Corporation System for preserving data in volatile memory and method thereof
TWI762367B (en) * 2017-04-11 2022-04-21 韓商愛思開海力士有限公司 Semiconductor memory device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190056874A1 (en) * 2017-08-16 2019-02-21 Nanya Technology Corporation System and method for preserving data in volatile memory
CN112837729A (en) * 2019-11-25 2021-05-25 补丁科技股份有限公司 Method and apparatus for accumulating and storing access times of word lines in a memory module

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI762367B (en) * 2017-04-11 2022-04-21 韓商愛思開海力士有限公司 Semiconductor memory device
TWI762366B (en) * 2017-04-11 2022-04-21 韓商愛思開海力士有限公司 Semiconductor memory device
TWI635497B (en) * 2017-08-23 2018-09-11 Nanya Technology Corporation System for preserving data in volatile memory and method thereof
US10338831B2 (en) 2017-08-23 2019-07-02 Nanya Technology Corporation System and method for preserving data in volatile memory

Also Published As

Publication number Publication date
TW201606773A (en) 2016-02-16

Similar Documents

Publication Publication Date Title
KR102234239B1 (en) Semiconductor device
US10445177B2 (en) Controller-based memory scrub for DRAMs with internal error-correcting code (ECC) bits contemporaneously during auto refresh or by using masked write commands
US9691466B1 (en) Memory device including refresh controller
US9564205B2 (en) Memory apparatus and method for accessing memory
KR101873526B1 (en) On-chip data scrubbing method and apparatus with ECC
US7773441B2 (en) Memory malfunction prediction system and method
US9823964B2 (en) Method for memory scrub of DRAM with internal error correcting code (ECC) bits during either memory activate and/or precharge operation
TWI544486B (en) Memory accessing method
WO2014120477A1 (en) Apparatuses and methods for targeted refreshing of memory
TW201802812A (en) Refresh circuitry
US20170242749A1 (en) Semiconductor device and driving method thereof
CN106683707B (en) Semiconductor device with a plurality of transistors
US11195568B1 (en) Methods and systems for controlling refresh operations of a memory device
US9589676B2 (en) Semiconductor device and operating method thereof
US20130121065A1 (en) Dynamic wordline assist scheme to improve performance tradeoff in sram
CN109390010B (en) Dynamic random access memory and operation method thereof
TW202226239A (en) Memory system
JP2009224016A (en) Refresh control apparatus and method
TW201928966A (en) DRAM and method of operating the same
JP2008152901A (en) System and method for improving memory reliability by selectively enabling word line signal
CN105448321B (en) The access method of memory
US11790974B2 (en) Apparatuses and methods for refresh compliance
TWI700694B (en) Memory device and row-hammer refresh method thereof
TWI660270B (en) Dynamic random access memory and method for operating the same
JP2011165231A (en) Method, program, and apparatus for testing semiconductor memory