Device and method for dynamic target refresh stealing

By using refresh management signals and skip logic circuits in semiconductor memory devices, the refresh operation within the refresh mode is optimized, the problem of increased memory cell data degradation rate is solved, and more effective refresh operation management and resource utilization are achieved.

CN112669889BActive Publication Date: 2024-10-11MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011021454.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-10-16
Filing Date
2020-09-25
Publication Date
2024-10-11
Estimated Expiration
2040-09-25

AI Technical Summary

Technical Problem

When existing semiconductor memory devices perform refresh operations, it is difficult to effectively manage the balance between target refresh operations and background refresh operations, resulting in an increase in the data degradation rate of memory cells, especially as the size of memory components decreases and the density of memory cells increases. Repeated accesses to specific rows can exacerbate data degradation in nearby memory cells.

Method used

Refresh management signals and skip logic circuits are used to optimize refresh within the refresh mode by counting access commands and reducing the number of target refresh operations during the next refresh mode when a threshold is reached, skipping unnecessary periodic target refresh operations The operation is executed.

Benefits of technology

Effectively manages the balance between target refresh operations and background refresh operations, reduces the data degradation rate of the memory unit, improves the stability and life of the memory, and optimizes resource utilization within the memory refresh mode.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112669889B_ABST
    Figure CN112669889B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure are directed to devices, systems, and methods for dynamic target refresh stealing. A memory bank may receive an access command and then periodically enter a refresh mode in which an automatic refresh operation and a target refresh operation are performed. The memory bank may receive a refresh management command based on a count of access commands to the memory bank. In response to the refresh management signal, an emergency target refresh operation may be performed on the memory bank. The number of times the refresh management signal is issued may be counted, and based on the count, the next periodic target refresh operation may be skipped.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor devices, and more particularly to semiconductor memory devices. In particular, the present disclosure relates to volatile memory, such as dynamic random access memory (DRAM). Background Art

[0002] Information may be stored as physical signals (e.g., charge on a capacitive element) on individual memory cells of the memory. The memory may be volatile memory, and the physical signals may decay over time (which may degrade or destroy the information stored in the memory cells). It may be necessary to periodically refresh the information in the memory cells by, for example, rewriting the information to restore the physical signals to the initial values.

[0003] As the size of memory components decreases, the density of memory cells has increased greatly. Repeated accesses to specific memory cells or groups of memory cells (commonly referred to as 'row hammer') may result in an increased rate of data degradation in nearby memory cells. As part of a targeted refresh operation, memory cells affected by the row hammer effect may be identified and updated. These targeted refresh operations may replace (e.g., steal) time slots that would otherwise be used for background refresh operations. It may be necessary to balance the number of background refresh operations and targeted refresh operations. Summary of the invention

[0004] On the one hand, the present application provides a device comprising: a memory group configured to receive a refresh management signal; a skip logic circuit configured to change a count value in response to the refresh management signal and configured to provide a skip signal based on the count value; and a refresh state control circuit configured to periodically provide a target refresh signal when the memory group is in a refresh mode, wherein the target refresh control circuit is further configured to skip providing a next target refresh signal in response to the skip signal.

[0005] On the other hand, the present application also provides a device comprising: a group of memory devices; an interface configured to provide access commands and refresh management signals to the group; a refresh control circuit associated with the group, wherein the refresh control circuit is configured to: when the group is in a refresh mode, periodically indicate that a first type of refresh operation and a second type of refresh operation should be performed; based on the refresh management signal, indicate the first type of refresh operation when the group is not in the refresh mode; and based on the number of the first type of refresh operations indicated when the group is not in the refresh mode, reduce the number of the first type of refresh operations the next time the memory is in the refresh mode.

[0006] On the other hand, the present application also provides a method, comprising: receiving a refresh management signal for a memory group; changing a count in response to the refresh management signal and comparing the count with a threshold; periodically performing a target refresh operation on the memory group; and skipping the next periodic target refresh operation in the periodic target refresh operations based on the comparison of the count with the threshold. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram of a semiconductor device according to an embodiment of the present disclosure.

[0008] Figure 2 is a block diagram of a refresh control circuit according to an embodiment of the present disclosure.

[0009] Figures 3A to 3B is a timing diagram of the operation of the refresh control circuit according to an embodiment of the present disclosure.

[0010] Figure 4 is a schematic diagram of a skip logic circuit according to an embodiment of the present disclosure.

[0011] Figure 5 is a timing diagram of signals of a skip logic circuit according to an embodiment of the present disclosure.

[0012] Figure 6 The present invention is a flowchart of a method for dynamic target refresh stealing according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0013] The following description of certain embodiments is merely exemplary in nature and is in no way intended to limit the scope of the present disclosure or its application or use. In the following detailed description of the embodiments of the system and method of the present invention, reference is made to the accompanying drawings forming a part of this document, and to the specific embodiments of the described system and method shown by way of illustration, in which the described system and method can be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the system and method disclosed in the present invention, and it should be understood that other embodiments may be utilized, and structural and logical changes may be made without departing from the spirit and scope of the present disclosure. In addition, for the purpose of clarity, when certain features are clear to those skilled in the art, their detailed description will not be discussed again, so as not to confuse the description of the embodiments of the present disclosure. Therefore, the following detailed description should not be understood in a restrictive sense, and the scope of the present disclosure is limited only by the appended claims.

[0014] Information in a volatile memory device may be stored in memory cells (e.g., as a charge on a capacitive element) and may decay over time. Memory cells may be organized into rows (word lines) and columns (bit lines), and the memory cells may be refreshed row by row. To prevent information from being lost or damaged due to such decay, the memory may implement a background refresh process, such as a refresh operation as part of a refresh mode. During a refresh operation, information may be rewritten to the word line to restore its initial state. An automatic refresh operation may be performed sequentially on the word lines of the memory so that, over time, each word line in the memory is refreshed at a rate faster than the expected data degradation rate.

[0015] Repeated accesses to a particular row of memory (e.g., an aggressor row) may increase decay rates in rows that are close to the aggressor row (e.g., a victim row). These repeated accesses may be part of an intentional attack on the memory and / or may be due to the 'natural' access pattern of the memory. The increased decay rates in the victim rows may require them to be refreshed as part of a targeted refresh operation. As part of a refresh mode, a memory device may periodically perform a targeted refresh operation. For example, when a memory device is in a refresh mode, it may perform a set of refresh operations including several automatic refresh operations and several targeted refresh operations, and then repeat this cycle. In some embodiments, a targeted refresh operation may 'steal' a time slot that would otherwise be used for an automatic refresh operation. Typically, a memory device may cycle between performing access operations for a period of time, entering a refresh mode for a period of time, performing access operations, and so on.

[0016] If the memory begins to receive access requests at a very high rate, it may indicate that an attack on the memory is occurring and that a target refresh operation may need to be performed, even when the device is not in refresh mode. Based on the rate of access commands (e.g., group by group), a target refresh request command (e.g., a refresh management signal) may be issued, which may cause additional target refresh operations to be performed when the memory is not in refresh mode (e.g., in addition to periodic target refresh operations). However, as the number of target refresh operations between refresh modes increases, there may be less need to perform target refresh operations within the next refresh mode. It may be necessary to manage the target refresh operations so that fewer periodic target refresh operations are performed during the next refresh mode as the number of requested target refresh operations increases.

