Semiconductor storage device
By using the control unit in the semiconductor storage device to perform the refresh operation at the shortest interval until the conditions are met, and the refresh interval is extended when there is no read and write, the column hammer problem and the increase in power consumption are solved, and the stable data retention and Extended battery life.
Patent Information
- Application Number
- CN202011037938.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-28
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-09-28
AI Technical Summary
Dynamic random access memory is prone to column hammering problems when it is read and written frequently, resulting in data corruption. The existing solutions that increase refresh intervals to reduce power consumption have the disadvantage of increased power consumption.
By introducing a control unit in the semiconductor memory device, the refresh operation of the control memory is performed at the shortest interval of the plurality of intervals until a predetermined condition is met, data destruction caused by frequent read and write is avoided, and the refresh interval is extended when there is no read and write. Reduce the number of refreshes and reduce power consumption.
It effectively avoids data destruction caused by column hammer problems, while suppresses the increase in power consumption of semiconductor storage devices, and improves data retention characteristics and battery life.
Smart Images

Figure CN114283862B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a semiconductor memory device. Background Art
[0002] Dynamic Random Access Memory (DRAM) is a volatile memory that stores information by accumulating charge in a capacitor. Once there is no power supply, the stored information will be lost. Since the charge accumulated in the capacitor will be discharged after a certain period of time, DRAM needs to be charged regularly. This storage retention operation is called refresh.
[0003] However, during the refresh period, if the multiple read and / or write requests to the same row address are too concentrated, the row hammer problem may occur. The so-called row hammer problem is that when the multiple accesses to the same row address are too concentrated within a certain period of time, the charge of the data bits corresponding to the row addresses physically adjacent to the row address will be discharged, causing data corruption.
[0004] Figure 1 An example of the relationship between a pattern of read / write access requests to a semiconductor memory device and a refresh interval is shown. Figure 1 In the example shown, it is assumed that refreshing is performed every certain time (interval I1). Figure 1 As shown in (a), when read and write access is not frequently required, the data retention characteristics of the memory are not impaired. Figure 1 As shown in (b), when read / write access is frequently required, the data retention characteristics of the memory will be impaired (in other words, the charge of the data bit will be discharged), and the data retention time will be shortened. As a result, data corruption may occur. Summary of the invention
[0005] In order to solve the problem of column hammering, for example, it has been considered to set the refresh interval (I1) of the memory to be shorter. However, in this case, the refresh is frequently performed at short intervals, so there is a possibility that the power consumption of the semiconductor memory device will increase.
[0006] The present invention is made in view of the above problems, and an object of the present invention is to provide a semiconductor memory device that can suppress the increase of power consumption and avoid data destruction caused by the column hammer problem.
[0007] In order to solve the above-mentioned problems, the present invention provides a semiconductor memory device, comprising: a control unit, which controls the refresh operation of the memory to be performed at any one of a plurality of intervals; when a read or write access is required to the memory, the refresh operation of the memory is controlled to be performed at the shortest interval among the plurality of intervals until a predetermined condition is satisfied. (Invention 1)
[0008] According to the related invention (Invention 1), when read or write access is required for the memory, since the refresh operation of the memory is performed at the shortest interval until the predetermined condition is satisfied, even when read or write access is frequently required, the refresh operation of the memory can be performed frequently accordingly. In this way, data destruction caused by the column hammering problem can be avoided. In addition, if read or write access is not required, since the refresh operation of the memory can be performed at an interval longer than the shortest interval, for example, the number of refresh operations performed can be reduced compared to the case where the refresh operation of the memory is often performed at the shortest interval. In this way, the increase in power consumption of the semiconductor memory device can be suppressed.
[0009] In the above invention (Invention 1), the predetermined condition may be to perform the refresh operation of the memory a predetermined number of times at the shortest interval. (Invention 2)
[0010] According to the related invention (Invention 2), the refresh interval of the memory can be shortened until the refresh operation of the memory is performed a predetermined number of times at the shortest interval.
[0011] In the above inventions (Inventions 1-2), the control unit may also include: a selector, which outputs a refresh trigger signal of any one of the multiple intervals based on a control signal; and a circuit unit, which generates the control signal and outputs it to the selector when a read or write access is required for the memory, so that the refresh trigger signal of the shortest interval is output from the selector until the predetermined condition is satisfied. (Invention 3)
[0012] According to the related invention (Invention 3), when a read or write access is required to the memory, the refresh interval can be controlled by outputting a refresh trigger signal with the shortest interval from the selector until a predetermined condition is satisfied.
[0013] The above inventions (Inventions 1 to 3) may also include: a temperature sensor that detects the temperature of the semiconductor memory device; when any one of the plurality of intervals corresponds to the temperature of the semiconductor memory device, the control unit controls the refresh operation of the memory to be performed at the interval corresponding to the temperature detected by the temperature sensor among the plurality of intervals. (Invention 4)
[0014] Generally speaking, the higher the temperature of a semiconductor memory device, the shorter the refresh interval required to properly maintain data. According to a related invention (Invention 4), since the refresh interval can be shortened or lengthened according to the temperature of the semiconductor memory device, data can be properly maintained according to the temperature of the semiconductor memory device.
[0015] In the above invention (Invention 4), the control unit may also include: a first selector, which outputs a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor among the multiple intervals; a second selector, which outputs a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor, or outputs a refresh trigger signal of the shortest interval based on a control signal; and a circuit unit, which generates the control signal and outputs it to the second selector when a read or write access is requested to the memory, so that the refresh trigger signal of the shortest interval is output from the second selector until the predetermined condition is satisfied. (Invention 5)
[0016] According to the related invention (Invention 5), data can be appropriately maintained according to the temperature of the semiconductor memory device, while suppressing the increase in power consumption and avoiding data destruction caused by the column hammer problem.
[0017] In the above invention (Invention 4), the control unit may also include: a selector, based on a control signal, outputting a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor among the plurality of intervals; and a circuit unit, when a read or write access is required to the memory, generating the control signal and outputting it to the selector, so that the refresh trigger signal of the shortest interval is output from the selector until the predetermined condition is satisfied. (Invention 6)
[0018] According to the related invention (Invention 6), data can be appropriately maintained according to the temperature of the semiconductor memory device, while suppressing the increase in power consumption and avoiding data destruction caused by the column hammering problem.
[0019] In the above inventions (Inventions 4 to 6), the control unit may also control the refresh operation of the memory so that the refresh operation is performed at shorter intervals as the temperature detected by the temperature sensor is higher. (Invention 7)
[0020] According to the related invention (Invention 7), for example, since the refresh operation is performed at shorter intervals as the temperature of the semiconductor memory device is higher, data can be appropriately maintained in accordance with the temperature of the semiconductor memory device.
[0021] According to the semiconductor memory device of the present invention, it is possible to suppress an increase in power consumption and avoid data destruction caused by the column hammer problem. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1An example of the relationship between a pattern of read / write access requests to a conventional semiconductor memory device and a refresh interval is shown.
[0023] Figure 2 It is a block diagram showing an example of the structure of a semiconductor memory device according to the first embodiment of the present invention.
[0024] Figure 3 A configuration example of a control unit is shown.
[0025] Figure 4 It is a timing chart showing the transition of the voltage of the signal of each part in the semiconductor memory device.
[0026] Figure 5 An example of the relationship between the pattern of read / write access requests to the semiconductor memory device according to the first embodiment of the present invention and the refresh interval is shown.
[0027] Figure 6 An example of the relationship between the temperature and the refresh interval in the semiconductor memory device according to the second embodiment of the present invention is shown.
[0028] Figure 7 A configuration example of a control unit of a semiconductor memory device according to a second embodiment of the present invention is shown.
[0029] Figure 8 A configuration example of a control unit of a semiconductor memory device according to a third embodiment of the present invention is shown.
[0030] Explanation of symbols
[0031] 10: Control Department
[0032] 20: Memory
[0033] 21: Instruction decoder
[0034] 22: Column control unit
[0035] 23: Line Control Unit
[0036] 24: Memory cell array
[0037] 25: Reset signal generating unit
[0038] 100: Oscillator circuit
[0039] 110: Counter
[0040] 120: Counter
[0041] 121: Counter
[0042] 122: Counter
[0043] 130:Selector
[0044] 140: Circuit Department
[0045] 141:NOR gate
[0046] 142:NOR gate
[0047] 143: Inverter
[0048] 144: 1st shift register
[0049] 145: 2nd shift register
[0050] 146:NOR gate
[0051] 147:NAND Gate
[0052] 148:NAND Gate
[0053] 149:NAND Gate
[0054] 150:Selector
[0055] 160: Temperature sensor
[0056] 161: Temperature sensor
[0057] 162: Temperature sensor
[0058] ck: Clock terminal
[0059] CLEN,SAEN:Signal
[0060] CMDRD, CMDWR: trigger signal
[0061] I1,I2:Interval
[0062] HT,LT:Signal
[0063] LAT:Signal
[0064] OSC, OSC1, OSC1a, OSC1b, OSC1c, OSC2: refresh trigger signal
[0065] RDWR:Signal
[0066] REF:Signal
[0067] RESET: Reset signal
[0068] reset: reset terminal
[0069] SEL: control signal
[0070] SHIFT1, SHIFT2: signal
[0071] SRTRIG: refresh trigger signal
[0072] WLOFF,WLON:Signal DETAILED DESCRIPTION
[0073] Hereinafter, a semiconductor memory device according to an embodiment of the present invention will be described in detail with reference to the accompanying drawings. However, the embodiment is merely an illustrative example and the present invention is not limited thereto.
[0074] In addition, the descriptions such as "first", "second", and "third" in this specification are used to distinguish a certain component from other components, and are not intended to limit the number, order, or priority of the components. For example, when there are descriptions of "first component" and "second component", it does not mean that only two components, "first component" and "second component" are used, nor does it mean that "first component" must take precedence over "second component".
[0075] (First embodiment)
[0076] Figure 2 1 is a block diagram showing an example of the configuration of a semiconductor memory device according to the first embodiment of the present invention. The semiconductor memory device includes a control unit 10 and a memory 20. Each of the control unit 10 and the memory 20 can be configured using dedicated hardware devices or logic circuits.
[0077] The semiconductor memory device of the present embodiment may be a pSRAM (pseudo-Static Random Access Memory) including a control unit 10 and a memory 20, which is configured in a manner of internally controlling refresh operations. In existing DRAMs, for example, there is a dedicated circuit that solves the column hammering problem by logging in interference word line addresses or restoring data by additional refresh operations. On the other hand, since pSRAM is moving toward miniaturization compared to existing DRAMs, it is difficult to ensure space for setting up such a dedicated circuit. In addition, if such a dedicated circuit is set up in pSRAM, there is a risk that the cost of pSRAM will be high.
[0078] Therefore, when the semiconductor memory device of the present embodiment is a pSRAM, it is not necessary to provide such a dedicated circuit, thereby suppressing the increase in power consumption and avoiding data destruction due to the column hammering problem, which is preferred.
[0079] The control unit 10 controls the refresh operation of the memory 20 to be performed at multiple intervals ( Figure 4 as well as Figure 5When a read or write access is required to the memory 20, the refresh operation of the control memory 20 is executed at the shortest interval (I2) among the multiple intervals until the predetermined condition is met. The detailed structure of the control unit 10 will be described later.
[0080] Here, the predetermined condition may be, for example, executing the refresh operation of the memory 20 a predetermined number of times (for example, 3 times) at the shortest interval (here, I2) among the multiple intervals. Thus, the refresh interval of the memory 20 can be shortened until the refresh operation of the memory 20 is executed a predetermined number of times at the shortest interval.
[0081] The memory 20 is a semiconductor memory (eg, DRAM) that needs to be refreshed. Alternatively, the memory 20 may be located outside the semiconductor memory device and transmit and receive signals to and from the semiconductor memory device.
[0082] Reference Figure 2 , an example of the structure of the memory 20 is described. The memory 20 includes: a command decoder 21, a column control unit 22, a row control unit 23, a memory cell array 24, and a reset signal generating unit 25. In addition, in order to simplify the description here, other well-known structures, such as an interface unit (interface pins, etc.) for input and output, are not shown.
[0083] The command decoder 21 interprets the command signal provided from the outside and generates a command control signal. Then, if the command provided from the outside is a read command, the command decoder 21 outputs a trigger signal CMDRD for a read operation to the column control unit 22 and the row control unit 23. In addition, if the command provided from the outside is a write command, the command decoder 21 outputs a trigger signal CMDWR for a write operation to the column control unit 22 and the row control unit 23.
[0084] The column control unit 22 controls the activation / inactivation of the corresponding memory array in the memory cell array 24 according to each trigger signal CMDRD, CMDWR or a refresh trigger signal SRTRIG described later. For example, the column control unit 22 outputs a signal WLON and a signal WLOFF to the memory cell array 24 and the control unit 10. The signal WLON is used to activate the column word line; the signal WLOFF is used to deactivate the column word line. The column word line is selected to perform read or write access or refresh, etc.
[0085] In addition, the column control section 22 outputs a signal SAEN for activating the sense amplifier to the memory cell array 24 and the row control section 23. In addition, the column control section 22 outputs a signal RDWR indicating a read or write access request and a signal REF indicating a refresh operation to the control section 10. In addition, the column control section 22 performs a refresh operation on the memory cell array 24 based on a refresh trigger signal SRTRIG output from the control section 10.
[0086] The row control unit outputs a signal CLEN for activating a row bit line to the memory cell array 24 based on the trigger signals CMDRD, CMDWR, etc. The row bit line is selected to perform read or write access or the like.
[0087] In addition, since the address and data control of the memory cell array 24 are also well-known technologies, the description thereof will be omitted in this embodiment.
[0088] The reset signal generating section 25 outputs a reset signal RESET for initializing a logic circuit or the like in the semiconductor memory device to the control section 10 , the command decoder 21 , and the column control section 22 .
[0089] In this embodiment, a case where a memory 20 is provided with a command decoder 21, a column control unit 22, a row control unit 23, a storage cell array 24 and a reset signal generating unit 25 is used as an example for explanation. However, for example, when the memory 20 exists outside the semiconductor memory device, at least one of the units 21 to 25 may also be provided together with the control unit 10 in the semiconductor memory device.
[0090] Next, refer to Figure 3 , the structure of the control unit 10 is described. The control unit 10 includes an oscillation circuit 100, two counters 110, 120, a selector 130, and a circuit unit 140. In addition, the reset signal RESET output from the reset signal generating unit 25 can also be input to the two counters 110, 120.
[0091] The oscillation circuit 100 generates a refresh trigger signal OSC for starting a refresh operation at predetermined intervals, and outputs the refresh trigger signal OSC to two counters 110 and 120 .
[0092] Whenever the pulse count of the refresh trigger signal OSC output from the oscillation circuit 100 reaches M (M is any number greater than 1), the counter 110 outputs one pulse signal as the refresh trigger signal OSC2 to the selector 130. In other words, the interval (here I2) of the refresh trigger signal OSC2 is M times that of the refresh trigger signal OSC.
[0093] In addition, every time the pulse count of the refresh trigger signal OSC output from the oscillation circuit 100 reaches N (N is an arbitrary number greater than 1 and greater than M), the counter 120 outputs one pulse signal as the refresh trigger signal OSC1 to the selector 130. In other words, the interval (here, I1) of the refresh trigger signal OSC1 is N times that of the refresh trigger signal OSC, and is longer than the interval of the refresh trigger signal OSC2.
[0094] Based on the control signal SEL described later, the selector 130 outputs a refresh trigger signal of any one of the multiple intervals (here, OSC1 or OSC2) as the refresh trigger signal SRTRIG to the column control unit 22. In the present embodiment, when the control signal SEL is at a high level, the selector 130 outputs the refresh trigger signal OSC1 of the long interval (I1) to the column control unit 22; when the control signal SEL is at a low level, the selector 130 outputs the refresh trigger signal OSC2 of the short interval (I2) to the column control unit 22.
[0095] When a read or write access is requested to the memory 20, the circuit unit 140 generates a control signal SEL and outputs it to the selector 130, so that the refresh trigger signal with the shortest interval (here, OSC2) is output from the selector 130 until a predetermined condition is satisfied. In this embodiment, the circuit unit 140 includes: an RS flip-flop using two NOR gates 141 and 142, an inverter 143, a first shift register 144, a second shift register 145, a NOR gate 146, a NAND gate 147, a NAND gate 148, and a NAND gate 149.
[0096] The input terminal of one side of the NOR gate 141 of the RS flip-flop is applied with the signal RDWR output from the column control unit 22. In addition, the input terminal of the other side of the NOR gate 141 is connected to the output terminal of the NOR gate 142. In addition, the output terminal of the NOR gate 141 is connected to the input terminal of the inverter 143 and the input terminal of one side of the NOR gate 142. In addition, the input terminal of the other side of the NOR gate 142 is connected to the output terminal of the NAND gate 149.
[0097] The inverter 143 logically inverts the signal output from the NOR gate 141 , and outputs the logically inverted signal as a signal LAT to the first shift register 144 .
[0098] The first shift register 144 shifts the signal LAT outputted from the inverter 143 by clock, and outputs the signal SHIFT1 to the second shift register 145 and the NOR gate 146. In addition, the reset terminal (reset) of the first shift register 144 may also be supplied with the reset signal RESET outputted from the reset signal generating unit 25.
[0099] The second shift register 145 shifts the signal SHIFT1 outputted from the first shift register 144 by the clock to output the signal SHIFT2 to the NOR gate 146 and the NAND gate 148. In addition, the reset signal RESET outputted from the reset signal generating unit 25 may also be applied to the reset terminal (reset) of the second shift register 145.
[0100] One input terminal of the NOR gate 146 is connected to the output terminal of the first shift register 144. In addition, the other input terminal of the NOR gate 146 is connected to the output terminal of the second shift register 145. In addition, the result of the logic operation in the NOR gate 146 is output to the selector 130 as the control signal SEL.
[0101] The input terminal on one side of the NAND gate 147 is supplied with the signal WLON output from the column control unit 22. In addition, the input terminal on the other side of the NAND gate 147 is supplied with the signal REF output from the column control unit 22. In addition, the signal output from the NAND gate 147 is supplied to the clock terminals (ck) of the first shift register 144 and the second shift register 145.
[0102] The signal WLOFF output from the column control unit 22 is applied to the first input terminal of the NAND gate 148. The signal REF output from the column control unit 22 is applied to the second input terminal of the NAND gate 148. The signal SHIFT2 output from the second shift register 145 is applied to the third input terminal of the NAND gate 148.
[0103] The reset signal RESET outputted from the reset signal generating section 25 is applied to one input terminal of the NAND gate 149. The other input terminal of the NAND gate 149 is connected to the output terminal of the NAND gate 148.
[0104] Next, regarding the operation of the semiconductor memory device of this embodiment, referring to Figure 4 Provide explanation. Figure 4 It is a timing chart showing the transition of the voltage of the signal of each part in the semiconductor memory device.
[0105] like Figure 4As shown, in the standby state, the high-level control signal SEL is input to the selector 130, so that the refresh trigger signal OSC1 with a long interval (I1) is output to the column control unit 22. Thus, the column control unit 22 performs a refresh operation at the interval I1.
[0106] At time t1, by requesting a read or write access, a high-level signal RDWR is output from the column control unit 22 and input to the NOR gate 141 of the RS flip-flop, and the RS flip-flop outputs a low-level signal. In this case, the inverter 143 inverts the low-level logic to a high-level signal LAT and outputs it to the first shift register 144.
[0107] Afterwards, with the start of the refresh operation of the interval I1 (the second refresh operation of the interval I1 in the figure), at time t2, when the signal REF and the signal WLON become high level, the low level signal output from the NAND gate 147 is input to the clock terminal of the first shift register 144, thereby, the signal SHIFT1 output from the first shift register 144 becomes high level. At this time, the control signal SEL output from the NOR gate 146 becomes low level, and the next refresh operation to be performed is the refresh operation of the interval I2.
[0108] Next, as the refresh operation of the first interval I2 begins, at time t3, when the signal REF and the signal WLON become high level, the low level signal output from the NAND gate 147 is input to the clock terminal of the second shift register 145, thereby, the signal SHIFT2 output from the second shift register 145 becomes high level.
[0109] Then, at time t4, when the signal WLOFF becomes high while the signal SHIFT2 is high, the signal LAT becomes low. Then, through the next two refresh operations of the interval I2, the low signal LAT is shifted to the second shift register 145.
[0110] Then, with the start of the third refresh operation of interval I2, at time t5, when the signals REF and WLON become high, the signal SHIFT2 becomes low, and the control signal SEL output from the NOR gate 146 becomes high. Thus, the next refresh operation is the refresh operation of interval I1.
[0111] Here, even if the signal LAT is in a low level state, before the signal SHIFT2 becomes low level, when a read or write access is requested, the signal LAT will still become high level as at time t1 and input to the first shift register 144. In other words, in this embodiment, the control signal SEL can be maintained at a low level until the refresh operation of the three intervals I2 after the last read or write access is requested is performed (in other words, the refresh trigger signal OSC2 of the short interval (I2) is input from the selector 130 to the control unit 22).
[0112] In this way, when read or write access is required to the memory 20, the control unit 10 can control the refresh operation of the memory 20 to be performed at the shortest interval (I2) until the predetermined condition is satisfied (here, the refresh operation at the shortest interval I2 is performed three times).
[0113] Figure 5 An example of the relationship between the pattern of read / write access requests to the semiconductor memory device of the first embodiment and the refresh interval is shown. Figure 1 As shown in (a), when read and write access is not frequently required, Figure 1 Compared with (a), although the number of refresh operations increases, the increase in power consumption caused by read or write access is acceptable. Figure 5 As shown in (b), even when read / write access is frequently required, the period during which the refresh operation is performed at the shortest interval (I2) can be lengthened according to such frequent read / write access. Thus, since the interval for performing refresh on each column address is shortened, for example, even if read / write access required for column hammer attack is performed on a specific column address, the time from the completion of refreshing other column addresses to the next refreshing of the specific column address can be shortened. Therefore, during the period during which the refresh of each column address is performed, the number of read / write accesses required for column hammer attack on the specific column address is also reduced, thereby suppressing the damage to the data retention characteristics.
[0114] As described above, according to the semiconductor memory device of this embodiment, when read or write access is required for the memory 20, since the refresh operation of the memory is performed at the shortest interval I2 until the predetermined condition is satisfied, for example, even when read or write access is frequently required, the refresh operation of the memory can be frequently performed accordingly. In this way, data destruction caused by the column hammering problem can be avoided. In addition, if read or write access is not required, since the refresh operation of the memory can be performed at an interval I1 longer than the shortest interval I2, for example, the number of refresh operations performed can be reduced compared to the case where the refresh operation of the memory is often performed at the shortest interval I2. In this way, the increase in power consumption of the semiconductor memory device can be suppressed.
[0115] In addition, according to the semiconductor memory device of this embodiment, when read or write access is required to the memory 20, the refresh interval can be controlled by outputting the refresh trigger signal OSC2 with the shortest interval I2 from the selector 130 until a predetermined condition is satisfied.
[0116] (Second embodiment)
[0117] The second embodiment of the present invention will be described below. The difference from the first embodiment is that the semiconductor memory device of this embodiment controls the refresh interval according to the temperature of the semiconductor memory device. The configuration different from the first embodiment will be described below.
[0118] Figure 6 An example of the relationship between the temperature and the refresh interval in the semiconductor memory device of the second embodiment is shown. Generally speaking, the semiconductor memory device has a characteristic RC, that is, the higher the temperature, the shorter the refresh interval required to properly maintain the data. Here, if the refresh interval at a predetermined temperature (for example, 20°C) is longer than the refresh interval of the characteristic RC (here 16xN), there is a risk of data loss during the refresh. Therefore, it is necessary to control the refresh interval according to the temperature of the semiconductor memory device so that the refresh interval at the predetermined temperature becomes less than the refresh interval of the characteristic RC.
[0119] Therefore, if Figure 6 As shown, the semiconductor storage device of this embodiment sets a different refresh interval (in the example, 16xN, 4xN, N, respectively) in each different temperature range (in the example, less than 20°C, greater than or equal to 20°C and less than 55°C, and greater than or equal to 55°C and less than 90°C, respectively).
[0120] Figure 7 The following is a configuration example of the control unit 10 of the semiconductor memory device of the present embodiment. The semiconductor memory device of the present embodiment includes a temperature sensor 160 for detecting the temperature of the semiconductor memory device. When any one of a plurality of intervals (here, 16xN, 4xN, N) corresponds to the temperature of the semiconductor memory device, the control unit 10 controls the refresh operation of the memory 20 to be performed at an interval corresponding to the temperature detected by the temperature sensor 160 among the plurality of intervals. In this way, since the refresh interval can be shortened or lengthened according to the temperature of the semiconductor memory device, data can be appropriately retained according to the temperature of the semiconductor memory device.
[0121] In addition, the control unit 10 may also control the refresh operation of the memory 20 to be performed at a shorter interval if the temperature detected by the temperature sensor 160 is higher. For example, since the refresh operation is performed at a shorter interval as the temperature of the semiconductor memory device is higher, data can be appropriately maintained according to the temperature of the semiconductor memory device.
[0122] In this embodiment, the control unit 10 includes an oscillating circuit 100, four counters 110, 120, 121, and 122, a selector 130, a circuit unit 140, a selector 150, and a temperature sensor 160. Here, the selector 150 is an example of the "first selector" of the present invention, and the selector 130 is an example of the "second selector" of the present invention.
[0123] In this embodiment, every time the pulse count of the refresh trigger signal OSC output from the oscillation circuit 100 reaches N, the counter 120 outputs one pulse signal as the refresh trigger signal OSC1a to the selector 150 and the counter 121. Here, the interval (N in this case) of the refresh trigger signal OSC1a is N times that of the refresh trigger signal OSC.
[0124] Whenever the pulse count of the refresh trigger signal OSC1a outputted from the counter 120 reaches a predetermined number (e.g., 4), the counter 121 outputs one pulse signal as the refresh trigger signal OSC1b to the selector 150 and the counter 122. Here, the interval of the refresh trigger signal OSC1b (here, 4xN) is 4xN times that of the refresh trigger signal OSC.
[0125] Whenever the pulse count of the refresh trigger signal OSC1b outputted from the counter 121 reaches a predetermined number (e.g., 4), the counter 122 outputs one pulse signal as the refresh trigger signal OSC1c to the selector 150. Here, the interval of the refresh trigger signal OSC1c (here, 16xN) is 16xN times that of the refresh trigger signal OSC.
[0126] The selector 150 outputs the refresh trigger signal (here OSC1a, OSC1b or OSC1c) corresponding to the temperature detected by the temperature sensor 160 in a plurality of intervals (here 16xN, 4xN, N) as the refresh trigger signal OSC1 to the selector 130 .
[0127] The temperature sensor 160 includes two temperature sensors 161 and 162, which detect the temperature of the semiconductor memory device. When the detected temperature is less than or equal to a predetermined value (here, 20°C), the temperature sensor 161 outputs a low-level signal LT to the selector 150; when the detected temperature is greater than (here, 20°C) the predetermined value, the temperature sensor 161 outputs a high-level signal LT to the selector 150. In addition, when the detected temperature is less than or equal to a predetermined value (here, 55°C), the temperature sensor 162 outputs a low-level signal HT to the selector 150; when the detected temperature is greater than (here, 55°C) the predetermined value, the temperature sensor 162 outputs a high-level signal HT to the selector 150.
[0128] In the present embodiment, if the temperature detected by the temperature sensor 160 is less than 20°C (the signal LT and the signal HT are at a low level), the selector 150 outputs the refresh trigger signal OSC1c with an interval of 16xN as the refresh trigger signal OSC1 to the selector 130. In addition, if the temperature detected by the temperature sensor 160 is greater than or equal to 20°C and less than 55°C (the signal LT is at a high level and the signal HT is at a low level), the selector 150 outputs the refresh trigger signal OSC1b with an interval of 4xN as the refresh trigger signal OSC1 to the selector 130. In addition, if the temperature detected by the temperature sensor 160 is greater than or equal to 55°C (the signal LT and the signal HT are at a high level), the selector 150 outputs the refresh trigger signal OSC1a with an interval of N as the refresh trigger signal OSC1 to the selector 130.
[0129] In addition, similar to the first embodiment described above, when the control signal SEL outputted from the circuit section 140 is at a high level, the selector 130 outputs the refresh trigger signal OSC1 as the refresh trigger signal SRTRIG to the column control section 22. In addition, when the control signal SEL outputted from the circuit section 140 is at a low level (in other words, during the period from when a read or write access is requested to the memory 20 until a predetermined condition is satisfied), the selector 130 outputs the refresh trigger signal OSC2 as the refresh trigger signal SRTRIG to the column control section 22.
[0130] As described above, according to the semiconductor memory device of this embodiment, data can be appropriately retained according to the temperature of the semiconductor memory device while suppressing an increase in power consumption and avoiding data destruction due to the column hammer problem.
[0131] (Third embodiment)
[0132] The third embodiment of the present invention will be described below. The difference from the above embodiments is that when a read or write access is requested to the memory 20, the semiconductor memory device of this embodiment controls so that the refresh trigger signal with the shortest interval among the intervals corresponding to the temperature detected by the temperature sensor is output from the selector 150. The configurations different from the above embodiments will be described below.
[0133] Figure 8 FIG. 1 is a diagram showing a configuration example of a control unit 10 of a semiconductor memory device according to the present embodiment. In the present embodiment, the control unit 10 includes an oscillation circuit 100, three counters 120, 121, and 122, a circuit unit 140, a selector 150, and a temperature sensor 160. In the present embodiment, a control signal SEL output from the circuit unit 140 is applied to the selector 150.
[0134] In the present embodiment, the selector 150 outputs a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor 160 among the plurality of intervals based on the control signal SEL.
[0135] To be more specific, if the control signal SEL output from the circuit unit 140 is at a high level, the selector 150 uses the refresh trigger signal (here OSC1a, OSC1b, OSC1c) of the interval corresponding to the temperature detected by the temperature sensor 160 among multiple intervals (here 16xN, 4xN, N) as the refresh trigger signal SRTRIG and outputs it to the column control unit 22.
[0136] In addition, when the control signal SEL output from the circuit unit 140 is at a low level (in other words, from the time when read or write access is requested to the memory 20 until a predetermined condition is satisfied), the selector 150 uses the refresh trigger signal (here OSC1a) of the shortest interval (here N) among multiple intervals (here 16xN, 4xN, N) as the refresh trigger signal SRTRIG and outputs it to the column control unit 22.
[0137] As described above, according to the semiconductor memory device of this embodiment, data can be appropriately retained according to the temperature of the semiconductor memory device while suppressing an increase in power consumption and avoiding data destruction due to the column hammer problem.
[0138] The above-described embodiments are described for easy understanding of the present invention, rather than for limiting the present invention. Therefore, the elements disclosed in the above-described embodiments are intended to include all design changes or equivalents in the technical field of the present invention.
[0139] For example, in each of the above embodiments, one of the predetermined conditions is to refresh the memory 20 a predetermined number of times at the shortest interval; however, the present invention is not limited to this case. For example, the predetermined condition may also be to require a predetermined time to pass after a read or write access; or it may be that a predetermined counter counts pulses output from a predetermined oscillating circuit (which may be the oscillating circuit 100 or other oscillating circuits), and the count value reaches a predetermined value.
[0140] In addition, in each of the above-mentioned embodiments, one example is used to illustrate that when read or write access is required, the refresh operation of the memory 20 is performed three times at the shortest interval; however, the present invention is not limited to this case. For example, when read or write access is required, the refresh operation of the memory 20 may be performed once or twice at the shortest interval, or may be performed any number of times of four or more. In this case, for example, the number of shift registers of the circuit unit 140 may be changed according to the number of times the refresh operation is performed at the shortest interval; a counter may be set to count the number of times the refresh operation is performed at the shortest interval to replace the shift register.
[0141] In addition, in the second embodiment and the third embodiment described above, an example is used to describe the setting of the refresh interval in three different temperature ranges; however, the present invention is not limited to this case. For example, the refresh interval may be set in two or more different temperature ranges. In this case, any number of temperature sensors may be set according to the number of temperature ranges.
[0142] In addition, the configurations of the control unit 10 and the circuit unit 140 in the above-described embodiments are merely examples, and may be modified as appropriate, or may adopt other various configurations.
Claims
1. A semiconductor storage device, characterized in that: Include: A control unit controls a refresh operation of the memory to be performed at any one of a plurality of intervals; when a read or write access is required to the memory, controls the refresh operation of the memory to be performed at the shortest interval among the plurality of intervals until a predetermined condition is satisfied; The predetermined condition is to perform a refresh operation of the memory a predetermined number of times at the shortest interval; When the read or write access required for the memory is completed, the refresh operation of the memory is still controlled to be performed at the shortest interval among the multiple intervals until the predetermined number of times is met.
2. The semiconductor memory device according to claim 1, wherein The control unit includes: A selector, based on the control signal, outputs a refresh trigger signal for any one of the plurality of intervals; and The circuit unit generates the control signal and outputs it to the selector when a read or write access is requested to the memory, so that the refresh trigger signal with the shortest interval is output from the selector until the predetermined condition is satisfied.
3. The semiconductor memory device according to claim 1, wherein: Include: A temperature sensor detects the temperature of the semiconductor storage device; When any one of the plurality of intervals corresponds to the temperature of the semiconductor memory device, the control unit controls the refresh operation of the memory to be performed at the interval corresponding to the temperature detected by the temperature sensor among the plurality of intervals.
4. The semiconductor memory device according to claim 3, wherein: The control unit includes: a first selector outputting a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor among the plurality of intervals; A second selector, based on a control signal, outputs a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor, or outputs a refresh trigger signal of the shortest interval; as well as The circuit unit generates the control signal and outputs it to the second selector when a read or write access is requested to the memory, so that the refresh trigger signal with the shortest interval is output from the second selector until the predetermined condition is satisfied.
5. The semiconductor memory device according to claim 3, wherein: The control unit includes: A selector, based on a control signal, outputs a refresh trigger signal of an interval corresponding to the temperature detected by the temperature sensor among the plurality of intervals; and The circuit unit generates the control signal and outputs it to the selector when a read or write access is requested to the memory, so that the refresh trigger signal with the shortest interval is output from the selector until the predetermined condition is satisfied.
6. The semiconductor memory device according to claim 3, wherein: The control unit controls the refresh operation of the memory to be performed at shorter intervals as the temperature detected by the temperature sensor is higher.
