A refresh control circuit and method thereof, memory

By introducing a refresh control circuit into the memory, distinguishing between regular and hammer refresh, and only selecting the data block containing the affected row for refresh, the problem of irrelevant word lines being refreshed is solved, thereby reducing current and power consumption and improving memory performance.

CN117316224BActive Publication Date: 2026-11-27CHANGXIN MEMORY TECH INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210724803.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2026-11-27
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

Existing technology requires refreshing the affected line when a line hammering is detected, which causes irrelevant word lines to be refreshed as well, resulting in wasted resources and reduced performance.

Method used

A refresh control circuit is provided, which distinguishes between regular refresh and hammer refresh by combining a block decoding module and a line decoding module, and only selects the data block containing the affected line for refresh, thereby reducing the number of irrelevant word lines refreshed.

Benefits of technology

This reduces refresh current and power consumption during hammer refresh operations, thus improving memory performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117316224B_ABST
    Figure CN117316224B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a refresh control circuit and a method thereof, and a memory. The refresh control circuit comprises: an address output module configured to output a to-be-refreshed address signal, the to-be-refreshed address signal comprising a block address signal and a row address signal; a block decoding module configured to receive the block address signal, decode the block address signal to output a first block selection signal in a case where a memory array is not subjected to row hammering, or decode the block address signal to output a second block selection signal in a case where the memory array is subjected to row hammering, the first block selection signal being used to select a plurality of data blocks in the memory array, and the second block selection signal being used to select one data block in the memory array; and a row decoding module configured to receive the row address signal, decode the row address signal, and output a row selection signal. In this way, the number of refreshes of irrelevant word lines is reduced in the hammer refresh operation, and refresh current power consumption is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of semiconductor memory technology, and in particular to a refresh control circuit and method thereof, and a memory. Background Technology

[0002] Row hammering is a data attack method targeting dynamic random access memory (DRAM). It involves frequently refreshing a single word line (the hammered line) within a short period, causing data loss in adjacent word lines (the victim lines). Currently, when a row hammering attack is detected, a refresh operation is performed on the victim line to recover the affected data; this is also known as a hammer refresh operation. However, hammer refresh operations rely on the regular refresh process, leading to some unrelated word lines being refreshed during the hammer refresh, wasting resources and reducing memory performance. Summary of the Invention

[0003] This disclosure provides a refresh control circuit and method, and a memory, which can reduce the number of irrelevant word lines refreshed during hammer refresh operations, and reduce refresh current and power consumption.

[0004] The technical solution disclosed herein is implemented as follows:

[0005] In a first aspect, embodiments of this disclosure provide a refresh control circuit, the refresh control circuit being connected to a memory array, the refresh control circuit comprising:

[0006] The address output module is configured to output a signal to be refreshed, and the signal to be refreshed includes a block address signal and a row address signal.

[0007] A block decoding module is configured to receive the block address signal, and, when the storage array is not subjected to row hammering, decode the block address signal and output a first block selection signal; or, when the storage array is subjected to row hammering, decode the block address signal and output a second block selection signal; wherein the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array;

[0008] The row decoding module is configured to receive the row address signal, decode the row address signal, and output a row selection signal, wherein the row selection signal is used to select a target refresh word line in the selected data block.

[0009] In some embodiments, the block decoding module includes: a preprocessing module configured to receive a first row hammer signal, a refresh indication signal, and the block address signal; if the first row hammer signal is invalid, perform a first preprocessing on the block address signal based on the refresh indication signal to obtain a block preselection signal; or, if the first row hammer signal is valid, perform a second preprocessing on the block address signal to obtain the block preselection signal; and a decoding processing module configured to receive the block preselection signal and perform decoding processing on the block preselection signal to obtain a first block selection signal or a second block selection signal; wherein, if the storage array is not subjected to a row hammer, the first row hammer signal is invalid; and if the storage array is subjected to a row hammer, the first row hammer signal is valid.

[0010] In some embodiments, the block address signal includes a first type of signal and a second type of signal, and the block preselection signal includes a first signal pair and a second signal pair; the preprocessing module includes: a first processing module configured to receive the first type of signal, perform logical processing on the first type of signal, and output the first signal pair; wherein, the first signal pair includes the first type of signal and its inverted signal, and the level states of the first type of signal and its inverted signal are opposite; a second processing module configured to receive the first row hammer signal, the refresh indicator signal, and the second type of signal, and perform the first preprocessing or the second preprocessing on the second type of signal based on the first row hammer signal and the refresh indicator signal, and output the second signal pair; wherein, the second signal pair includes the second type of signal and its inverted signal; when the first row hammer signal is valid, the level states of the second type of signal and its inverted signal are opposite; when the first row hammer signal is invalid and the refresh indicator signal is valid, the level states of the second type of signal and its inverted signal are both set to a high level.

[0011] In some embodiments, the first processing module includes a first NOT gate, the input of which receives the first type of signal, and the output of which outputs the inverted signal of the first type of signal.

[0012] In some embodiments, the second processing module includes: an enable module configured to receive a first row hammer signal and the refresh indication signal, and output an operation control signal; wherein, when the first row hammer signal is invalid and the refresh indication signal is valid, the operation control signal is valid; when the first row hammer signal is valid, the operation control signal is invalid; and a logic module configured to receive the operation control signal and a second type of signal; when the operation control signal is valid, perform the first preprocessing on the second type of signal and output the second signal pair; when the operation control signal is invalid, perform the second preprocessing on the second type of signal and output the second signal pair.

[0013] In some embodiments, the enabling module includes a second NOT gate, a first NAND gate, and a third NOT gate; wherein the input of the second NOT gate receives the first row hammer signal, the first input of the first NAND gate is connected to the output of the second NOT gate, the second input of the first NAND gate receives the refresh indication signal, the output of the first NAND gate is connected to the input of the third NOT gate, and the output of the third NOT gate is used to output the operation control signal.

[0014] In some embodiments, the logic module includes a fourth NOT gate, a second NAND gate, a fifth NOT gate, and a third NAND gate; wherein, the fourth NOT gate receives the operation control signal, the first input terminal of the second NAND gate is connected to the output terminal of the fourth NOT gate, the second input terminal of the second NAND gate receives the second type of signal, and the output terminal of the second NAND gate is used to output the inverted signal of the second type of signal; the input terminal of the fifth NOT gate receives the second type of signal, the first input terminal of the third NAND gate is connected to the output terminal of the fourth NOT gate, the second input terminal of the third NAND gate is connected to the output terminal of the fifth NOT gate, and the output terminal of the third NAND gate is used to output a new second type of signal.

[0015] In some embodiments, both the first block selection signal and the second block selection signal include a plurality of block selection sub-signals; in the first block selection signal, a plurality of the block selection sub-signals are in a valid state, and the remaining block selection sub-signals are in an invalid state, so as to select a plurality of data blocks in the storage array; in the second block selection signal, one of the block selection sub-signals is in a valid state, and the remaining block selection sub-signals are in an invalid state, so as to select one data block in the storage array.

[0016] In some embodiments, the decoding processing module includes multiple decoding sub-modules; each decoding sub-module is configured to receive a portion of the block preselection signal, perform logical operations on the received signal, and output one of the block selection sub-signals; different decoding sub-modules receive different signals; wherein, when the result of the logical operation is a preset value, the block selection sub-signal output by the decoding sub-module is in a valid state.

[0017] In some embodiments, the address output module is specifically configured to receive a regular refresh address signal and an activation address signal; when the storage array is not subjected to row hammering, output the regular refresh address signal as the address signal to be refreshed; or, when the storage array is subjected to row hammering, output the address signal to be refreshed based on the activation address signal.

[0018] In some embodiments, the address output module includes: a control module configured to receive the activation address signal, the second row hammer signal, and a first control signal; when the second row hammer signal is valid, to perform calculation processing on the activation address signal based on the first control signal and output a victim address signal; and a selection module configured to receive the normal refresh address signal, the victim address signal, and a second control signal; when the second control signal is in a first state, to output the normal refresh address signal as the address signal to be refreshed; or, when the second control signal is in a second state, to output the victim address signal as the address signal to be refreshed; wherein the second row hammer signal represents that the storage array has been subjected to a row hammer attack.

[0019] In some embodiments, the control module includes a latch and a calculation module; wherein, the input terminal of the latch receives the activation address signal, the clock terminal of the latch receives the second row hammer signal, the output terminal of the latch is connected to the input terminal of the calculation module, and the control terminal of the calculation module receives the first control signal; the first input terminal of the selection module receives the normal refresh address signal, the second input terminal of the selection module is connected to the output terminal of the calculation module, the control terminal of the selection module is connected to the second control signal, and the output terminal of the selection module is used to output the address signal to be refreshed.

[0020] Secondly, embodiments of this disclosure provide a refresh method applied to a refresh control circuit, wherein the refresh control circuit is connected to a memory array, the method comprising:

[0021] Determine the address signal to be refreshed, wherein the address signal to be refreshed includes a block address signal and a row address signal;

[0022] When the storage array is not subjected to row hammering, the block address signal is decoded to obtain a first block selection signal; when the storage array is subjected to row hammering, the block address signal is decoded to obtain a second block selection signal; wherein, the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array.

[0023] The row address signal is decoded to obtain a row selection signal, and the row selection signal is used to select a target refresh word line in the selected data block;

[0024] The target refresh word line is refreshed.

[0025] Thirdly, embodiments of this disclosure provide a memory, the memory including a refresh control circuit and a memory array as described in the first aspect, wherein the refresh control circuit is connected to the memory array.

[0026] This disclosure provides a refresh control circuit and method, as well as a memory. By reducing the number of irrelevant word lines refreshed during hammer refresh operations, the refresh current and refresh power consumption can be reduced, thereby improving the performance of the memory. Attached Figure Description

[0027] Figure 1 This is a schematic diagram of a storage array structure;

[0028] Figure 2 This is a schematic diagram of a refresh control circuit provided in an embodiment of the present disclosure;

[0029] Figure 3 This is a schematic diagram of the structure of a block decoding module provided in an embodiment of the present disclosure;

[0030] Figure 4 This is a schematic diagram of the structure of the first processing module provided in an embodiment of the present disclosure;

[0031] Figure 5 This is a schematic diagram of the structure of the second processing module provided in an embodiment of the present disclosure;

[0032] Figure 6 This is a schematic diagram of the structure of the decoding processing module provided in an embodiment of the present disclosure;

[0033] Figure 7 This is a schematic diagram of another refresh control circuit provided in an embodiment of the present disclosure;

[0034] Figure 8 A schematic diagram of the structure of the second processing module provided for related technologies;

[0035] Figure 9A flowchart illustrating a refresh control method provided in an embodiment of this disclosure;

[0036] Figure 10 This is a schematic diagram of the structure of a memory provided in an embodiment of the present disclosure. Detailed Implementation

[0037] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. It is understood that the specific embodiments described herein are merely for explaining the relevant applications and not for limiting the applications. It should also be noted that, for ease of description, only the parts related to the relevant applications are shown in the accompanying drawings. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. The terminology used herein is for the purpose of describing embodiments of this disclosure only and is not intended to limit this disclosure. In the following description, references to "some embodiments" describe a subset of all possible embodiments; however, it is understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict. It should be noted that the terms "first, second, third" involved in the embodiments of this disclosure are only used to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of this disclosure described herein can be implemented in an order other than that illustrated or described herein.

[0038] Dynamic Random Access Memory (DRAM) requires refresh operations to maintain data in its memory cells. In a typical refresh operation, each refresh operation opens multiple data blocks in the memory array and then selects word lines within those open data blocks for refresh processing. See also... Figure 1 It shows a schematic diagram of a storage array structure. For example... Figure 1As shown, the memory array is divided into: data block 0, data block 1... data block 7. The address signals in the refresh operation can be represented as RA<15:0>; where RA<15:13> is the block address signal, used to select the data block to be opened; RA<12:0> is the row address signal, used to select the target refresh word line in the opened data block. In a normal refresh operation, RA14, RA14B, RA15, and RA15B are all set to (Force) high level, where "B" represents an inverted signal. Since "RA14=0" is represented as "RA14=1" in the circuit decoding, RA14=1, RA14=0, RA15=1, and RA15=0 can all be considered valid. Taking RA<15:13> = 000 as an example, since data blocks 0, 2, 4, and 6 all use Ra13B as the block preselection signal, and Ra14 and Ra15 and their inverted signals are forced to 1, data blocks are actually selected only based on Ra13. Furthermore, since even-level data blocks (blocks 0, 2, 4, and 6) use Ra13B, even-level data blocks are selected when Ra13 = 0. In other words, in a regular refresh operation, the corresponding word line (decoded by RA<12:0>) is selected from the four data blocks for each refresh. Specifically, in storage arrays with different storage capacities, the number of data blocks and the decoding process may differ, resulting in different numbers of selected data blocks. Figure 1 This is just an example.

[0039] However, when a row hammer attack is detected, the affected row (Victim WL) needs to be refreshed to recover the affected data, and this hammer attack refresh requires the assistance of a regular refresh process. Figure 1 For example, suppose the word line in the victim behavior data block 0 is selected. However, due to the aforementioned decoding mechanism, data blocks 0, 2, 4 and 6 will still be selected. This will cause some irrelevant word lines to be refreshed during the hammer refresh process, resulting in wasted resources and reduced memory performance.

[0040] This disclosure provides a refresh control circuit that reduces refresh current and refresh power consumption by decreasing the number of irrelevant word lines refreshed during hammer refresh operations, thereby improving memory performance.

[0041] The embodiments of this disclosure will now be described in detail with reference to the accompanying drawings.

[0042] In one embodiment of this disclosure, see Figure 2 The diagram illustrates a schematic of a refresh control circuit 10 provided in an embodiment of this disclosure. This refresh control circuit 10 is connected to a memory array, as shown below. Figure 2 As shown, the refresh control circuit 10 may include:

[0043] Address output module 11 is configured to output a signal to be refreshed, and the signal to be refreshed includes a block address signal and a row address signal;

[0044] The block decoding module 121 is configured to receive the block address signal, decode the block address signal and output a first block selection signal when the storage array is not subjected to row hammering; or, decode the block address signal and output a second block selection signal when the storage array is subjected to row hammering; wherein the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array.

[0045] The row decoding module 122 is configured to receive the row address signal, decode the row address signal, and output the row selection signal. The row selection signal is used to select the target refresh word line in the selected data block.

[0046] It should be noted that the refresh control circuit 10 in this embodiment is applied to a dynamic memory to solve the problem of high refresh power consumption in hammer refresh operation.

[0047] Here, the address output module 11 is used to output the address signal to be refreshed, and the address signal to be refreshed is used to indicate the word line address that needs to be refreshed. The block decoding module 121 and the row decoding module 122 together constitute the pre-decoding module 12, which is used to perform preliminary decoding on the address signal to be refreshed to obtain the row selection signal and the block selection signal. After subsequent processing, the row decoding signal and the block decoding signal are used to enable the target refresh word line.

[0048] In this embodiment, the block selection signal has two types: a first block selection signal and a second block selection signal. In a normal refresh operation (i.e., when the memory array is not subjected to row hammering), the block selection signal is a first block selection signal capable of selecting multiple data blocks, thereby selecting the corresponding word line among the multiple data blocks for refresh. In a hammering refresh operation (i.e., when the memory array is subjected to row hammering), the block selection signal is a second block selection signal that selects only one data block, thereby selecting the corresponding word line in only one data block for refresh. This reduces the number of irrelevant word lines refreshed, lowers the current and power consumption during the hammering refresh process, and improves memory performance.

[0049] It should be noted that the actual meaning of the block address represented by the block address signal can be adjusted according to the actual situation. Specifically, when the selected object is a bank or half a bank, the block address signal represents the section obtained by dividing the bank in the bit line direction, such as... Figure 1As shown, the address decoding module has two regions, each a half-bank, which together constitute a complete memory bank. Each half-bank can be divided into 8 data blocks. During a regular refresh, multiple word lines of a portion of a section within the same half-bank are refreshed simultaneously, with each section typically having at most one word line. When the selected object is the entire chip, the actual meaning of the block address signal may be the memory bank address. In this case, during a regular refresh, multiple word lines of a portion of a bank within the same chip are refreshed simultaneously, with each bank typically having at most one word line. Furthermore, when the selected object is the entire chip, the actual meaning of the block address signal may include both the memory bank address and the section address. In this case, during a regular refresh, multiple word lines of multiple sections of a portion of a bank within the same chip are refreshed simultaneously, meaning that multiple word lines in any selected bank are refreshed at the same time. In summary, the level represented by the block address signal can be adjusted according to actual needs and subsequent changes in capacity and specifications. This article only provides an illustrative example.

[0050] It should be noted that the specific number of data blocks selected by the first selection signal can be determined based on the actual application scenario. Figure 1 The illustrated memory array serves as an example. The first block select signal selects four data blocks at a time, but this does not constitute a limitation.

[0051] In some embodiments, such as Figure 3 As shown, the block decoding module 121 includes:

[0052] The preprocessing module 21 is configured to receive a first row hammer signal, a refresh indication signal, and a block address signal; if the first row hammer signal is invalid, it performs a first preprocessing on the block address signal based on the refresh indication signal to obtain a block preselection signal; or, if the first row hammer signal is valid, it performs a second preprocessing on the block address signal to obtain a block preselection signal.

[0053] The decoding processing module 22 is configured to receive the block preselection signal, decode the block preselection signal, and obtain either the first block selection signal or the second block selection signal.

[0054] It should be noted that the first row hammer signal is invalid if the storage array is not subjected to a row hammer attack; the first row hammer signal is valid if the storage array is subjected to a row hammer attack. Additionally, the refresh indicator signal is used to indicate the execution of a refresh operation.

[0055] In this way, the first row of hammer signals can be used to distinguish whether the current refresh operation is a regular refresh operation or a hammer refresh operation. By adopting the corresponding preprocessing method, the first block selection signal or the second block selection signal can be obtained by subsequent decoding. Without affecting the regular refresh operation, the number of irrelevant word lines refreshed in the hammer refresh operation can be reduced, and the refresh current and power consumption in the hammer refresh operation can be reduced.

[0056] In some embodiments, the block address signal includes a first type of signal and a second type of signal, which together constitute the block address signal. The block preselection signal includes a first signal pair and a second signal pair. For example... Figure 3 As shown, the preprocessing module 21 includes:

[0057] The first processing module 211 is configured to receive a first type of signal, perform logical processing on the first type of signal, and output a first signal pair; wherein, the first signal pair includes a first type of signal and an inverted signal of the first type of signal, and the level states of the first type of signal and the inverted signal of the first type of signal are opposite.

[0058] The second processing module 212 is configured to receive a first row hammer signal, a refresh indicator signal, and a second type of signal; based on the first row hammer signal and the refresh indicator signal, perform a first preprocessing or a second preprocessing on the second type of signal, and output a second signal pair; wherein the second signal pair includes the second type of signal and the inverted signal of the second type of signal; when the first row hammer signal is valid, the level states of the second type of signal and the inverted signal of the second type of signal are opposite; when the first row hammer signal is invalid and the refresh indicator signal is valid, the level signals of the second type of signal and the inverted signal of the second type of signal are both set to a high level.

[0059] The following is a specific example illustrating the decoding process of the address signal to be refreshed. In this example, the address signal to be refreshed consists of 16 sub-signals, which can be represented as RA<15:0>, where RA<15:13> is the block address signal used to select data blocks; and RA<12:0> is the row address signal used to select word lines.

[0060] Please refer to Figure 1 The first type of signal refers to RA <13> The signal is processed into a first signal pair (RA13 / RA13B) by the first processing module 211. At this time, RA13 and RA <13> The voltage levels are the same, RA13B and RA <13> The level states are opposite.

[0061] The second type of signal refers to RA. <14> and RA <15> The signal is processed into a second signal pair (RA14 / RA14B, RA15 / RA15B) by the second processing module 212. During the hammer refresh operation, RA14 and RA15B... <14> The voltage levels are the same for RA14B and RA. <14> The level states are opposite, RA15 and RA <15> The voltage levels are the same for RA15B and RA. <15> The level states are reversed; in a normal refresh operation, RA14, RA14B, RA15, and RA15B are all set to a high level to indicate selection. It is understood that in other embodiments, RA14, RA14B, RA15, and RA15B may also be set to other level states indicating selection.

[0062] In particular, RA13, RA13B, RA14, RA14B, RA15, and RA15B are all time-synchronized to facilitate subsequent decoding.

[0063] It should be understood that the first type of signal RA <13> The signal RA13 of the first type has the same meaning in the circuit, so no additional name is introduced; it is only distinguished by its symbol. <14> and RA14, RA <15> Similar to RA15. Furthermore, in memories with different storage capacities, the number of data blocks and the partitioning rules in the storage array may differ, requiring different numbers of data blocks to be enabled. In such cases, the data bits of the first and second type signals need to be adjusted accordingly. The embodiments disclosed herein are merely examples and do not constitute specific limitations.

[0064] In some embodiments, such as Figure 4 As shown, the first processing module 211 includes a first NOT gate, the input of which receives a first type of signal RA. <13> The output of the first NOT gate outputs the inverted signal RA13B of the first type of signal.

[0065] It should be noted that the first processing module 211 can also be configured to process the first type of signal RA. <13> A delay device is used to ensure that the first type of signal RA13 and the inverted signal RA13B of the first type of signal are obtained in a time-synchronized manner.

[0066] It should also be noted that, Figure 4 There is only one Type I signal, so there is only one Type I NOT gate. If there are multiple Type I signals, there can be multiple Type I NOT gates to process different Type I signals in parallel; or, if there are multiple Type I signals, only one Type I NOT gate can be set, and different Type I signals can be processed serially by a delay device, and another delay device can be used to ensure that all Type I signals and their inverted counterparts are synchronized in time.

[0067] In some embodiments, such as Figure 5 As shown, the second processing module 212 includes:

[0068] The enable module is configured to receive the first row hammer signal RHR and the refresh indicator signal RefreshIP, and output an operation control signal; wherein, when the first row hammer signal RHR is invalid and the refresh indicator signal RefreshIP is valid, the operation control signal is valid; when the first row hammer signal RHR is valid, the operation control signal is invalid.

[0069] The logic module is configured to receive an operation control signal and a second type of signal; when the operation control signal is valid, it performs a first preprocessing on the second type of signal and outputs a second signal pair; when the operation control signal is invalid, it performs a second preprocessing on the second type of signal and outputs a second signal pair.

[0070] In other words, during the row hammering process of the storage array, the effective first row hammer signal RHR can "disable" the refresh indicator signal RefreshIP, resulting in an invalid operation control signal. This allows for the second preprocessing of the second type of signal to obtain a second signal pair, which is then decoded to obtain a second block of decoded signals. Only the word lines in a data block are selected for refresh processing, reducing the power consumption of hammer refresh.

[0071] Similarly, when there is only one second type of signal, the second processing module 212 may include an enable module and a logic module. When there are multiple second type signals, such as... Figure 5 As shown, the enable module and logic module will process different second-type signals serially, and then use additional delay devices to ensure that all second-type signals and their inverted signals are synchronized in timing. Alternatively, if there are multiple second-type signals, the second processing module 212 may include multiple sets of... Figure 5 The circuit shown processes a second type of signal.

[0072] Due to the diversity of circuit devices, there are various possibilities for the specific configuration of the second processing module, as long as it can implement the aforementioned circuit logic. The following provides an example of the specific configuration of the second processing module 212.

[0073] In some embodiments, the enabling module includes a second NOT gate 301, a first NAND gate 302, and a third NOT gate 303; wherein, the input of the second NOT gate 301 receives a first row hammer signal RHR, the first input of the first NAND gate 302 is connected to the output of the second NOT gate 301, the second input of the first NAND gate 302 receives a refresh indication signal RefreshIP, the output of the first NAND gate 302 is connected to the input of the third NOT gate 303, and the output of the third NOT gate 303 is used to output an operation control signal.

[0074] In some embodiments, such as Figure 5 As shown, the logic module includes a fourth NOT gate 304, a second NAND gate 305, a fifth NOT gate 306, and a third NAND gate 307. The fourth NOT gate 304 receives the operation control signal. The first input terminal of the second NAND gate 305 is connected to the output terminal of the fourth NOT gate 304. The second input terminal of the second NAND gate 305 receives a second-type signal, and the output terminal of the second NAND gate 305 is used to output the inverted signal of the second-type signal. The input terminal of the fifth NOT gate 306 receives the second-type signal. The first input terminal of the third NAND gate 307 is connected to the output terminal of the fourth NOT gate 304, and the second input terminal of the third NAND gate 307 is connected to the output terminal of the fifth NOT gate 306. The output terminal of the third NAND gate 307 is used to output a new second-type signal.

[0075] It should be noted that, taking the second type of signal RA as an example... <14> For example, when the first hammer signal RHR is valid, the operation control signal is invalid, and the outputs RA14B and RA of the second NAND gate 305 are... <14> The voltage levels are reversed; the outputs of the third NAND gate 307, RA14 and RA... <14> The level states are the same. When the first row hammer signal RHR is invalid and the refresh indicator signal RefreshIP is valid, the operation control signal is valid, and the second NAND gate 305 and the third NAND gate 307 both output high-level signals, that is, RA14B and RA14 are both set to high level.

[0076] Thus, the pre-processing module 21 determines the block pre-selection signals RA13, RA13B, RA14, RA14B, RA15, and RA15B. During normal refresh operations, RA14, RA14B, RA15, and RA15B are all set to a high level; during hammer refresh operations, RA14, RA14B, RA15, and RA15B are not forcibly set to ensure accurate selection of the data block containing the affected row, thereby reducing the number of irrelevant word lines refreshed during hammer refresh operations.

[0077] In some embodiments, both the first block selection signal and the second block selection signal include multiple block selection sub-signals; in the first block selection signal, multiple block selection sub-signals are active, and the remaining block selection sub-signals are inactive, to select multiple data blocks in the storage array; in the second block selection signal, one block selection sub-signal is active, and the remaining block selection sub-signals are inactive, to select one data block in the storage array. In other embodiments, the number of active block selection sub-signals in the second block selection signal can also be controlled to be greater than 1 and less than the number of active block selection sub-signals in the first block selection signal.