[0017] The present disclosure is directed to devices, systems, and methods for dynamic target refresh stealing. A memory controller may count the number of access commands issued to a particular group of memories. Once the count of access commands meets or exceeds a threshold, the controller may send a refresh management signal and reduce the count. Thus, a memory device may receive access commands as well as refresh management commands. In response to the refresh management signal, the memory may perform a target refresh operation even if the memory is not originally performing a refresh operation (e.g., not currently in refresh mode). The memory device may count the number of times the refresh management signal is issued, and may reduce the number of periodic target refresh operations during the next refresh mode when the count of the refresh management signal increases. For example, when the count of the refresh management signal meets or exceeds a threshold, the next periodic target refresh operation may be skipped, and the count may be reduced.

[0018] Figure 1 1 is a block diagram of a semiconductor device according to an embodiment of the present disclosure. The semiconductor device 100 may be a semiconductor memory device, such as a DRAM device integrated on a single semiconductor chip.

[0019] The semiconductor device 100 includes a memory array 118. The memory array 118 is shown to include a plurality of memory banks. Figure 1 In the embodiment of the present invention, the memory array 118 is shown to include eight memory groups BANK0 to BANK7. More or fewer groups may be included in the memory array 118 of other embodiments. Each memory group includes a plurality of word lines WL, a plurality of bit lines BL and / BL, and a plurality of memory cells MC, and the memory cells MC are arranged at the intersections of the plurality of word lines WL and the plurality of bit lines BL and / BL. The selection of the word line WL is performed by the row decoder 108, and the selection of the bit lines BL and / BL is performed by the column decoder 110. Figure 1 In the embodiment of the present invention, the row decoder 108 includes a corresponding row decoder for each memory group, and the column decoder 110 includes a corresponding column decoder for each memory group. The bit lines BL and / BL are coupled to corresponding sense amplifiers (SAMPs). The read data from the bit line BL or / BL is amplified by the sense amplifier SAMP and transferred to the read / write amplifier 120 through the complementary local data line (LIOT / B), the transfer gate (TG), and the complementary main data line (MIOT / B). Conversely, the write data output from the read / write amplifier 120 is transferred to the sense amplifier SAMP through the complementary main data line MIOT / B, the transfer gate TG, and the complementary local data line LIOT / B, and is written into the memory cell MC coupled to the bit line BL or / BL.

[0020] The semiconductor device 100 may employ a plurality of external terminals, including: a command and address (C / A) terminal coupled to a command and address bus to receive a command and an address; and a CS signal clock terminal for receiving clocks CK and / CK; a data terminal DQ for providing data; and a power supply terminal for receiving power supply potentials VDD, VSS, VDDQ, and VSSQ.

[0021] The clock terminal is supplied with external clocks CK and / CK provided to the input circuit 112. The external clocks may be complementary. The input circuit 112 generates an internal clock ICLK based on the CK and / CK clocks. The ICLK clock is provided to the command decoder 110 and the internal clock generator 114. The internal clock generator 114 provides various internal clocks LCLK based on the ICLK clock. The LCLK clock can be used for timing operations of various internal circuits. The internal data clock LCLK is provided to the input / output circuit 122 to time the operation of the circuits included in the input / output circuit 122, for example, to the data receiver to time the reception of the write data.

[0022] The C / A terminal may be supplied with a storage address. The memory address supplied to the C / A terminal is transferred to the address decoder 104 through the command / address input circuit 102. The address decoder 104 receives the address and supplies the decoded row address XADD to the row decoder 108 and the decoded column address YADD to the column decoder 110. The address decoder 104 may also supply a decoded group address BADD, which may indicate a group containing a decoded row address XADD and a column address YADD in the memory array 118. The C / A terminal may be supplied with a command. Examples of commands include timing commands for controlling the timing of various operations, access commands for accessing memory, such as a read command for performing a read operation and a write command for performing a write operation, and other commands and operations. The access command may be associated with one or more row addresses XADD, column addresses YADD, and group addresses BADD to indicate the memory cells to be accessed.

[0023] The command may be provided as an internal command signal to the command decoder 106 through the command / address input circuit 102. The command decoder 106 includes circuits for decoding the internal command signal to generate various internal signals and commands for performing operations. For example, the command decoder 106 may provide a row command signal for selecting a word line and a column command signal for selecting a bit line.

[0024] The device 100 may receive an access command, which is a read command. When the read command is received and the group address, row address, and column address are supplied with the read command in time, read data is read from the memory cell corresponding to the row address and column address in the memory array 118. The read command is received by the command decoder 106, which provides an internal command so that the read data from the memory array 118 is provided to the read / write amplifier 120. The read data is output to the outside of the data terminal DQ through the input / output circuit 122.

[0025] The device 100 can receive an access command, which is a write command. When the write command is received and the group address, row address, and column address are supplied with the write command in time, the write data supplied to the data terminal DQ is written to the memory cell corresponding to the row address and the column address in the memory array 118. The write command is received by the command decoder 106, which provides an internal command so that the write data is received by the data receiver in the input / output circuit 122. The write clock can also be provided to the external clock terminal for timing the data receiver of the input / output circuit 122 to receive the write data. The write data is supplied to the read / write amplifier 120 through the input / output circuit 122, and is supplied to the memory array 118 by the read / write amplifier 120 to be written into the memory cell MC.

[0026] The device 100 may also receive a command that causes it to perform one or more refresh operations as part of the self-refresh mode. The device 100 may be in the refresh mode periodically. Therefore, whenever the memory device is in the refresh mode, the refresh operation may be performed periodically. In some embodiments, the refresh mode command may be issued to the memory device 100 externally. In some embodiments, the refresh mode command may be generated periodically by a component of the device. In some embodiments, the refresh signal AREF may also be activated when an external signal indicates a refresh mode entry command. The refresh signal AREF may be a pulse signal that is activated when the command decoder 106 receives a signal indicating entry into the self-refresh mode. The refresh signal AREF may be activated immediately after the command is input, and may be activated cyclically at a desired internal timing thereafter. The refresh signal AREF may be used to control the timing of the refresh operation during the refresh mode. The self-refresh exit command may stop the automatic activation of the refresh signal AREF, and may return the device 100 to an idle state and / or resume other operations.

[0027] The refresh signal AREF is supplied to the refresh control circuit 116. The refresh control circuit 116 supplies the refresh row address RXADD to the row decoder 108, and the row decoder 108 can refresh one or more word lines WL indicated by the refresh row address RXADD. In some embodiments, the refresh address RXADD can represent a single word line. In some embodiments, the refresh address RXADD can represent multiple word lines, which can be refreshed sequentially or simultaneously by the row decoder 108. In some embodiments, the number of word lines represented by the refresh address RXADD can be different for different refresh addresses. The refresh control circuit 116 can control the timing of the refresh operation, and can generate and provide the refresh address RXADD. The refresh control circuit 116 can be controlled to change the details of the refresh address RXADD (e.g., how the refresh address is calculated, the timing of the refresh address, the number of word lines represented by the address), or can be based on internal logic operations.

[0028] The refresh control circuit 116 may selectively output a target refresh address (e.g., which specifies one or more victim addresses based on the aggressor) or an automatic refresh address (e.g., from a series of automatic refresh addresses) as the refresh address RXADD. Based on the type of the refresh address RXADD, the row decoder 108 may perform a target refresh or automatic refresh operation. The automatic refresh address may be from a series of addresses provided based on the activation of the refresh signal AREF. The refresh control circuit 116 may cycle a series of automatic refresh addresses at a rate determined by AREF. In some embodiments, the automatic refresh operation may be generally performed at a certain timing so that a series of automatic refresh addresses are cycled so that no information degradation is expected in the time between automatic refresh operations for a given word line. In other words, the automatic refresh operation may be performed so that each word line is refreshed at a rate faster than the expected information decay rate.

[0029] As used herein, activation of a signal may refer to any portion of a signal waveform to which a circuit responds. For example, if a circuit responds to a rising edge, then a signal switching from a low level to a high level may be an activation. An example type of activation is a pulse, where a signal switches from a low level to a high level for a period of time, and then returns to a low level. This may trigger a circuit that responds to a rising edge, a falling edge, and / or a signal at a high logic level.

[0030] The refresh control circuit 116 may also determine a target refresh address, which is an address that needs to be updated (e.g., a victim address corresponding to a victim row) based on an access pattern of a nearby address (e.g., an aggressor address corresponding to an aggressor row) in the memory array 118. The refresh control circuit 116 may calculate the target refresh address RXADD using one or more signals of the device 100. For example, the refresh address RXADD may be calculated based on the row address XADD provided by the address decoder.

[0031] In some embodiments, the refresh control circuit 116 may sample the current value of the row address XADD provided by the address decoder 104 along the row address bus, and determine the target refresh address based on one or more of the sampled addresses. The sampled address may be stored in a data storage unit of the refresh control circuit. When the row address XADD is sampled, it may be compared with the address stored in the data storage unit. In some embodiments, the aggressor address may be determined based on the sampled and / or stored address. For example, the comparison between the sampled address and the stored address may be used to update a count value (e.g., an access count) associated with the stored address, and the aggressor address may be calculated based on the count value. Then, the refresh address RXADD may be used based on the aggressor address.

[0032] Although the present disclosure generally refers to determining aggressor and victim word lines and addresses, it should be understood that, as used herein, an aggressor word line does not necessarily need to degrade data in adjacent word lines, and a victim word line does not necessarily need to experience such degradation. The refresh control circuit 116 may use some criteria to determine whether an address is an aggressor address, which may capture potential aggressor addresses rather than deterministically determining which addresses are causing data degradation in nearby victims. For example, the refresh control circuit 116 may determine potential aggressor addresses based on access patterns to the addresses, and this criteria may include some addresses that are not aggressors and miss some addresses that are aggressors. Similarly, victim addresses may be determined based on which word lines are expected to be implemented by aggressors, rather than deterministically determining which word lines are experiencing increased data decay rates.

[0033] A timing may be provided to the refresh address RXADD based on the timing of the refresh signal AREF. During the periodic refresh operation of the refresh mode, the refresh control circuit 116 may have time slots corresponding to the timing of AREF, and may provide one or more refresh addresses RXADD during each time slot. In some embodiments, the target refresh address may be issued in a time slot that was originally assigned to the auto-refresh address (e.g., "stolen") . In some embodiments, a specific time slot may be reserved for the target refresh address, and the refresh control circuit 116 may determine whether to provide the target refresh address, or not to provide an address during the time slot, or to actually provide the auto-refresh address during the time slot.

[0034] Refresh control circuit 116 may use a variety of methods to determine the timing of the target refresh operation. Refresh control circuit 116 may have periodic target refresh operations during refresh mode, where refresh control circuit 116 performs auto-refresh operations and target refresh operations based on a periodic schedule (e.g., by providing the target refresh address as refresh address RXADD). For example, after entering refresh mode, refresh control circuit 116 may perform a specific number of auto-refresh operations and then perform (e.g., steal) a specific number of target refresh operations.

[0035] The refresh control circuit 116 may also perform a requested target refresh operation or an emergency target refresh operation, which may be based on the access mode for the group associated with the refresh control circuit 116. The device 100 may receive a command that is a refresh management command (e.g., a request management command may be received at the command / address terminal C / A). The command decoder circuit 106 may provide a refresh management signal RFM based on the refresh management command. In some embodiments, the refresh management command may be a signal RFM, which may be directly passed to the refresh control circuit 116. In response to the activation of the RFM signal, the refresh control circuit 116 may indicate that an emergency target refresh operation should be performed.

[0036] These emergency target refresh operations may occur outside of the refresh cycle. For example, a high access rate to a group may indicate that an attack is occurring, and the refresh control circuit 116 may count access commands and perform an emergency target refresh operation when the count exceeds a threshold. As the number of emergency target refresh operations increases, the refresh control circuit 116 may reduce the number of periodic target refresh operations during the next refresh mode. It should be understood that the process of updating the word line during periodic and emergency target refresh operations may be substantially the same, with the difference generally being the timing of performing the refresh.

[0037] The power supply terminal is supplied with power supply potentials VDD and VSS. The power supply potentials VDD and VSS are supplied to the internal voltage generator circuit 124. The internal voltage generator circuit 124 generates various internal potentials VPP, VOD, VARY, VPERI, etc. based on the power supply potentials VDD and VSS supplied to the power supply terminal. The internal potential VPP is mainly used for the row decoder 108, the internal potentials VOD and VARY are mainly used for the sense amplifier SAMP included in the memory array 118, and the internal potential VPERI is used for many peripheral circuit blocks.

[0038] The power supply terminal is also supplied with power supply potentials VDDQ and VSSQ. The power supply potentials VDDQ and VSSQ are supplied to the input / output circuit 122. In an embodiment of the present disclosure, the power supply potentials VDDQ and VSSQ supplied to the power supply terminal may be the same potentials as the power supply potentials VDD and VSS supplied to the power supply terminal. In another embodiment of the present disclosure, the power supply potentials VDDQ and VSSQ supplied to the power supply terminal may be different potentials from the power supply potentials VDD and VSS supplied to the power supply terminal. The power supply potentials VDDQ and VSSQ supplied to the power supply terminal are used for the input / output circuit 122 so that the power supply noise generated by the input / output circuit 122 does not propagate to other circuit blocks.

[0039] Figure 2 is a block diagram of a refresh control circuit according to an embodiment of the present disclosure. In some embodiments, the refresh control circuit 216 may be included in Figure 1 1. The refresh control circuit 116 of FIG. 216 is shown with certain internal components and signals to illustrate the operation of the refresh control circuit 216. Dashed line 218 is shown to indicate that in some embodiments, each component (e.g., refresh control circuit 216 and row decoder 208) may correspond to a specific memory group, and these components may be repeated for each memory group. Therefore, there may be multiple refresh control circuits 216 and row decoders 208. For the sake of brevity, only the components of a single group will be described.

[0040] DRAM interface 226 may provide one or more signals to address refresh control circuit 216 and row decoder 208. Refresh control circuit 216 may include sample timing circuit 230, aggressor detector circuit 232, row hammer refresh (RHR) state control circuit 236, and refresh address generator 234. DRAM interface 226 may provide one or more control signals, such as refresh signal AREF, activation and precharge signals ACT / Pre, and row address XADD. When the group associated with refresh control circuit 216 is in refresh mode, refresh control circuit 216 provides timing to refresh address RXADD based on refresh signal AREF. Refresh control circuit may also provide refresh address RXADD (and other signals) indicating urgent target refresh based on the access mode for the group of memory.

[0041] exist Figure 2In an example embodiment of the present invention, aggressor detector circuit 232 may sample the current row address XADD in response to activation of an optional sampling signal ArmSample provided by sample timing circuit 230. Aggressor detector circuit 232 may be coupled to all row addresses XADD sent along the row address bus, but may only receive (e.g., process, take note of) the current value of row address XADD when there is activation of sampling signal ArmSample. In other example embodiments, sampling may not be used.

[0042] The received row address (sampled address or all addresses) can be stored in the aggressor circuit 232 and / or compared with a previously stored address. The aggressor detector circuit 232 can provide a matching address HitXADD based on the current row address XADD and / or a previously stored row address. The RHR state control circuit 236 can provide a signal RHR indicating that a row hammer refresh (e.g., a refresh of the victim row corresponding to the identified aggressor row) should be performed. The RHR state control circuit 236 can also provide an internal refresh signal IREF indicating that an auto-refresh should be performed.

[0043] In response to the activation of RHR or IREF, the refresh address generator 234 may provide a refresh address RXADD, which may be an automatic refresh address or one or more victim addresses corresponding to the victim row of the aggressor row corresponding to the matching address HitXADD. The RHR state control circuit 236 may provide a set of activations of RHR and IREF in response to the refresh signal AREF. The row decoder 208 may perform a refresh operation in response to the refresh address RXADD and the row hammer refresh signal RHR. The row decoder 208 may perform an automatic refresh operation based on the refresh address RXADD and the internal refresh signal IREF.

