[go: up one dir, main page]

CN102929811A - Device and method for updating dynamic access memory - Google Patents

Device and method for updating dynamic access memory Download PDF

Info

Publication number
CN102929811A
CN102929811A CN2011102296590A CN201110229659A CN102929811A CN 102929811 A CN102929811 A CN 102929811A CN 2011102296590 A CN2011102296590 A CN 2011102296590A CN 201110229659 A CN201110229659 A CN 201110229659A CN 102929811 A CN102929811 A CN 102929811A
Authority
CN
China
Prior art keywords
storage units
memory
updating
access memory
dynamic access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102296590A
Other languages
Chinese (zh)
Other versions
CN102929811B (en
Inventor
叶南贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN201110229659.0A priority Critical patent/CN102929811B/en
Publication of CN102929811A publication Critical patent/CN102929811A/en
Application granted granted Critical
Publication of CN102929811B publication Critical patent/CN102929811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention relates to a device and a method for updating a dynamic access memory, wherein a memory array is planned with a plurality of memory cells, and each memory cell has a counting value. The method includes detecting unused memory cells in the memory cells whose data is no longer used and remaining used memory cells whose data is still used. Thus, only the part of the memory cells which are still used are updated.

Description

动态存取内存的更新装置与方法Device and method for updating dynamic access memory

技术领域 technical field

本发明涉及一种动态存取内存的更新(refresh)技术,可以增加更新操作的效率。  The invention relates to a refresh technology for dynamic memory access, which can increase the efficiency of refresh operations. the

背景技术 Background technique

动态随机存取内存(DRAM)已经很普遍被使用于各种数字处理的电路系统,其中最常见的例如是计算机系统,以储存处理过程中所需要的寄存资料。DRAM与静态随机存取内存(SRAM)都属于挥发性的内存,当电源关闭时存储器所储存的数据就会消失,然而DRAM的存储器的基本结构是由一个MOS晶体管与一个储存电容所构成,因此在芯片上所占的面积较小,也因此更为普遍被采用。  Dynamic random access memory (DRAM) has been widely used in various digital processing circuit systems, the most common of which is computer systems, to store registered data required in the processing process. Both DRAM and Static Random Access Memory (SRAM) are volatile memories. When the power is turned off, the data stored in the memory will disappear. However, the basic structure of DRAM memory is composed of a MOS transistor and a storage capacitor. Therefore, It occupies less area on the chip and is therefore more commonly used. the

图1绘出传统DRAM存储器的结构示意图。参阅图1,一个DRAM存储器50包括一个MOS晶体管52以及一个储存电容54。晶体管52的源极与位线连接。MOS晶体管52的漏极与储存电容54连接,储存电容54的另一端是接地。晶体管52的栅极与字符线连接。一条字符在线会连接多个存储器50,一条位在线也会连接多个存储器50,因此这些存储器50构成二维的存储器数组,每一个存储器会由交叉的一条位线与一条字符线所存取。  FIG. 1 is a schematic diagram of the structure of a traditional DRAM memory. Referring to FIG. 1 , a DRAM memory 50 includes a MOS transistor 52 and a storage capacitor 54 . The source of transistor 52 is connected to the bit line. The drain of the MOS transistor 52 is connected to the storage capacitor 54, and the other end of the storage capacitor 54 is grounded. The gate of transistor 52 is connected to the word line. A character line is connected to multiple memories 50, and a bit line is also connected to multiple memories 50, so these memories 50 constitute a two-dimensional memory array, and each memory is accessed by a crossed bit line and a word line. the

晶体管52以NMOS晶体管为例来说明。例如要把“1”的数据写入储存电容54中时,对应连接的位线会施加5V的电压信号,此时对应连接的字符线会施加起开启电压,例如也是5V以导通晶体管52。此时位在线的电压会对储存电容54充电到5V。之后就可以再藉由字符线处于低电压状态而关闭晶体管52。接着关闭位在线的电压,或是继续写入其它的存储器50。反之,如 果要写入“0”的数据,则位线会施加0V的电压信号,因此储存电容54的电压是0V。如此,藉由储存电容54电压高低来储存“1”或“0”的数据。  The transistor 52 is described by taking an NMOS transistor as an example. For example, when the data of “1” is to be written into the storage capacitor 54 , a voltage signal of 5V is applied to the corresponding connected bit line. At this time, a turn-on voltage, such as 5V, is applied to the corresponding connected word line to turn on the transistor 52 . At this time, the voltage on the bit line will charge the storage capacitor 54 to 5V. Then the transistor 52 can be turned off by the word line being in a low voltage state. Then turn off the voltage on the bit line, or continue writing to other memories 50 . On the contrary, if the data of "0" is to be written, a voltage signal of 0V will be applied to the bit line, so the voltage of the storage capacitor 54 is 0V. In this way, the data of “1” or “0” is stored according to the voltage level of the storage capacitor 54 . the

以下描述读取机制。图2绘出存储器的传统读取电路。参阅图2,如果要读取存储器50上的数据,对所选择要读取的存储器50所连接的位线会被切换到一比较器56。比较器56有一参考电压VRef在0V与5V之间。当字符线导通此存储器50时,位在线的电压是储存电容54的电压V,其为0V或5V。经比较于参考电压VRef就可以得知储存电容54的电压V是0V或5V。  The reading mechanism is described below. Figure 2 depicts a conventional read circuit for a memory. Referring to FIG. 2 , if the data on the memory 50 is to be read, the bit line connected to the memory 50 selected to be read is switched to a comparator 56 . The comparator 56 has a reference voltage VRef between 0V and 5V. When the word line turns on the memory 50, the voltage on the bit line is the voltage V of the storage capacitor 54, which is 0V or 5V. By comparing with the reference voltage VRef, it can be known that the voltage V of the storage capacitor 54 is 0V or 5V. the

就DRAM存储器50的结构,如果储存电容54是储存“1”的数据而处于高电压值,其电荷会由于漏电流而漏失,导致电压下降。如果长时间不再更新储存电容54的电压值,则会产生错误数据。要更新储存电容54的电压值一般只要对其读出即可更新储存电容54的电压值。读出的操作可以是真正取得数据或是空白读取(dummy read)皆可以。至于重新写入储存值其就自然会更新数据。  With regard to the structure of the DRAM memory 50, if the storage capacitor 54 is at a high voltage value for storing “1” data, its charge will be lost due to leakage current, resulting in a voltage drop. If the voltage value of the storage capacitor 54 is not updated for a long time, erroneous data will be generated. In order to update the voltage value of the storage capacitor 54 , the voltage value of the storage capacitor 54 can be updated generally as long as it is read out. The read operation can be real data acquisition or dummy read. As for rewriting the stored value, it will naturally update the data. the

图3A绘出传统分布更新模式的机制示意图。参阅图3A,一般在一时间区间内会要求作n次更新。传统的更新操作可以是每隔一固定时间均匀分布于一时间区间内而对存储器做更新操作,其又称为分布更新模式(distributed refresh mode)。另一种更新操作例如是丛更新模式(burst refresh mode)。一个脉冲代表一次更新操作。图3B绘出传统丛更新模式的机制示意图。参阅图3B丛更新模式是在每一个时间区间内做一次连续多个更新操作。  FIG. 3A is a schematic diagram of the mechanism of the traditional distribution update mode. Referring to FIG. 3A , generally n updates are required within a time interval. The traditional refresh operation can be performed on the memory every fixed time evenly distributed in a time interval, which is also called distributed refresh mode. Another update operation is, for example, a burst refresh mode. One pulse represents an update operation. FIG. 3B is a schematic diagram of the mechanism of the traditional cluster update mode. Referring to FIG. 3B , the plex update mode is to perform multiple consecutive update operations once in each time interval. the

发明内容 Contents of the invention

本发明提供一种可以减少DRAM的更新操作的负担,以提升DRAM的使用效率。  The present invention provides a method that can reduce the load of the update operation of the DRAM, so as to improve the use efficiency of the DRAM. the

本发明提供一种动态存取内存的更新方法,其中一存储器数组被规划出多个存储单元,每一个存储单元有一个计数值。该方法包括检测出在该些存 储单元中数据不再被使用的一“不使用部分”,以及仅对该些存储单元中数据仍被使用的一“仍使用部分”进行一更新操作。  The invention provides an update method for dynamically accessing memory, wherein a memory array is planned with a plurality of storage units, and each storage unit has a count value. The method includes detecting an "unused part" in which data is no longer used in these storage units, and only performing an update operation on a "still used part" in which data is still used in these storage units. the

本发明提供一种动态存取内存的更新装置,其中一存储器数组被规划出多个存储单元,每一个存储单元有一个计数值,该更新装置包括一存取控制单元;一内存主控器;一更新控制单元;以及一监视单元。内存主控器藉由该存取控制单元存取一图框数据,该图框数据储存于该些储存页的一部分。更新控制单元依照指定的一地址用以对该些存储单元做一更新操作。监视单元检测出该些存储单元中不再使用的一不使用部分,且通知该更新控制单元仅对该些存储单元仍被使用的一仍使用部分进行该更新操作。  The present invention provides an update device for dynamically accessing memory, wherein a memory array is planned to have multiple storage units, and each storage unit has a count value, and the update device includes an access control unit; a memory master; an update control unit; and a monitoring unit. The memory main controller accesses a frame data through the access control unit, and the frame data is stored in a part of the storage pages. The update control unit performs an update operation on the storage units according to a designated address. The monitoring unit detects an unused portion of the storage units that is no longer used, and notifies the update control unit to only perform the update operation on a still-used portion of the storage units. the

为让本发明的上述特征和优点能更明显易懂,下文特举实施例,并配合附图作详细说明如下。  In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings. the

附图说明 Description of drawings

图1绘出传统DRAM存储器的结构示意图。  FIG. 1 is a schematic diagram of the structure of a traditional DRAM memory. the

图2绘出存储器的传统读取电路。  Figure 2 depicts a conventional read circuit for a memory. the

图3A绘出传统分布更新模式的机制示意图。  FIG. 3A is a schematic diagram of the mechanism of the traditional distribution update mode. the

图3B绘出传统丛更新模式的机制示意图。  FIG. 3B is a schematic diagram of the mechanism of the traditional cluster update mode. the

图4绘出依据本发明一实施例,动态存取内存的更新装置的电路结构示意图。  FIG. 4 is a schematic diagram of a circuit structure of an updating device for dynamically accessing memory according to an embodiment of the present invention. the

图5绘出依据本发明一实施例,图框与附加信息的关系示意图。  FIG. 5 is a schematic diagram illustrating the relationship between frame and additional information according to an embodiment of the present invention. the

图6绘出依据本发明一实施例,图框数据与存储单元的对应示意图。  FIG. 6 is a schematic diagram illustrating the correspondence between frame data and storage units according to an embodiment of the present invention. the

图7绘出依本发明一实施例,下数计数器的特征示意图。  FIG. 7 is a characteristic diagram of a down counter according to an embodiment of the present invention. the

图8绘出依本发明一实施例,下数计数器的特征示意图。  FIG. 8 is a characteristic diagram of a down counter according to an embodiment of the present invention. the

图9绘出依据本发明一实施例,动态存取内存的更新方法的流程示意图。  FIG. 9 is a schematic flowchart of a method for updating a dynamic access memory according to an embodiment of the present invention. the

主要组件符号说明  Description of main component symbols

50:存储器  50: memory

52:晶体管  52: Transistor

54:储存电容  54: storage capacitor

60:存储系统  60: storage system

62:内存主控单元  62: Memory master control unit

64:存取控制器  64: access controller

66:存储器数组  66: memory array

68:DRAM控制单元  68: DRAM control unit

70:更新控制单元  70: Update control unit

72:监视单元  72: Surveillance unit

74:读/写指令  74: Read/write command

76:附加信息  76: Additional Information

S200-S218:步骤  S200-S218: Steps

具体实施方式 Detailed ways

考虑传统的更新方式,其不管是何种更新模式,传统方式会对整个DRAM上的存储器都做更新操作,其中一些存储器储存已过时而不会再被用到的数据仍会被更新而占取DRAM有效的正常读取的操作时间,导致更新操作的不必要负担。  Considering the traditional update method, no matter what the update mode is, the traditional method will update the memory on the entire DRAM, and some of the memory will still be updated and occupied by storing data that is outdated and will no longer be used. DRAM effectively takes normal read operation time, resulting in an unnecessary burden for update operations. the

本发明提出的DRAM存储器的更新方式,可以减少DRAM的更新操作的负担,以提升DRAM的使用效率。以下举一些实施例来说明本发明,但是本发明不仅限于所举实施例。 The update method of the DRAM memory proposed by the present invention can reduce the burden of the update operation of the DRAM, so as to improve the use efficiency of the DRAM. Some examples are given below to illustrate the present invention, but the present invention is not limited to the examples given.

图4绘出依据本发明一实施例,动态存取内存的更新装置的电路结构示意图。参阅图4,对于一个存储系统60而言,其包括一内存主控单元(memory master)62,一DRAM控制单元68,一更新控制单元70,一监视单元72,以及一存储器数组66。又,DRAM控制单元68,更新控制单元70及监视单元72 是在存取控制器64中。存储器数组66会被规划出多个存储单元,其会如后面图6的描述。DRAM控制单元68是用以控制对存储器数组66的存取。内存主控单元62依照外部要写入或是读取的图框数据后,发出读/写指令74给DRAM控制单元68存取在存储器数组66的图框数据。此读/写指令74也会由监视单元72做监视,以判断图框数据的有效性,以决定出在存储器数组66中的哪些存储单元的数据已不再使用,因此通知更新控制单元70仅对仍在使用的存储单元做更新操作即可。  FIG. 4 is a schematic diagram of a circuit structure of an updating device for dynamically accessing memory according to an embodiment of the present invention. Referring to FIG. 4 , a storage system 60 includes a memory master unit (memory master) 62 , a DRAM control unit 68 , an update control unit 70 , a monitoring unit 72 , and a memory array 66 . Also, the DRAM control unit 68, the update control unit 70 and the monitoring unit 72 are in the access controller 64. The memory array 66 is planned with a plurality of storage units, which will be as described in FIG. 6 later. The DRAM control unit 68 is used to control access to the memory array 66 . The memory main control unit 62 sends a read/write command 74 to the DRAM control unit 68 to access the frame data in the memory array 66 according to the external frame data to be written or read. This read/write command 74 will also be monitored by the monitoring unit 72 to determine the validity of the frame data, to determine which data of the storage units in the memory array 66 are no longer used, so the update control unit 70 is notified only Just perform an update operation on the storage unit that is still in use. the

于此,要判断出存储单元是否仍继续在使用或是不再使用的状态,除了根据图框资料的读/写状态外,也可以由内存主控器对每一个图框数据提供附加信息(side information)76以辅助判断检测的存储单元的使用状态。  Here, to determine whether the storage unit is still in use or no longer in use, in addition to the read/write status of the frame data, the memory master can also provide additional information for each frame data ( side information) 76 to assist in judging the usage status of the detected storage unit. the

以下进一步描述附加信息的使用机制。图5绘出依据本发明一实施例,图框与附加信息的关系示意图。参阅图5,一个图框的数据例如是以480x640的影像数据,存储器数组66可能会在同一时间储存多个图框,其以F0、F1、F2…来表示图框的顺序。  The mechanism for using additional information is further described below. FIG. 5 is a schematic diagram illustrating the relationship between frame and additional information according to an embodiment of the present invention. Referring to FIG. 5 , the data of a frame is, for example, 480x640 image data, and the memory array 66 may store multiple frames at the same time, and the order of the frames is represented by F0, F1, F2 . . . the

对于图框F0的附加信息例如包括开始时间以S表示,以及结束时间以E表示。开始时间S表示在此时间点之后才会有图框F0的有效数据。结束时间E表示在此时间点之后图框F0的数据已不再被使用。相同机制,每一个图框都会由外部的操作得知,由内存主控单元62提供附加信息76给监视单元72。另外,由内存主控单元62发出的读/写指令74也可以得知图框所使用的存储单元的地址。  The additional information for frame F0 includes, for example, the start time denoted S and the end time denoted E. The start time S indicates that there will be valid data of the frame F0 after this time point. The end time E indicates that the data of the frame F0 is no longer used after this point in time. In the same mechanism, each frame is known by external operations, and the memory main control unit 62 provides additional information 76 to the monitoring unit 72 . In addition, the read/write command 74 issued by the memory main control unit 62 can also know the address of the storage unit used by the frame. the

附加信息76的内容是用以辅助判断检测的存储单元的使用状态。也就是说,附加信息76的内容也可以有其它的内容,不限定于前面所举的实施例。  The content of the additional information 76 is used to assist in judging the usage status of the detected storage unit. That is to say, the content of the additional information 76 may also have other content, and is not limited to the aforementioned embodiments. the

图6绘出依据本发明一实施例,图框数据与存储单元的对应示意图。参阅图6,存储器数组66例如被规划出N个存储单元以P-0至P-N来表示。图框F0、F1…会被写入于一些对应的存储单元。虽然附图是以连续的存储单元来储存图框数据,然而这不是唯一的方式,其可以依照一般所知的写入方式储存。  FIG. 6 is a schematic diagram illustrating the correspondence between frame data and storage units according to an embodiment of the present invention. Referring to FIG. 6 , the memory array 66 is, for example, planned to have N storage units denoted by P-0 to P-N. Frames F0, F1, . . . will be written into some corresponding storage units. Although the drawing uses continuous memory units to store frame data, this is not the only way, and it can be stored according to commonly known writing methods. the

于此,在监视单元72或是在更新控制单元70的内部会对应每一个存储单元设置有一个计数器,藉由下数或上数的方式以反映出存储单元有多久时间尚未被更新。图7绘出依本发明一实施例,下数计数器的特征示意图。参阅图7,本实施例的计数器是以下数计数器为例来说明。每一个存储单元对应的下数计数器在初始或是完成更新时,其会有一最大定值nmax。从最大定值nmax,下数计数值随时间每一固定间隔就会减去1,例如nmax-1、nmax-2…,随时间继续下数到0。  Here, a counter is provided corresponding to each storage unit in the monitoring unit 72 or in the update control unit 70 , to reflect how long the storage unit has not been updated by counting down or counting up. FIG. 7 is a characteristic diagram of a down counter according to an embodiment of the present invention. Referring to FIG. 7 , the counter in this embodiment is described by taking a countdown counter as an example. The down counter corresponding to each storage unit has a maximum constant value nmax when it is initially or completed updating. From the maximum fixed value nmax, the countdown value will be subtracted by 1 every fixed interval over time, such as nmax-1, nmax-2..., and count down to 0 over time. the

然而,如果此存储单元被更新时,其下数计数值又回到nmax。因此,下数计数值是可以反映出此存储单元距离上一次被更新的时间有多长。越长的话,存储器的储存电容可能会因漏电流而改变储存值,产生错误数据。  However, if the memory cell is updated, its count-down value returns to nmax. Therefore, the countdown value can reflect how long the storage unit has been updated since the last time. If it is longer, the storage capacitor of the memory may change the storage value due to leakage current, resulting in erroneous data. the

基于如此,如果存储单元的下数计数值已经低于一临界值时,且此存储单元所储存的数据仍被使用时,就需要对此存储单元做更新操作。  Based on this, if the down count value of the storage unit is lower than a critical value and the data stored in the storage unit is still being used, the storage unit needs to be refreshed. the

另一种判断存储单元的数据是否继续被使用,是直接根据数据的读取频率来分析判断,其不需要参考附加信息76。其方式例如下面的方式。  Another way of judging whether the data of the storage unit continues to be used is to analyze and judge directly according to the reading frequency of the data, which does not need to refer to the additional information 76 . The method is, for example, the following method. the

图8绘出依本发明一实施例,下数计数器的特征示意图。参阅图8,以下数计数器为例,如果数据有被读出或是被更新时,其计数值会被重置到最大值。其中一个情形例如,当计数值减少而低于一临界值时,更新操作会被启动而会使计数值又重置到最大值。藉由此特性,可以直接检测计数值来判定数据的使用情形。  FIG. 8 is a characteristic diagram of a down counter according to an embodiment of the present invention. Referring to FIG. 8, the count counter is taken as an example. If the data is read or updated, the count value will be reset to the maximum value. In one case, for example, when the count value decreases below a threshold value, an update operation is initiated to reset the count value to the maximum value. With this feature, the count value can be directly detected to determine the usage of the data. the

如果存储单元的数据被写入后持续在短时间内经常被外部连接的装置读取,每一次的读取都会附带更新存储单元的数据,因此下数计数值会维持大于临界值,临界值是设定的一小数值或是也可以是0。如果存储单元的数据被重新写入,则其自然就是新的图框数据被写入。  If the data of the storage unit is frequently read by an externally connected device within a short period of time after being written, the data of the storage unit will be updated with each read, so the countdown value will remain greater than the critical value, and the critical value is Set a small value or can also be 0. If the data of the storage unit is rewritten, it is naturally that new frame data is written. the

然而,如果图框数据有不再被使用时,其所使用的存储单元就不会被更新,因此下数计数值经一段时间后会小于临界值或是到达0。这表示此图框数据很可能已不再被使用,因此下数计数值小于临界值的存储单元可以被判 定为不再被使用,因此对此图框所使用的至少一个存储单元就不需要刻意做更新操作。  However, if the frame data is no longer used, the storage unit used by it will not be updated, so the count-down value will be less than the critical value or reach 0 after a period of time. This means that the data of this frame is likely to be no longer used, so the storage unit whose down count value is less than the critical value can be judged as no longer used, so at least one storage unit used by this frame is not needed Deliberately do update operations. the

然而,如果当存储单元的下数计数值小于临界值或是到达0后又被读取时,可以发出数据可能错误的警告信息。另外,如果存储单元是被写入,则这代表是新的数据,因此也需保留旧的数据。如此,藉由数据的读取频率就可以判断存储单元的使用状态,而无须附加信息的辅助。  However, if the down count value of the storage unit is less than the critical value or is read again after reaching 0, a warning message that the data may be wrong may be issued. In addition, if the storage unit is written, it represents new data, so the old data also needs to be retained. In this way, the use status of the storage unit can be determined according to the reading frequency of the data without the assistance of additional information. the

图9绘出依据本发明一实施例,动态存取内存的更新方法的流程示意图。参与图9,根据上述的描述,动态存取内存的更新方法例如可以用流程图来简单表示。  FIG. 9 is a schematic flowchart of a method for updating a dynamic access memory according to an embodiment of the present invention. Referring to FIG. 9 , according to the above description, the method for updating the dynamic access memory can be simply represented by a flow chart, for example. the

于步骤S200,图框数据被写入到到至少一个存储单元。于步骤S202,其检视是否图框数据具有附加信息,如果是的情形就进入步骤S204,如果否的情形就进入步骤S208。于步骤S204,其利用图框数据的附加信息,检测出不再使用的存储单元。接着于步骤S206,其仅对其他仍在使用的存储单元做更新操作。于步骤S208,其检视存储单元所对应的下数计数值是否小于一临界值。此临界值是一个设定值,也可为0。于步骤S210,如果是小于一临界值就设定此对应的存储单元为不再使用的状态。于步骤S212,其监视此被设定为不再使用的存储单元是否继续被读取。于步骤S214,如果仍被读取就发出读可能错误的状态。于步骤S216,如果不再被读取就等待下一次的写入。于步骤S218,如果步骤S208的判断为不小于临界值时,就对存储单元正常存取。之后回到步骤S202继续检测图框的读取与写入。  In step S200, frame data is written into at least one storage unit. In step S202, it checks whether the frame data has additional information, and if yes, proceeds to step S204, and if not, proceeds to step S208. In step S204, it uses the additional information of the frame data to detect unused storage units. Then in step S206, it only updates other storage units that are still in use. In step S208, it checks whether the countdown value corresponding to the storage unit is less than a threshold value. This threshold is a set value and can also be 0. In step S210, if the value is less than a threshold value, the corresponding storage unit is set to be unused. In step S212, it monitors whether the memory unit set to be unused continues to be read. In step S214, if it is still being read, a read possible error status is issued. In step S216, if it is no longer read, it waits for the next write. In step S218, if the determination in step S208 is not less than the critical value, the storage unit is accessed normally. Then return to step S202 to continue reading and writing of the detection frame. the

实际的操作流程不必限定于图9的方式,然而其主要是根据图框的附加信息的辅助或是仅根据对存储单元的实际读取频率来判断出哪些存储单元是不再使用的,因此可以节省这些不再使用的存储单元的更新操作。  The actual operation process is not necessarily limited to the way shown in Figure 9, but it is mainly based on the auxiliary information of the frame or only based on the actual reading frequency of the storage units to determine which storage units are no longer used, so it can be The update operation of these memory cells that are no longer used is saved. the

虽然本发明已以实施例揭示如上,然其并非用以限定本发明,任何所属技术领域中的普通工作人员,当可作些许的更动与润饰,而不脱离本发明的精神和范围。  Although the present invention has been disclosed above with embodiments, it is not intended to limit the present invention. Any ordinary worker in the technical field may make some changes and modifications without departing from the spirit and scope of the present invention. the

Claims (13)

1.一种动态存取内存的更新方法,其中一存储器数组被规划出多个存储单元,每一个存储单元有一个计数值,该方法包括:1. A method for updating dynamic access memory, wherein a memory array is planned out with a plurality of storage units, and each storage unit has a count value, the method comprising: 检测出在该些存储单元中数据不再被使用的一不使用部分,而该些存储单元的其它部分视为一仍使用部分;以及detecting an unused portion of the storage units in which data is no longer used, while the other portion of the storage units is considered a still-used portion; and 仅对该些存储单元中数据仍被使用的该仍使用部分进行一更新操作。An update operation is only performed on the still-used portion of the data in the storage units. 2.根据权利要求1所述的动态存取内存的更新方法,其中当该些存储单元的该仍使用部分的任一个的该计数值超出一临界值时就进行该更新操作。2. The updating method of the dynamic access memory according to claim 1, wherein the updating operation is performed when the count value of any one of the still-used parts of the storage units exceeds a threshold value. 3.根据权利要求1所述的动态存取内存的更新方法,其中该检测出该些存储单元中的该不使用部分包括:3. The updating method of the dynamic access memory according to claim 1, wherein the detection of the unused portion of the storage units comprises: 由一内存主控单元对所接收且写入一存储器数组的一图框数据,提供存取该图框数据的一结束时间点以及所使用的该些存储单元的至少一个;以及For a frame data received and written into a memory array by a memory master control unit, an end time point for accessing the frame data and at least one of the memory units used are provided; and 当该结束时间点被检测到时,所对应的该图框数据所使用的该至少一个存储单元被设定为该不使用部分。When the end time point is detected, the corresponding at least one storage unit used by the frame data is set as the unused portion. 4.根据权利要求1项所述的动态存取内存的更新方法,其中该检测出该些存储单元中的该不使用部分包括:4. The updating method of the dynamic access memory according to claim 1, wherein the detection of the unused portion of the storage units comprises: 由一内存主控单元对所接收且写入一存储器数组的一图框数据,提供该图框数据的一附加信息以及所使用的该些存储单元的至少一个;以及providing, by a memory master unit, an additional information of a frame data received and written into a memory array and at least one of the memory units used; and 根据该附加信息决定该图框数据所使用的该至少一个存储单元是否要设定为该不使用部分。It is determined whether the at least one storage unit used by the frame data is to be set as the unused portion according to the additional information. 5.根据权利要求1所述的动态存取内存的更新方法,其中该检测出该些存储单元中的该不使用部分包括:5. The updating method of the dynamic access memory according to claim 1, wherein the detection of the unused portion of the storage units comprises: 监视该些存储单元的该些下数计数值是否小于一临界值,其中当该些下数计数值中具有小于该临界值所对应的该些存储单元即设定为该不使用部分。Monitoring whether the downcount values of the storage units are less than a critical value, wherein the storage units corresponding to the downcount values smaller than the critical value are set as the unused portion. 6.根据权利要求5所述的动态存取内存的更新方法,其中该当该些下数计数值中具有小于该临界值所对应的该些存储单元仍被继续读取时,发出一错误警告。6 . The updating method of the dynamic access memory according to claim 5 , wherein an error warning is issued when the storage units corresponding to the down count values smaller than the critical value are still being read. 7.根据权利要求5所述动态存取内存的更新方法,其中该当该些下数计数值中具有小于该临界值所对应的该些存储单元依照需求仍可被执行该更新操作。7. The updating method of the dynamic access memory according to claim 5, wherein the updating operation can still be performed on the storage units corresponding to the down count values smaller than the critical value according to the requirement. 8.一种动态存取内存的更新装置,其中一存储器数组被规划出多个存储单元,每一个存储单元有一个下数计数值,该更新装置包括:8. An update device for dynamically accessing memory, wherein a memory array is planned with a plurality of storage units, each storage unit has a countdown value, and the update device includes: 一存取控制单元;an access control unit; 一内存主控器,藉由该存取控制单元存取一图框数据,该图框数据储存于该些存储单元的一部分;a memory master, accessing a frame data through the access control unit, the frame data is stored in a part of the storage units; 一更新控制单元,依照指定的一地址用以对该些存储单元做一更新操作;以及an update control unit, used to perform an update operation on the storage units according to a specified address; and 一监视单元,检测出些存储单元中不再使用的一不使用部分,且通知该更新控制单元仅对该些存储单元中其它仍被使用的一仍使用部分进行该更新操作。A monitoring unit detects an unused portion of the storage units that is no longer used, and notifies the update control unit to only perform the update operation on an in-use portion of the storage units that is still used. 9.根据权利要求8所述的动态存取内存的更新装置,其中当该些存储单元的该仍使用部分的任一个的该下数计数值小于一临界值时就进行该更新操作。9. The updating device for dynamic access memory according to claim 8, wherein the updating operation is performed when the downcount value of any one of the still-used parts of the storage units is less than a threshold value. 10.根据权利要求8所述的动态存取内存的更新装置,其中该内存主控单元存取该图框数据时提供一附加信息包括该图框数据的一结束时间点以及所使用的该些存储单元的至少一个,10. The updating device for dynamic access memory according to claim 8, wherein when the memory main control unit accesses the frame data, it provides an additional information including an end time point of the frame data and the used at least one of the memory cells, 其中该监视单元,接收内存主控单元的该附加信息,当该结束时间点被检测到时,对应的该图框数据所使用的该至少一个存储单元被设定为该不使用部分,以通知该更新控制单元,不对该不使用部分进行该更新操作。Wherein the monitoring unit receives the additional information from the memory main control unit, and when the end time point is detected, the at least one storage unit used by the corresponding frame data is set as the unused part to notify The update control unit does not perform the update operation on the unused portion. 11.根据权利要求8所述的动态存取内存的更新装置,其中该监视单元监视该些存储单元的该些下数计数值是否小于一临界值,其中当该些下数计数值中具有小于该临界值所对应的该些存储单元即设定为该不使用部分。11. The update device for dynamic access memory according to claim 8, wherein the monitoring unit monitors whether the down count values of the storage units are less than a critical value, wherein when any of the down count values is less than The storage units corresponding to the critical value are set as the unused portion. 12.根据权利要求11所述的动态存取内存的更新装置,其中该当该些下数计数值中具有小于该临界值所对应的该些存储单元仍被继续读取时,发出一错误警告。12 . The updating device for dynamic access memory according to claim 11 , wherein an error warning is issued when the storage units corresponding to the down count values smaller than the critical value are still being read. 13 . 13.根据权利要求11所述的动态存取内存的更新方法,其中该当该些下数计数值中具有小于该临界值所对应的该些存储单元依照需求仍可被执行该更新操作。13. The updating method of the dynamic access memory according to claim 11, wherein the updating operation can still be performed on the storage units corresponding to the down count values smaller than the critical value according to the requirement.
CN201110229659.0A 2011-08-11 2011-08-11 Device and method for updating dynamic access memory Active CN102929811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110229659.0A CN102929811B (en) 2011-08-11 2011-08-11 Device and method for updating dynamic access memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110229659.0A CN102929811B (en) 2011-08-11 2011-08-11 Device and method for updating dynamic access memory

Publications (2)

Publication Number Publication Date
CN102929811A true CN102929811A (en) 2013-02-13
CN102929811B CN102929811B (en) 2015-09-16

Family

ID=47644612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110229659.0A Active CN102929811B (en) 2011-08-11 2011-08-11 Device and method for updating dynamic access memory

Country Status (1)

Country Link
CN (1) CN102929811B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110063A (en) * 2007-09-04 2008-01-23 北京中星微电子有限公司 Arbitration method, system, equipment for accessing storing device and storage control equipment
US20080239854A1 (en) * 2007-03-28 2008-10-02 Fujitsu Limited Semiconductor memory, system, and operating method of semiconductor memory
US20100106901A1 (en) * 2007-07-18 2010-04-29 Fujitsu Limited Memory refreshing apparatus and method for memory refresh

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080239854A1 (en) * 2007-03-28 2008-10-02 Fujitsu Limited Semiconductor memory, system, and operating method of semiconductor memory
US20100106901A1 (en) * 2007-07-18 2010-04-29 Fujitsu Limited Memory refreshing apparatus and method for memory refresh
CN101110063A (en) * 2007-09-04 2008-01-23 北京中星微电子有限公司 Arbitration method, system, equipment for accessing storing device and storage control equipment

Also Published As

Publication number Publication date
CN102929811B (en) 2015-09-16

Similar Documents

Publication Publication Date Title
US10614873B2 (en) Memory device, memory system including the same, and address counting and comparing operation for refresh operation method thereof
TWI530947B (en) Refreshing a group of memory cells in response to presence of potential disturbance
US9030903B2 (en) Method, apparatus and system for providing a memory refresh
US20140085995A1 (en) Method, apparatus and system for determining a count of accesses to a row of memory
US9799391B1 (en) Dram circuit, redundant refresh circuit and refresh method
CN103915110B (en) Refreshing method of volatile memory and related controller of volatile memory
CN103019873B (en) The replacement method of a kind of storage failure unit and device, data-storage system
KR101873526B1 (en) On-chip data scrubbing method and apparatus with ECC
US7821861B2 (en) Memory device and refresh method thereof
CN107256717A (en) row hammering refresh command
CN110109611B (en) Storage system and method of operation thereof
US11010289B2 (en) Data storage device and operating method thereof
US20190056874A1 (en) System and method for preserving data in volatile memory
US8924774B2 (en) Semiconductor memory device and method for operating the same
CN110874184B (en) Flash memory controller and related electronic device
TWI490869B (en) Method and associated controller for flash memory
US12283304B2 (en) Memory system and apparatus for evicting cold data from volatile memory and storing the evicted cold data into the non-volatile memory
TWI442232B (en) Apparatus and method for refreshing dram
US8626999B2 (en) Dynamic random access memory unit and data refreshing method thereof
JP5814825B2 (en) Storage device and storage method
CN102929811B (en) Device and method for updating dynamic access memory
CN102376346A (en) Dynamic random access memory unit and its data update method
US10354713B2 (en) DRAM and method for determining binary logic using a test voltage level
CN118571299A (en) Method, device, equipment and storage medium for determining storage health status
US10332579B2 (en) DRAM and method for operating the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant