Semiconductor memory device and self-refreshing method thereof
By generating temperature codes and error flags, the refresh cycle of the semiconductor memory device is dynamically adjusted, solving the problem of fixed refresh cycle settings in the prior art, and achieving data retention characteristics and power consumption optimization under changes in temperature and error information.
Patent Information
- Application Number
- CN202311400370.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2023-10-26
- Publication Date
- 2024-08-27
AI Technical Summary
Existing semiconductor memory devices have a fixed margin in refresh cycle settings, resulting in additional power consumption and the inability to dynamically adjust, making it unable to effectively respond to changes in temperature and error information.
By generating temperature codes and error flags, the refresh cycle is dynamically adjusted. According to the number of occurrences of error flags and the combination of temperature codes, the refresh cycle is adjusted in real time to extend or shorten the refresh cycle to ensure data retention characteristics and power consumption optimization.
It achieves dynamic adjustment of the refresh cycle while maintaining data reliability, reduces the current consumption caused by self-refresh operations, and maximizes the retention characteristics and power consumption optimization of the memory unit.
Smart Images

Figure CN118553281A
Abstract
Description
[0001] This application claims the priority of Korean Patent Application No. 10-2023-0026300 filed on February 27, 2023 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0002] The present disclosure relates to a semiconductor memory device, and more particularly, to a semiconductor memory device having a dynamically changing self-refresh cycle (such as a self-refresh cycle responsive to temperature and error information) and a self-refresh method thereof. Background Art
[0003] As a non-limiting example of a semiconductor memory device, a dynamic random access memory (DRAM) device, which is considered a type of volatile memory, typically stores data by storing charge in corresponding capacitors. Because such charge stored in these capacitors can leak through various paths over time, DRAM has limited data retention characteristics.
[0004] DRAMs typically use refresh operations to periodically rewrite data stored in capacitors to extend data retention. The refresh cycle of a DRAM can be pre-programmed for each product during the manufacturing process. For example, a given DRAM can be set to perform a self-refresh operation at a specific cycle for a given temperature. The refresh cycle can be set to be shorter than the retention time, so that the DRAM can retain such data without unnecessary risk of data degradation, so as to provide a suitable margin for data reliability. Therefore, although there is generally sufficient margin for the refresh cycle, such a DRAM can consume additional power due to this fixed refresh cycle setting. Summary of the invention
[0005] Embodiments of the present disclosure provide methods for setting a refresh cycle of a semiconductor memory device based on retention characteristics while maintaining data reliability (such as by combining a temperature code and error information).
[0006] According to an embodiment, a self-refresh method for a semiconductor memory device includes: generating a temperature code indicating the temperature of the semiconductor memory device; generating a first error flag indicating any data error in a memory area of the semiconductor memory device; performing a first self-refresh operation on the memory area within a first refresh cycle based on the temperature code and the first error flag; generating a second error flag indicating any data error in the memory area during the first self-refresh operation; and performing a second self-refresh operation on the memory area within a second refresh cycle based on the temperature code and the second error flag, wherein if the second error flag indicates that there is no data error in the memory area during the first self-refresh operation, the second refresh cycle is longer than the first refresh cycle.
[0007] According to an embodiment, a semiconductor memory device includes: a cell array having a plurality of memory cells; an error correction circuit configured to generate an error flag during a self-refresh operation of the cell array; a temperature sensor configured to detect an operating temperature of the semiconductor memory device and generate a temperature code; a dynamic refresh cycle generator configured to generate a refresh cycle for a self-refresh operation by combining the temperature code and the error flag; and a refresh controller that performs a self-refresh operation on the cell array according to the refresh cycle, wherein, when the error flag indicates that there is no data error in a memory area during a first self-refresh operation, the dynamic refresh cycle generator is configured to generate an increased refresh cycle before a second self-refresh operation.
[0008] According to an embodiment, a self-refresh method for a semiconductor memory device includes: generating a temperature code and a first error flag of the semiconductor memory device from a memory area to be refreshed; counting the number of occurrences of the first error flag; performing a first self-refresh operation on the memory area within a first refresh cycle based on the temperature code and the number of occurrences of the first error flag; generating a second error flag by detecting an error in the memory area during the first self-refresh operation; counting the number of occurrences of the second error flag; and performing a second self-refresh operation on the memory area in a second refresh cycle based on the temperature code and the number of occurrences of the second error flag, wherein, when the number of occurrences of the second error flag is zero, the second refresh cycle is longer than the first refresh cycle. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and other embodiments of the present disclosure will become more apparent by describing in detail example embodiments of the present disclosure with reference to the attached drawings.
[0010] Figure 1 is a block diagram illustrating a memory device according to an embodiment of the inventive concept.
[0011] Figure 2 It is shown Figure 1 A block diagram of an embodiment of a configuration of a dynamic refresh cycle generator.
[0012] Figure 3 It is shown Figure 2 A block diagram of an embodiment of a code adder.
[0013] Figure 4 It is shown that the Figure 3 Flow chart of an embodiment of the operation of a combinatorial code adder of a code.
[0014] Figure 5 It is shown Figure 2 A block diagram of an embodiment of a configuration of a refresh cycle generator.
[0015] Figure 6 is a timing diagram illustrating a method of changing a self-refresh period according to an embodiment of the inventive concept.
[0016] Figure 7 It is shown Figure 2 A block diagram of another embodiment of a code adder.
[0017] Figure 8 It is shown based on Figure 7 0047 is a tabular diagram of an embodiment of an addition code ACODE of the number of occurrences of error flags generated by a code converter.
[0018] Fig. 9 It is shown that the Figure 7 Flow chart of an embodiment of the operation of a combinatorial code adder of a code.
[0019] Fig.10 is a timing diagram illustrating a method of changing a self-refresh period according to an embodiment of the inventive concept.
[0020] Fig.11 is a schematic diagram of a memory module according to an embodiment of the inventive concept.
[0021] Fig.12 is a cross-sectional view illustrating a memory system according to an embodiment of the inventive concept.
[0022] Fig.13 is shown for Fig.12 A block diagram of an embodiment of a process for sharing temperature codes and / or error flags in a memory system of FIG.
[0023] Fig.14 is a graph illustrating time versus temperature according to an embodiment of the inventive concept. DETAILED DESCRIPTION
[0024] It should be understood that the inventive concept is disclosed by non-limiting exemplary examples in the brief description above and the detailed description below. Exemplary embodiments of the inventive concept are indicated in the accompanying drawings, wherein the same or similar reference numerals may be used to refer to the same or similar elements or parts, and substantially repeated descriptions may be omitted.
[0025] The data retention characteristics of various semiconductor memory devices may be related to environmental conditions, such as, but not limited to, the instantaneous current consumption and / or operating temperature within each device. In addition, the retention characteristics may also be related to the cumulative characteristics of a given device. The optimized refresh cycle may be determined and dynamically changed in real time based on current and certain cumulative conditions (such as, the drive temperature of the device and its error information), but is not limited thereto.
[0026] Hereinafter, a dynamic random access memory (DRAM) device will be used as an example of a semiconductor memory device to explain exemplary embodiments of the inventive concept, but is not limited thereto. However, based on the teachings herein, those skilled in the art will readily understand other embodiments of the inventive concept. For example, the inventive concept may be implemented or applied through other embodiments (such as, but not limited to, the embodiments described herein and / or combinations thereof).
[0027] In addition, the inventive concept can be applied to extend the data reliability of other memory types for changing environments and / or retention periods. In addition, the embodiments described herein can be modified or changed according to the viewpoints and applications without significantly departing from the scope or spirit of the inventive concept. In the following description, the terms "stamina" and / or "strength" can be used to refer to the retention ability or duration between refresh cycles that can be maintained without substantially losing the data value stored in the DRAM cell due to charge degradation.
[0028] Figure 1 A memory device according to an embodiment of the inventive concept is shown. Figure 1 , the memory device 1000 includes a cell array 1100, a sense amplifier 1150, an address decoder 1200, a command decoder 1300, an active controller 1400, a refresh controller 1500, a row decoder 1600, a column decoder 1650, an input / output driver 1700, a temperature sensor 1800, an error correction circuit 1850 and a dynamic refresh cycle generator 1900.
[0029] The cell array 1100 includes a plurality of memory cells MC. Data stored in the memory cells MC may be read out to the input / output driver 1700 through the sense amplifier 1150. Similarly, write data received from the input / output driver 1700 may be stored in the selected memory cell MC through the sense amplifier 1150. For such read and write operations, the column decoder 1650 and the row decoder 1600 may select a memory cell corresponding to the address ADDR.
[0030] The address decoder 1200 receives an address ADDR of a memory cell to be accessed. When data is stored in the cell array 1100 or data is read from the cell array 1100, the address ADDR may be received and decoded by the address decoder 1200. The decoded address may be sent to the active controller 1400, the row decoder 1600, and the column decoder 1650. The row decoder 1600 and the column decoder 1650 may respectively select a row and a column specified by the address ADDR.
[0031] The command decoder 1300 receives various commands (such as from an external host). The command decoder 1300 decodes and provides the decoded commands to circuit blocks (such as the active controller 1400, the refresh controller 1500, and the row decoder 1600). The command decoder 1300 may determine the input command by referring to an externally applied control signal (such as a row address strobe ( / RAS), a column address strobe ( / CAS), a write enable ( / WE), etc.). Alternatively, the command decoder 1300 may write data into a mode register set (MRS) that may be included in the command decoder 1300 according to an externally provided command and address, without being limited thereto. For example, a general automatic refresh operation may be input by a combination of control signals such as / RAS, / CAS, and / or / WE. In addition, the refresh operation may be determined by the command decoder 1300, and the refresh command may be provided to the refresh controller 1500 by the mode register set MRS.
[0032] The active controller 1400 generates an active address and an active signal according to a write and / or read operation based on the address ADDR and the command CMD respectively provided from the address decoder 1200 and the command decoder 1300 , and provides the active address and the active signal to the row decoder 1600 .
[0033] When an external refresh command is input to the memory device 1000, the refresh controller 1500 performs a refresh operation corresponding to the command. For example, when an all-bank refresh command is received, the refresh controller 1500 refreshes substantially all banks corresponding to the selected row. When a per-bank refresh command is received, the refresh controller 1500 performs a refresh operation on a bank selected from among a plurality of banks by a bank address.
[0034] In addition, the refresh controller 1500 generates an internal address for refresh during the self-refresh operation, and performs a refresh operation on the memory cell selected by the internal address. During the self-refresh operation, the refresh controller 1500 performs a self-refresh cycle on the selected memory cell according to the refresh cycle TREFI provided from the dynamic refresh cycle generator 1900. Here, the refresh cycle TREFI can be characterized by data indicating the period of the self-refresh cycle, and / or can be a refresh clock signal having the refresh cycle TREFI.
[0035] The refresh period TREFI may be generated by referring to the temperature code TCODE (such as provided by the temperature sensor 1800) and the error flag ERR_flag (such as provided by the error correction circuit 1850). That is, the refresh period TREFI may vary according to the operating temperature of the memory device 1000 sensed in real time. In particular, the refresh period TREFI may vary according to errors detected from the memory area to be refreshed.
[0036] According to an embodiment of the inventive concept, the refresh period TREFI may continue to increase until an error (e.g., a correctable and / or uncorrectable data error) occurs. However, if it is determined that an error has occurred, the refresh period may be reduced compared to the previous self-refresh period, or initialized to a default value, but is not limited thereto. This may be described in more detail with respect to the embodiments discussed below.
[0037] The row decoder 1600 controls the operation of the cell array 1100 based on the active address and active signal provided from the active controller 1400, and also based on the refresh signal and refresh address provided from the refresh controller 1500. During a self-refresh cycle, the row decoder 1600 activates the cell array row selected by the refresh controller 1500. The row decoder 1600 will activate the cell array row of the selected memory bank during the self-refresh cycle.
[0038] The input / output driver 1700 may receive data provided through a data pad (also referred to as a pad) DQ and provide the received data to the sense amplifier 1150. The input / output driver 1700 may output data stored in the cell array 1100 through the data pad DQ. In addition, the input / output driver 1700 may receive a data strobe signal DQS when receiving data. In addition, when outputting data, the input / output driver 1700 may output data using the data strobe signal DQS.
[0039] The temperature sensor 1800 may measure the temperature of the memory device 1000 and convert the measured temperature into a temperature code TCODE. The converted temperature code TCODE may be provided to the dynamic refresh cycle generator 1900. The temperature sensor 1800 may include a sensor circuit for sensing the real-time temperature of the memory device 1000 and an analog-to-digital converter (ADC) for converting an analog temperature signal obtained from the sensor circuit into a digital code. The sensor circuit that may be included in the semiconductor device 1000 may generally be implemented using a bipolar junction transistor BJT, but is not limited thereto. For example, a temperature signal may be obtained using the difference between two emitter-base voltages VEB, which may vary according to the ratio of the amount of current flowing through the two bipolar junction transistors BJT. The analog temperature signal thus obtained may be converted into a temperature code TCODE by the analog-to-digital converter ADC. However, it will be understood that the type of sensor circuit for sensing temperature is not limited to the embodiments described above, and various sensor elements may be used in or as a circuit for sensing temperature.
[0040] The error correction circuit 1850 detects errors in the data and / or performs correction operations on the data. For example, the error correction circuit 1850 may generate an error correction code (ECC) and / or parity data bits for the input write data. The ECC parity data bits may be written to the parity field together with the data in the cell array 1100. In addition, when outputting data, the error correction circuit 1850 may use the ECC parity data bits to detect errors, but is not limited thereto.
[0041] If a correctable error is detected in the output data, the error correction circuit 1850 corrects the detected error bit and outputs an error flag ERR_flag. In particular, the error correction circuit 1850 performs error detection and correction on the data read from the selected row during the self-refresh cycle. That is, the error correction circuit 1850 may perform error detection on the data read during the self-refresh operation. When an error is detected, the error correction circuit 1850 may correct the detected error and output an error flag ERR_flag. In one embodiment, if an error that cannot be reliably corrected is detected in the output data, the error correction circuit 1850 may output the error flag ERR_flag more than once, and / or output another signal (such as a severity or occurrence indicator).
[0042] The dynamic refresh cycle generator 1900 may generate a refresh cycle TREFI and / or a refresh clock signal based on a temperature code TCODE that varies according to temperature. In particular, the dynamic refresh cycle generator 1900 may adjust the refresh cycle TREFI by associating an error flag ERR_flag with the temperature code TCODE. For example, when the error flag ERR_flag does not appear, the dynamic refresh cycle generator 1900 may repeatedly or continuously increase the refresh cycle TREFI. If it is assumed that the error flag ERR_flag does not appear during the first refresh cycle of the selected memory cell, then, in the subsequent second refresh cycle, the dynamic refresh cycle generator 1900 may generate a cycle or refresh clock signal that increases a specific cycle increment (+β) from the refresh cycle TREFI applied in the first refresh cycle. On the other hand, if the error flag ERR_flag appears in the first refresh cycle, then in the second refresh cycle, the dynamic refresh cycle generator 1900 may generate a cycle or refresh clock that decreases a specific cycle decrement (-β) from the refresh cycle TREFI applied in the first refresh cycle. Here, the size of the increased or decreased cycle offset (β) may be variously changed based on the value of the error flag ERR_flag and / or the number of occurrences of the error flag ERR_flag.
[0043] In the above embodiments, the exemplary structure of the memory device 1000 has been described by way of example. The memory device 1000 of the present invention may add a cycle adjustment amount of a specific size to a refresh cycle corresponding to the temperature code TCODE or subtract a cycle adjustment amount of a specific size from a refresh cycle corresponding to the temperature code TCODE based on whether the error flag ERR_flag is generated. For example, the self-refresh cycle of the memory device 1000 may continue to increase until an error occurs. Therefore, the self-refresh cycle of the memory device 1000 may converge to a refresh cycle value corresponding to the retention characteristic or strength before the error occurs.
[0044] Therefore, according to this embodiment of the inventive concept, a refresh cycle that can maximize the retention characteristics of the memory cell and / or minimize power consumption can be set. According to the technology of this embodiment, the refresh cycle of the memory device 1000 can be set to a value that can substantially optimize and / or ensure reliability without wasting energy. This minimizes the current consumption caused by repeatedly performing the self-refresh operation.
[0045] Figure 2 Show Figure 1 Configuration of the dynamic refresh cycle generator. Figure 2 , the dynamic refresh cycle generator 1900 includes a code adder 1910 and a refresh cycle generator 1930.
[0046] The code adder 1910 may add the addition code ACODE corresponding to the error flag ERR_flag and the temperature code TCODE. That is, the code adder 1910 may generate a combination code (TCODE+ACODE) associated with the influence of the error flag ERR_flag on the temperature code TCODE. For example, if the error flag ERR_flag does not appear during the previous self-refresh cycle of the selected memory area, the code adder 1910 adds the code value "α" of the addition code ACODE greater than zero ("0") and the temperature code TCODE to be applied in the next self-refresh cycle. On the other hand, when the error flag ERR_flag appears during the previous self-refresh cycle of the selected memory area, the code adder 1910 generates a combination code (TCODE+ACODE) by subtracting the code value "α" of the addition code ACODE applied in the previous self-refresh cycle from the temperature code TCODE to be applied in the next self-refresh cycle.
[0047] The method of generating the combination code (TCODE+ACODE) can be described in more detail as follows. Assume that the error flag ERR_flag does not appear until the "N-1" refresh cycle, and the code value of the addition code ACODE added to the temperature code TCODE may be "4α". In the subsequent "N" refresh cycle, the code value of the addition code ACODE added to the temperature code TCODE becomes "5α". However, assume that the error flag ERR_flag appears during the process of the "N" refresh cycle. In the "N+1" refresh cycle, the code value of the addition code ACODE added to the temperature code TCODE becomes "4α" obtained by subtracting "α". And, in the "N+1" refresh cycle, a self-refresh cycle will be generated based on the combination code "TCODE+4α".
[0048] The refresh cycle generator 1930 generates a self-refresh cycle using the combination code (TCODE+ACODE) output from the code adder 1910. That is, the refresh cycle generator 1930 may add a period "β" corresponding to the addition code ACODE to the self-refresh period TREFI of the selected memory area, or subtract a period "β" corresponding to the addition code ACODE from the self-refresh period TREFI of the selected memory area. The self-refresh period "TREFI+β" or "TREFI-β" generated by the refresh cycle generator 1930 is provided to the refresh controller 1500. The self-refresh period "TREFI+β" or "TREFI-β" may be used by the refresh controller 1500 as data for generating a self-refresh pulse.
[0049] As described above, the dynamic refresh cycle generator 1900 can dynamically change the self-refresh cycle (such as by associating the error flag ERR_flag with the influence of the temperature code TCODE). According to the inventive concept, the self-refresh cycle can be extended as long as the error flag ERR_flag does not appear or until a correctable error occurs. Therefore, a self-refresh cycle that can maximize the use of the retention characteristics of the memory cell can be set. This can greatly reduce the current consumption of the memory device 1000 according to the self-refresh operation.
[0050] Figure 3 Show Figure 2 Referring to the embodiment of the code adder. Figure 3 , the code adder 1910a may include a code converter 1912a and a plurality of full adders (FA) 1914 for combining the temperature code TCODE and the error flag ERR_flag.
[0051] The code converter 1912a generates an addition code ACODE that can be added to the temperature code TCODE according to whether the error flag ERR_flag is generated. For example, assuming an m-bit temperature code TCODE, the code converter 1912a can generate an addition code ACODE of m bits or less. The size of the code value (e.g., 0, α, 2α, ...) of the addition code ACODE can be determined according to the increased or decreased self-refresh cycle offset β.
[0052] If the error flag ERR_flag does not appear during a previously executed self-refresh cycle, the code converter 1912a generates an addition code with a code value of "α" to increase the period in the next self-refresh cycle. The code value "α" of the generated addition code ACODE can be stored in a register inside the code converter 1912. If the error flag ERR_flag does not appear even in the current self-refresh cycle, the code converter 1912a generates a code value "2α" to be applied to the next self-refresh cycle with reference to the code value α of the addition code ACODE in the current cycle stored in the internal register. Therefore, the refresh period in the next self-refresh cycle can be additionally increased.
[0053] On the other hand, if the error flag ERR_flag appears at least once during a previously executed self-refresh cycle, the code converter 1912a subtracts the code value "α" from the code value of the previously applied addition code ACODE. According to the subtracted code value "α" value, the period of the current self-refresh cycle can be reduced compared to the previous self-refresh cycle.
[0054] An exemplary configuration of the code adder 1910a has been described above. However, the inventive concept is not limited to the disclosure herein. The means of combining the temperature code TCODE and the error flag ERR_flag with reference to the error flag ERR_flag to increase or decrease the self-refresh period may be implemented in various ways.
[0055] Figure 4 Shows the generation Figure 3 The code adder of the combination code operation 400. Figure 4 , code adder 1910a (see Figure 3 ) Generates a combination code TCODE+ACODE for setting a self-refresh cycle according to the temperature code TCODE and the error flag ERR_flag.
[0056] In step S110, the code adder 1910a receives the temperature code TCODE. The temperature code TCODE may be generated by the temperature sensor 1800 described above (see Figure 1 ) is detected in real time and converted into a code value of a digital signal. Each bit of the temperature code TCODE can be input into a plurality of full adders 1914 (see Figure 3 ).
[0057] In step S120, the code converter 1912a (see Figure 3 ) detects whether an error flag ERR_flag appears. When the error correction circuit 1850 (refer to Figure 1) detects and corrects an error in refresh data, an error flag ERR_flag may appear. Therefore, the code converter 1912a may detect whether the low-level error flag ERR_flag is converted to a high level. When the self-refresh cycle of the selected memory area is completed, the error flag ERR_flag may be detected. If the error flag ERR_flag does not appear ("No" direction), the process moves to step S130. On the other hand, when the error flag ERR_flag appears ("Yes" direction), the process moves to step S140.
[0058] In step S130, the code converter 1912a generates a code value α for increasing the refresh cycle. That is, the code converter 1912a generates an addition code (α'+α) for increasing a specific period (e.g., β) from the self-refresh cycle generated by the temperature code TCODE. Here, the code value (α') may be a code value added to the temperature code TCODE in the previous self-refresh cycle, and may be a value stored in an internal register of the code converter 1912. Therefore, the plurality of full adders 1914 may calculate and output a combination code by adding the addition code (α'+α) to the temperature code TCODE provided in real time.
[0059] In step S140, the code converter 1912a generates a code value (α'-α) for reducing the self-refresh period. Here, the code value (α') may be an addition code ACODE added to the temperature code TCODE in the previous self-refresh cycle. For example, when the error flag does not appear three times in a row in the previous self-refresh cycle, the addition code ACODE becomes (α+α+α=3α). Therefore, in the current self-refresh cycle, the code converter 1912a generates an addition code ACODE (2α) that reduces the code value (α) compared to the previous cycle.
[0060] In one embodiment, it can be assumed that the code converter 1912a adds the addition code ACODE value (5α) to the temperature code TCODE in the previous self-refresh cycle, and the error flag ERR_flag can be generated due to the corresponding increase in the refresh cycle. Therefore, the code converter 1912a can generate the addition code ACODE (4α) by subtracting (α) from the addition code (5α) added in the previous cycle in the current self-refresh cycle. The plurality of full adders 1914 can add the code value (α'-α) to the temperature code TCODE provided in real time and output a combination code.
[0061] In step S150, the code converter 1912a stores the addition code ACODE generated in step S130 or step S140 in the internal register. That is, the addition code ACODE thus stored can be provided as the addition code α' of the previous cycle in the next self-refresh cycle. Thereafter, the process returns to step S110.
[0062] In the above, the method of combining the temperature code TCODE and the error flag ERR_flag of the code adder 1910a has been briefly described. Therefore, when the error flag ERR_flag does not appear, the code adder 1910a performs an operation of increasing the refresh period as the refresh cycle increases. On the other hand, when the error flag ERR_flag appears, the code adder 1910a subtracts the code value α from the code value α' of the addition code ACODE applied in the previous refresh cycle. Therefore, the self-refresh period can be reduced from the self-refresh period of the previous refresh cycle.
[0063] Although the above described embodiments adjust the self-refresh period based on addition or effective subtraction of the addition code, the embodiments are not limited thereto. For example, the dynamic refresh period generator may provide a refresh period signal as a complex function of TCODE and ACODE to the refresh controller, but is not limited thereto.
[0064] Figure 5 Show Figure 2 Configuration of the refresh cycle generator. Figure 5 , the refresh cycle generator 1930 may include a temperature decoder 1932 , a mapper 1934 , and an oscillator (POSC) 1936 .
[0065] The temperature decoder 1932 receives the combination code TCODE+ACODE and outputs the corresponding temperature grade information (Tj, 1≤j≤n). The temperature decoder 1932 may be a component that generates the temperature grade information Tj corresponding to the input temperature code TCODE. However, in the present inventive concept, the combination code TCODE+ACODE may be input to the temperature decoder 1932 instead of the temperature code TCODE. Therefore, the temperature decoder 1932 may output the temperature grade information Tj by associating the addition code ACODE with the temperature code TCODE.
[0066] For example, assuming that the temperature code TCODE corresponding to 50° C. and the addition code ACODE corresponding to the error flag ERR_flag are added to generate a combination code TCODE+α; then, the temperature level information Tj may generate “T55” of an increased level instead of “T50” corresponding to 50° C. That is, when the error flag ERR_flag is generated and the addition code ACODE is added, the temperature decoder 1932 outputs the temperature level information Tj corresponding to a temperature higher than the current device temperature.
[0067] The mapper 1934 generates temperature information Temp_info corresponding to the temperature level information Tj. The mapper 1934 may have temperature information Temp_info mapped to various levels of temperature level information Tj on a one-to-one basis. That is, the mapper 1934 may store the temperature information Temp_info corresponding to the temperature level information Tj in the form of a table. When the temperature level information Tj is input, the mapper 1934 provides the temperature information Temp_info mapped to the temperature level information Tj to the oscillator 1936.
[0068] The oscillator 1936 generates a refresh clock TREFI or a refresh cycle based on the temperature information Temp_info. Based on the refresh clock TREFI, the refresh controller 1500 drives the address counter of the row address specified for self-refresh. Therefore, the cycle of the refresh clock TREFI can be changed by a combination code TCODE+ACODE in which both the temperature code TCODE and the error flag ERR_flag are reflected. And, if the error does not occur, the cycle of the refresh clock TREFI continues to increase with the repetition of the self-refresh cycle. On the other hand, in the next self-refresh cycle when the error flag appears, the cycle of the previous cycle will be restored.
[0069] Figure 6 600 is a signal timing diagram showing a method for changing a self-refresh period according to an embodiment of the inventive concept. Figure 6 , the cycle of the refresh clock TREFI can be increased or decreased according to whether the error flag ERR_flag is generated. Figure 1 ) maintains a constant value of the temperature code TCODE. However, in a real environment, the value of the temperature code TCODE may also fluctuate according to the temperature.
[0070] At time T0, the first cycle of the self-refresh operation may be performed. One refresh cycle corresponds to the time (e.g., tREFW1) for selecting and refreshing substantially all rows of the selected memory cells. It may be assumed that the period of the refresh clock TREFI in the first cycle is "tREF". Then, as many pulses as the number of rows (e.g., 8K) are generated to complete the self-refresh for the memory cells selected in the first cycle. Therefore, the time for completing the first self-refresh cycle may be "tREFW1", which is a value that can be obtained by multiplying the refresh clock period "tREF" by the number of rows.
[0071] At time T1, the second cycle of self-refresh starts. In the first cycle, the error flag ERR_flag does not appear. Therefore, in the second cycle, the combination code TCODE+ACODE may be generated as "TCODE+α" obtained by adding the addition code ACODE to the temperature code TCODE. And, by the addition of the addition code ACODE, the period of the refresh clock TREFI in the second cycle may be "tREF+β". Therefore, in the second cycle, the time for completing the second self-refresh cycle becomes "tREFW2 (>tREFW1)".
[0072] At time T3, the third cycle of self-refresh begins. However, the error flag ERR_flag appears during the second cycle (at time T2). Therefore, the combination code TCODE+ACODE in the third cycle can be generated as "TCODE" obtained by subtracting the addition code ACODE (=α) from the combination code TCODE+ACODE of the second cycle. By subtracting the addition code ACODE, the period of the refresh clock TREFI in the third cycle can be restored to the same "tREF" as in the first cycle. Therefore, in the third cycle, the time for completing the third cycle can be reduced to "tREFW1".
[0073] According to the above description, since the error flag ERR_flag is applied to the temperature code TCODE, the self-refresh cycle can be increased to the limit of the retention performance of the memory cell. Therefore, the self-refresh cycle can be increased to the maximum extent to ensure the data reliability of the memory device 1000. This can help minimize the current consumption generated by the self-refresh operation of the memory device 1000.
[0074] Figure 7 The present invention is conceived Figure 2 Another embodiment of the code adder. Figure 7 According to an embodiment, the code adder 1910b may include a register counter 1911b, a code converter 1912b, and a plurality of full adders 1914 (FA). Figure 3 The full adder is basically the same, so its repeated description can be omitted.
[0075] The register counter 1911b may count the number of occurrences nERR_flag of the error flag ERR_flag. For example, the register counter 1911b may count the number of times the error flag ERR_flag is generated during one self-refresh cycle. Alternatively, the register counter 1911b may count the number of times the error flag ERR_flag is generated within the self-refresh cycle of substantially the entire memory device 1000. The register counter 1911b may generate the number of occurrences nERR_flag of the error flag and provide it to the code converter 1912b.
[0076] The code converter 1912b generates an addition code ACODE added to the temperature code TCODE according to the number of occurrences nERR_flag of the error flag. For example, when the number of occurrences nERR_flag of the error flag is substantially zero ("0"), the code converter 1912b may generate a relatively large addition code value (e.g., α'+α, where α' is the ACODE contribution of the previous refresh cycle, and α is the ACODE contribution of the current refresh cycle). On the other hand, when the number of occurrences nERR_flag of the error flag is approximately "1", the code converter 1912b may generate a relatively medium addition code value (e.g., α'-α / 2). In addition, when the number of occurrences nERR_flag of the error flag is approximately "2", the code converter 1912b may generate a relatively small addition code value (e.g., α'-α) by subtracting an amount from the code value added in the previous cycle. In addition, when the number of occurrences of the error flag nERR_flag is approximately "3" or more, the code converter 1912b may generate an addition code value that is substantially zero (eg, "0").
[0077] In the above described embodiments, various sizes of period variation values may be provided for various refresh periods according to the number of occurrences nERR_flag of the error flag ERR_flag, etc.
[0078] Figure 8 Shown by Figure 7 The code converter generates an addition code ACODE according to the number of occurrences of the error flag nERR_flag. Figure 8 , the code converter 1912b can generate an addition code ACODE whose size can be variable according to the number of occurrences of the error flag nERR_flag.
[0079] When the number of occurrences of the error flag nERR_flag input to the code converter 1912b is "0", an addition code value (α'+α) may be generated. Here, (α') corresponds to the addition code ACODE generated in the previous self-refresh cycle and stored in the internal register of the code converter 1912b. That is, when there is no history of the occurrence of the error flag until the previous self-refresh cycle, the code converter 1912b may generate (α). This corresponds to an addition code ACODE capable of increasing the cycle of the refresh clock TREFI by "β" compared to the cycle of the previous self-refresh cycle.
[0080] When the detected error flag occurrence count nERR_flag is "1", the code converter 1912b generates an addition code value (α'-α / 2). That is, if it is determined that the error flag has occurred or increased once in the previous self-refresh cycle, the code converter 1912b subtracts (α / 2) from the addition code value (α') generated in the previous self-refresh cycle. This corresponds to an addition code ACODE that can reduce the cycle of the refresh clock TREFI by "β / 2" compared to the cycle of the previous self-refresh cycle.
[0081] When the number of occurrences of the error flag nERR_flag is "2", the code converter 1912b generates an addition code value (α'-α). That is, if it is determined that the error flag has appeared twice in the previous self-refresh cycle, the code converter 1912b obtains an addition code value obtained by subtracting (α) from the addition code value (α') generated in the previous self-refresh cycle. This corresponds to an addition code ACODE capable of reducing the cycle of the refresh clock TREFI by "β" compared to the cycle of the previous self-refresh cycle.
[0082] In addition, when the number of occurrences of the error flag nERR_flag is "3" or more, the code converter 1912b generates an addition code value "0". That is, if it is determined that the error flag has appeared three or more times (including uncorrectable errors) in the previous self-refresh cycle, the code converter 1912b may generate an addition code ACODE "0". This corresponds to an addition code ACODE that generates a period of the refresh clock TREFI entirely depending on the temperature code TCODE. That is, it corresponds to a measure to maximize the reduction of the refresh period. For example, the change ΔPeriod of the period may be a value -max that maximizes the reduction of the refresh period.
[0083] The configuration of the above table is used to illustrate an example in which the self-refresh period can be adjusted to various values according to the number of occurrences of the error flag. The size of the addition code ACODE can be replaced with various values, and the inventive concept is not limited to the specific exemplary details shown in the drawings.
[0084] Fig. 9 Show Figure 7Operation 900 of generating a combined code by a code adder. Figure 7 and Fig. 9 , the code adder 1910b generates a combination code TCODE+ACODE for setting a self-refresh cycle according to the temperature code TCODE and the error flag ERR_flag.
[0085] In step S210, the code adder 1910b receives the temperature code TCODE. The temperature code TCODE may be Figure 1 The temperature sensor 1800 detects and converts the temperature code TCODE into a code value of a digital signal in real time. Each bit of the temperature code TCODE can be input to a plurality of full adders 1914 in units of bits.
[0086] In step S220, the code converter 1912b detects whether the error flag ERR_flag appears. When the error correction circuit 1850 detects and corrects the error in the refresh data, the error flag ERR_flag can be generated. Therefore, the code converter 1912b can detect whether the low-level error flag ERR_flag is converted to a high level. When the self-refresh cycle of the selected memory area is completed, the error flag ERR_flag can be detected. If the error flag ERR_flag does not appear ("no" direction), the process moves to step S230. On the other hand, if the error flag ERR_flag appears ("yes" direction), the process moves to step S240.
[0087] In step S230, the code converter 1912b generates an addition code ACODE for increasing the refresh cycle. That is, the code converter 1912b generates an addition code value (α'+α) for increasing a specific period (e.g., β) from a self-refresh cycle generated based on the temperature code TCODE. Here, (α') corresponds to the addition code value generated in the previous self-refresh cycle stored in the internal register of the code converter 1912b. The plurality of full adders 1914 calculate and output a combination code (TCODE+α'+α) by adding the addition code ACODE to the temperature code TCODE provided in real time.
[0088] In step S240, the code converter 1912b detects the number of occurrences of the error flag nERR_flag. If the number of occurrences of the error flag nERR_flag is "1", the process moves to step S250. If the number of occurrences of the error flag nERR_flag is "2", the process moves to step S260. And, if the number of occurrences of the error flag nERR_flag is "3" or more (including uncorrectable errors), the process moves to step S270.
[0089] In step S250, when the number of occurrences of the error flag nERR_flag is "1", the code converter 1912b generates an addition code value (α'-α / 2). That is, if it is determined that the error flag occurs once in the previous self-refresh cycle, the code converter 1912b subtracts (α / 2) from the addition code value (α') generated in the previous self-refresh cycle to generate a code value (α'-α / 2). This corresponds to an addition code ACODE capable of reducing the cycle of the refresh clock TREFI by "β / 2" compared to the cycle of the previous self-refresh cycle.
[0090] In step S260, when the number of occurrences of the error flag nERR_flag is "2", the code converter 1912b generates an addition code value (α'-α). That is, if it is determined that the error flag has appeared twice in the previous self-refresh cycle, the code converter 1912b obtains an addition code value obtained by subtracting (α) from the addition code value (α') generated in the previous self-refresh cycle. This corresponds to an addition code ACODE capable of reducing the cycle of the refresh clock TREFI by "β" compared to the cycle of the previous self-refresh cycle.
[0091] In step S270, if the number of occurrences of the error flag nERR_flag is "3" or more, the code converter 1912b generates an addition code value "0". That is, if it is determined that the error flag has appeared three or more times (including uncorrectable errors) in the previous self-refresh cycle, the code converter 1912b may generate an addition code ACODE "0". This corresponds to an addition code ACODE that generates a cycle of the refresh clock TREFI entirely depending on the temperature code TCODE. That is, the addition code ACODE "0" may be a measure to minimize the refresh cycle.
[0092] In step S280, the code converter 1912b stores the addition code ACODE generated in at least one of steps S230, S250, S260, and S270 in an internal register. That is, the addition code ACODE stored at this time can be provided as the addition code (α') of the previous cycle in the next self-refresh cycle. Thereafter, the process returns to step S210.
[0093] In the above, the method of combining the temperature code TCODE and the number of occurrences of the error flag nERR_flag of the code adder 1910b has been briefly described, but is not limited thereto. The code adder 1910b can dynamically adjust the self-refresh period according to the number of occurrences of the error flag nERR_flag.
[0094] Fig.10 1001 shows a signal timing of a method for changing a self-refresh period according to an embodiment of the inventive concept. Fig.10, the period of the refresh clock TREFI can be increased or decreased according to the number of occurrences of the error flag nERR_flag. Figure 1 )The temperature code TCODE provided by the controller remains constant.
[0095] At time T0, the first cycle of the self-refresh operation may be performed. One refresh cycle corresponds to a period in which substantially all rows of the selected memory cells are selected and refreshed. If it is assumed that the number of occurrences of the error flag nERR_flag up to the first cycle is "0", the code adder 1910b outputs the code value of the combination code TCODE+ACODE as "TCODE+α". According to the code value of the combination code TCODE+ACODE, the period of the refresh clock TREFI in the first cycle may be set to "tREF+β".
[0096] At time T1, the second cycle of self-refresh begins. The error flag ERR_flag does not appear until the first cycle. Therefore, in the second cycle, the combination code TCODE+ACODE can be generated as "TCODE+2α" with an increase in the addition code value "α" compared to the first cycle. In the second cycle, the period of the refresh clock TREFI can be "tREF+2β".
[0097] At time T2, the third cycle of self-refresh begins. However, the error flag ERR_flag appears once during the second cycle. Therefore, the number of occurrences of the error flag nERR_flag until the second cycle corresponds to "1". In the third cycle, the combination code TCODE+ACODE can be generated as "TCODE+1.5α" which is "-0.5α" subtracted from the combination code value "TCODE+2α" in the second cycle. By subtracting the addition code ACODE, the period of the refresh clock TREFI in the third cycle can be "tREF+1.5β".
[0098] At time T3, the fourth cycle of self-refresh begins. However, the error flag ERR_flag is generated again during the third cycle. Therefore, the number of occurrences of the error flag nERR_flag up to the third cycle corresponds to "2". In the fourth cycle, the combination code TCODE+ACODE can be generated as "TCODE+0.5α" which is "-α" subtracted from the combination code value TCODE+1.5α in the third cycle. By subtracting the addition code ACODE, the period of the refresh clock TREFI in the fourth cycle becomes "tREF+0.5β".
[0099] At time T4, the fifth cycle of self-refresh begins. However, the error flag ERR_flag is generated again during the fourth cycle. Therefore, the number of occurrences of the error flag nERR_flag up to the fourth cycle corresponds to "3". In the fifth cycle, the combination code TCODE+ACODE can be subtracted from the combination code value TCODE+0.5α in the fourth cycle by the "max" code excluding the temperature code TCODE component. Therefore, in the fifth cycle, the combination code TCODE+ACODE can be generated as "TCODE". By subtracting the addition code ACODE, the period of the refresh clock TREFI in the fifth cycle becomes "tREF".
[0100] In the refresh cycle after time T5, the number of occurrences of the error flag nERR_flag will remain at "3" or more. Therefore, the period of the refresh clock TREFI after the fifth cycle can be maintained at "tREF".
[0101] According to the above description, since the error flag ERR_flag is applied to the temperature code TCODE, the self-refresh cycle can be increased to the limit of the retention characteristics of the memory cell. Therefore, the self-refresh cycle can be increased to the maximum extent that the data reliability of the memory device 1000 is guaranteed. This can help minimize the current consumption generated by the self-refresh operation of the memory device 1000.
[0102] Fig.11 2000 according to an embodiment of the inventive concept. Fig.11 , the memory module includes a plurality of memory devices 2110 to 2180. In addition, an error flag ERR_flag or a temperature code TCODE in one memory device 2120 may be provided to another memory device 2130.
[0103] When there is a fault or error in the relevant circuit or temperature sensor of the memory device 2130, the memory device 2130 cannot generate a compensated self-refresh cycle. In this case, the temperature code TCODE or the error flag ERR_flag may be provided from an adjacent memory device 2120 having characteristics similar to those of the memory device 2130. To this end, a channel capable of sharing the temperature code TCODE or the error flag ERR_flag may be separately provided in each of the plurality of memory devices 2110 to 2180. Therefore, the memory device 2120 capable of normally generating the temperature code TCODE or the error flag ERR_flag may transmit the generated temperature code TCODE or the error flag ERR_flag to the memory device 2130 through this channel.
[0104] Fig.12 A memory system according to an exemplary embodiment of the inventive concept is shown. Fig.12 , a memory system 3000 implemented as a stacked memory includes a printed circuit board (PCB) substrate 3100, an interposer 3150, a host die 3200, a logic die 3300, and high bandwidth DRAMs 3310, 3320, 3330, 3340 (DRAM0 to DRAM3).
[0105] The memory system 3000 connects the high bandwidth DRAMs 3310, 3320, 3330, and 3340 and the host die 3200 using an interposer 3150. The interposer 3150 may be disposed on the PCB substrate 3100 and may be electrically connected to the PCB substrate 3100 through flip chip bumps FB.
[0106] The host die 3200, the logic die 3300, and the high-bandwidth DRAMs 3310, 3320, 3330, and 3340 are configured in a stacked structure and may be disposed on the interposer 3150. To implement the memory system 3000, through silicon via (TSV, also known as through silicon via) lines are formed in the plurality of high-bandwidth DRAMs 3310, 3320, 3330, and 3340. The TSV lines may be electrically connected to micro bumps (MBs) formed between the plurality of high-bandwidth DRAMs 3310, 3320, 3330, and 3340.
[0107] Here, the plurality of high-bandwidth DRAMs 3310, 3320, 3330, and 3340 may respectively transmit the temperature code TCODE and / or the error flag ERR_flag to the host die 3200. Therefore, the host die 3200 transmits the temperature code TCODE and / or the error flag ERR_flag of a device adjacent to the device that cannot generate the temperature code TCODE and / or the error flag ERR_flag among the plurality of high-bandwidth DRAMs 3310, 3320, 3330, and 3340.
[0108] Fig.13 Shown for Fig.12 The process of sharing the temperature code TCODE and / or error flag ERR_flag in the memory system. Fig.13 The host die 3200 corresponding to the system-on-chip SoC may transmit the temperature code TCODE and / or the error flag ERR_flag from at least one high-bandwidth DRAM (such as 3310 ) to another high-bandwidth DRAM (such as 3320 ).
[0109] Due to an error in a circuit that generates a temperature code TCODE and / or an error flag ERR_flag, the high bandwidth DRAM 3320 may not be able to perform a normal self-refresh operation. Therefore, the high bandwidth DRAM 3320 may provide a message to the host die 3200 to request the temperature code TCODE and / or the error flag ERR_flag of at least one adjacent high bandwidth DRAM. In response to the request of the high bandwidth DRAM 3320, the host die 3200 may provide the temperature code TCODE and / or the error flag ERR_flag generated in the high bandwidth DRAM 3310 to the high bandwidth DRAM 3320. For example, the high bandwidth DRAM 3320 may perform a self-refresh operation with a dynamically variable period by referring to the temperature code TCODE and / or the error flag ERR_flag generated by the high bandwidth DRAM 3310.
[0110] Fig.14 A graph 1401 showing the relationship between time and temperature according to an embodiment of the present inventive concept is shown. Fig.14 , when a self-refresh cycle is generated by associating the error flag ERR_flag with the temperature code TCODE of the embodiment, and / or optionally associating the number of occurrences of the error flag ERR_flag with the temperature code TCODE of the embodiment, the cycle of the refresh clock TREFI can be increased until the error flag ERR_flag appears for each temperature. In this case, the retention time provided by the memory cells of the memory device 1000 can be maximized and / or optimized for power consumption, so the refresh cycle can be maximized. The circular points in the graph shown represent the actual strength or retention time of the memory device.
[0111] Curve C1 shows the refresh cycle time TREFW when the refresh cycle is set using only the temperature code TCODE. On the other hand, curve C2 shows the refresh cycle time TREFW of the self-refresh cycle generated by associating the error flag ERR_flag with the temperature code TCODE of the present inventive concept.
[0112] At temperature Temp1 , the refresh cycle time TREFW of the curve C2 according to the inventive concept may be increased by “ ΔM1 ” compared to the curve C1 . This indicates that when the inventive concept is applied, the cycle can be maximally increased while maintaining the integrity of data of the self-refresh operation.
[0113] Similarly, at temperature Temp2, the refresh cycle time TREFW of curve C2 according to an embodiment of the inventive concept may be increased by "ΔM2" compared to curve C1. As the temperature rises, the increase in the refresh cycle time TREFW gradually decreases compared to curve C1, but it can be determined that when the inventive concept is applied, the retention characteristics provided by the memory cell can be maximized.
[0114] The above is a specific embodiment presented by way of example for practicing the inventive concept, but is not limited thereto. In addition to the embodiments described above, it will be understood by those of ordinary skill in the art that the scope and spirit of the inventive concept include various design changes, modifications and / or combinations of the embodiments. In addition, it should be understood that the inventive concept includes techniques that can be easily modified and implemented based on these embodiments. Therefore, the scope of the inventive concept should not be limited to the embodiments described above, but should be limited by the attached claims and their equivalents.
Claims
1. A self-refresh method for a semiconductor memory device, include: generating a temperature code indicative of a temperature of the semiconductor memory device; generating a first error flag indicating any data error in a memory region of the semiconductor memory device; performing a first self-refresh operation on the memory region within a first refresh cycle based on the temperature code and the first error flag; generating a second error flag indicating any data error in the memory region during the first self-refresh operation; as well as performing a second self-refresh operation on the memory region in a second refresh cycle based on the temperature code and the second error flag, Wherein, if the second error flag indicates that there is no data error in the memory area during the first self-refresh operation, the second refresh period is longer than the first refresh period.
2. The method according to claim 1, further comprising: include: generating a first combination code by adding the temperature code and an addition code corresponding to the first error flag; as well as A first refresh cycle is determined according to the first combination code.
3. The method according to claim 2, in, When the first error flag does not occur, a first combination code is generated by adding the specific code value and the temperature code.
4. The method according to claim 3, further comprising: include: generating a second combination code by adding the temperature code and an addition code corresponding to a second error flag; as well as The second refresh cycle is determined according to the second combination code.
5. The method according to claim 4, in, When the first error flag and the second error flag do not occur, a second combination code is generated by adding twice the specific code value and the temperature code.
6. The method according to claim 4, in, When the first error flag does not occur and the second error flag occurs, a second combination code is generated by subtracting a specific code value from the first combination code.
7. The method according to any one of claims 1 to 6, in, The first error flag or the second error flag indicates that a correctable error is detected from data being refreshed in the memory area.
8. The method according to any one of claims 1 to 6, in, The first error flag or the second error flag includes a case where an uncorrectable error is detected from data being refreshed in the memory area.
9. A semiconductor memory device, include: a cell array including a plurality of memory cells; an error correction circuit configured to generate an error flag during a self-refresh operation of the cell array; a temperature sensor configured to detect an operating temperature of the semiconductor memory device and generate a temperature code; a dynamic refresh cycle generator configured to generate a refresh cycle for a self-refresh operation by combining a temperature code and an error flag; as well as A refresh controller performs a self-refresh operation on the cell array according to a refresh cycle. Wherein, when the error flag indicates no data error in the memory region during the first self-refresh operation, the dynamic refresh cycle generator is configured to generate an increased refresh cycle prior to the second self-refresh operation.
10. The semiconductor memory device according to claim 9, in, The dynamic refresh cycle generator includes: a code adder for generating a combined code by combining the temperature code and the error flag; and A refresh cycle generator generates a refresh cycle according to the combination code.
11. The semiconductor memory device according to claim 10, in, The code adder includes: a code converter to generate an addition code corresponding to the error flag; and A plurality of full adders are configured to generate a combination code by adding the temperature code and the addition code.
12. The semiconductor memory device according to claim 11, in, When the error flag does not occur during the first self refresh operation, the code converter generates an addition code greater than “1”.
13. The semiconductor memory device according to claim 11, in, When the error flag is generated during the first self refresh operation, the code converter generates an addition code corresponding to “0”.
14. The semiconductor memory device according to claim 11, in, The code converter includes a register for storing a generation history of the addition code.
15. The semiconductor memory device according to claim 10, in, The code adder includes: A register counter counts the number of occurrences of the error flag; a code converter that generates an addition code corresponding to the number of occurrences of the error flag; and A plurality of full adders are configured to generate a combination code by adding the temperature code and the addition code.
16. The semiconductor memory device according to any one of claims 9 to 15, in, When an error flag occurs during the first refresh cycle, the dynamic refresh cycle generator generates a reduced refresh cycle for a second self-refresh operation.
17. The semiconductor memory device according to any one of claims 9 to 15, in, The dynamic refresh cycle generator sequentially performs multiple self-refresh operations and gradually increases the refresh cycle until an error flag appears.
18. A self-refresh method for a semiconductor memory device, include: generating a temperature code and a first error flag of the semiconductor memory device from a memory area to be refreshed; Counting the number of occurrences of the first error flag; performing a first self-refresh operation on the memory region in a first refresh cycle based on the temperature code and the number of occurrences of the first error flag; generating a second error flag by detecting an error in the memory region during the first self-refresh operation; Counting the number of occurrences of the second error flag; as well as performing a second self-refresh operation on the memory area with a second refresh cycle based on the temperature code and the number of occurrences of the second error flag, When the number of occurrences of the second error flag is zero, the second refresh cycle is longer than the first refresh cycle.
19. The method according to claim 18, in, When the number of occurrences of the second error flag is “1” or more, the second refresh cycle is shorter than the first refresh cycle.
20. The method according to claim 18, in, When the number of occurrences of the second error flag is greater than “1”, the second refresh period is increased in inverse proportion to the number of occurrences of the second error flag compared to the first refresh period.