[0044] DRAM interface 226 may represent one or more components that provide signals to components of a group. In some embodiments, DRAM interface 226 may represent a device coupled to a semiconductor memory device (e.g., Figure 1 In some embodiments, DRAM interface 226 may represent a component such as Figure 1 The command address input circuit 102, the address decoder 104 and / or the command decoder 106. The DRAM interface 226 can provide a row address XADD, a refresh signal AREF and access signals such as an activation signal ACT and a precharge signal Pre. Figure 2, but the DRAM interface 226 may also provide a bank address BADD, which may indicate in which bank the accessed row address XADD is located. The bank address BADD may activate a specific refresh control circuit 216 associated with the bank indicated by the bank address BADD. The DRAM interface may also place the refresh control circuit in a refresh mode by providing activation of a refresh signal AREF. The refresh signal AREF may be a periodic signal provided during the refresh mode, which may indicate the timing of the refresh operation. As part of the access operation, access signals ACT and Pre and the row address XADD may generally be provided. An activation signal ACT may be provided to activate a given bank of memory. A precharge signal Pre may be provided to precharge a given bank of memory. The row address XADD may be a signal comprising a plurality of bits (which may be transmitted sequentially or in parallel) and may correspond to a particular row of the activated memory bank.

[0045] exist Figure 2 In an example embodiment of , the refresh control circuit 216 uses sampling to monitor a portion of the row address XADD provided along the row address bus. Therefore, the refresh control circuit 216 can sample the current value of the row address XADD on the row address bus instead of responding to each row address, and can determine which addresses are aggressors based on the sampled row addresses. The sampling timing of the refresh control circuit 216 can be controlled by a sample timing circuit 230 that provides a sampling signal ArmSample. The sample timing circuit 230 can provide activation of the sampling signal ArmSample, and each activation of the signal ArmSample can indicate that the current value of the row address should be sampled. The activation of ArmSample can be a 'pulse', where ArmSample rises to a high logic level and then returns to a low logic level. The activation of the signal ArmSample can have periodic timing, random timing, semi-random timing, pseudo-random timing, or a combination thereof. In some embodiments, the timing of the signal ArmSample can be based in part on one or more other signals, such as an access signal ACT / Pre. In other embodiments, sampling may not be used, and aggressor detector circuit 232 may receive every value of row address XADD along a row address bus. In such embodiments, sample timing circuit 230 and sampling signal ArmSample may be omitted.

[0046] Aggressor detector circuit 232 may receive row address XADD from DRAM interface 226 and signal ArmSample from sample timing circuit 230. Row address XADD on row address bus may direct access operations (e.g., read and write operations) to memory cell array (e.g., Figure 1Each time aggressor detector circuit 232 receives activation (eg, a pulse) of signal ArmSample, aggressor detector circuit 232 may sample the current value of XADD.

[0047] Aggressor detector circuit 232 may determine an aggressor address based on one or more of the sampled row addresses, and may then provide the determined aggressor address as a matching address HitXADD. Aggressor detector circuit 232 may include a data storage unit (e.g., a number of registers) that may be used to store the sampled row addresses. In some example embodiments, when aggressor detector circuit 232 samples a new value of row address XADD (e.g., in response to activation of ArmSample), it may compare the sampled row address with the address stored in the data storage unit. If there is a match between the sampled address and one of the stored addresses, aggressor detector circuit 232 may provide a match signal Match. In some example embodiments, the matching address HitXADD may be one of the addresses stored in aggressor detector circuit 232 that matches the sampled address XADD most frequently. For example, aggressor detector circuit 232 may count the number of times each address XADD is received, and provide the address that is received the most times as the matching address HitXADD.

[0048] As part of the refresh mode, the memory device may perform a series of refresh operations to periodically refresh the rows of the memory device. The RHR state control circuit 236 may determine whether a given refresh operation is an automatic refresh operation or a target refresh operation. An RHR signal may be generated to indicate that the device should refresh a specific target row (e.g., a victim row) rather than an address in a series of automatic refresh addresses. The RHR state control circuit 236 may also provide an internal refresh signal IREF, which may indicate that an automatic refresh operation should be performed. In some embodiments, signals RHR and IREF may be generated so that they are not in effect at the same time (e.g., not both at a high logic level at the same time). In some embodiments, IREF may be activated for each refresh operation, and an automatic refresh operation may be performed, unless RHR is also in effect, in which case a target refresh operation is actually performed. The RHR state control circuit may perform a series of automatic refresh operations and target refresh operations in response to one or more activations of the refresh signal AREF.

[0049] In some embodiments, the refresh control circuit 216 may perform multiple refresh operations in response to each activation of the refresh signal AREF. For example, each time the refresh signal AREF is received, the refresh control circuit 216 may perform K different refresh operations by providing K different refresh addresses RXADD. Each refresh operation may be referred to as a 'pump'. Each of the K different refresh operations may be an automatic refresh operation or a target refresh operation. In some embodiments, in response to the activation of the refresh signal AREF, the number of target and automatic refresh operations in each set of pumps may be constant. In some embodiments, it may vary.

[0050] The refresh address generator 234 may receive a row hammer refresh signal RHR and a matching address HitXADD. The matching address HitXADD may represent an aggressor row. The refresh address generator 234 may determine the location of one or more victim rows based on the matching address HitXADD and provide them as refresh addresses RXADD when the signal RHR indicates a target refresh operation. In some embodiments, the victim rows may include rows that are physically adjacent to the aggressor rows (e.g., HitXADD+1 and HitXADD-1). In some embodiments, the victim rows may also include rows that are physically adjacent to the aggressor rows (e.g., HitXADD+2 and HitXADD-2). Other relationships between the victim rows and the identified aggressor rows may be used in other examples. For example, + / -3, + / -4, and / or other rows may also be refreshed.

[0051] The refresh address generator 234 may determine the value of the refresh address RXADD based on the row hammer refresh signal RHR. In some embodiments, when the signal RHR is not active, the refresh address generator 234 may provide one of a series of automatic refresh addresses. When the signal RHR is active, the refresh address generator 234 may provide a target refresh address as the refresh address RXADD, such as a victim address. In some embodiments, the refresh address generator 234 may count the activation of the signal RHR and may provide a closer victim row (e.g., HitXADD+ / -1) more frequently than a victim row (e.g., HitXADD+ / -2) that is farther away from the aggressor address.

[0052] The row decoder 208 may perform one or more operations on a memory array (not shown) based on the received signals and addresses. For example, in response to the activation signal ACT and the row address XADD (and IREF and RHR are at low logic levels), the row decoder 208 may direct one or more access operations (e.g., read operations) to the specified row address XADD. In response to the RHR signal being active, the row decoder 208 may refresh the refresh address RXADD.

[0053] The refresh control circuit 216 receives a refresh management signal RFM, which may be provided to a memory device (eg, Figure 1 In response to the signal RFM, the RHR state control circuit 236 may perform a target refresh operation even if the device is not originally performing a refresh operation.

[0054] Thus, the RHR state control circuit 236 may indicate that a target refresh operation should be performed as part of a periodic sequence, and may also indicate that a target refresh operation should be performed in response to activation of the signal RFM. A target refresh operation performed as part of a periodic sequence of refresh operations may generally be referred to as a 'periodic target refresh operation' to distinguish it from a target refresh operation performed in response to the signal RFM, which may generally be referred to as a 'requested target refresh operation' or an 'emergency target refresh operation'. It should be understood that the methods of actually performing the periodic target refresh operation and the requested target refresh operation may be substantially the same (e.g., updating the victim word line based on the matching address HitXADD), and the terminology does not agree on the reason for distinguishing a particular target refresh operation.

[0055] The memory controller may monitor access commands provided to a given group of memory. The memory controller may include refresh management (RFM) logic circuitry, which may include a count value. The count value stored in the RFM logic circuitry may be a rolling accumulation ACT (RAA) count. The controller may include a separate count value RAA for each group of the memory device, and may compare each count value RAA with a threshold value, respectively, to determine whether a signal RFM (or refresh management command) should be provided to the group associated with the count value RAA. The RAA count may be compared to a threshold value, which is a RAA initial management threshold value (RAAIMT). The value of the threshold RAAIMT may be a configurable value.

[0056] The signal RFM may be provided to the memory device based on a comparison of the count RAA with the threshold RAAIMT. For example, in an embodiment where the count RAA increases in response to each activation of the ACT, the controller may determine whether the count RAA is greater than the threshold RAAIMT. In such embodiments, if the count RAA is greater than RAAIMT, the signal RFM is provided to the refresh control circuit 216. When the signal RFM is provided, the value of the count RAA may change. For example, if the count RAA increases (e.g., increments) in response to the ACT, the count RAA may decrease in response to providing the signal RFM. In some embodiments, the count RAA may decrease by the value of the threshold RAAINT. In some embodiments, the count value RAA may have a minimum value (e.g., 0), and the count value RAA cannot decrease below the minimum value, even if the value of RAA decreases RAAINT would normally be below the minimum value.

[0057] The RHR state control circuit 236 may receive a refresh signal AREF and a signal RFM, and provide a row hammer refresh signal RHR and an internal refresh signal IREF. The refresh signal AREF may be generated periodically and may be used to control the timing of a refresh operation. The signals RHR and IREF may be used to control whether the memory performs a target refresh operation or an automatic refresh operation, respectively. For example, in response to each activation of the signal AREF, the RHR state control circuit 236 may provide several activations of the internal refresh signal IREF. In response to each activation of IREF (as long as the signal RHR is not in effect), an automatic refresh operation may be performed. The RHR state control circuit 236 may perform a periodic target refresh operation by providing several activations of the signal RHR after counting a specific number of activations of IREF. In other words, using AREF-based timing, the RHR state control circuit 236 may indicate that the memory should provide a first number of automatic refresh operations, then provide a second number of automatic refresh operations, then provide the first number of automatic refresh operations again, and so on. For example, the RHR state control circuit 236 may indicate that 8 auto-refresh operations should be performed (e.g., by providing IREF eight times), then may indicate that 4 targeted refresh operations should be performed (e.g., by providing IREF and RHR four times), and then repeat the cycle as long as the memory device is in refresh mode. Other numbers of auto-refresh and targeted refresh operations may be used in other examples. Thus, normal operation of a memory may include a period of time during which the memory performs a certain number of access operations (e.g., due to external commands) and then a period of time in refresh mode in which a series of auto- and targeted refresh operations are being performed (e.g., while AREF is provided).

[0058] In response to receiving the signal RFM, the RHR state control circuit 236 may indicate that one or more emergency target refresh operations should be performed. In some embodiments, after receiving the signal RFM, the RHR state control circuit 236 may perform an emergency target refresh operation, even if a refresh operation is not originally being performed. For example, after receiving the signal RFM, even if the memory device is not currently in refresh mode, the refresh control circuit 216 may also issue signals IREF and RHR, indicating that a target refresh operation should be performed. In some embodiments, the access operation may be 'put on hold' when the memory performs an emergency target refresh, and the access operation may then be resumed. In some embodiments, the RHR state control may indicate that multiple target refresh operations should be performed (for example, by providing signals RHR and IREF multiple times). For example, in response to each activation of the signal RFM, the RHR state control circuit 236 may indicate that two emergency target refresh operations should be performed. In other instances, other numbers of emergency target refresh operations may be performed in response to each activation of RFM.

[0059] The refresh control circuit 216 may include a skip logic circuit 239, which may receive signals RFM and REF_IP and provide a signal Skip based on the two signals. The signal Skip can be used to indicate that the RHR state control circuit 236 should skip the next periodic target refresh operation (for example, because the emergency target refresh has performed enough target refresh before the current refresh mode). In some embodiments, the signal Skip can cause the RHR state control circuit 236 to skip all periodic target refresh operations in the next refresh cycle (for example, the next time period in which the refresh mode exists). In some embodiments, when the memory periodically performs multiple target refresh operations as part of each refresh cycle, the signal Skip can cause the RHR state control circuit 236 to skip only a portion of the periodic target refresh operations. For example, due to the activation of the signal Skip, only one periodic target refresh operation can be skipped. In other example embodiments, other number of periodic target refresh operations can be skipped.

[0060] When the RHR state control circuit 236 receives the signal Skip, it may skip (e.g., not perform) the next periodic target refresh operation. In some embodiments, the RHR state control circuit 236 may skip the periodic target refresh operation by not performing any kind of refresh operation. In some embodiments, the RHR state control circuit 236 may skip the periodic target refresh operation by actually performing an automatic refresh operation (e.g., by providing only the signal IREF). When skipping the periodic target refresh operation, the RHR state control circuit 236 may provide activation of the signal REF_IP indicating that the periodic target refresh operation has been skipped. The activation of REF_IP may be a pulse of a signal, wherein the signal changes from an inactive level to an active level for a period of time, and then returns to an inactive level.

[0061] The skip logic circuit 239 may provide a signal Skip based on a count of the number of urgent target refresh operations. The skip logic circuit 239 may count the number of activations of the signal RFM and compare the count with a threshold. For example, whenever the signal RFM is activated, the count value N in the skip logic circuit 239 may increase (e.g., increment by one). Whenever the count value N changes, it may be compared with the threshold value N_th. When the count value N meets or exceeds the threshold value N_th, a signal Skip may be provided. The signal Skip may continue to be provided at an active level until the RHR state control circuit 236 responds to the signal Skip (e.g., by skipping the next periodic target refresh operation). In response to the RHR state control circuit 236 skipping the periodic target refresh operation (e.g., when the RHR state control circuit 236 provides the signal REF_IP), the skip logic circuit 239 may change the count N in a direction different from the direction in which the value N changes in response to the signal RFM. For example, in response to the periodic target refresh operation being skipped (eg, in response to the signal REF_IP), the count value N may be decreased. In some embodiments, the count value N may be decreased by the value of the threshold value N_th. In some embodiments, the count value N may be reset to an initial value (eg, 0).

[0062] The value of the threshold N_th may be based on the number of target refresh operations performed as part of each periodic target refresh cycle and the number of target refresh operations performed in response to each activation of the signal RFM. For example, the value of the threshold N_th may be set to a multiple of the ratio of the number of target refresh operations (I) performed per periodic target refresh cycle to the number of target refresh operations (J) performed in response to each activation of the signal RFM. In an example embodiment, the value of N_th may be given as N_th=2*I / J. The value of N_th may be programmable, for example, it may be set by a trim fuse of the memory.

[0063] In some embodiments, the skip logic 239 may control the skipping operation of the target refresh operation on different types of victim word lines, respectively. For example, the skip logic 239 may include a first threshold value N_th1, and when the count N is higher than the threshold value N_th1, the skip logic circuit 239 may provide a signal that causes the next periodic target refresh operation on the + / -1 (e.g., adjacent) victim word line to be skipped. The skip logic 239 may also include a second threshold value N_th2, and when the count N is higher than the second threshold value N_th2, the skip logic circuit 239 may provide a signal that causes the next periodic target refresh operation on the + / -2 victim word lines to be skipped.

[0064] Figures 3A to 3B 300a and 300b illustrate a refresh control circuit that counts a refresh management signal RFM to determine when to skip the next periodic target refresh operation (eg, Figure 1 116 and / or Figure 2 216) operation. Figures 3A to 3B Shows skip logic circuits (e.g., Figure 2 239) of different embodiments of the operation. Specifically, Figure 3A The count value N is shown to be reduced by the threshold value N_th (in Figure 3A In the example of , it is an embodiment of 2). For example, each time the signal REF_IP is provided, the count value N can be reduced by N_th. Figure 3B An embodiment is shown in which the count value N is reset to an initial value (in this case, 0) after skipping a periodic target refresh operation. For example, the value N may be reset to 0 whenever the signal REF_IP is provided.

[0065] Figure 3A and 3B All show the same access pattern of the memory bank. The first row of timing diagrams 300a-b shows the relative rates of memory bank access. Time can be represented along the x-axis, starting from an initial time t0. Time periods marked as 'severe attack' (e.g., t0 to t1 and t3 to t4) represent periods during which the memory bank is receiving access commands at an extremely high rate, which may indicate that it is undergoing a malicious attack, such as a row hammer attack. Time periods marked as 'light attack' (e.g., t1 to t2) represent periods during which the memory bank is receiving access commands at a high rate, which may be part of a malicious attack, but the access rate during the light attack is less than the rate during the severe attack. Time periods marked as 'no attack' (e.g., t4 to t5) indicate that the memory is receiving access commands at a normal rate.

[0066] The second row of timing diagrams 300a-b illustrates refresh operations performed by the memory together with refresh management signal RFM and accesses between refresh operations. Figures 3A to 3B The timing diagram of shows simplified periodic refresh modes, where each refresh mode includes a single auto-refresh operation and an opportunity for a single target refresh operation. It should be understood that other numbers of refresh operations may be used in other example embodiments.

[0067] The third row of timing diagrams 300a-b shows skip logic circuits (e.g., Figure 2 239). In order to highlight the behavior of how the count value N changes when the periodic target refresh operation is skipped, only the count value is shown each time the memory performs a periodic automatic and target refresh operation. Whenever the count value N is shown, the count value N is shown as a pair of values, namely the value of the count N just before the periodic refresh operation is performed and the value immediately after the periodic refresh operation is shown. Arrows pointing to numbers are shown to indicate the number of skipped periodic target refresh operations.

[0068] At initial time t0, a count value (not shown) may be at 0 after a periodic target refresh operation just after t0 is skipped. Figure 3A and 3B In the case of the two embodiments shown in , the threshold N_th is set to a value of 2. After time t2, there is a gap in which no memory operation is shown before time t3. Starting at t3, similar to the initial time t0, the count value is 0 after the target refresh operation just after t3 is skipped.

[0069] Figure 3A A timing diagram 300a is shown of an embodiment in which the count value N is reduced by the value of a threshold value N_th each time a periodic target refresh operation is skipped, the value of the threshold value N_th being 2 in this example embodiment. After t0, the signal RFM is issued twice, followed by a periodic refresh operation. In the periodic refresh operation, the target refresh operation is skipped, and the count N is reduced to 0. Next, there are four more RFM signals, and the count is increased to 4. When the next periodic target refresh operation is skipped, the count N drops to 2. Next, there are three more RFM signals, which cause the count N to rise to 5. After the next periodic target refresh operation (e.g., because N=5>=N_th=2), the count is reduced to 3.

[0070] exist Figure 3AIn the embodiment of the present invention, the periodic target refresh operation may continue to be skipped even when the RFM signal is not issued. Jumping forward to time t4, when the no-attack period begins, after the periodic target refresh operation is skipped, the count value N is at 4. The signal RFM is not provided, so when the next periodic refresh operation begins, the count N remains at the value 4. Because the value of the count N still meets or exceeds the value of the threshold N_th, the periodic target refresh operation is skipped. Therefore, at Figure 3A In the embodiment of the present invention, the periodic target refresh operation can still be skipped even when the access rate of the memory is low enough that the signal RFM is not provided.

[0071] Figure 3B An embodiment is shown in which the count value N is reset to a minimum value (e.g., 0) whenever a periodic target refresh operation is skipped. Starting at an initial time t0, as can be seen after two activations of the signal RFM, the count value N is 2. After the periodic target refresh operation is skipped, the count value N is reset to 0. Next, there are four activations of the signal RFM, and therefore the count value is N. After the next periodic target refresh operation is skipped, the count value N is reset to 0 again. Resetting the value of N can help ensure that periodic target refresh operations are skipped only when the signal RFM is provided between refresh operation periods (e.g., when the memory bank receives access commands at a high rate). It can be seen that compared to Figure 3A In the embodiment of Figure 3B In the embodiment of FIG. 5 , after the attack-free period starts at time t4, no target refresh operation is skipped.

[0072] Figure 4 is a schematic diagram of a skip logic circuit according to an embodiment of the present disclosure. In some embodiments, the skip logic circuit 400 may be included in Figure 2 The skip logic circuit 239 of the embodiment of the present invention can have Figure 3B The characteristics shown in the timing diagram 300b of , and the count value N may be reset whenever a periodic refresh operation is skipped.

[0073] The skip logic circuit 400 includes a counter circuit 444 that stores and manages the value of the count N. Figure 4 In the embodiment of the present invention, the counter circuit 444 also manages the comparison of the count N with a threshold value N_th, which is set based on the signal tmfz from the trim fuse (e.g., as set in the fuse array of the memory device). In other embodiments, a separate comparator circuit may be used. When the count value N meets or exceeds the threshold value N_th, the counter circuit 444 signals Flag at an active level (e.g., a high logic level). The signal Flag may continue to be provided at an active level until the count value N is lower than the threshold value N_th (e.g., until the count value is reset).

[0074] The clock terminal of the counter circuit 444 is coupled to the refresh management signal RFM. Whenever the activation of the signal RFM is received (e.g., the rising edge of RFM), the counter circuit 444 may increment the value of N. Whenever the count value changes, the counter circuit 444 may compare the count value N with the threshold value N_th. The reset terminal of the counter circuit is coupled to the reset signal rst_n. When the counter circuit 444 receives the activation of the signal rst_n (e.g., the signal rst_n is at a low logic level), the count value N may be reset to an initial value (e.g., 0). In some embodiments, the threshold value may be set by setting the maximum value that the count value N may have and then setting the signal Flag to an active level when the count exceeds the maximum value (e.g., overflow). Therefore, the signal tmfz may be used to set the maximum value of N to N_th-1.

[0075] The reset signal rst_n may be based on the state of the signal Skip. The signal Skip may be coupled to the inverter circuit 443 via the delay circuit 442. Thus, at a first time, the signal skip may rise from a low logic level to a high logic level (e.g., when the count value N meets or exceeds the threshold value N_th). At a second time after the first time, the signal rst_n may change from a high logic level to a low logic level. This in turn may reset the count value and cause the signal Flag to drop to a low logic level.

[0076] The skip logic circuit 400 includes a latch circuit 452, which can store and provide the value of the skip signal Skip. The latch circuit 452 can be used to ensure that the signal Skip remains at an active level (e.g., a high logic level) until the next periodic target refresh operation is skipped. Figure 4 As shown in the circuit of the example of , the latch circuit 452 may include a pair of cross-coupled NOR gates. The first NOR gate has a first input terminal coupled to the signal Flag and a second input terminal coupled to the signal Skip. The first NOR gate has an input terminal coupled to the first input terminal of the second NOR gate, and the second NOR gate has a second input terminal coupled to the falling edge detector of the signal REF_IP (as described herein). The output of the second NOR gate is the signal Skip. The latch circuit 452 has a data terminal coupled to the signal Flag. When the signal Flag is received at an active level, the signal Skip stored in the latch circuit 452 is set to an active level. The latch circuit 452 has a reset terminal coupled to the output of the NOR gate 450 (which provides a signal at a high logic level in response to the falling edge of the signal REF_IP). When the signal on the reset terminal is received at a high logic level, the signal Skip becomes a low logic level.

[0077] The skip logic circuit 400 receives a signal REF_IP, which indicates that a periodic target refresh operation has been skipped. The signal REF_IP is coupled to a reset terminal of a latch circuit 452 through an inverter 446, a delay circuit 448, and a NOR gate 450, which acts as a falling edge detector for the signal REF_IP. One input terminal of the NOR gate 450 is coupled to the signal REF_IP. The other input terminal of the NOR gate 450 is coupled to the signal REF_IP through the inverter circuit 446 and the delay circuit 448. Therefore, when the signal REF_IP drops from an active level to an inactive level (e.g., from a high logic level to a low logic level), the NOR gate 450 can provide a signal at a high logic level, which can reset the latch circuit 452 so that the signal Skip is provided at a low logic level.

[0078] Figure 5 500 is a timing diagram of signals of a skip logic circuit according to an embodiment of the present disclosure. The signals shown in timing diagram 500 may be used to indicate the signals of a skip logic circuit (e.g., Figure 4 5 is an example of a signal used by the skip logic circuit 400 of the embodiment of the present invention, which resets the count N each time a periodic target refresh operation is skipped. The timing diagram 500 shows various signals over time, with time extending from left to right along the x-axis. Each signal is shown as a separate trace, with a low logic level shown as a first level on the y-axis and a high logic level shown as a second level higher than the first level in the y-axis (except for the count value N, which is shown as a numerical value).

[0079] The first trace shows the refresh management signal RFM, which is provided by the controller of the memory based on the access rate of the memory. The second trace shows the signal REF_IP, which is used to indicate that the periodic target refresh operation has been skipped. The third trace shows the count value N over time. The fourth trace shows the signal Flag, which can be provided by a counter circuit (e.g., Figure 4 The fifth trace shows a signal Skip, which may be provided by a skip logic circuit (e.g., Figure 2 239) provided.

[0080] Prior to an initial time t0, the value of count N is 0, and signals REF_IP, Flag, and Skip are all at low logic levels. At t0, activation of signal RFM is received. This may indicate that the controller has counted a particular number of access commands for a group. In response to activation of RFM (e.g., in response to a rising edge of RFM), count value N increases one by one to a value of 1. At a first time t1, a second activation of signal RFM is received. This may cause value N to increase to 2, which is threshold value N_th in this example embodiment.

[0081] Because the value of N is now equal to or greater than N_th, the signal Flag is raised to a high logic level, which in turn causes the signal Skip to be raised to a high logic level. The rise of the signal Skip to a high logic level can reset the count value N to an initial value (e.g., 0). This can cause the signal Flag to drop to a low logic level. The signal Skip can be provided to the RHR state control circuit to indicate that the next periodic target refresh operation should be skipped. At a second time t2, the signal REF_IP is provided to indicate that the memory device has performed a periodic refresh operation and that the periodic target refresh operation has been skipped. At a third time t3, in response to the falling edge of the signal REF_IP and the signal Flag is no longer at a high logic level, the signal Skip drops back to a low logic level.

[0082] Figure 6 is a flow chart of a method for dynamic target refresh stealing according to an embodiment of the present disclosure. In some example embodiments, method 600 may be performed by Figure 1 The device 100 is implemented.

[0083] The method 600 may include block 610 describing receiving a refresh management signal at a bank of memory. The refresh management signal may be based on an access command for a particular bank of memory. The access command may be an access command associated with, for example, reading data from or writing data to one or more word lines of the bank. The access command may be issued by a controller (e.g., Figure 2 The memory group may include an access period in which access commands are sent and received and a refresh mode period in which one or more refresh operations are performed. The pattern of access period and refresh mode may repeat.

[0084] The refresh management signal may be based on a first count in response to an access command and comparing the first count to a threshold. The controller may include a first count value (e.g., RAA). In some embodiments, the first count value may be increased (e.g., increased by one) each time an access command is provided to a particular group of memories. The first count value may be compared to a first threshold (e.g., RAAIMT), and it may be determined whether the first count RAA is greater than or equal to the first threshold RAAIMT. The refresh management signal (e.g., RFM) may be provided when the count is greater than the first threshold.

[0085] Block 610 may be followed by block 620, which describes changing the count in response to a refresh management signal and comparing the count to a threshold. The refresh control circuit may include a skip logic circuit (e.g., 239) that manages the count value (e.g., N). In some embodiments, the count value N may be increased in response to each refresh management signal (e.g., RFM). The count value may be compared to a threshold (e.g., N_th) to determine whether the count value is greater than or equal to a second threshold N_th.

[0086] Block 620 may be followed by block 630, which describes periodically performing targeted refresh operations on the memory bank. The memory bank may be in a refresh mode, wherein periodic refresh operations are performed. The interface may place the memory bank in refresh mode by providing a refresh signal (e.g., AREF). When performing refresh operations, some refresh operations may be automatic refresh operations and some refresh operations may be targeted refresh operations. The memory bank may receive access commands for a period of time, then be in refresh mode for a period of time, and then may repeat this operation.

[0087] Block 630 may be followed by block 640, which describes skipping a next periodic target refresh operation in the periodic target refresh operations based on a comparison of the second count with the second threshold. In some embodiments, when the second count is greater than or equal to the second threshold, the next periodic target refresh operation may be skipped. In some embodiments, after skipping the next periodic target refresh operation, the count value N may be reduced. For example, the count value N may be reduced by a threshold value N_th. In another example, the count value N may be reduced by resetting the value of N to an initial value (e.g., 0).

[0088] Of course, it should be understood that any of the examples, embodiments, or processes described herein may be combined or separated from one or more other examples, embodiments, and / or processes and / or performed in a separate device or device portion according to the systems, devices, and methods of the present invention.

[0089] Finally, the above discussion is intended only to illustrate the inventive system and should not be construed as limiting the appended claims to any particular embodiment or group of embodiments. Therefore, although the inventive system has been described in detail with reference to exemplary embodiments, it should also be understood that many modifications and alternative embodiments may be devised by those skilled in the art without departing from the broader and intended spirit and scope of the inventive system as set forth in the appended claims. Therefore, the specification and drawings should be viewed in an illustrative manner and are not intended to limit the scope of the appended claims.

Claims

1. A device, include: a memory bank configured to receive a refresh management signal; a skip logic circuit configured to change a count value in response to the refresh management signal and configured to provide a skip signal based on the count value; as well as a refresh state control circuit configured to periodically provide a target refresh signal when the memory bank is in a refresh mode, wherein the target refresh control circuit is further configured to skip providing a next target refresh signal in response to the skip signal, The skip logic circuit is configured to increase the count value in response to the refresh management signal, and is configured to decrease the count value by a threshold in response to the next target refresh signal being skipped.

2. The apparatus of claim 1 , wherein the skip logic circuit is configured to change the count value in a first direction in response to the refresh management signal, and is configured to change the count value in a second direction opposite to the first direction based on the next target refresh signal being skipped. 3 . The apparatus of claim 1 , wherein the skip logic circuit is configured to provide the skip signal based on a comparison of the count value to the threshold value. 4 . The apparatus of claim 1 , wherein the refresh state control circuit is configured to provide a pulse of a command signal in response to skipping the next target refresh signal. 5 . The apparatus of claim 4 , wherein the skip logic circuit is configured to reset the count value to an initial value in response to receiving the pulse of the command signal. 6 . The apparatus of claim 4 , wherein the skip logic circuit is configured to reset the count value in response to a falling edge of the pulse of the command signal.

7. The apparatus of claim 1, wherein the refresh management signal is provided based on a rate of access commands to the memory bank.

8. A device, include: a group of memory devices; an interface configured to provide access commands and refresh management signals to the group; a refresh control circuit associated with the set, wherein the refresh control circuit is configured to: periodically indicating that a first type of refresh operation and a second type of refresh operation should be performed when the group is in a refresh mode; based on the refresh management signal, indicating the first type of refresh operation when the group is not in the refresh mode; and Based on the number of refresh operations of the first type indicated when the group was not in the refresh mode, the number of refresh operations of the first type is reduced during the next time the memory is in the refresh mode. 9 . The apparatus of claim 8 , wherein the first type of refresh operation is a targeted refresh operation, and wherein the second type of refresh operation is an auto-refresh operation.

10. The apparatus of claim 9, further comprising an aggressor detector circuit configured to identify an aggressor word line of the memory bank, wherein during the first type of refresh operation, at least one victim word line associated with the aggressor word line is refreshed.

11. The device according to claim 8, further comprising: include: a skip logic circuit configured to provide a skip signal based on a comparison of a count of activations of the refresh management signal to a threshold, wherein the refresh control circuit is configured to, in response to each activation of the refresh management signal, indicate a refresh operation of the first type when the memory bank is not in the refresh mode, and Wherein the refresh control circuit is configured to reduce the number of refresh operations of the first type in response to the skip signal.

12. The apparatus of claim 11, wherein the refresh control circuit is configured to periodically indicate that the first type of refresh operation should be performed a first number of times during the refresh mode, and to indicate that the first type of refresh operation should be performed a second number of times in response to each activation of the refresh management signal.

13. The apparatus of claim 12, wherein the threshold is based on the first number of times and the second number of times.

14. The apparatus of claim 8, wherein the refresh control circuit is configured to reduce the number of refresh operations of the first type by skipping one or more indications of refresh operations of the first type during the next time the memory is in the refresh mode.

15. A method, include: receiving a refresh management signal for a group of memories; changing a count in response to the refresh management signal and comparing the count to a threshold; periodically performing a target refresh operation on the memory bank; skipping a next one of the periodic targeted refresh operations based on the comparison of the count and the threshold; as well as The count is incremented in response to receiving the refresh management signal, and the count is decremented in response to skipping the next one of the periodic targeted refresh operations. 16 . The method of claim 15 , wherein decrementing the count in response to skipping the next one of the periodic targeted refresh operations comprises decrementing the count by a value of the threshold. 17 . The method of claim 15 , wherein decrementing the count in response to skipping the next one of the periodic targeted refresh operations comprises resetting the count to an initial value.

18. The method of claim 15, wherein periodically performing the target refresh operation is during a refresh mode of the group, and wherein the method further comprises performing the target refresh operation in response to the refresh management signal when the group is not in the refresh mode.