[0078] For example, the number of block select sub-signals can be 8, in which case both the first block select signal and the second block select signal can be represented as Region<7:0>. Correspondingly, as... Figure 3 and Figure 6 As shown, the decoding processing module 22 includes multiple decoding sub-modules 221 ( Figure 3 and Figure 6 (Only one decoding submodule is used as an example for labeling). Decoding submodule 221 is configured to receive a portion of the block preselection signal, perform logical operations on the received signal, and output one of the block selection sub-signals (e.g., Region). <0> It should be understood that different decoding submodules 221 receive different signals and output different block selection sub-signals.

[0079] Here, when the result of the logical operation is a preset value, the block selection sub-signal output by the decoding submodule 221 is in a valid state. For example, the preset value can be 1 (high-level signal).

[0080] In some embodiments, such as Figure 6 As shown, the decoding submodule 221 includes a fourth NAND gate and a sixth NOT gate; wherein, the input of the fourth NAND gate is used to receive a portion of the block preselection signal, the output of the fourth NAND gate is connected to the input of the sixth NOT gate, and the output of the sixth NOT gate is used to output the block selection sub-signal.

[0081] It should be noted that the specific signals received by each decoding submodule 221 need to be determined according to the actual decoding rules. Figure 6 This is just an example. Assume RA<15:13> = 000. Without being subjected to row hammering, RA15 = RA15B = RA14 = RA14B = 1, RA13 = 0, RA13B = 1. In this case, Region <0> =Region <2> =Region <4> =Region <6> =1 (equivalent to a valid state), meaning data blocks 0, 2, 4, and 6 are selected; under row hammer conditions, RA15=0, RA15B=1, RA14=0, RA14B=1, RA13=0, RA13B=1, at which point only the Region is selected. <0> =1, meaning only data block 0 is selected. It can be seen that, through the calibration control circuit provided in this embodiment, during hammer refresh, only the data block containing the affected row can be selected for refresh operation, reducing the refresh of irrelevant word lines and lowering power consumption.

[0082] In some embodiments, such as Figure 7As shown, the address output module 11 is specifically configured to receive the regular refresh address signal RefRa<15:0> and the activation address signal RaExt<15:0>; when the storage array is not subjected to row hammering, it outputs the regular refresh address signal RefRa<15:0> as the address signal to be refreshed RA<15:0>; or, when the storage array is subjected to row hammering, it outputs the address signal to be refreshed RA<15:0> based on the activation address signal RaExt<15:0>.

[0083] It should be noted that the regular refresh address signal RefRa<15:0> refers to the address signal in a regular refresh operation, while the active address signal RaExt<15:0> refers to the address signal in an active operation. It should be understood that row hammering refers to the activation count of a word line address reaching a threshold value within a unit of time. In other words, if the same active address signal RaExt<15:0> appears a certain number of times within a unit of time, it will be confirmed that the storage array has been subjected to row hammering, and the active address signal RaExt<15:0> is also the address signal of the hammered row. Specifically, in a row hammering scenario, the affected row is the adjacent row to the hammered row, so the address signal RA<15:0> to be refreshed needs to be further determined based on the active address signal RaExt<15:0>.

[0084] In some embodiments, such as Figure 7 As shown, the address output module 11 includes:

[0085] The control module is configured to receive the activation address signal RaExt<15:0>, the second row hammer signal RHRSeedSample, and the first control signal RHRRaCtrl; when the second row hammer signal RHRSeedSample is valid, it calculates and processes the activation address signal RaExt<15:0> based on the first control signal RHRRaCtrl and outputs the victim address signal RHRRa<15:0>.

[0086] Selection module 113 is configured to receive the regular refresh address signal RefRa<15:0>, the victim address signal RHRRa<15:0>, and the second control signal SelCtrl; when the second control signal SelCtrl is in the first state, it outputs the regular refresh address signal RefRa<15:0> as the address signal to be refreshed RA<15:0>; or, when the second control signal SelCtrl is in the second state, it outputs the victim address signal RHRRa<15:0> as the address signal to be refreshed RA<15:0>. Additionally, the pre-decoding circuit 12 pre-decodes the address signal to be refreshed RA<15:0> to obtain the row selection signal (e.g., ...). Figure 7The signals Ra210<7:0>, Ra453<7:0>, etc., and the block selection signal Region<7:0> are used to ultimately determine the target refresh word line.

[0087] Here, the victim address signal RHRRa<15:0> indicates the victim row hit by the row hammer, the second row hammer signal RHRSeedSample characterizes the memory array being hit by a row hammer, and the first control signal RHRRaCtrl controls the related calculation process. Specifically, the second row hammer signal RHRSeedSample, the first control signal RHRRaCtrl, the second control signal SelCtrl, and the aforementioned first row hammer signal RHR are all related to whether the memory array has been hit by a row hammer. Because these signals are located in different positions in the circuit, and their changing logic needs to consider timing issues, there may not be a fixed logical relationship between them.

[0088] In some embodiments, the control module includes a latch 111 and a calculation module 112; wherein, the input terminal of the latch 111 receives the activation address signal RaExt<15:0>, the clock terminal of the latch 111 receives the second row hammer signal RHRSeedSample, the output terminal of the latch 111 is connected to the input terminal of the calculation module 112, and the control terminal of the calculation module 112 receives the first control signal RHRRaCtrl; the first input terminal of the selection module 113 receives the normal refresh address signal RefRa<15:0>, the second input terminal of the selection module 113 is connected to the output terminal of the calculation module 112, the control terminal of the selection module 113 is connected to the second control signal SelCtrl, and the output terminal of the selection module 113 is used to output the address signal RA<15:0> to be refreshed.

[0089] Thus, when the second hammer signal RHRSeedSample is valid, latch 111 latches the activation address signal RaExt<15:0> and outputs the hammer impact address signal RHRSeedRa<15:0>; simultaneously, the first control signal RHRRaCtrl is valid, and the calculation module 112 calculates the victim address signal RHRRa<15:0> based on the hammer impact address signal RHRSeedRa<15:0>. Here, latch 111 also has a reset terminal, which performs a reset operation upon receiving the reset signal ResetN.

[0090] It should be noted that the activation address signal RaExt<15:0> can be either the row address signal that has been accessed the most or has a relatively high number of accesses and can cause the row hammer effect, or it can be a newly received activation address signal after the row hammer effect has occurred. In this case, the newly received activation address signal is regarded as the row address signal that caused the row hammer effect.

[0091] In addition, such as Figure 7 As shown, the selection module 113 also has a third input terminal, which is connected to the activation address signal RaExt<15:0>. Accordingly, when the second control signal SelCtrl is in the third state, the selection module 113 can output the activation address signal RaExt<15:0>, and can perform tasks under certain special circumstances.

[0092] In this embodiment of the disclosure, "valid" or "invalid" is distinguished by the level state of the signal. For example, a valid signal may mean that the signal is in a high level state, and an invalid signal may mean that the signal is in a low level state; or, a valid signal may mean that the signal is in a low level state, and an invalid signal may mean that the signal is in a high level state. It depends on the actual application scenario, as long as it conforms to the corresponding circuit logic and can perform the corresponding circuit function.

[0093] In summary, the embodiments of this disclosure provide a refresh control circuit that can select only the data block containing the affected row during a hammer refresh operation, thereby reducing the current and power consumption of the hammer refresh. See also Figure 8 It provides a structural diagram of the second processing module. For example... Figure 8 As shown, the RefreshIP signal sets some block selection signals and their inverted signals (RA14, RA14B, RA15, RA15B) to high level, thereby selecting multiple data blocks so that a target refresh word line can be selected from the multiple data blocks for subsequent refresh operations; in this embodiment of the disclosure, as... Figure 5 As shown, an enable module is added to the second processing module 212, introducing a first row hammer signal to identify whether the current refresh operation is a hammer refresh operation. The effective first row hammer signal is used to protect the victim row address. That is, the effective first row hammer signal can disable the refresh indicator signal RefreshIP, remove the control of the refresh indicator signal RefreshIP on some block selection signals, so that all block selection signals and their inverted signals retain the original control logic, thereby accurately decoding the data block where the victim row is located, refreshing only the victim row, and reducing the current of hammer refresh.

[0094] In another embodiment of this disclosure, see Figure 9 This illustrates a flowchart of a refresh control method provided in an embodiment of this disclosure. Figure 9 As shown, the method includes:

[0095] S401: Determine the address signal to be refreshed, and the address signal to be refreshed includes the block address signal and the row address signal.

[0096] S402: When the storage array is not subjected to row hammering, the block address signal is decoded to obtain the first block selection signal; when the storage array is subjected to row hammering, the block address signal is decoded to obtain the second block selection signal; wherein, the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array.

[0097] S403: Decode the row address signal to obtain the row selection signal, which is used to select the target refresh word line in the selected data block.

[0098] S404: Refresh the target refresh word line.

[0099] It should be noted that the refresh control method provided in this embodiment is applied to the aforementioned refresh control circuit 10, and the refresh control circuit 10 is connected to the memory array. Thus, when the memory array is subjected to row hammering, only the target refresh word line in one data block is selected for refresh processing, which reduces the number of irrelevant word lines to be refreshed, lowers the refresh current and power consumption during the hammering refresh process, and improves the performance of the memory.

[0100] In some embodiments, step S402 may specifically include:

[0101] The first row hammer signal and the refresh indication signal are determined; wherein, if the storage array is not subjected to a row hammer, the first row hammer signal is invalid; if the storage array is subjected to a row hammer, the first row hammer signal is valid; if the first row hammer signal is invalid, the block address signal is preprocessed based on the refresh indication signal to obtain a block preselection signal; or, if the first row hammer signal is valid, the block address signal is preprocessed based on the block address signal to obtain a block preselection signal; the block preselection signal is decoded to obtain a first block selection signal or a second selection signal;

[0102] In some embodiments, the block address signal includes a first type of signal and a second type of signal, and the block preselection signal includes a first signal pair and a second signal pair. Specifically, (1) the first signal pair includes a first type of signal and its inverted counterpart, and the level states of the first type of signal and its inverted counterpart are opposite. (2) the second signal pair includes a second type of signal and its inverted counterpart; when the first row hammer signal is valid, the level states of the second type of signal and its inverted counterpart are opposite; when the first row hammer signal is invalid and the refresh indicator signal is valid, the level states of both the second type of signal and its inverted counterpart are set to a high level.

[0103] In some embodiments, both the first block selection signal and the second block selection signal include multiple block selection sub-signals; in the first block selection signal, multiple block selection sub-signals are in a valid state, and the remaining block selection sub-signals are in an invalid state, so as to select multiple data blocks in the storage array; in the second block selection signal, one block selection sub-signal is in a valid state, and the remaining block selection sub-signals are in an invalid state, so as to select one data block in the storage array.

[0104] In some embodiments, determining the address signal to be refreshed includes:

[0105] It receives the regular refresh address signal and the activation address signal; when the storage array is not subjected to row hammering, it outputs the regular refresh address signal as the address signal to be refreshed; or, when the storage array is subjected to row hammering, it outputs the address signal to be refreshed based on the activation address signal.

[0106] It should be noted that when a storage array is subjected to row hammering, the active address signal indicates the row that was hammered, while the address signal to be refreshed indicates the affected row. Therefore, in this scenario, the address signal to be refreshed needs to be calculated based on the active address signal.

[0107] This disclosure provides a refresh control method that, when a storage array is subjected to row hammering, selects a target refresh word line in only one data block for refresh processing. This reduces the number of irrelevant word lines to be refreshed, reduces current and power consumption during the hammering refresh process, and improves memory performance.

[0108] In yet another embodiment of this disclosure, see [link to relevant documentation]. Figure 10 This illustrates a schematic diagram of the structure of a memory 50 provided in an embodiment of this disclosure. For example... Figure 10 As shown, the memory 50 includes the refresh control circuit 10 and the memory array 501 as described above, and the refresh control circuit 10 is connected to the memory array 501.

[0109] For memory 50, when the memory array is subjected to row hammering, the refresh control circuit 10 can select the target refresh word line in only one data block for refresh processing, which can reduce the number of irrelevant word lines refreshed, reduce the current and power consumption during the hammering refresh process, and improve the performance of the memory.

[0110] The above are merely preferred embodiments of this disclosure and are not intended to limit the scope of protection of this disclosure. It should be noted that in this disclosure, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. The sequence numbers of the embodiments in this disclosure are merely descriptive and do not represent the superiority or inferiority of the embodiments. The methods disclosed in the several method embodiments provided in this disclosure can be arbitrarily combined to obtain new method embodiments without conflict. The features disclosed in the several product embodiments provided in this disclosure can be arbitrarily combined to obtain new product embodiments without conflict. The features disclosed in the several method or device embodiments provided in this disclosure can be arbitrarily combined to obtain new method or device embodiments without conflict. The above are merely specific embodiments of this disclosure, but the scope of protection of this disclosure is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this disclosure should be included within the scope of protection of this disclosure. Therefore, the scope of protection of this disclosure should be determined by the scope of the claims.

Claims

1. A refresh control circuit, characterized in that, The refresh control circuit is connected to the storage array, and the refresh control circuit includes: The address output module is configured to output a signal to be refreshed, and the signal to be refreshed includes a block address signal and a row address signal; the block address signal includes a second type of signal. A block decoding module is configured to receive the block address signal, and, when the storage array is not subjected to row hammering, decode the block address signal and output a first block selection signal; or, when the storage array is subjected to row hammering, decode the block address signal and output a second block selection signal; wherein the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array; The block decoding module includes a preprocessing module, which includes: The second processing module is configured to receive a first row hammer signal, a refresh indicator signal, and a second type of signal; based on the first row hammer signal and the refresh indicator signal, preprocess the second type of signal and output a second signal pair; wherein the second signal pair includes the second type of signal and the inverted signal of the second type of signal; when the first row hammer signal is valid, the level states of the second type of signal and the inverted signal of the second type of signal are opposite; when the first row hammer signal is invalid and the refresh indicator signal is valid, the level states of the second type of signal and the inverted signal of the second type of signal are both set to a high level. The row decoding module is configured to receive the row address signal, decode the row address signal, and output a row selection signal, wherein the row selection signal is used to select a target refresh word line in the selected data block.

2. The refresh control circuit according to claim 1, characterized in that, The block decoding module includes: The preprocessing module is configured to receive a first row hammer signal, a refresh indication signal, and the block address signal; if the first row hammer signal is invalid, perform a first preprocessing on the block address signal based on the refresh indication signal to obtain a block preselection signal; or, if the first row hammer signal is valid, perform a second preprocessing on the block address signal to obtain the block preselection signal. The decoding processing module is configured to receive the block preselection signal, decode the block preselection signal, and obtain the first block selection signal or the second selection signal. Wherein, if the storage array is not subjected to row hammering, the first row hammer signal is invalid; if the storage array is subjected to row hammering, the first row hammer signal is valid.

3. The refresh control circuit according to claim 2, characterized in that, The block address signal further includes a first type of signal, and the block preselection signal includes a first signal pair and a second signal pair; the preprocessing module further includes: The first processing module is configured to receive the first type of signal, perform logical processing on the first type of signal, and output the first signal pair; wherein the first signal pair includes the first type of signal and the inverted signal of the first type of signal, and the level states of the first type of signal and the inverted signal of the first type of signal are opposite.

4. The refresh control circuit according to claim 3, characterized in that, The first processing module includes a first NOT gate, the input of which receives the first type of signal, and the output of which outputs the inverted signal of the first type of signal.

5. The refresh control circuit according to claim 2, characterized in that, The second processing module includes: The enabling module is configured to receive a first row hammer signal and the refresh indication signal, and output an operation control signal; wherein, when the first row hammer signal is invalid and the refresh indication signal is valid, the operation control signal is valid; when the first row hammer signal is valid, the operation control signal is invalid. The logic module is configured to receive the operation control signal and the second type of signal; when the operation control signal is valid, perform the first preprocessing on the second type of signal and output the second signal pair; when the operation control signal is invalid, perform the second preprocessing on the second type of signal and output the second signal pair.

6. The refresh control circuit according to claim 5, characterized in that, The enabling module includes a second NOT gate, a first NAND gate, and a third NOT gate; wherein... The input terminal of the second NOT gate receives the first row hammer signal, the first input terminal of the first NAND gate is connected to the output terminal of the second NOT gate, the second input terminal of the first NAND gate receives the refresh indication signal, the output terminal of the first NAND gate is connected to the input terminal of the third NOT gate, and the output terminal of the third NOT gate is used to output the operation control signal.

7. The refresh control circuit according to claim 5, characterized in that, The logic module includes a fourth NOT gate, a second NAND gate, a fifth NOT gate, and a third NAND gate; wherein, The fourth NOT gate receives the operation control signal, the first input terminal of the second NAND gate is connected to the output terminal of the fourth NOT gate, the second input terminal of the second NAND gate receives the second type of signal, and the output terminal of the second NAND gate is used to output the inverted signal of the second type of signal; The input terminal of the fifth NOT gate receives the second type of signal, the first input terminal of the third NAND gate is connected to the output terminal of the fourth NOT gate, the second input terminal of the third NAND gate is connected to the output terminal of the fifth NOT gate, and the output terminal of the third NAND gate is used to output a new second type of signal.

8. The refresh control circuit according to claim 2, characterized in that, Both the first block selection signal and the second block selection signal include multiple block selection sub-signals; In the first block selection signal, a plurality of the block selection sub-signals are in an active state, and the remaining block selection sub-signals are in an inactive state, so as to select a plurality of data blocks in the storage array; In the second block selection signal, one of the block selection sub-signals is in an active state, while the remaining block selection sub-signals are in an inactive state, in order to select a data block in the storage array.

9. The refresh control circuit according to claim 8, characterized in that, The decoding processing module includes multiple decoding sub-modules; The decoding submodule is configured to receive a portion of the block preselection signal, perform logical operations on the received signal, and output one of the block selection sub-signals; different decoding submodules receive different signals; Specifically, when the result of the logical operation is a preset value, the block selection sub-signal output by the decoding submodule is in a valid state.

10. The refresh control circuit according to claim 1, characterized in that, The address output module is specifically configured to receive a regular refresh address signal and an activation address signal; and to output the regular refresh address signal as the address signal to be refreshed when the storage array is not subjected to row hammering. Alternatively, in the event that the storage array is subjected to row hammering, the address signal to be refreshed is output based on the activation address signal.

11. The refresh control circuit according to claim 10, characterized in that, The address output module includes: The control module is configured to receive the activation address signal, the second row hammer signal, and the first control signal; when the second row hammer signal is valid, it calculates and processes the activation address signal based on the first control signal and outputs the victim address signal. The selection module is configured to receive the regular refresh address signal, the victim address signal, and the second control signal; when the second control signal is in a first state, the regular refresh address signal is output as the address signal to be refreshed; or, when the second control signal is in a second state, the victim address signal is output as the address signal to be refreshed. The second row hammer signal indicates that the storage array has been subjected to a row hammer strike.

12. The refresh control circuit according to claim 11, characterized in that, The control module includes a latch and a calculation module; wherein... The input terminal of the latch receives the activation address signal, the clock terminal of the latch receives the second row hammer signal, the output terminal of the latch is connected to the input terminal of the calculation module, and the control terminal of the calculation module receives the first control signal. The first input terminal of the selection module receives the conventional refresh address signal, the second input terminal of the selection module is connected to the output terminal of the calculation module, the control terminal of the selection module is connected to the second control signal, and the output terminal of the selection module is used to output the address signal to be refreshed.

13. A refresh control method, characterized in that, The method, applied to a refresh control circuit and connected to a memory array, includes: The address signal to be refreshed is determined, and the address signal to be refreshed includes a block address signal and a row address signal; the block address signal includes a second type of signal; When the storage array is not subjected to row hammering, the block address signal is decoded to obtain a first block selection signal; when the storage array is subjected to row hammering, the block address signal is decoded to obtain a second block selection signal; wherein, the first block selection signal is used to select multiple data blocks in the storage array, and the second selection signal is used to select one data block in the storage array. The system receives a first row hammer signal, a refresh indicator signal, and a second type of signal. Based on the first row hammer signal and the refresh indicator signal, it preprocesses the second type of signal and outputs a second signal pair. The second signal pair includes the inverted signals of the second type of signal and the second type of signal. When the first row hammer signal is valid, the level states of the second type of signal and the inverted signal of the second type of signal are opposite. When the first row hammer signal is invalid and the refresh indicator signal is valid, the level states of the second type of signal and the inverted signal of the second type of signal are both set to a high level. The row address signal is decoded to obtain a row selection signal, and the row selection signal is used to select a target refresh word line in the selected data block; The target refresh word line is refreshed.

14. A memory, characterized in that, The memory includes a refresh control circuit and a memory array as described in any one of claims 1-12, and the refresh control circuit is connected to the memory array.

Citation Information

Patent Citations

  • Memory device and data refreshing method thereof

    US20190221251A1