Semiconductor memory
The semiconductor memory device addresses low hammer noise in miniaturized devices by dividing the memory cell array into subarrays with shared sense amplifiers for simultaneous access and refresh, ensuring high performance and security.
Patent Information
- Application Number
- JP2025076859
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2025-05-02
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2045-05-02
AI Technical Summary
In advanced miniaturized semiconductor memory devices, low-access noise affects a wide range of memory cells, leading to data inversion and security vulnerabilities through 'low hammer' attacks, while frequent refreshes to counter this noise reduce write and read speeds.
A semiconductor memory device with a memory cell array divided into subarrays, where non-adjacent subarrays share sense amplifier circuits, allowing simultaneous normal access and refresh operations based on noise impact assessment.
Efficient data recovery from noise-affected memory cells without reducing write and read speeds by optimizing access and refresh processes.
Smart Images

Figure 0007957367000001 
Figure 0007957367000002 
Figure 0007957367000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to a semiconductor memory device. [[Background Art]]
[0002] In recent years, as semiconductor memory devices represented by DRAMs have been further miniaturized, the influence of noise caused by their own operation has become non-negligible. For example, a so-called "row hammer" is a phenomenon in which, when a certain row is accessed, memory cells located in an adjacent row (or a row in a nearby area equivalent thereto) are affected by row access noise, causing fluctuations in the charge of the memory cells.
[0003] If such fluctuations in memory cell charge due to noise occur frequently in specific memory cells before the memory cell charge is restored through refresh operations or the like, the data values of the memory cells may be inverted.
[0004] For example, Patent Document 1 discloses a solution to the row hammer problem, which prevents the occurrence of defects by refreshing word lines that may be targeted during an auto-refresh command. [[Prior Art Documents]] [[Patent Documents]]
[0005] [[Patent Document 1]] Japanese Patent No. 6281030 [[Summary of Invention]] [[Problems to be Solved by the Invention]]
[0006] In process technologies that have not undergone significant miniaturization, the impact of low-access noise was minor in both degree and scope, making it relatively easy to deal with low hammer before the data value of the memory cell reversed. However, in process technologies with advanced miniaturization, low-access noise affects a wide range of memory cells, not just those adjacent to the accessed row. Furthermore, the degree of noise impact increases, and the number of low-access cycles that a memory cell can withstand decreases significantly.
[0007] Under these circumstances, it has become difficult to completely counter the low hammer. Conversely, this makes it easier to carry out a so-called "low hammer attack," which involves deliberately exploiting this phenomenon to destroy data in memory cells, thereby causing security problems in devices equipped with semiconductor memory devices.
[0008] The countermeasure against low hammer is to refresh memory cells that are heavily affected by noise to recover the data in those memory cells. However, frequent refreshes restrict normal access, including data writing and reading, leading to a decrease in write and read speeds.
[0009] The purpose of this disclosure is to provide a semiconductor memory device that can efficiently recover data from memory cells affected by low hammer without reducing write and read speeds due to frequent refreshes. [Means for solving the problem]
[0010] According to the semiconductor memory device relating to the first aspect of this disclosure, A semiconductor memory device comprising a memory cell array including a plurality of memory cells arranged along a plurality of mutually orthogonal word lines and a plurality of column selection lines, wherein the semiconductor memory device Multiple sense amplifier circuits that amplify the data read from the multiple memory cells, The system includes a control circuit that controls normal access, including writing and reading, to the plurality of memory cells, and controls the refreshing of the plurality of memory cells, The memory cell array includes a plurality of subarrays, each containing a plurality of memory cells. Each of the plurality of subarrays is connected to two of the plurality of sense amplifier circuits, and two subarrays adjacent to each other in the direction of the plurality of column selection lines share one of the plurality of sense amplifier circuits. The control circuit activates a first memory cell, which is included in the first subarray of the plurality of subarrays, for normal access via a first word line among the plurality of word lines, and simultaneously refreshes a second memory cell, which is included in a second subarray different from the first subarray of the plurality of subarrays, via a second word line among the plurality of word lines.
[0011] According to the semiconductor memory device of the second aspect of this disclosure, in the semiconductor memory device of the first aspect The semiconductor memory device further comprises a plurality of data input / output signal lines arranged along the direction of the plurality of column selection lines, which input and output data stored in the plurality of memory cells to the memory cell array. The first and second subarrays are connected to at least one common data input / output signal line among the plurality of data input / output signal lines, The second subarray is a subarray that is not adjacent to the first subarray in the direction of the plurality of column selection lines.
[0012] According to the semiconductor memory device of the third aspect of this disclosure, in the semiconductor memory device of the second aspect The aforementioned control circuit is For each word line, the degree of influence of the low hammer on the data stored in the memory cell connected to that word line is determined. The second word line is determined based on the degree of influence of the aforementioned wax hammer.
[0013] According to the semiconductor memory device of the fourth aspect of this disclosure, in the semiconductor memory device of the third aspect The aforementioned control circuit is Based on the row address of the first word line, a range of row addresses corresponding to at least one of the plurality of subarrays is determined, excluding the first subarray and subarrays adjacent to the first subarray in the direction of the plurality of column selection lines. Based on the influence of the aforementioned row hammer, the second word line is determined from word lines having row addresses that fall within the determined range.
[0014] According to the semiconductor memory device of the fifth aspect of this disclosure, in the semiconductor memory device of the second aspect The aforementioned control circuit is Based on the row address of the first word line, the range of row addresses corresponding to the second subarray is determined. The second word line is determined from the word lines having row addresses that fall within the range determined above.
[0015] According to the semiconductor memory device of the sixth aspect of this disclosure, in the semiconductor memory device of the second or fifth aspect Based on the row address of the first word line, the control circuit uniquely determines the row address of the second word line that indicates the physical location of the second memory cell in the second subarray, corresponding to the physical location of the first memory cell in the first subarray.
[0016] According to the semiconductor memory device of the seventh aspect of this disclosure, in the semiconductor memory device of one of the second to sixth aspects: when the first word line is replaced by a third word line that is a redundant word line, the control circuit activates, via the third word line, a third memory cell, which is included in a third sub-array among the plurality of sub-arrays and connected to the third word line, among the plurality of memory cells for the normal access, and simultaneously refreshes a fourth memory cell, which is included in a fourth sub-array among the plurality of sub-arrays, among the plurality of memory cells via a fourth word line among the plurality of word lines, the third and fourth sub-arrays are connected to at least one common data input / output signal line among the plurality of data input / output signal lines, and the fourth sub-array is a sub-array that is different from the third sub-array and is not adjacent to the third sub-array in a direction of the plurality of column selection lines. [Effects of the Invention]
[0017] According to the semiconductor memory device according to one aspect of the present disclosure, it is possible to efficiently recover data of a memory cell affected by a row hammer without reducing write and read speeds due to high-frequency refresh. [Brief Description of Drawings]
[0018] [Figure 1] FIG. 1 is a block diagram illustrating a configuration of a data processing device including a DRAM chip 1 according to an embodiment. [Figure 2] FIG. 2 is a diagram illustrating a plurality of sub-arrays 11 included in a memory cell array 10 of FIG. 1. [Figure 3] FIG. 3 is a diagram illustrating a configuration of one of the sub-arrays 11 in FIG. 2. [Figure 4] FIG. 4 is a schematic diagram illustrating a case where normal access is performed to the memory cell array 10 of FIG. 2. [Figure 5] FIG. 5 is a diagram illustrating a detailed configuration of the memory cell array 10 of FIG. 2, and illustrating a case where normal access is performed to the memory cell array 10. [Figure 6]Figure 2 is a schematic diagram showing normal access and refresh operations on the memory cell array 10. [Figure 7] Figure 2 shows a detailed configuration of the memory cell array 10, illustrating the case when normal access and refresh are performed on the memory cell array 10. [Figure 8] This is a schematic diagram showing the case where normal access and refresh are attempted to the memory cell array 10 of the DRAM chip in the comparative example. [Figure 9] This figure shows the detailed configuration of the memory cell array 10 of a DRAM chip in a comparative example, and illustrates the case when attempting normal access and refresh of the memory cell array 10. [Figure 10] Figure 1 is a flowchart showing the memory management process performed by the memory cell array control circuit 22. [Figure 11] Figure 1 shows the sacrificial row table managed by the memory cell array control circuit 22. [Figure 12] Figure 10 is a flowchart of the subroutines for steps S5 and S8. [Figure 13] Figure 10 shows the flowchart of the subroutine for step S6. [Figure 14] This figure shows a partial configuration of a DRAM chip according to a first modified example of the embodiment. [Figure 15] This figure shows a partial configuration of a DRAM chip according to a second modified example of the embodiment. [Figure 16] This figure shows a partial configuration of a DRAM chip according to a third modified example of the embodiment. [Figure 17] This figure shows a partial configuration of a DRAM chip according to a fourth modified example of the embodiment. [Figure 18] This flowchart shows the memory management process performed by the memory cell array control circuit 22 of the DRAM chip according to a fourth modified embodiment. [Modes for carrying out the invention]
[0019] Embodiments of the present invention will be described below with reference to the drawings. In each drawing, the same reference numerals indicate the same components.
[0020] [Configuration of the Embodiment] Figure 1 is a block diagram showing the configuration of a data processing device including a DRAM (dynamic random access memory) chip 1 according to an embodiment. The data processing device in Figure 1 comprises a DRAM chip 1, a memory controller 2, and a processor 3.
[0021] The DRAM chip 1 includes a memory cell array 10, a command input circuit 21, a memory cell array control circuit 22, a data input / output circuit 23, an internal data bus 24, a data processing circuit 25, and an internal data bus 26.
[0022] The memory cell array 10 comprises a plurality of memory cells 12, a plurality of bit lines 13, a sense amplifier circuit 14, a plurality of word lines 15, a plurality of column selection lines 16, a word line decoding circuit 17, and a column selection line decoding circuit 19. The plurality of memory cells 12 are arranged along a plurality of mutually orthogonal word lines 15 and a plurality of column selection lines 16. Each memory cell 12 arranged along each word line 15 is connected to or disconnected from each bit line 13 by a switching element that operates depending on the active or inactive state of the word line 15. The sense amplifier circuit 14 includes a plurality of sense amplifiers, each connected to the plurality of bit lines 13. The plurality of sense amplifier circuits 14 amplify the data read from the plurality of memory cells 12. The plurality of column selection lines 16 select one of the plurality of sense amplifiers in the sense amplifier circuit 14. The word line decoding circuit 17, in cooperation with a plurality of local word line decoding circuits 18 (described later with reference to Figure 2), decodes the row address sent from the memory cell array control circuit 22 to the physical position of a word line 15 and selects one or more of the plurality of word lines 15. The column selection line decoding circuit 19 decodes the column address sent from the memory cell array control circuit 22 to the physical position of a column selection line 16 and selects one or more of the plurality of column selection lines 16.
[0023] In Figure 1, for the sake of simplicity, only one memory cell 12, one bit line 13, one word line 15, one column selection line 16, and one sense amplifier circuit 14 are shown.
[0024] The command input circuit 21 receives the command CMD, address ADD, and clock CLK from the memory controller 2, sends them to the memory cell array control circuit 22, and also sends the clock CLK to the data processing circuit 25.
[0025] The memory cell array control circuit 22 receives the command CMD, address ADD, and clock CLK from the command input circuit 21 and generates control signals CNT_R and CNT_C for the word line decode circuit 17 and the column selection line decode circuit 19. The row control signal CNT_R for the word line decode circuit 17 includes the row address of each word line 15 and activates or deactivates each word line 15. The column control signal CNT_C for the column selection line decode circuit 19 includes the column address of each column selection line 16 and activates or deactivates each column selection line 16. In this way, the memory cell array control circuit 22 is a control circuit that activates or deactivates each sense amplifier of the sense amplifier circuit 14, each word line 15, and each column selection line 16. As a result, the memory cell array control circuit 22 controls normal access, including writing and reading to multiple memory cells 12, and controls the refreshing of multiple memory cells 12, for example, as will be described later.
[0026] The data input / output circuit 23 transmits and receives data signals DATA to and from the memory controller 2, and further transmits and receives data signals to and from each sense amplifier of the sense amplifier circuit 14 via the internal data bus 24, the data processing circuit 25, and the internal data bus 26.
[0027] The memory controller 2, under the control of the processor 3, sends the command CMD, address ADD, and clock CLK to the DRAM chip 1, and sends and receives the data signal DATA to and from the DRAM chip 1.
[0028] Figure 2 shows a plurality of subarrays 11 included in the memory cell array 10 of Figure 1. The memory cell array 10 includes a plurality of subarrays 11, each containing a plurality of memory cells 12. At least the memory cell array 10 includes at least three subarrays 11 arranged along the direction of the column selection line 16 (the direction of the Y axis in Figure 2). The plurality of subarrays 11 arranged along the direction of the column selection line 16 are connected to at least one common data input / output signal line among a plurality of data input / output signal lines that input and output data stored in the plurality of memory cells 12 to the memory cell array 10, as will be described later. The memory cell array 10 may also include a plurality of subarrays 11 arranged along the direction of the word line 15 (the direction of the X axis in Figure 2).
[0029] The memory cell array 10 may include a number of subarrays 11, each containing several dozen subarrays 11 arranged in the vertical and horizontal directions, for example, 16 or 32 subarrays 11. In Figure 2, for the sake of simplicity, a 3x3 subarray 11 is shown.
[0030] Each of the multiple subarrays 11 is connected to two of the multiple sense amplifier circuits 14. Two subarrays 11 that are adjacent to each other in the direction of the multiple column selection lines 16 share one of the multiple sense amplifier circuits 14. In this specification, "adjacent" of subarrays 11 means that they are in the closest spatial relationship among the multiple subarrays 11. For example, each subarray 11 may have a rectangular shape, in which case two adjacent subarrays 11 face each other on one side.
[0031] The memory cell array control circuit 22 includes row address circuits 31 to 33 that specify row addresses for normal access, periodic refresh, and sacrificial row refresh, respectively. The row addresses for normal access, periodic refresh, and sacrificial row refresh are transmitted to the memory cell array 10 via row address signal lines 34 to 36, respectively.
[0032] The memory cell array 10 further includes a plurality of latch circuits 37 and a plurality of local word line decoding circuits 18. The latch circuits 37 temporarily store the row addresses transmitted via the row address signal lines 34-36 and send them to the word line decoding circuits 17. The plurality of local word line decoding circuits 18 are connected to a plurality of sub-arrays 11. Each of the plurality of sub-arrays 11 may be connected to two of the plurality of local word line decoding circuits 18. Two sub-arrays 11 that are adjacent to each other in the direction of the plurality of word lines 15 may share one of the plurality of local word line decoding circuits 18. The word line decoding circuit 17 works in cooperation with the plurality of local word line decoding circuits 18 to decode the row addresses sent from the memory cell array control circuit 22 to the physical position of the word lines 15 and select one or more of the plurality of word lines 15.
[0033] Figure 3 shows one configuration of the subarray 11 of Figure 2. The subarray 11 includes multiple memory cells 12 arranged along multiple mutually orthogonal word lines 15 and multiple column selection lines 16 (not shown). Each memory cell 12 is a capacitive element that stores electric charge. One end of each memory cell 12 is connected to a cell plate, and the other end of each memory cell 12 is connected to a bit line 13 via a switching element. The cell plate is connected to a voltage source of cell plate potential, which is ground potential or other potential. Each switching element is, for example, a transistor. Each switching element connects or disconnects each memory cell 12 arranged along each word line 15 to each bit line 13, depending on the active or inactive state of the word line 15. In other words, each switching element selects multiple memory cells 12 arranged along one word line 15. Each memory cell 12 is connected via a bit line 13 to either a sense amplifier included in the sense amplifier circuit 14 at one end of the subarray 11 (for example, the upper end of Figure 3) or a sense amplifier included in the sense amplifier circuit 14 at the other end of the subarray 11 (for example, the lower end of Figure 3).
[0034] Referring to Figures 1 to 3, the memory cell 12 that stores data is connected to the bit line 13 when the word line 15 is activated by a row access. The small amount of charge in the memory cell 12 reaches the sense amplifier and is amplified to a logical "1" or "0". Subsequently, the column selection line 16 is activated by a column access, selecting a portion of the sense amplifier that stores the data activated by the row access, making it possible to read it out as a data signal DATA via the data input / output circuit 23. Conversely, when a data signal DATA is input from the outside, the data is written to the sense amplifier specified by the column selection line 16, and then the data in the sense amplifier is stored in the memory cell 12 corresponding to the activated word line 15 via the bit line 13. In this specification, such data writing and reading are referred to as "normal access".
[0035] Furthermore, the data in the memory cell 12 is recovered through a series of operations: activating the word line 15 by low access, amplifying the charge of the memory cell 12 by the sense amplifier, storing the amplified charge in the memory cell 12, and then deactivating the word line 15. This series of operations is called "refresh".
[0036] The charge stored in memory cell 12 evaporates over time, so it is necessary to replenish the evaporated charge by performing periodic refreshes. However, data in memory cell 12 that has been damaged by low hammer noise may not be preserved by periodic refreshes alone. Therefore, for memory cell 12 that is likely to be greatly affected by low hammer, it becomes necessary to refresh it at a higher frequency than the frequency determined for periodic refreshes. Since the row addresses targeted for periodic refreshes are specified by the DRAM chip 1, the memory controller 2 or processor 3 cannot specify row addresses and perform normal access during the periodic refresh. Therefore, performing refreshes to counter low hammer in addition to periodic refreshes may reduce the time during which the memory controller 2 or processor 3 can perform normal access to the DRAM chip 1, potentially leading to a decrease in performance.
[0037] The following describes the operation of a semiconductor memory device according to an embodiment that can efficiently recover data from memory cells 12 affected by low hammer without reducing the write and read speed through frequent refresh.
[0038] [Operation of the Embodiment] Figure 4 is a schematic diagram showing a normal access to the memory cell array 10 in Figure 2. For illustrative purposes, the sub-arrays 11 in the central column are assigned codes 11-1 to 11-3, and the sense amplifier circuits 14 in the central column are assigned codes 14-0 to 14-3. Figure 4 shows a normal access to the memory cells included in sub-array 11-3 with the word line 15-a and column selection line 16 activated.
[0039] Figure 5 is a diagram showing the detailed configuration of the memory cell array 10 in Figure 2, and illustrates the case when normal access is performed to the memory cell array 10. Figure 5 shows a portion of the memory cell array 10, specifically the parts related to the sub-arrays 11-1 to 11-3 and sense amplifier circuits 14-0 to 14-3 in Figure 4.
[0040] The memory cell array 10 further comprises column selection circuits 41-0 to 41-3, local input / output signal lines (local IO lines) 42-0 to 42-3, input / output (IO) selection circuits 43-0 to 43-3, and global input / output signal lines (global IO lines) 44. Sense amplifier circuits 14-0 to 14-3 are connected to the local IO lines 42-0 to 42-3, respectively, via the column selection circuits 41-0 to 41-3. Each of the column selection circuits 41-0 to 41-3 contains a switching element, which is activated (on) and deactivated (off) according to the signal applied via the column selection line 16. The local IO lines 42-0 to 42-3 are connected to the global IO line 44 via the IO selection circuits 43-0 to 43-3. Each of the IO selection circuits 43-0 to 43-3 includes a switching element that is activated (on) when the corresponding local IO line and the word line 15 connected to the memory cells of the subarray connected to the IO selection circuit via the column selection circuit are activated for normal access, and deactivated (off) otherwise. The global IO line 44 is connected to the data processing circuit 25. The global IO line 44 is arranged along the direction of the multiple column selection lines 16 and is a data input / output signal line that inputs and outputs data stored in the multiple memory cells 12 to the memory cell array 10. The subarrays 11-1 to 11-3 are connected to at least one common global IO line 44.
[0041] The memory cell array 10 also includes column selection circuits, local I / O lines, I / O selection circuits, and global I / O lines, as with other sub-arrays 11 and sense amplifier circuits 14 other than sub-arrays 11-1 to 11-3 and sense amplifier circuits 14-0 to 14-3 shown in Figure 4.
[0042] In the example shown in Figure 5, word line 15-a is activated to perform normal access to the memory cells of subarray 11-3, and sense amplifier circuits 14-2 and 14-3 amplify the data of the memory cells connected to word line 15-a. At the same time, IO selection circuits 43-2 and 43-3 are activated, while the other IO selection circuits 43-0 and 43-1 are deactivated. When column selection line 16 is activated in this state, all column selection circuits 41-0 to 41-3 connected to it are activated, and sense amplifier circuits 14-0 to 14-3 are connected to the corresponding local IO lines 42-0 to 42-3, respectively. However, since only IO selection circuits 43-2 and 43-3 are activated, local IO lines 42-2 and 42-3 are connected to global IO line 44, but local IO lines 42-0 and 42-1 remain disconnected from global IO line 44. As a result, the data amplified by the sense amplifier circuits 14-2 and 14-3 is read out to the data processing circuit 25 via local I / O lines 42-2 and 42-3 and global I / O line 44.
[0043] Writing data from the data processing circuit 25 to the memory cells of the subarray 11-3 is also performed in the same manner as described with reference to Figure 5.
[0044] Figure 6 is a schematic diagram showing normal access and refresh of the memory cell array 10 in Figure 2. Figure 6 shows the operation according to this embodiment, namely, activating the word lines 15-a, 15-b and the column selection line 16, performing normal access to the memory cells included in subarray 11-3, and simultaneously refreshing the memory cells included in subarray 11-1.
[0045] The memory cell array control circuit 22 activates the memory cells in subarray 11-3 for normal access via word line 15-a, and simultaneously refreshes the memory cells in subarray 11-1, which is different from subarray 11-3, via word line 15-b. In the example in Figure 6, subarray 11-1, which contains the memory cells to be refreshed, is not adjacent to subarray 11-3, which contains the memory cells to be accessed normally.
[0046] Figure 7 is a diagram showing the detailed configuration of the memory cell array 10 in Figure 2, and illustrates the case when normal access and refresh are performed on the memory cell array 10.
[0047] The operation related to normal access to the memory cells of subarray 11-3 in Figure 7, namely the operation of subarray 11-3, sense amplifier circuits 14-2, 14-3, word line 15-a, column selection circuits 41-2, 41-3, and IO selection circuits 43-2, 43-3 in Figure 7, is similar to the operation of the corresponding components described with reference to Figure 5.
[0048] Furthermore, in the example shown in Figure 7, word line 15-b is activated to refresh the memory cell of subarray 11-1, and sense amplifier circuits 14-0 and 14-1 amplify the data of the memory cell connected to word line 15-b. When column selection line 16 is activated in this state, as mentioned above, all column selection circuits 41-0 to 41-3 are activated, and sense amplifier circuits 14-0 to 14-3 are connected to the corresponding local IO lines 42-0 to 42-3, respectively. However, since IO selection circuits 43-0 and 43-1 are inactive, local IO lines 42-0 and 42-1 are not connected to global IO line 44. In other words, even if the two word lines 15-a and 15-b are activated simultaneously for normal access and refresh, the data amplified by sense amplifier circuits 14-0 and 14-1 will not collide with the data amplified by sense amplifier circuits 14-2 and 14-3 on global IO line 44. The data amplified by the sense amplifier circuits 14-0 and 14-1 is written to the memory cells of subarray 11-1, and then the word line 15-b is deactivated. This allows for simultaneous normal access and refresh of the memory cell array 10.
[0049] Figure 8 is a schematic diagram showing a normal access and refresh attempt to the memory cell array 10 of a DRAM chip according to a comparative example. Figure 8 shows the case where, instead of activating word lines 15-a and 15-b connected to memory cells of subarrays 11-1 and 11-3 that are not adjacent to each other, as shown in Figures 6 and 7, word lines 15-a and 15-c connected to memory cells of adjacent subarrays 11-1 and 11-2 are activated.
[0050] Figure 9 is a diagram showing the detailed configuration of the memory cell array 10 of a DRAM chip according to a comparative example, and illustrates the case when attempting normal access and refresh of the memory cell array 10.
[0051] The operation related to normal access to the memory cells of subarray 11-3 in Figure 9, namely the operation of subarray 11-3, sense amplifier circuits 14-2, 14-3, word line 15-a, column selection circuits 41-2, 41-3, and I / O selection circuits 43-2, 43-3 in Figure 9, is similar to the operation of the corresponding components described with reference to Figure 5.
[0052] Furthermore, in the example shown in Figure 9, word line 15-c is activated to refresh the memory cell of subarray 11-2, and sense amplifier circuits 14-1 and 14-2 amplify the data of the memory cell connected to word line 15-b. At this time, in sense amplifier circuit 14-2, which is shared by subarrays 11-2 and 11-3, the data of the memory cell of subarray 11-2 and the data of the memory cell of subarray 11-3 collide. As a result, normal access and refresh cannot be performed simultaneously on the memory cells of adjacent subarrays 11-1 and 11-2.
[0053] As can be seen from Figures 6 to 9, when two adjacent subarrays 11 share a sense amplifier circuit 14 in the direction of the column selection line 16, normal access and refresh can be performed simultaneously by activating the two word lines 15 connected to the memory cells of two non-adjacent subarrays 11.
[0054] The memory cell 12 that is significantly affected by the low hammer may be the one to be refreshed. If the memory cell 12 that is significantly affected by the low hammer is located in a subarray 11 different from the subarray 11 containing the memory cell 12 that is currently being accessed normally, and its adjacent subarrays 11, normal access and refresh can be performed simultaneously. This allows for the efficient recovery of data from the memory cell 12 affected by the low hammer without incurring extra processing time for refresh.
[0055] The activation of word lines 15, which constitute a Low Hammer attack, is performed sequentially in multiple sub-arrays 11, and memory cells 12 affected by the Low Hammer may be distributed across multiple sub-arrays 11. In this case, by performing normal access to the memory cells 12 contained in each sub-array 11 in various sub-arrays 11, and performing a refresh simultaneously with each normal access, the data of memory cells 12 affected by the Low Hammer and distributed across multiple sub-arrays 11 can be efficiently recovered.
[0056] On the other hand, if a memory cell 12 that is significantly affected by a low hammer attack is located in a subarray containing a memory cell 12 that is about to be accessed normally, or in an adjacent subarray, normal access and refresh cannot be performed simultaneously. For example, if the activation of a word line 15 that constitutes a low hammer attack is concentrated on a specific word line 15 in one subarray 11, a refresh cannot be performed simultaneously with each normal access. However, generally, the effects of a low hammer attack do not extend to multiple subarrays 11. Therefore, the refresh of a memory cell 12 affected by a low hammer attack may be performed as a periodic refresh after the current normal access is completed, or it may be performed according to an external refresh command received from the memory controller 2 and processor 3 as a countermeasure against low hammer attacks.
[0057] Next, with reference to Figures 10 to 13, the operation of the DRAM chip 1 according to this embodiment, including periodic refresh and refresh in response to external refresh commands, will be further described.
[0058] Figure 10 is a flowchart showing the memory management process performed by the memory cell array control circuit 22 in Figure 1.
[0059] The memory cell array control circuit 22 manages a sacrificial row table that shows information about rows or "sacrificial rows" that contain memory cells 12 affected by the row hammer. The sacrificial row table shows the degree to which each sacrificial row was affected by the row hammer.
[0060] In step S1, the memory cell array control circuit 22 determines whether it has received a normal access command from the memory controller 2 and the processor 3. If the answer is YES, it proceeds to step S4; otherwise, it proceeds to step S2.
[0061] In step S2, the memory cell array control circuit 22 determines whether or not it has received an external refresh command from the memory controller 2 and the processor 3. If the answer is YES, it proceeds to step S7; otherwise, it proceeds to step S3.
[0062] In step S3, the memory cell array control circuit 22 determines whether the periodic refresh timer has elapsed. If the answer is YES, the circuit proceeds to step S7; otherwise, it returns to step S1. The periodic refresh timer is started from the time of the last periodic refresh and is reset each time a periodic refresh is performed.
[0063] In step S4, the memory cell array control circuit 22 obtains the row address of the memory cell 12 to be accessed normally from the normal access command. In step S5, the memory cell array control circuit 22 updates the sacrifice row table to reflect the impact each memory cell 12 will have on it when the normal access command is executed by performing a sacrifice row table update process. In step S6, the memory cell array control circuit 22 performs a normal access by performing a memory access process, and at the same time, refreshes the memory cell 12 affected by row hammer based on the sacrifice row table.
[0064] In step S7, the memory cell array control circuit 22 refreshes the memory cell 12 at the specified row address by an external refresh command or periodic refresh. In step S8, the memory cell array control circuit 22 updates the sacrifice row table by performing a sacrifice row table update process to reflect the impact on other memory cells 12 when the specified memory cell 12 is refreshed.
[0065] Figure 11 shows the sacrificial row table managed by the memory cell array control circuit 22 in Figure 1. Each entry in the sacrificial row table contains a set of entry number 1 to N, the row address of the sacrificial row, and the number of times the sacrificial row has been affected by a row hammer. The number of times the sacrificial row has been affected by a row hammer may be, for example, the number of times the adjacent row of the sacrificial row has been accessed. This number indicates the degree of row hammer impact received by each sacrificial row. In the initial state, the row address and count of each entry are empty.
[0066] Figure 12 is a flowchart of the subroutines for steps S5 and S8 in Figure 10.
[0067] In step S11, the memory cell array control circuit 22 determines the row address of the sacrificial row based on the row address of the memory cell 12 that is normally accessed (in the case of step S5), or based on the row address specified by an external refresh command or periodic refresh (in the case of step S8). The sacrificial row may be, for example, a row adjacent to (or a similarly nearby row) the row containing the memory cell 12 that is normally accessed (in the case of step S5), or a row adjacent to (or a similarly nearby row) the row containing the memory cell 12 that is refreshed according to an external refresh command or periodic refresh (in the case of step S8).
[0068] In step S12, the memory cell array control circuit 22 determines whether the row address of the sacrificial row determined in step S11 exists in the sacrificial row table. If the answer is YES, the circuit proceeds to step S13; otherwise, it proceeds to step S16.
[0069] In step S13, the memory cell array control circuit 22 increments the count corresponding to the row address of the sacrifice row determined in step S11 in the sacrifice row table by 1. In step S14, the memory cell array control circuit 22 determines whether the incremented count is greater than the count of the adjacent entry. If YES, it proceeds to step S15; otherwise, it returns to step S1 in Figure 10. In step S15, the memory cell array control circuit 22 swaps the current entry with the adjacent entry and returns to step S14. Steps S14 and S15 are repeated until the entries in the sacrifice row table are in descending order in terms of count.
[0070] In step S16, the memory cell array control circuit 22 determines whether or not there are any free entries in the sacrifice row table. If the answer is YES, the circuit proceeds to step S17; otherwise, it proceeds to step S18.
[0071] In step S17, the memory cell array control circuit 22 stores the row address of the sacrifice row determined in step S11 and the number "1" in the free entry with the highest number. As long as there is a free entry in the sacrifice row table, the determined row address of the sacrifice row is stored in the sacrifice row table unconditionally.
[0072] In step S18, the memory cell array control circuit 22 deletes the entry with the highest number among the entries with the fewest number of repetitions, shifts the entries with smaller numbers upward, and stores the row address of the sacrifice row determined in step S11 and the repetition count "1" in the entry with the number "1".
[0073] According to the process shown in Figure 12, the sacrifice row table can be updated to reflect the effects on other memory cells 12 by executing a normal access command, or by refreshing a specified memory cell 12 to reflect the effects on other memory cells 12.
[0074] Figure 13 is a flowchart of the subroutine for step S6 in Figure 10.
[0075] In step S21, the memory cell array control circuit 22 sets the number of entries "N" in the sacrifice row table to the variable k.
[0076] In step S22, the memory cell array control circuit 22 determines whether an entry with number "k" exists in the sacrificial row table. If the answer is YES, the circuit proceeds to step S23; otherwise, it proceeds to step S29.
[0077] In step S23, the memory cell array control circuit 22 reads the row address of number "k" from the sacrificial row table.
[0078] In step S24, the memory cell array control circuit 22 determines whether the row address read in step S23 is included in the prohibited subarray. If it is YES, the circuit proceeds to step S27; otherwise, it proceeds to step S25. Here, the prohibited subarray refers to the subarray 11 containing the memory cell 12 specified by the row address of the normal access command and its adjacent subarrays 11.
[0079] In step S25, the memory cell array control circuit 22 accesses the memory cell 12 specified by the row address of the normal access command, and at the same time refreshes the memory cell 12 specified by the row address read from the sacrifice row table. In step S26, the memory cell array control circuit 22 deletes the entry with number "k" and shifts the entry with a smaller number up.
[0080] In step S27, it is determined whether the variable k is equal to 1. If the answer is YES, proceed to step S29; otherwise, proceed to step S28.
[0081] In step S28, the memory cell array control circuit 22 decrements the variable k by 1 and returns to step S22. The sacrificial row table is searched in descending order of number N, that is, in descending order of the number of times affected by the row hammer, and steps S22-S24 and S27-S28 are repeated until no row addresses not included in the prohibited subarray are found.
[0082] In step S29, the memory cell array control circuit 22 accesses the memory cell 12 specified by the row address of the normal access command. At this time, the memory cell array control circuit 22 does not perform a refresh of the memory cell 12.
[0083] According to the process shown in Figure 13, normal access to the memory cell 12 can be performed, and at the same time, the memory cell 12 affected by the row hammer can be refreshed based on the sacrificial row table.
[0084] Steps S5 and S6 may be executed in reverse order or in parallel.
[0085] The sacrificial row table may include some other metric indicating the degree to which each sacrificial row was affected by a row hammer, instead of the number of times each sacrificial row was affected. The metric indicating the degree of row hammer influence may be, for example, a score calculated based on the number of times the neighboring rows of the sacrificial row were accessed and the distance from the accessed neighboring rows to the sacrificial row.
[0086] The sacrificial row table may store the row addresses of normal access commands instead of the row addresses of the sacrificial rows. In this case, in step S23, the memory cell array control circuit 22 determines the row addresses of the sacrificial rows based on the row addresses read from the sacrificial row table. The process is then performed similarly.
[0087] Methods for detecting wax affected by the wax hammer, or "sacrificial wax," include, for example, the following: - Activating the word line 15 counts the number of times each row's memory cell 12 has actually been affected by the row hammer. - Probabilistically identify the sacrificial row by sampling the activation of ward line 15, which results in a row hammer attack. - Use the Misra-Gries Summary or a similar method to identify sacrificial Laws that are highly susceptible to the effects of Lawhammer attacks.
[0088] In this embodiment, the sacrificial row may be discovered using any other method, and the method is not limited to these methods.
[0089] If the row address of the sacrificial row is not found, the memory cell array control circuit 22 or the row address circuit 33 may be configured to decide not to refresh the memory cell 12.
[0090] Sacrificial rows do not necessarily have to be searched from all subarrays 11 except for the subarray 11 containing the memory cell 12 that is normally accessed and its adjacent subarrays 11. For example, consider a case where the row address RA<11:0> has a size of 12 bits and the subarray 11 is identified by its upper 4 bit value RA<11:8>. If the subarray 11 containing the memory cell 12 that is normally accessed has the bit value RA<11:8>=0001, the most effective countermeasure against row hammer is to detect sacrificial rows from 13 subarrays 11, excluding the three subarrays 11 with the bit values RA<11:8>=0001, RA<11:8>=0000, and RA<11:8>=0010. However, in this case, the circuit may become complex. In contrast, sacrificial rows are detected from subarrays identified by the bit value RA<11:8>=1001, which differs from the subarray 11 containing the memory cell 12 that is normally accessed only by the most significant bit. In this case, when a subarray 11 containing the memory cell 12 that is the target of normal access is specified, automatically identifying the subarray of the sacrifice row based on the upper 4 bits of the normal access row address is likely to be effective in simplifying or speeding up the circuit.
[0091] Identifying the subarray of the sacrifice row based on the row address of the subarray containing the memory cell 12 that is normally accessed is not limited to this example. For example, it may also include identifying the subarray based on other bit values of the row address, or identifying the subarray using other parameters such as the result of an operation between the bank address and the row address. Alternatively, a different subarray may be identified for each normal access based on pseudorandom numbers or the like.
[0092] For example, if a subarray 11 containing a memory cell 12 that is normally accessed is identified by the bit value RA<11:8>, then a subarray having a bit value obtained by adding 0, +1, or -1 to the bit value RA<11:8> is prohibited from being selected as a sacrificial row refresh. In this case, the lower bit RA of the row address specifying the word line 15 <2> If the bit value is 1, it is treated as positive; if it is 0, it is treated as negative. Furthermore, the subarray of the sacrificial rows may be calculated using a bit value obtained by adding 1 to the bit value RA<1:0>. For example, if the bit value RA<2:0>=101, then the subarray containing the memory cell 12 that is normally accessed plus 2 is identified as the sacrificial row subarray. That is, if RA<11:8>=0001, then RA<11:8>=0011 is identified as the sacrificial row subarray.
[0093] If the row address of a sacrificial row is not found within the specified subarray of sacrificial rows, the memory cell array control circuit 22 or the row address circuit 33 may be configured to determine not to refresh the memory cell 12.
[0094] The memory cell array control circuit 22 may determine the degree of impact of a low hammer on the data stored in the memory cell 12 connected to each word line 15. In this case, the memory cell array control circuit 22 determines which word line 15 to refresh based on the degree of impact of the low hammer.
[0095] The memory cell array control circuit 22 may determine a range of row addresses corresponding to at least one of a plurality of subarrays 11, excluding the subarray 11 containing the memory cells 12 connected to the word line 15 that is normally accessed, and its adjacent subarrays 11, based on the row address of the word line 15 that is normally accessed. In this case, the memory cell array control circuit 22 determines the word line 15 to be refreshed from the word line 15 having row addresses included in the determined range, based on the influence of row hammer.
[0096] The memory cell array control circuit 22 may determine a range of row addresses corresponding to the subarray 11 to be refreshed based on the row addresses of the word lines 15 that are normally accessed. In this case, the memory cell array control circuit 22 determines the word line 15 to be refreshed from the word lines 15 having row addresses that fall within the determined range.
[0097] The memory cell array control circuit 22 may uniquely determine the row address of the word line 15 that indicates the physical location of the memory cell 12 to be refreshed in the second sub-array 11, based on the row address of the word line 15 that is normally accessed, so as to correspond to the physical location of the memory cell 12 that is normally accessed in the first sub-array 11.
[0098] [Effects of the Embodiment] According to the DRAM chip 1 of this embodiment, data in memory cells affected by low hammer can be efficiently recovered without reducing write and read speeds due to high-frequency refresh. This makes it possible to achieve both high performance and countermeasures against low hammer.
[0099] According to the DRAM chip 1 of this embodiment, it is possible to prevent a low-hammer attack, which could threaten the security of the system through unauthorized access and potentially lead to system shutdown and / or leakage of confidential data within the system.
[0100] [First variation] Figure 14 shows a partial configuration of a DRAM chip according to a first modified embodiment. The DRAM chip according to this modified embodiment includes a memory cell array control circuit 22A instead of the memory cell array control circuit 22 in Figure 2. The memory cell array control circuit 22A includes a selector 38A that selects one of the row addresses output from the row address circuits 31 and 32. The DRAM chip includes one set of row address signal lines 34A instead of the two sets of row address signal lines 34 and 35 in Figure 2. Since normal access and periodic refresh are not performed simultaneously, the row address signal line 34A can be shared for normal access and periodic refresh. This reduces the area of the substrate required to arrange the signal lines.
[0101] [Second variation] Figure 15 shows a partial configuration of a DRAM chip according to a second modified embodiment. The DRAM chip according to this modified embodiment includes a memory cell array control circuit 22B instead of the memory cell array control circuit 22 in Figure 2. The memory cell array control circuit 22B includes a selector 38B that selects one of the row addresses output from the row address circuits 32 and 33. The DRAM chip includes one set of row address signal lines 35B instead of the two sets of row address signal lines 35 and 36 in Figure 2. Since periodic refresh and sacrificial row refresh are not performed simultaneously, the row address signal line 35B can be shared for periodic refresh and sacrificial row refresh. This reduces the area of the substrate required to arrange the signal lines.
[0102] [Third variation] Figure 16 shows a partial configuration of a DRAM chip according to a third modified example of the embodiment. The DRAM chip according to this modified example includes a memory cell array control circuit 22C instead of the memory cell array control circuit 22 in Figure 2. The memory cell array control circuit 22C includes a selector 38C that selects one of the row addresses output from the row address circuits 31 to 33. The DRAM chip includes one set of row address signal lines 34C instead of the three sets of row address signal lines 34 to 36 in Figure 2. This reduces the area of the substrate required to arrange the signal lines.
[0103] In the configuration shown in Figure 16, for example, the lower bits of the normal access row address and the sacrificial row refresh row address may have common bit values and share a portion of the row address signal line 34C. In this case, the memory cell array control circuit 22 may uniquely determine the row address of the word line 15 indicating the physical location of the memory cell 12 to be refreshed in the second sub-array 11, based on the row address of the word line 15 used for normal access, so as to correspond to the physical location of the memory cell 12 used for normal access in the first sub-array 11. These memory cells 12 may have the same physical location in the first and second sub-arrays 11. While having the physical location of the memory cell 12 targeted for normal access and the physical location of the memory cell 12 to be refreshed in the two sub-arrays reduces the degree of freedom for countermeasures against row hammer, it is effective in improving circuit simplicity and reducing the increase in circuit area.
[0104] Specifically, consider the case where the low address RA<11:0> has a size of 12 bits, and the subarray 11 is identified by its upper 4-bit value RA<11:8>. In this case, the physical position of the word line 15 within the subarray 11 is identified by a common bit value RA<7:0>. This significantly reduces the area of the board required to arrange the signal lines, and also significantly reduces the circuit size.
[0105] In a subarray 11 different from the subarray 11 containing the memory cell 12 that is the target of normal access, if the row address identified by the lower bit value common to the lower bit value of the row address of normal access is not the row address of a sacrifice row, the memory cell array control circuit 22 or the row address circuit 33 may be configured to decide not to refresh the memory cell 12.
[0106] [Fourth variation] Figure 17 shows a partial configuration of a DRAM chip according to a fourth modification of the embodiment. Figure 17 shows the case where word line 15-d is replaced by word line 15-e, which is a redundant word line 15.
[0107] It is assumed that elements and wiring such as memory cells 12, word lines 15, bit lines 13, and sense amplifier circuits 14 within the memory cell array 10 of the DRAM chip 1 are prone to defects, and elements and wiring determined to be defective are replaced (or "remedied") by redundant circuits. If a defective word line 15 is rescued by a redundant word line, that redundant word line does not necessarily reside in the same subarray 11 as the defective word line 15 before replacement. Therefore, a subarray containing a row that should be refreshed when a row that is normally accessed is activated must be determined after it has been determined whether the row that is normally accessed is a redundant circuit, and after the subarray has been determined.
[0108] Figure 18 is a flowchart showing the memory management process performed by the memory cell array control circuit 22 of the DRAM chip according to a fourth modified embodiment. Figure 18 includes steps S31 and S32 in addition to the steps of Figure 10.
[0109] In step S31, the memory cell array control circuit 22 determines whether the row address has been rescued. If it is YES, it proceeds to step S32; otherwise, it proceeds to step S5. Row address rescue means that the word line 15 (or an element associated with the word line 15, such as a memory cell 12) corresponding to the row address contains a fault, and the faulty word line 15 is replaced by a redundant word line. In step S32, the memory cell array control circuit 22 replaces the normally accessed row address with the row address of the redundant word line. Thereafter, the memory cell array control circuit 22 uses the replaced row address to execute steps S5 and S6.
[0110] The memory cell array control circuit 22 activates the third memory cell 12 included in the third subarray 11, which is connected to the third word line 15, for normal access via a redundant word line, the third word line 15, and simultaneously refreshes the fourth memory cell 12 included in the fourth subarray 11 via a fourth word line 15. The third and fourth subarrays 11 are connected to at least one common data input / output signal line among a plurality of data input / output signal lines. The fourth subarray 11 is different from the third subarray 11 and is not adjacent to the third subarray 11 in the direction of a plurality of column selection lines 16.
[0111] According to this modified example, even if the word line 15 used for normal access is replaced by a redundant word line, normal access and refreshing can be performed simultaneously, as in the case described above.
[0112] [Other embodiments] If two adjacent subarrays in the direction of the column selection line 16 do not share a sense amplifier circuit, and the semiconductor memory device has a separate sense amplifier circuit dedicated to each subarray, then normal access and refresh may be performed simultaneously on the memory cells contained in the adjacent subarrays. [Industrial applicability]
[0113] A semiconductor memory device according to one aspect of this disclosure is applicable to reducing the effects of a low hammer attack or preventing a low hammer attack. [Explanation of symbols]
[0114] 1 DRAM chip, 2 memory controllers, 3 processors, 10 memory cell array, 11, 11-1 to 11-3 subarrays, 12 memory cells, 13-bit line, 14,14-0~14-3 Sense amplifier circuit, 15,15-a~15-e Word lines, 16 column selection lines, 17 Word line decoding circuit, 18. Local word line decoding circuit 19-column selected line decoding circuit, 21 Command input circuit, 22, 22A~22C Memory cell array control circuit, 23 Data input / output circuit, 24 Internal data bus, 25 data processing circuits, 26 Internal data bus, 31. Low-address circuits (for normal access) 32 Low-address circuits (for periodic refresh) 33. Low-address circuit (for sacrificial low refresh) 34 Low-address signal lines (for normal access) 35 Low-address signal lines (for periodic refresh) 36 Low-address signal lines (for sacrificial low refresh) 37. Latch Circuit 38A~38C Selector
Claims
1. A semiconductor memory device comprising a memory cell array including a plurality of memory cells arranged along a plurality of mutually orthogonal word lines and a plurality of column selection lines, wherein the semiconductor memory device Multiple sense amplifier circuits that amplify the data read from the multiple memory cells, The system includes a control circuit that controls normal access, including writing and reading, to the plurality of memory cells, and controls the refreshing of the plurality of memory cells, The memory cell array includes a plurality of subarrays, each containing a plurality of memory cells. Each of the plurality of subarrays is connected to two of the plurality of sense amplifier circuits, and two subarrays adjacent to each other in the direction of the plurality of column selection lines share one of the plurality of sense amplifier circuits. The control circuit activates a first memory cell, which is included in the first subarray of the plurality of subarrays, for normal access via a first word line among the plurality of word lines, and simultaneously refreshes a second memory cell, which is included in a second subarray different from the first subarray of the plurality of subarrays, via a second word line among the plurality of word lines. The control circuit uniquely determines, based on the row address of the first word line, the row address of the second word line indicating the physical location of the second memory cell in the second subarray, so as to correspond to the physical location of the first memory cell in the first subarray. Semiconductor memory device.
2. The semiconductor memory device further comprises a plurality of row address signal lines for transmitting the row address of the first word line and the row address of the second word line from the control circuit to the memory cell array, The lower bits of the row address of the first word line and the row address of the second word line have a common bit value and share a portion of the plurality of row address signal lines. The semiconductor memory device according to claim 1.
3. The semiconductor memory device further comprises a plurality of data input / output signal lines arranged along the direction of the plurality of column selection lines, which input and output data stored in the plurality of memory cells to the memory cell array. The first and second subarrays are connected to at least one common data input / output signal line among the plurality of data input / output signal lines, The second subarray is a subarray that is not adjacent to the first subarray in the direction of the plurality of column selection lines. The semiconductor memory device according to claim 1 or 2.
4. The aforementioned control circuit is For each word line, the degree of influence of the low hammer on the data stored in the memory cell connected to that word line is determined. The second word line is determined based on the degree of influence of the aforementioned wax hammer. The semiconductor memory device according to claim 3.
5. The aforementioned control circuit is Based on the row address of the first word line, a range of row addresses corresponding to at least one of the plurality of subarrays is determined, excluding the first subarray and subarrays adjacent to the first subarray in the direction of the plurality of column selection lines. Based on the influence of the aforementioned row hammer, the second word line is determined from the word lines having row addresses included in the determined range. The semiconductor memory device according to claim 4.
6. The aforementioned control circuit is Based on the row address of the first word line, the range of row addresses corresponding to the second subarray is determined. The second word line is determined from the word lines having row addresses included in the range determined above. The semiconductor memory device according to claim 3.
7. If the first word line is replaced by a redundant third word line, the control circuit activates the third memory cell, which is included in the third subarray of the plurality of subarrays and connected to the third word line, via the third word line for normal access, and simultaneously refreshes the fourth memory cell, which is included in the fourth subarray of the plurality of subarrays, via the fourth word line of the plurality of word lines. The third and fourth subarrays are connected to at least one common data input / output signal line among the plurality of data input / output signal lines, The fourth subarray is different from the third subarray and is not adjacent to the third subarray in the direction of the plurality of column selection lines. The semiconductor memory device according to claim 3.
Citation Information
Patent Citations
Semiconductor substrate drying device
JP1987081030A
Refreshing control device for block access memory
JP1988282998A
Semiconductor memory
JP2002216473A
Semiconductor memory, memory system, and operation method of semiconductor memory
JP2007242158A
Semiconductor device and refresh method
JP2010108561A
