[go: up one dir, main page]

TWI888260B - Refresh control circuit - Google Patents

Refresh control circuit Download PDF

Info

Publication number
TWI888260B
TWI888260B TW113131827A TW113131827A TWI888260B TW I888260 B TWI888260 B TW I888260B TW 113131827 A TW113131827 A TW 113131827A TW 113131827 A TW113131827 A TW 113131827A TW I888260 B TWI888260 B TW I888260B
Authority
TW
Taiwan
Prior art keywords
clock signal
refresh
information
control circuit
data retention
Prior art date
Application number
TW113131827A
Other languages
Chinese (zh)
Other versions
TW202509926A (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 TW113131827A priority Critical patent/TWI888260B/en
Publication of TW202509926A publication Critical patent/TW202509926A/en
Application granted granted Critical
Publication of TWI888260B publication Critical patent/TWI888260B/en

Links

Images

Landscapes

  • Dram (AREA)

Abstract

A refresh control circuit includes a clock signal generator, a plurality of pulse number adjusters and a plurality of address counters. The clock signal generator generates a clock signal. The pulse number adjusters receive the clock signal, and during a time period, respectively generate a plurality of adjusted clock signals by adjusting pulse number of the clock signal according to a plurality of data retention information. The address counters respectively generate a plurality of refresh address information according to the adjusted clock signals. The refresh address information respectively correspond to a plurality of memory banks of a memory device. The memory banks respectively perform refresh operations according to the refresh address information.

Description

刷新控制電路Refresh control circuit

本發明是有關於一種刷新控制電路,且特別是有關於一種可提升刷新動作效率的刷新控制電路。 The present invention relates to a refresh control circuit, and in particular to a refresh control circuit capable of improving the efficiency of refresh operations.

在動態隨機存取記憶體中,基於其記憶胞中的儲存電容會隨著時間產生漏電的現象,因此需要定時的針對記憶胞執行刷新動作。其中,動態隨機存取記憶體的刷新動作可分為叢發式刷新動作(Burst Refresh)以及分布式刷新動作(Distributed Refresh)。 In dynamic random access memory, the storage capacitor in its memory cell will leak over time, so it is necessary to perform refresh actions on the memory cell regularly. The refresh actions of dynamic random access memory can be divided into burst refresh actions (Burst Refresh) and distributed refresh actions (Distributed Refresh).

在動態隨機存取記憶體中,由於並非所有的記憶胞的資料保存度都是相同的。因此,若採用一致的刷新頻率來對所有的記憶胞執行刷新動作,勢必會發生很多次無謂的刷新動作。如此一來,會降低記憶體的存取頻寬以及增加無謂的電力消耗。因此,如何最佳化記憶體的刷新動作,是本領域工程人員的重要課題。 In dynamic random access memory, not all memory cells have the same data retention. Therefore, if a consistent refresh frequency is used to refresh all memory cells, many unnecessary refresh operations will inevitably occur. This will reduce the access bandwidth of the memory and increase unnecessary power consumption. Therefore, how to optimize the refresh operation of the memory is an important topic for engineers in this field.

本發明的刷新控制電路包括時脈信號產生器、多個脈波數量調整器以及多個位址計數器。時脈信號產生器產生時脈信號。 脈波數量調整器耦接時脈信號產生器。脈波數量調整器接收時脈信號,並在一時間週期中,根據多個資料保存度資訊以針對時脈信號的脈波數量進行調整來分別產生多個調整後時脈信號。位址計數器分別耦接脈波數量調整器,根據調整後時脈信號來產生多個刷新位址資訊。刷新位址資訊對應該記憶體裝置的多個記憶庫,並用以使記憶庫分別根據刷新位址資訊來進行刷新動作。 The refresh control circuit of the present invention includes a clock signal generator, a plurality of pulse quantity adjusters and a plurality of address counters. The clock signal generator generates a clock signal. The pulse quantity adjuster is coupled to the clock signal generator. The pulse quantity adjuster receives the clock signal and, in a time cycle, adjusts the pulse quantity of the clock signal according to a plurality of data retention information to generate a plurality of adjusted clock signals respectively. The address counters are respectively coupled to the pulse quantity adjusters to generate a plurality of refresh address information according to the adjusted clock signal. The refresh address information corresponds to a plurality of memory banks of the memory device and is used to enable the memory banks to perform refresh actions respectively according to the refresh address information.

基於上述,在本發明的刷新控制電路中,透過記錄記憶體裝置的多個記憶庫的資料保存度資訊,並根據資料保存度資訊來調整對應計數刷新位址資訊的時脈信號的脈波數。如此一來,各個記憶庫執行刷新動作的頻率可以與其資料保存度資訊相關聯,並有效提升記憶體裝置的刷新動作的效能。 Based on the above, in the refresh control circuit of the present invention, the data retention information of multiple memory banks of the memory device is recorded, and the pulse number of the clock signal corresponding to the counted refresh address information is adjusted according to the data retention information. In this way, the frequency of each memory bank performing the refresh action can be associated with its data retention information, and the performance of the refresh action of the memory device can be effectively improved.

100、200、300、500:刷新控制電路 100, 200, 300, 500: Refresh control circuit

111~114、211~214、311~314、511、512:記憶庫 111~114, 211~214, 311~314, 511, 512: memory bank

121~124、221~224、321~324、550:位址計數器 121~124, 221~224, 321~324, 550: address counter

131~134:脈波數量調整器 131~134: Pulse quantity adjuster

140、240、340、560:時脈信號產生器 140, 240, 340, 560: Clock signal generator

231~234:閘控電路 231~234: Gate control circuit

250、350:資料庫 250, 350: database

331~334:除頻器 331~334: Frequency divider

511、522:開關 511, 522: switch

531、532:資訊轉變偵測器 531, 532: Information change detector

541、542:多工器 541, 542: Multiplexer

570:電子熔絲電路 570: Electronic fuse circuit

A0~A4:位元 A0~A4: bits

ADD:計數資訊 ADD: Count information

ADR1~ADR4:刷新位址資訊 ADR1~ADR4: Refresh address information

C1、C2:控制信號 C1, C2: control signal

DRI1~DRI4:資料保存度資訊 DRI1~DRI4: Data retention information

OSC:時脈信號 OSC: clock signal

POSC1~POSC4:調整後時脈信號 POSC1~POSC4: adjusted clock signal

S410~S450:步驟 S410~S450: Steps

圖1繪示本發明一實施例的刷新控制電路的示意圖。 FIG1 is a schematic diagram of a refresh control circuit of an embodiment of the present invention.

圖2繪示本發明另一實施例的刷新控制電路的示意圖。 FIG2 is a schematic diagram of a refresh control circuit of another embodiment of the present invention.

圖3繪示本發明另一實施例的刷新控制電路的示意圖。 FIG3 is a schematic diagram of a refresh control circuit of another embodiment of the present invention.

圖4繪示本發明實施例的資料保存度資訊的產生方式的流程圖。 FIG4 is a flow chart showing the method of generating data preservation information of an embodiment of the present invention.

圖5繪示本發明另一實施例的刷新控制電路的示意圖。 FIG5 is a schematic diagram of a refresh control circuit of another embodiment of the present invention.

圖6繪示本發明圖5實施例的刷新控制電路的刷新位址資訊的產生方式的示意圖。 FIG6 is a schematic diagram showing the generation method of refresh address information of the refresh control circuit of the embodiment of FIG5 of the present invention.

請參照圖1,圖1繪示本發明一實施例的刷新控制電路的示意圖。刷新控制電路100可應於一記憶體裝置中,其中記憶體裝置可以為一動態隨機存取記憶體裝置。刷新控制電路100包括時脈信號產生器140、多個脈波數量調整器131~134以及多個位址計數器121~124。位址計數器121~124分別對應記憶體裝置的多個記憶庫111~114。時脈信號產生器140用以產生一時脈信號OSC。時脈信號OSC可用以作為刷新控制電路100執行刷新動作的時脈基礎。脈波數量調整器131~134耦接至時脈信號產生器140,並接收時脈信號產生器140所提供的時脈信號OSC。此外,脈波數量調整器131~134另分別接收資料保存度資訊DRI1~DRI4。其中,資料保存度資訊DRI1~DRI4分別指示資記憶庫111~114的資料保存度。脈波數量調整器131~134,在一時間週期中,分別根據所接收的資料保存度資訊DRI1~DRI4以針對時脈信號OSC的脈波數量進行調整,來分別產生多個調整後時脈信號POSC1~POSC4。 Please refer to FIG. 1, which shows a schematic diagram of a refresh control circuit of an embodiment of the present invention. The refresh control circuit 100 can be applied in a memory device, wherein the memory device can be a dynamic random access memory device. The refresh control circuit 100 includes a clock signal generator 140, a plurality of pulse quantity adjusters 131-134, and a plurality of address counters 121-124. The address counters 121-124 correspond to a plurality of memory banks 111-114 of the memory device, respectively. The clock signal generator 140 is used to generate a clock signal OSC. The clock signal OSC can be used as a clock basis for the refresh control circuit 100 to perform a refresh action. The pulse quantity adjusters 131-134 are coupled to the clock signal generator 140 and receive the clock signal OSC provided by the clock signal generator 140. In addition, the pulse quantity adjusters 131-134 receive data preservation information DRI1-DRI4 respectively. The data preservation information DRI1-DRI4 respectively indicates the data preservation of the data memory banks 111-114. The pulse quantity adjusters 131-134 adjust the pulse quantity of the clock signal OSC according to the received data preservation information DRI1-DRI4 in a time cycle to generate a plurality of adjusted clock signals POSC1-POSC4 respectively.

在此請注意,脈波數量調整器131~134可分別根據資料保存度資訊DRI1~DRI4來保留或調降時脈信號OSC的脈波數量,並藉以分別產生調整後時脈信號POSC1~POSC4。 Please note that the pulse quantity adjusters 131~134 can retain or reduce the pulse quantity of the clock signal OSC according to the data retention information DRI1~DRI4, and generate the adjusted clock signals POSC1~POSC4 respectively.

以脈波數量調整器131為例,當對應的記憶庫111被檢測出具有低資料保存度,並需要進行相對高頻率的刷新動作時,脈波數量調整器131可保留時脈信號OSC,在一時間週期中的所有 的脈波數量,來產生對應的調整後時脈信號POSC1。再以脈波數量調整器132為例,若對應的記憶庫112被檢測出的資料保存度高於記憶庫111的資料保存度時,表示記憶庫112需要進行的刷新動作的頻率可低於記憶庫111。因此,脈波數量調整器132可降低在上述時間週期中的脈波數量,減低記憶庫112的刷新動作的執行頻率。 Taking the pulse quantity adjuster 131 as an example, when the corresponding memory 111 is detected to have a low data retention rate and needs to be refreshed at a relatively high frequency, the pulse quantity adjuster 131 can retain all pulse quantities of the clock signal OSC in a time cycle to generate the corresponding adjusted clock signal POSC1. Taking the pulse quantity adjuster 132 as an example, if the data retention rate detected by the corresponding memory 112 is higher than the data retention rate of the memory 111, it means that the frequency of the refresh action required by the memory 112 can be lower than that of the memory 111. Therefore, the pulse quantity adjuster 132 can reduce the pulse quantity in the above time period and reduce the execution frequency of the refresh action of the memory bank 112.

值得一提的,在本實施例中,資料保存度資訊DRI1~DRI4可透過測試裝置針對記憶庫111~114分別進行測試來獲得。其中,在本實施例中,各記憶庫111~114可具有多條字元線。測試裝置可針對各記憶庫111~114上的多條字元線上的記憶胞進行資料保存度測試,並根據各記憶庫111~114上,資料保存度最差的字元線來產生對應各記憶庫111~114的各資料保存度資訊DRI1~DRI4。 It is worth mentioning that in this embodiment, the data preservation information DRI1~DRI4 can be obtained by testing the memory banks 111~114 respectively through the testing device. In this embodiment, each memory bank 111~114 can have multiple word lines. The testing device can perform data preservation tests on the memory cells on the multiple word lines on each memory bank 111~114, and generate the data preservation information DRI1~DRI4 corresponding to each memory bank 111~114 according to the word line with the worst data preservation on each memory bank 111~114.

在本實施例中,上述的測試裝置可以是記憶體裝置外部的測試機台。 In this embodiment, the above-mentioned test device can be a test machine outside the memory device.

在另一方面,位址計數器121~124分別耦接至脈波數量調整器131~134,以及分別對應的記憶庫111~114。位址計數器121~124分別接收脈波數量調整器131~134所產生的調整後時脈信號POSC1~POSC4,並分別根據調整後時脈信號POSC1~POSC4上的脈波來進行位址計數的動作。位址計數器121~124分別產生刷新位址資訊ADR1~ADR4。記憶庫111~114可分別根據刷新位址資訊ADR1~ADR4來進行各位元線的記憶胞的資料刷新動作。 On the other hand, the address counters 121-124 are respectively coupled to the pulse quantity adjusters 131-134 and the corresponding memory banks 111-114. The address counters 121-124 respectively receive the adjusted clock signals POSC1-POSC4 generated by the pulse quantity adjusters 131-134, and respectively perform address counting according to the pulses on the adjusted clock signals POSC1-POSC4. The address counters 121-124 respectively generate refresh address information ADR1-ADR4. The memory banks 111-114 can respectively perform data refresh operations on the memory cells of each bit line according to the refresh address information ADR1-ADR4.

在本實施例中,位址計數器121~124可應用本領域具通 常知識者所熟知的任意計數電路來實施,例如由多個T型正反器串接的漣波器計數器或多個D型正反器所建構的同步計數器,沒有特定的限制。此外,時脈信號產生器140同樣可應用本領域具通常知識者所熟知的任意時脈產生電路來實施,沒有特定的限制。 In this embodiment, the address counters 121-124 can be implemented by any counting circuit known to those skilled in the art, such as a ripple counter composed of multiple T-type flip-flops connected in series or a synchronous counter constructed by multiple D-type flip-flops, without any specific limitation. In addition, the clock signal generator 140 can also be implemented by any clock generation circuit known to those skilled in the art, without any specific limitation.

由上述說明可知,本發明實施例的刷新控制電路100,透過控制時脈信號OSC的脈波數,可以控制刷新位址資訊ADR1~ADR4的計數頻率。如此一來,對應具有不同資料保存度的記憶庫111~114,刷新控制電路100可透過控制刷新位址資訊ADR1~ADR4的計數頻率,來分別控制記憶庫111~114的刷新動作的頻率。如此一來,刷新控制電路100可根據各記憶庫111~114的資料保存度的高低,來調整針對各記憶庫111~114所執行的刷新動作,提升刷新動作的效能。 As can be seen from the above description, the refresh control circuit 100 of the embodiment of the present invention can control the counting frequency of the refresh address information ADR1~ADR4 by controlling the pulse number of the clock signal OSC. In this way, corresponding to the memory banks 111~114 with different data retention levels, the refresh control circuit 100 can control the refresh frequency of the memory banks 111~114 by controlling the counting frequency of the refresh address information ADR1~ADR4. In this way, the refresh control circuit 100 can adjust the refresh action performed on each memory bank 111~114 according to the data retention level of each memory bank 111~114, thereby improving the performance of the refresh action.

請參照圖2,圖2繪示本發明另一實施例的刷新控制電路的示意圖。刷新控制電路200包括時脈信號產生器240、多個閘控電路231~234、多個位址計數器221~224以及資料庫250。對應圖1的實施例,在本實施例中,脈波數量調整器131~134分別透過閘控電路231~234來實施。在細節上,位址計數器221~224分別對應記憶體裝置的多個記憶庫211~214。時脈信號產生器240用以產生時脈信號OSC以作為刷新控制電路200執行刷新動的時脈基礎。閘控電路231~234耦接至時脈信號產生器240,並接收時脈信號產生器240所提供的時脈信號OSC。 Please refer to FIG. 2 , which shows a schematic diagram of a refresh control circuit of another embodiment of the present invention. The refresh control circuit 200 includes a clock signal generator 240, a plurality of gate control circuits 231 to 234, a plurality of address counters 221 to 224, and a database 250. Corresponding to the embodiment of FIG. 1 , in this embodiment, the pulse quantity adjusters 131 to 134 are respectively implemented through the gate control circuits 231 to 234. In detail, the address counters 221 to 224 correspond to a plurality of memory banks 211 to 214 of the memory device, respectively. The clock signal generator 240 is used to generate a clock signal OSC as a clock basis for the refresh control circuit 200 to perform a refresh operation. The gate control circuits 231~234 are coupled to the clock signal generator 240 and receive the clock signal OSC provided by the clock signal generator 240.

在本實施例中,閘控電路231~234接收資料保存度資訊 DRI1~DRI4,並且,在一時間週期中,閘控電路231~234分別根據所接收的資料保存度資訊DRI1~DRI4,來決定是否遮罩時脈信號OSC上的脈波,以及所要遮罩的脈波數量,並藉以分別產生多個調整後時脈信號POSC1~POSC4。 In this embodiment, the gate control circuits 231-234 receive data retention information DRI1-DRI4, and in a time cycle, the gate control circuits 231-234 respectively determine whether to mask the pulse on the clock signal OSC and the number of pulses to be masked according to the received data retention information DRI1-DRI4, and thereby generate a plurality of adjusted clock signals POSC1-POSC4.

在本實施例中,以在一時間區間中,時脈信號OSC具有四個脈波,且資料保存度資訊DRI1~DRI4所表示的記憶庫211~214的資料保存度的高低排列,由低至高依序為DRI1、DRI2、DRI3、DRI4為例。閘控電路231可根據資料保存度資訊DRI1決定不遮罩時脈信號OSC上的脈波,並使所產生的調整後時脈信號POSC1與時脈信號OSC相同。閘控電路232可根據資料保存度資訊DRI2決定遮罩時脈信號OSC上的1個脈波,並使所產生的調整後時脈信號POSC2,在一時間區間中,具有3個脈波。閘控電路233則根據資料保存度資訊DRI3決定遮罩時脈信號OSC上的2個脈波,並使所產生的調整後時脈信號POSC3,在一時間區間中具有2個脈波。閘控電路234可根據資料保存度資訊DRI4決定遮罩時脈信號OSC上的3個脈波,並使所產生的調整後時脈信號POSC4,在一時間區間中具有1個脈波。在本實施例中,資料保存度資訊DRI1~DRI4表示的資料保存度,與對應的各閘控電路231~234所要遮罩的時脈信號OSC的脈波數量正相關。 In this embodiment, in a time interval, the clock signal OSC has four pulses, and the data retention information DRI1-DRI4 indicates that the data retention levels of the memory banks 211-214 are arranged from low to high, namely DRI1, DRI2, DRI3, and DRI4. The gate control circuit 231 can decide not to mask the pulse on the clock signal OSC according to the data retention information DRI1, and make the generated adjusted clock signal POSC1 the same as the clock signal OSC. The gate control circuit 232 can decide to mask one pulse on the clock signal OSC according to the data retention information DRI2, and make the generated adjusted clock signal POSC2 have three pulses in a time interval. The gate control circuit 233 determines the two pulses on the mask clock signal OSC according to the data preservation information DRI3, and makes the generated adjusted clock signal POSC3 have two pulses in a time interval. The gate control circuit 234 can determine the three pulses on the mask clock signal OSC according to the data preservation information DRI4, and makes the generated adjusted clock signal POSC4 have one pulse in a time interval. In this embodiment, the data preservation information DRI1~DRI4 represents the data preservation, which is positively correlated with the number of pulses of the clock signal OSC to be masked by the corresponding gate control circuits 231~234.

在另一方面,資料庫250耦接至閘控電路231~234。資料庫250用以儲存資料保存度資訊DRI1~DRI4,並分別提供資料保存度資訊DRI1~DRI4至閘控電路231~234。其中,在本實施例中, 測試裝置可針對記憶體裝置的記憶庫211~214進行關於資料保存度的測試動作,並將測試結果(資料保存度資訊DRI1~DRI4),儲存至資料庫250中。資料庫250可以是非揮發性記憶裝置,例如唯讀記憶體、快閃記憶體或電子熔絲電路。 On the other hand, the database 250 is coupled to the gate circuits 231-234. The database 250 is used to store data retention information DRI1-DRI4 and provide the data retention information DRI1-DRI4 to the gate circuits 231-234 respectively. In this embodiment, the test device can perform a test operation on the data retention of the memory libraries 211-214 of the memory device and store the test results (data retention information DRI1-DRI4) in the database 250. The database 250 can be a non-volatile memory device, such as a read-only memory, a flash memory or an electronic fuse circuit.

附帶一提的,在本實施例中,各閘控電路231~234可應用數位電路來實施。舉例來說明,閘控電路231~234可分別接收為數位碼的資料保存度資訊DRI1~DRI4,並分別根據資料保存度資訊DRI1~DRI4來決定所要遮罩的時脈信號OSC中的脈波的數量。各閘控電路231~234可決定遮罩時脈信號OSC中0個或多個脈波。並且,各調整後時脈信號POSC1~POSC4,在一時間區間中,可具有至少一個脈波。 Incidentally, in this embodiment, each gate control circuit 231-234 can be implemented by a digital circuit. For example, the gate control circuits 231-234 can receive the data preservation information DRI1-DRI4 in digital code, and determine the number of pulses in the clock signal OSC to be masked according to the data preservation information DRI1-DRI4. Each gate control circuit 231-234 can determine 0 or more pulses in the masked clock signal OSC. Moreover, each adjusted clock signal POSC1-POSC4 can have at least one pulse in a time interval.

上述的時間區間可由設計者根據實際的需求自行設定,沒有特定的限制。 The above time range can be set by the designer according to actual needs, without any specific restrictions.

以下請參照圖3,圖3繪示本發明另一實施例的刷新控制電路的示意圖。刷新控制電路300包括時脈信號產生器340、多個除頻器331~334、多個位址計數器321~324以及資料庫350。對應圖1的實施例,在本實施例中,脈波數量調整器131~134分別透除頻器331~334來實施。在本實施例中,相較於圖2的實施例,刷新控制電路300透過除頻器331~334來調整時脈信號OSC在一時間區間中的脈波數量。在細節上,除頻器331~334分別接收資料庫350所提供的資料保存度資訊DRI1~DRI4。除頻器331~334根據分別接收的資料保存度資訊DRI1~DRI4來設定除頻數,並對 時脈信號OSC執行除頻動作。其中,對應相對高的各資料保存度資訊DRI1~DRI4,各除頻器331~334可設定具有相對高的除頻數。相對的,對應相對低的各資料保存度資訊DRI1~DRI4,各除頻器331~334可設定具有相對低的除頻數。在本實施例中,除頻數可以為大於或等於1的任意實數。 Please refer to FIG. 3 below, which is a schematic diagram of a refresh control circuit of another embodiment of the present invention. The refresh control circuit 300 includes a clock signal generator 340, a plurality of frequency dividers 331-334, a plurality of address counters 321-324, and a database 350. Corresponding to the embodiment of FIG. 1, in this embodiment, the pulse quantity adjusters 131-134 are implemented through frequency dividers 331-334, respectively. In this embodiment, compared with the embodiment of FIG. 2, the refresh control circuit 300 adjusts the pulse quantity of the clock signal OSC in a time period through the frequency dividers 331-334. In detail, the frequency dividers 331-334 receive the data retention information DRI1-DRI4 provided by the database 350, respectively. The frequency dividers 331-334 set the frequency divider according to the data preservation information DRI1-DRI4 received respectively, and perform the frequency divider operation on the clock signal OSC. Among them, corresponding to the relatively high data preservation information DRI1-DRI4, each frequency divider 331-334 can be set to have a relatively high frequency divider. Conversely, corresponding to the relatively low data preservation information DRI1-DRI4, each frequency divider 331-334 can be set to have a relatively low frequency divider. In this embodiment, the frequency divider can be any real number greater than or equal to 1.

進一步來說明,當除頻數越大時,各調整後時脈信號POSC1~POSC4在一時間區間中的脈波數會越少。如此一來,可使對應的各位址計數器321~324更新所產生的刷新位址資訊被降低,並降低對應的各記憶庫311~314的刷新頻率。相對的,當除頻數越小時,各調整後時脈信號POSC1~POSC4在一時間區間中的脈波數會增多。如此一來,可使對應的各位址計數器321~324更新所產生的刷新位址資訊被提升,並提高對應的各記憶庫311~314的刷新頻率。換言之,各除頻器331~334的除頻數與對應的各資料保存度資訊DRI1~DRI4所表示的資料保存度正相關。 To further explain, when the frequency division number is larger, the number of pulses of each adjusted clock signal POSC1~POSC4 in a time interval will be smaller. In this way, the refresh address information generated by the update of the corresponding bit address counter 321~324 can be reduced, and the refresh frequency of each corresponding memory bank 311~314 can be reduced. Conversely, when the frequency division number is smaller, the number of pulses of each adjusted clock signal POSC1~POSC4 in a time interval will increase. In this way, the refresh address information generated by the update of the corresponding bit address counter 321~324 can be improved, and the refresh frequency of each corresponding memory bank 311~314 can be increased. In other words, the frequency division number of each frequency divider 331~334 is positively correlated with the data retention level represented by the corresponding data retention level information DRI1~DRI4.

值得一提的,在圖1至圖3的實施例中,記憶庫的數量可以是任意數量,圖1至圖3中繪示的4個記憶庫僅只是說明用的範例,不用以限制本發明的實施範疇。 It is worth mentioning that in the embodiments of Figures 1 to 3, the number of memory banks can be any number, and the four memory banks shown in Figures 1 to 3 are only examples for illustration and are not intended to limit the scope of implementation of the present invention.

以下請參照圖4,圖4繪示本發明實施例的資料保存度資訊的產生方式的流程圖。在步驟S410中,可針對受測的記憶庫中的多個記憶胞寫入測試資訊。這個測試資訊可以是背景圖樣(background pattern)。接著,在步驟S420中,則針對受測的記憶庫執行資料保存度的測試動作。其中,步驟S420中所執行的資料 保存度的測試動作,可應用本領域關於記憶體的任意的資料保存度的測試動作來實施,沒有特定的限制。 Please refer to FIG. 4 below, which is a flow chart of the method for generating data preservation information of an embodiment of the present invention. In step S410, test information can be written to multiple memory cells in the tested memory bank. This test information can be a background pattern. Then, in step S420, a data preservation test action is performed on the tested memory bank. Among them, the data preservation test action performed in step S420 can be implemented by applying any data preservation test action on memory in the field, without specific restrictions.

在步驟S430中,則針對受測的記憶庫中的記憶胞執行讀出資訊的動作,並透過比對寫入資訊以及讀出資訊,來判斷出測試結果為通過或是失敗。值得一提的,當步驟S430的讀出資訊與寫入資訊相符時,可進一步的增加資料保存度測試時間,並重回步驟S410以進行下一次的資料保存度測試。其中,步驟S410至步驟S430間可重複多次的執行,並可測出受測的記憶庫中的資料保存度的狀態。 In step S430, the information is read out for the memory cells in the tested memory bank, and the test result is determined to be passed or failed by comparing the written information and the read information. It is worth mentioning that when the read information in step S430 matches the written information, the data preservation test time can be further increased, and step S410 is returned to perform the next data preservation test. Among them, steps S410 to S430 can be repeated multiple times, and the state of the data preservation in the tested memory bank can be tested.

根據上述的測試結果,步驟S440中,可進行受測的記憶庫的資料保存度進行評等的動作,並藉以產生資料保存度資訊。在步驟S450中,則可記錄對應的各記憶庫的資料保存度資訊。並重回步驟S410以執行下一個記憶庫的資料保存度測試動作。 According to the above test results, in step S440, the data preservation of the tested memory can be rated and data preservation information can be generated. In step S450, the data preservation information of each corresponding memory can be recorded. And return to step S410 to perform the data preservation test action of the next memory.

上述的動作流程可由測試裝置來執行,測試裝置可以是記憶體裝置外部的測試機台。 The above-mentioned action flow can be executed by a test device, and the test device can be a test machine outside the memory device.

請參照圖5,圖5繪示本發明另一實施例的刷新控制電路的示意圖。刷新控制電路500包括時脈信號產生器560、位址計數器550、多工器541、542、資訊轉變偵測器531、532、開關521、522以及電子熔絲電路570。時脈信號產生器560用以產生時脈信號OSC。位址計數器550耦接至時脈信號產生器560,用以根據時脈信號OSC來進行計數動作,並藉以產生具有N個位元的計數資訊ADD,其中N為大於2的整數。多工器541、542耦接至位 址計數器550,共同接收計數資訊ADD。並且,多工器541、542耦接至電子熔絲電路570,並分別接收電子熔絲電路570所提供的資料保存度資訊DRI1、DRI2。 Please refer to FIG5, which shows a schematic diagram of a refresh control circuit of another embodiment of the present invention. The refresh control circuit 500 includes a clock signal generator 560, an address counter 550, multiplexers 541, 542, information transition detectors 531, 532, switches 521, 522, and an electronic fuse circuit 570. The clock signal generator 560 is used to generate a clock signal OSC. The address counter 550 is coupled to the clock signal generator 560 to perform a counting operation according to the clock signal OSC, and thereby generate count information ADD having N bits, wherein N is an integer greater than 2. The multiplexers 541, 542 are coupled to the address counter 550 and receive the count information ADD together. Furthermore, multiplexers 541 and 542 are coupled to the electronic fuse circuit 570 and receive data retention information DRI1 and DRI2 provided by the electronic fuse circuit 570, respectively.

在本實施例中,多工器541、542可分別根據資料保存度資訊DRI1、DRI2來選擇N個位元的計數資訊ADD中的M個位元,以分別產生刷新位址資訊ADR1以及ADR2。 In this embodiment, multiplexers 541 and 542 can select M bits of N-bit count information ADD according to data retention information DRI1 and DRI2, respectively, to generate refresh address information ADR1 and ADR2, respectively.

進一步來說明,可同步參照圖6繪示的本發明圖5實施例的刷新控制電路的刷新位址資訊的產生方式的示意圖。在圖5的實施例中,位址計數器550可在多個計數循環PL(0~15)中分別產生具有5個位元A0~A4的計數資訊ADD。其中位元A0可以為計數資訊ADD的最低有效位元(least significant bit),位元A4則可以為計數資訊ADD的最高有效位元(most significant bit)。在記憶庫511具有相對低的資料保存度時,多工器541可以根據對應的資料保存度資訊DRI1,以選擇相對低位的三個位元(位元A0~A2)來產生刷新位址資訊ADR1。而在記憶庫512具有相對高的資料保存度時,多工器542可以根據對應的資料保存度資訊DRI2,以選擇相對高位的三個位元(位元A2~A4)來產生刷新位址資訊ADR2。 To further illustrate, a schematic diagram of the generation method of refresh address information of the refresh control circuit of the embodiment of FIG. 5 of the present invention can be synchronously referred to in FIG. 6. In the embodiment of FIG. 5, the address counter 550 can generate count information ADD having 5 bits A0~A4 in multiple count cycles PL (0~15). Bit A0 can be the least significant bit of the count information ADD, and bit A4 can be the most significant bit of the count information ADD. When the memory bank 511 has a relatively low data retention rate, the multiplexer 541 can select the relatively low three bits (bits A0~A2) to generate the refresh address information ADR1 according to the corresponding data retention rate information DRI1. When the memory bank 512 has a relatively high data retention rate, the multiplexer 542 can select the relatively high three bits (bits A2~A4) to generate the refresh address information ADR2 according to the corresponding data retention rate information DRI2.

由圖6可以得知,刷新位址資訊ADR1的變動速率可高於刷新位址資訊ADR2的變動速率。如此一來,可設定具有相對低的資料保存度的記憶庫511以執行相對高頻率的刷新動作,並可設定具有相對高的資料保存度的記憶庫512以執行相對低頻率 的刷新動作。 As shown in FIG. 6 , the change rate of the refresh address information ADR1 can be higher than the change rate of the refresh address information ADR2. In this way, the memory bank 511 with a relatively low data retention rate can be set to perform a relatively high-frequency refresh action, and the memory bank 512 with a relatively high data retention rate can be set to perform a relatively low-frequency refresh action.

請重新參照圖5,在另一方面,資訊轉變偵測器531、532分別耦接至多工器541、542。資訊轉變偵測器531、532分別接收多工器541、542所提供的刷新位址資訊ADR1及ADR2。資訊轉變偵測器531、532分別用以偵測刷新位址資訊ADR1及ADR2的轉變狀態來產生控制信號C1以及C2。資訊轉變偵測器531、532並分別傳送所產生的控制信號C1以及C2至開關521及522。開關521耦接在多工器541以及記憶庫511間,開關522則耦接在多工器542以及記憶庫512間。開關521、522分別接收控制信號C1以及C2,並分別根據控制信號C1以及C2以被斷開或被導通。 Please refer to Figure 5 again. On the other hand, the information transition detectors 531 and 532 are coupled to the multiplexers 541 and 542 respectively. The information transition detectors 531 and 532 receive the refresh address information ADR1 and ADR2 provided by the multiplexers 541 and 542 respectively. The information transition detectors 531 and 532 are used to detect the transition status of the refresh address information ADR1 and ADR2 to generate control signals C1 and C2 respectively. The information transition detectors 531 and 532 transmit the generated control signals C1 and C2 to switches 521 and 522 respectively. The switch 521 is coupled between the multiplexer 541 and the memory bank 511, and the switch 522 is coupled between the multiplexer 542 and the memory bank 512. Switches 521 and 522 receive control signals C1 and C2 respectively, and are disconnected or turned on according to the control signals C1 and C2 respectively.

在細節上,以資訊轉變偵測器531為例,當資訊轉變偵測器531偵測到刷新位址資訊ADR1沒有發生轉變,資訊轉變偵測器531可提供控制信號C1以使開關521被斷開。相對的,當資訊轉變偵測器531偵測到刷新位址資訊ADR1有發生轉變,資訊轉變偵測器531則可提供控制信號C1以使開關521被導通。 In detail, taking the information transition detector 531 as an example, when the information transition detector 531 detects that the refresh address information ADR1 has not changed, the information transition detector 531 can provide a control signal C1 to disconnect the switch 521. Conversely, when the information transition detector 531 detects that the refresh address information ADR1 has changed, the information transition detector 531 can provide a control signal C1 to turn on the switch 521.

也就是說,僅在當刷新位址資訊ADR1發生轉變時,開關521可被導通並傳送新的刷新位址資訊ADR1至記憶庫511。如此一來,記憶庫511可針對新生成的刷新位址資訊ADR1來執行刷新動作。 That is, only when the refresh address information ADR1 changes, the switch 521 can be turned on and transmit the new refresh address information ADR1 to the memory bank 511. In this way, the memory bank 511 can perform a refresh operation for the newly generated refresh address information ADR1.

在本實施例中,資訊轉變偵測器531、532可透過偵測刷新位址資訊ADR1、ADR2中的每一個位元的邏輯值有無發生轉態,來進行資訊轉變的偵測動作。資訊轉變偵測器531、532可應用本 領域具通常知識者所熟知的邏輯值轉態緣的偵測電路來實施,沒有一定的限制。此外,開關521、522可應用本領域具通常知識者所熟知的開關電路來實施,多工器541、542可應用本領域具通常知識者所熟知的多工器電路來實施,沒有特別的限制。 In this embodiment, the information transition detectors 531 and 532 can detect whether the logic value of each bit in the refresh address information ADR1 and ADR2 has changed. The information transition detectors 531 and 532 can be implemented by using a detection circuit for a logic value change edge known to a person skilled in the art, without any particular restrictions. In addition, the switches 521 and 522 can be implemented by using a switch circuit known to a person skilled in the art, and the multiplexers 541 and 542 can be implemented by using a multiplexer circuit known to a person skilled in the art, without any particular restrictions.

值得一提的,在圖5的實施例中,記憶庫的數量可以是任意數量,圖中繪示的2個記憶庫僅只是說明用的範例,不用以限制本發明的實施範疇。 It is worth mentioning that in the embodiment of FIG. 5 , the number of memory banks can be any number, and the two memory banks shown in the figure are only examples for illustration and are not intended to limit the scope of implementation of the present invention.

綜上所述,本發明的刷新控制電路透過根據記憶庫的資料保存度,來調整用以計數刷新位址的時脈信號的脈波數,並藉以控制記憶庫的刷新動作的執行頻率。如此一來,具有不同資料保存度的記憶庫,可對應不同的頻率來執行刷新動作。有效減低記憶體裝置中,不必要的刷新動作的次數,提升記憶體裝置的刷新動作的效能。 In summary, the refresh control circuit of the present invention adjusts the pulse number of the clock signal used to count the refresh address according to the data retention of the memory bank, and thereby controls the execution frequency of the refresh action of the memory bank. In this way, memory banks with different data retention can perform refresh actions at different frequencies. This effectively reduces the number of unnecessary refresh actions in the memory device and improves the performance of the refresh action of the memory device.

100:刷新控制電路 100: Refresh control circuit

111~114:記憶庫 111~114: Memory Bank

121~124:位址計數器 121~124: Address counter

131~134:脈波數量調整器 131~134: Pulse quantity adjuster

140:時脈信號產生器 140: Clock signal generator

ADR1~ADR4:刷新位址資訊 ADR1~ADR4: Refresh address information

DRI1~DRI4:資料保存度資訊 DRI1~DRI4: Data retention information

OSC:時脈信號 OSC: clock signal

POSC1~POSC4:調整後時脈信號 POSC1~POSC4: adjusted clock signal

Claims (5)

一種刷新控制電路,適用於一記憶體裝置,包括:一時脈信號產生器,產生一時脈信號;多個脈波數量調整器,耦接該時脈信號產生器,接收該時脈信號,該些脈波數量調整器,在一時間週期中,根據多個資料保存度資訊以針對該時脈信號的脈波數量進行調整來分別產生多個調整後時脈信號;以及多個位址計數器,分別耦接該些脈波數量調整器,根據該些調整後時脈信號來產生多個刷新位址資訊,該些刷新位址資訊對應該記憶體裝置的多個記憶庫,該些記憶庫分別根據該些刷新位址資訊來進行刷新動作,其中各該脈波數量調整器包括:一閘控電路,根據對應的各該資料保存度資訊來決定,在該時間週期中,所要遮罩的該時脈信號的N個脈波數量,以產生對應的各該處理後時脈信號,其中N為大於或等於0的整數。 A refresh control circuit is applicable to a memory device, comprising: a clock signal generator, generating a clock signal; a plurality of pulse quantity adjusters, coupled to the clock signal generator, receiving the clock signal, wherein the pulse quantity adjusters adjust the pulse quantity of the clock signal according to a plurality of data retention information in a time cycle to generate a plurality of adjusted clock signals respectively; and a plurality of address counters, respectively coupled to the pulse quantity adjusters, adjusting the pulse quantity of the clock signal according to the adjusted clock signal. The post-processing clock signal is used to generate multiple refresh address information, and the refresh address information corresponds to multiple memory banks of the memory device. The memory banks are refreshed according to the refresh address information, wherein each pulse quantity adjuster includes: a gate control circuit, which determines the number of N pulses of the clock signal to be masked in the time period according to the corresponding data retention information to generate the corresponding processed clock signal, wherein N is an integer greater than or equal to 0. 如請求項1所述的刷新控制電路,更包括:一資料庫,耦接該些多個脈波數量調整器,用以保存該些資料保存度資訊。 The refresh control circuit as described in claim 1 further includes: a database coupled to the plurality of pulse quantity adjusters for storing the data retention information. 如請求項2所述的刷新控制電路,其中一測試裝置針對該記憶體裝置的該些記憶庫進行測試,並獲得分別對應該些記憶庫的該些資料保存度資訊,該測試裝置並將該些資料保存度資訊儲存至該資料庫中。 In the refresh control circuit as described in claim 2, a test device tests the memory banks of the memory device and obtains the data retention information corresponding to the memory banks respectively, and the test device stores the data retention information in the database. 如請求項2所述的刷新控制電路,其中該資料庫為唯讀記憶體、快閃記憶體或電子熔絲電路。 A refresh control circuit as described in claim 2, wherein the database is a read-only memory, a flash memory or an electronic fuse circuit. 如請求項1所述的刷新控制電路,其中各該資料保存度資訊表示的資料保存度,與對應的各該閘控電路所要遮罩的該時脈信號的該些脈波數量正相關。 A refresh control circuit as described in claim 1, wherein the data retention level represented by each data retention level information is positively correlated with the number of pulses of the clock signal to be masked by each corresponding gate control circuit.
TW113131827A 2023-08-21 2023-08-21 Refresh control circuit TWI888260B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113131827A TWI888260B (en) 2023-08-21 2023-08-21 Refresh control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113131827A TWI888260B (en) 2023-08-21 2023-08-21 Refresh control circuit

Publications (2)

Publication Number Publication Date
TW202509926A TW202509926A (en) 2025-03-01
TWI888260B true TWI888260B (en) 2025-06-21

Family

ID=95828732

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113131827A TWI888260B (en) 2023-08-21 2023-08-21 Refresh control circuit

Country Status (1)

Country Link
TW (1) TWI888260B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110364201A (en) * 2018-04-09 2019-10-22 爱思开海力士有限公司 Memory device and method of controlling automatic refresh operation of memory device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110364201A (en) * 2018-04-09 2019-10-22 爱思开海力士有限公司 Memory device and method of controlling automatic refresh operation of memory device

Also Published As

Publication number Publication date
TW202509926A (en) 2025-03-01

Similar Documents

Publication Publication Date Title
KR102133380B1 (en) Semiconductor memory device and operating method for the same
US20090033392A1 (en) Delay locked loop with improved jitter and clock delay compenstating method thereof
KR20150105054A (en) Semiconductor memory device
US7889581B2 (en) Digital DLL circuit
CN112992254B (en) Refresh test circuit and method
US8000157B2 (en) RAM macro and timing generating circuit thereof
US20140089752A1 (en) Method, system and apparatus for evaluation of input/output buffer circuitry
US20230395119A1 (en) Refresh address counting circuit and method, refresh address read-write circuit and electronic device
KR100594278B1 (en) Circuit and method for detecting frequency of clock signal and latency signal generating circuit of semiconductor memory device having same
US8754656B2 (en) High speed test circuit and method
US7757134B2 (en) Test apparatus for testing a memory and electronic device housing a circuit
WO2022055881A1 (en) Variable clock divider
US7379383B2 (en) Methods of DDR receiver read re-synchronization
KR19980033265A (en) Method and device for optimizing semiconductor device using on-chip identification
US20100142301A1 (en) Semiconductor memory device and self refresh test method
TWI888260B (en) Refresh control circuit
TWI877732B (en) Refresh control circuit
US11869570B2 (en) Refresh counter circuit, refresh counting method and semiconductor memory
JP2000132265A (en) Microprocessor capable of changing clock and operating
US20230385169A1 (en) Method and apparatus for testing command, test platform, and readable storage medium
CN119541588A (en) Memory sensing circuit based on unconventional counter and/or multiple reference voltages
EP4047473A1 (en) Random number generator and random number generating method
US20250191638A1 (en) Semiconductor device having dqs counter circuit
CN120412699B (en) Storage device testing method and device, readable storage medium and electronic device
US20250191639A1 (en) Semiconductor device having gear down mode