WO2014125937A1 - Semiconductor device - Google Patents

Semiconductor device Download PDF

Info

Publication number
WO2014125937A1
WO2014125937A1 PCT/JP2014/052206 JP2014052206W WO2014125937A1 WO 2014125937 A1 WO2014125937 A1 WO 2014125937A1 JP 2014052206 W JP2014052206 W JP 2014052206W WO 2014125937 A1 WO2014125937 A1 WO 2014125937A1
Authority
WO
WIPO (PCT)
Prior art keywords
refresh
address
word line
row address
signal
Prior art date
Application number
PCT/JP2014/052206
Other languages
French (fr)
Japanese (ja)
Inventor
宏 赤松
昭二 金子
Original Assignee
ピーエスフォー ルクスコ エスエイアールエル
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ピーエスフォー ルクスコ エスエイアールエル filed Critical ピーエスフォー ルクスコ エスエイアールエル
Publication of WO2014125937A1 publication Critical patent/WO2014125937A1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C11/00Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor
    • G11C11/21Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements
    • G11C11/34Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices
    • G11C11/40Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors
    • G11C11/401Digital stores characterised by the use of particular electric or magnetic storage elements; Storage elements therefor using electric elements using semiconductor devices using transistors forming cells needing refreshing or charge regeneration, i.e. dynamic cells
    • G11C11/406Management or control of the refreshing or charge-regeneration cycles

Definitions

  • the present invention relates to a semiconductor device, and more particularly to a semiconductor device that needs to hold information by a refresh operation.
  • DRAM Dynamic Random Access Memory
  • a refresh command for instructing a refresh operation is periodically issued from the control device that controls the DRAM (see Patent Document 1).
  • the refresh command is issued from the control device at a frequency at which all word lines are always refreshed once during one refresh cycle (for example, 64 msec).
  • the information retention characteristic of the predetermined memory cell may be deteriorated.
  • the information holding time of a predetermined memory cell is reduced to less than one refresh cycle, even if a refresh command is issued with a frequency that all word lines are refreshed once during one refresh cycle, a part of the information is stored. There was a risk of being lost.
  • a semiconductor device includes a plurality of volatile memory cells and a plurality of word lines that respectively select a plurality of volatile memory cells corresponding to a row address among the plurality of volatile memory cells.
  • a plurality of counter circuits provided corresponding to the row addresses, each configured to count the number of times the corresponding row address is input and to output a detection signal when the number of times the input exceeds a predetermined value;
  • a control circuit connected to the plurality of counter circuits, wherein the control circuit is physically adjacent to the word line based on a row address corresponding to the counter circuit from which the detection signal is output.
  • a semiconductor device includes a memory cell array including a plurality of word lines, a refresh counter that outputs a first row address indicating a row address of a word line to be refreshed, and an access history for the memory cell array. Based on an address generator for outputting a second row address indicating a row address of a word line to be additionally refreshed, a selection circuit for selecting one of the first and second row addresses, And a row decoder for accessing one of the plurality of word lines based on the first or second row address output from the selection circuit.
  • a semiconductor device includes a plurality of first and second word lines to which a plurality of memory cells that are required to hold information by a refresh operation are respectively connected and corresponding row addresses are assigned.
  • an address generator for supplying a row address of the second word line to the row decoder in response to reaching the value.
  • the word line corresponding to the memory cell having the deteriorated information retention characteristic is additionally refreshed, it is possible to correctly retain the information regardless of the access history to the memory cell.
  • FIG. 1 is a block diagram showing an overall configuration of a semiconductor device 10 according to a preferred embodiment of the present invention.
  • 3 is an enlarged circuit diagram showing a part of a memory cell array 11.
  • FIG. FIG. 3 is a cross-sectional view of two memory cells MC sharing a bit line, and a word line WL includes a trench gate type cell transistor Tr embedded in a semiconductor substrate 4.
  • 3 is a circuit diagram of a refresh control circuit 40 according to the first embodiment.
  • FIG. (A) is a circuit diagram of the address pointer 62, and (b) is a schematic diagram for explaining the function of the address pointer 62.
  • FIG. 6 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the first embodiment.
  • FIG. 6 is a circuit diagram of a refresh control circuit 40 according to a second embodiment.
  • 3 is a block diagram of an access count unit 100.
  • FIG. 3 is a circuit diagram of a command control circuit 160.
  • FIG. It is a timing diagram for explaining the operation of the command control circuit 160 when an active command ACT is issued from the outside.
  • It is a timing diagram for explaining the operation of the command control circuit 160 when a refresh command REF is issued from the outside.
  • 3 is a block diagram of an address generation unit 200.
  • FIG. 7 is a timing chart for explaining operations of an additional refresh counter 280 and a selection signal generation circuit 270.
  • FIG. 3 is a circuit diagram of a selection signal generation circuit 270.
  • FIG. 10 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the second embodiment.
  • FIG. 1 is a block diagram showing an overall configuration of a semiconductor device 10 according to a preferred embodiment of the present invention.
  • the semiconductor device 10 is a DDR3 (Double Data Rate 3) type DRAM integrated on a single semiconductor chip, and is mounted on the external substrate 2.
  • the external substrate 2 is a memory module substrate or a mother board, and is provided with an external resistor Re.
  • the external resistor Re is connected to the calibration terminal ZQ of the semiconductor device 10, and its impedance is used as the reference impedance of the calibration circuit 38.
  • the ground potential VSS is supplied to the external resistor Re.
  • the semiconductor device 10 has a memory cell array 11.
  • the memory cell array 11 includes a plurality of word lines WL and a plurality of bit lines BL, and has a configuration in which memory cells MC are arranged at intersections thereof. Selection of the word line WL is performed by the row decoder 12, and selection of the bit line BL is performed by the column decoder 13.
  • the semiconductor device 10 is provided with a command address terminal 21, a reset terminal 22, a clock terminal 23, a data terminal 24, power supply terminals 25 and 26, and a calibration terminal ZQ as external terminals.
  • the command address terminal 21 is a terminal to which an address signal ADD and a command signal COM are input from the outside.
  • the address signal ADD input to the command address terminal 21 is supplied to the address latch circuit 32 via the command address input circuit 31 and latched.
  • the address signal IADD latched by the address latch circuit 32 is supplied to the row decoder 12, the column decoder 13, or the mode register 14.
  • the mode register 14 is a circuit in which a parameter indicating the operation mode of the semiconductor device 10 is set.
  • the command signal COM input to the command address terminal 21 is supplied to the command decode circuit 33 via the command address input circuit 31.
  • the command decode circuit 33 is a circuit that generates various internal commands by decoding the command signal COM.
  • the internal commands include an active signal IACT, a column signal ICOL, a refresh signal IREF, a mode register set signal MRS, a calibration signal ZQC, and the like.
  • the active signal IACT is a signal that is activated when the command signal COM indicates a row access (active command).
  • the address signal IADD latched in the address latch circuit 32 is supplied to the row decoder 12. As a result, the word line WL designated by the address signal IADD is selected.
  • the column signal ICOL is a signal that is activated when the command signal COM indicates column access (read command or write command).
  • the address signal IADD latched in the address latch circuit 32 is supplied to the column decoder 13. As a result, the bit line BL designated by the address signal IADD is selected.
  • read data is read from the memory cell MC specified by the row address and the column address.
  • the read data DQ is output to the outside from the data terminal 24 via the read / write amplifier 15 and the input / output circuit 16.
  • the refresh signal IREF is a signal that is activated when the command signal COM indicates a refresh command.
  • the refresh signal IREF is supplied to the refresh control circuit 40.
  • the refresh control circuit 40 is a circuit that activates a predetermined word line WL included in the memory cell array 11 by controlling the row decoder 12, thereby executing a refresh operation.
  • the refresh control circuit 40 is supplied with an active signal IACT, an address signal IADD, and a reset signal RESET input via the reset terminal 22. Details of the refresh control circuit 40 will be described later.
  • the mode register set signal MRS is a signal that is activated when the command signal COM indicates a mode register set command. Therefore, if a mode register set command is input and a mode signal is input from the command address terminal 21 in synchronization therewith, the set value of the mode register 14 can be rewritten.
  • the external clock signals CK and / CK are input to the clock terminal 23.
  • the external clock signal CK and the external clock signal / CK are complementary signals, and both are supplied to the clock input circuit 34.
  • the external clock signals CK and / CK input to the clock input circuit 34 are supplied to the internal clock generation circuit 35, thereby generating the internal clock signal ICLK.
  • the internal clock signal ICLK is supplied to the timing generator 36, whereby various internal clock signals are generated.
  • Various internal clock signals generated by the timing generator 36 are supplied to circuit blocks such as the address latch circuit 32 and the command decode circuit 33, and define the operation timing of these circuit blocks.
  • the power supply terminal 25 is a terminal to which power supply potentials VDD and VSS are supplied.
  • the power supply potentials VDD and VSS supplied to the power supply terminal 25 are supplied to the internal power supply generation circuit 37.
  • the internal power supply generation circuit 37 generates various internal potentials VPP, VOD, VARY, VPERI and a reference potential ZQVREF based on the power supply potentials VDD and VSS.
  • the internal potential VPP is a potential mainly used in the row decoder 12, the internal potentials VOD and VARY are potentials used in the sense amplifier in the memory cell array 11, and the internal potential VPERI is used in many other circuit blocks. Potential.
  • the reference potential ZQVREF is a reference potential used in the calibration circuit 38.
  • the power supply terminal 26 is a terminal to which power supply potentials VDDQ and VSSQ are supplied.
  • the power supply potentials VDDQ and VSSQ supplied to the power supply terminal 26 are supplied to the input / output circuit 16.
  • the power supply potentials VDDQ and VSSQ are the same as the power supply potentials VDD and VSS supplied to the power supply terminal 25, respectively, but the input / output circuit 16 does not propagate power supply noise generated by the input / output circuit 16 to other circuit blocks. Uses dedicated power supply potentials VDDQ and VSSQ.
  • the calibration terminal ZQ is connected to the calibration circuit 38.
  • the calibration circuit 38 When the calibration circuit 38 is activated by the calibration signal ZQC, the calibration circuit 38 performs a calibration operation with reference to the impedance of the external resistor Re and the reference potential ZQVREF.
  • the impedance code ZQCODE obtained by the calibration operation is supplied to the input / output circuit 16, whereby the impedance of an output buffer (not shown) included in the input / output circuit 16 is designated.
  • FIG. 2 is a circuit diagram showing a part of the memory cell array 11 in an enlarged manner.
  • a plurality of word lines WL extending in the Y direction and a plurality of bit lines BL extending in the X direction are provided inside the memory cell array 11, and memory cells are arranged at the intersections.
  • MC is arranged.
  • the memory cell MC is a so-called DRAM cell, and has a configuration in which a cell transistor Tr composed of an N-channel MOS transistor and a cell capacitor C are connected in series.
  • the gate electrode of the cell transistor Tr is connected to the corresponding word line WL, one of the source / drain is connected to the corresponding bit line BL, and the other of the source / drain is connected to the cell capacitor C.
  • the refresh operation is basically the same as the row access in response to the active signal IACT. That is, the word line WL to be refreshed is driven to an active level, thereby turning on the cell transistor Tr connected to the word line WL.
  • the activation level of the word line WL is, for example, the internal potential VPP, which is higher than the internal potential VPERI used in most peripheral circuits. Accordingly, since the cell capacitor C is connected to the corresponding bit line BL, the potential of the bit line BL varies according to the charge accumulated in the cell capacitor C. Then, by activating the sense amplifier SA to amplify the potential difference generated between the paired bit lines BL and then returning the word line WL to the inactive level, the charge level of the cell capacitor C is regenerated. .
  • the inactive level of the word line WL is, for example, a negative potential VKK lower than the ground potential VSS.
  • the cycle for performing the refresh operation is called a refresh cycle, and is defined as 64 msec by the standard, for example. Therefore, if the information holding time of each memory cell MC is designed to be longer than the refresh cycle, the information can be continuously held by a periodic refresh operation. Actually, the information holding time of each memory cell MC has a sufficient margin with respect to the refresh cycle. Therefore, when the refresh operation is performed in a slightly longer cycle than the refresh cycle defined by the standard. Even so, it is possible to correctly hold the information of the memory cell MC.
  • the disturb phenomenon is a phenomenon in which when a certain word line WL is repeatedly accessed, the information retention characteristics of the memory cells MC connected to the other word lines WL adjacent thereto are deteriorated. For example, when the word line WLm shown in FIG. 2 is repeatedly accessed, the information retention characteristics of the memory cells MC connected to the word lines WLm ⁇ 1 and WLm + 1 adjacent thereto are deteriorated.
  • a parasitic capacitance Cp generated between adjacent word lines for example, a parasitic capacitance Cp generated between adjacent word lines.
  • FIG. 3 is a cross-sectional view of two memory cells MC sharing a bit line, and includes a trench gate type cell transistor Tr in which a word line WL is embedded in a semiconductor substrate 4.
  • the word lines WLm and WLm + 1 shown in FIG. 3 are embedded in the same active region partitioned by the element isolation region 6, and when this is activated, a channel is formed between the corresponding source / drain SD.
  • One of the source / drain SD is connected to the bit line node, and the other is connected to the capacitor node.
  • the word line WLm is accessed and then the cell transistor Tr is turned off (that is, the channel is cut)
  • floating electrons as carriers are generated near the channel.
  • the information holding time of the memory cell MC is reduced by such a mechanism, there is a risk that the information holding time falls below the refresh cycle defined by the standard. If the information holding time falls below the refresh cycle, some data will be lost even if the refresh operation is executed correctly.
  • the semiconductor device 10 according to the present embodiment is characterized in that an additional refresh operation is performed based on the access history in consideration of the disturb phenomenon described above.
  • an additional refresh operation is performed based on the access history in consideration of the disturb phenomenon described above.
  • FIG. 4 is a circuit diagram of the refresh control circuit 40 according to the first embodiment.
  • the refresh control circuit 40 includes a refresh counter 41, an access count unit 50, an address generation unit 60, and a selection circuit 42.
  • the refresh counter 41 is a circuit that generates a row address (refresh address) RADDa to be refreshed in response to a refresh signal IREF.
  • the refresh address RADDa that is the count value is updated (incremented or decremented) in response to the refresh signal IREF. For this reason, if a refresh command is input from the outside a plurality of times (for example, 8k times) so that the count value of the refresh counter 41 makes one round during one refresh cycle, all word lines WL are refreshed during one refresh cycle. be able to.
  • the selection signal SEL is activated, the count value is not updated even if the refresh signal IREF is input.
  • the reset signal RESET is input, the count value of the refresh counter 41 is reset to the initial value.
  • the access count unit 50 is a circuit that analyzes a history of row access to the memory cell array 11, and includes an access counter 51, an access counter control circuit 52, and an upper limit determination circuit 53.
  • the access counter 51 is configured by counter circuits 51 0 to 51 p assigned to the word lines WL0 to WLp, and each counter circuit 51 0 to 51 p counts up or resets. This is performed by the access counter control circuit 52.
  • the counter circuits 51 0 to 51 p are binary counters each including a plurality of flip-flop circuits.
  • the access counter control circuit 52 receives the active signal IACT and the address signal IADD, and counts up the counter circuits 51 0 to 51 p corresponding to the accessed word line WL based on them. For example, when the address signal IADD indicating the word line WL0 when active signal IACT is activated is inputted, by activating the count up signal UP0, counts up the counter circuit 51 0 corresponding to the word line WL0 .
  • the address signal IADD used for row access has a 14-bit configuration including A0 to A13.
  • the access counter 51 also requires 16k counter circuits.
  • the access counter control circuit 52 is also supplied with a refresh signal IREF, a refresh address RADD, and a selection signal SEL.
  • the access counter control circuit 52 resets the count values of predetermined counter circuits 51 0 to 51 p based on the refresh signal IREF and the refresh address RADD on condition that the selection signal SEL is at a low level. For example, when the selection signal SEL is at a low level, when the refresh address RADD indicating the word line WLm is input when the refresh signal IREF is activated, the delete signal DELm + 1 is activated to correspond to the word line WLm + 1.
  • the counter circuit 51 m + 1 to be reset is reset. Its significance will be described later.
  • access counter control circuit 52 is also supplied with a reset signal RESET. Access counter control circuit 52 activates all the delete signal DEL0 ⁇ DELp the reset signal RESET is input, thereby resetting the count values of all of the counter circuits 51 0 ⁇ 51 p.
  • the access counter 51 stores a row access history in response to the active signal IACT.
  • Each counter circuit 51 0 to 51 p activates the corresponding detection signal MAX0 to MAXp when the count value reaches a predetermined value.
  • the detection signals MAX0 to MAXp are supplied to the upper limit determination circuit 53.
  • the upper limit determination circuit 53 sequentially activates the pointer control signals P1 and P2 when any of the detection signals MAX0 to MAXp is activated.
  • the pointer control signals P1 and P2 are supplied to the address generator 60.
  • the address generator 60 is a circuit for generating a row address of a word line to be additionally refreshed, and includes an address register 61, an address pointer 62, and an address write circuit 63 as shown in FIG.
  • the address register 61 is composed of a plurality of register circuits 61 0 to 61 q that respectively store row addresses of word lines to be additionally refreshed.
  • the register circuits 61 0 to 61 q are selected by the address pointer 62, and the row address to be written to the selected register circuits 61 0 to 61 q is generated by the address write circuit 63. Further, a reset signal RESET is supplied to the address register 61, and when it is activated, the stored contents of all the register circuits 61 0 to 61 q are reset. Such a reset operation can be omitted.
  • FIG. 5A is a circuit diagram of the address pointer 62
  • FIG. 5B is a schematic diagram for explaining the function of the address pointer 62.
  • the address pointer 62 includes a write pointer 62W and a read pointer 62R, a selection signal generation circuit 62S, and a latch circuit 62L.
  • the write pointer 62W is a counter circuit that generates the write point signal WP, and the write point signal WP, which is the count value, is updated (incremented or decremented) in response to the pointer control signals P1 and P2.
  • the upper limit determination circuit 53 sequentially activates the pointer control signals P1 and P2, so that the write pointer 62W is updated twice.
  • the write point signal WP is used to designate one of the register circuits 61 0 to 61 q to which the row address is written.
  • the register circuit 61j is designated by the write point signal WP.
  • the read pointer 62R is a counter circuit that generates a read point signal RP, and the read point signal RP that is the count value is updated (incremented or decremented) in response to the output of the AND gate circuit G.
  • the AND gate circuit G is supplied with a refresh signal IREF and a selection signal PSEL, which will be described later, and is therefore updated in response to the refresh signal IREF on condition that the selection signal PSEL is activated to a high level.
  • the read point signal RP is used to designate one of the register circuits 61 0 to 61 q from which the row address is read.
  • the register circuit 61 i is designated by the read point signal RP.
  • the row address (refresh address) RADDb read from the address register 61 in this way is supplied to the selection circuit 42.
  • the selection signal generation circuit 62S is a circuit that compares the write point signal WP and the read point signal RP, and activates the selection signal PSEL to a high level when WP> RP.
  • WP RP
  • the selection signal PSEL is deactivated to a low level.
  • the value of the write point signal WP and the value of the read point signal RP match that a valid row address is not stored in the address register 61.
  • the number of row addresses stored in the address register 61 is given by the difference (WP ⁇ RP) between the value of the write point signal WP and the value of the read point signal RP.
  • the selection signal PSEL is supplied to the latch circuit 62L.
  • the latch circuit 62L latches the selection signal PSEL in response to the refresh signal IREF, and outputs the latched signal as the selection signal SEL. Therefore, the logic level of the selection signal PSEL is reflected in the selection signal SEL in response to the next refresh signal IREF.
  • the reset signal RESET is supplied to the write pointer 62W and the read pointer 62R, and when this is activated, the write point signal WP and the read point signal RP are initialized.
  • the address write circuit 63 is supplied with an address signal IADD and pointer control signals P1 and P2.
  • the address write circuit 63 When the pointer control signal P1 is activated, the address write circuit 63 generates a row address (Addn + 1) obtained by incrementing the value (Addn) of the address signal IADD in response to the activation, and outputs this to the address register 61.
  • a row address (Addn-1) obtained by decrementing the value (Addn) of the address signal IADD is generated in response to this, and this is output to the address register 61.
  • the row addresses Addn + 1 and Addn ⁇ 1 output to the address register 61 are stored in different register circuits 61 0 to 61 q according to the value of the write point signal WP.
  • the refresh address RADDa is generated by the refresh counter 41, and the refresh address RADDb is generated by the address generator 60.
  • the refresh addresses RADDa and RADDb are supplied to the selection circuit 42.
  • the selection circuit 42 receives these refresh addresses RADDa and RADDb and outputs either one to the row decoder 12 as the refresh address RADD. Specifically, when the selection signal SEL is deactivated to a low level, the refresh address RADDa is selected, and when the selection signal SEL is activated to a high level, the refresh address RADDb is selected. . This is because the refresh address RADDa is selected when a valid row address is not stored in the address register 61, and the refresh address RADDb is selected when a valid row address is stored in the address register 61. Means that.
  • FIG. 6 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment.
  • an active command ACT is issued from outside at time t10, and a refresh command REF is issued from outside at times t21, t22, t23, and t24.
  • the time t10 even earlier, have been performed many times in a row access by issuing the active command ACT, is this the count value of the counter circuit 51 n corresponding to the row address Addn, counts up to a predetermined value -1 Has been up.
  • the detection signal MAXn is activated at time t11.
  • the upper limit determination circuit 53 activates the pointer control signals P1 and P2 at times t12 and t13, respectively.
  • the write pointer 62W included in the address pointer 62 updates the count value of the write point signal WP at times t12 and t13. In the example shown in FIG. 6, the value of the light point signal WP becomes “1” at time t12, and the value of the light point signal WP becomes “2” at time t13.
  • the address write circuit 63 sequentially outputs the row addresses Addn ⁇ 1 and Addn + 1 to the address register 61.
  • the row address Addn-1 to the register circuit 61 1 included in the address register 61 is stored in the row address Addn + 1 is stored in the register circuit 61 2.
  • the selection signal PSEL is activated to a high level at time t11.
  • the selection signal SEL is still at the low level at this point, and therefore the selection circuit 42 selects the refresh address RADDa that is the output of the refresh counter 41.
  • the value of the refresh address RADDa at this time is Addm, and therefore the value of the refresh address RADD output from the selection circuit 42 is also Addm.
  • the command decoding circuit 33 shown in FIG. 1 activates the refresh signal IREF.
  • the row decoder 12 accesses the word line WLm indicated by the row address Addm. Thereby, the information of the memory cells MC connected to the word line WLm is refreshed.
  • the count value of the refresh counter 41 is updated to Addm + 1, and the read pointer 62R included in the address pointer 62 changes the value of the read point signal RP that is the count value. Update to “1”.
  • a row address Addn-1 stored in the register circuit 61 1 is output.
  • the selection circuit 42 selects the refresh address RADDb that is the output of the address register 61. Therefore, the value of the refresh address RADD output from the selection circuit 42 is Addn-1.
  • the delete signal DELm + 1 is activated based on Addm which is the value of the refresh address RADD, and the counter circuit 51 corresponding to the word line WLm + 1.
  • m + 1 is reset. This is because one of the reasons that the word line WLm is disturbed is the row access to the word line WLm + 1 (see FIG. 2). As a result of the word line WLm being refreshed and the charge being regenerated, the row access to the word line WLm + 1 is performed. This is because it is not necessary to prevent the disturb failure of the word line WLm due to the counting of.
  • the word line WLm + 2 is supposed to be refreshed on condition that both the word line WLm and the word line WLm + 2 are refreshed. It is considered that the counter circuit 51 m + 1 corresponding to WLm + 1 should be reset. However, if the refresh operation for the word line WLm is in response to the refresh command REF, the word line WLm + 2 is refreshed if the refresh counter 41 is updated two more times. It is clear that it will be refreshed. Considering this point, in the present embodiment, the counter circuit 51 m + 1 corresponding to the word line WLm + 1 is reset in response to the refresh of the word line WLm without waiting for the refresh operation to the word line WLm + 2. .
  • the access counter control circuit 52 can be configured so that the counter circuit 51 m + 1 corresponding to the word line WLm + 1 is reset on condition that both the word line WLm and the word line WLm + 2 are refreshed. In this case, however, the circuit configuration of the access counter control circuit 52 is somewhat complicated.
  • the refresh for the word line WLm is in response to the refresh command REF, it is possible to reset the counter circuit 51 m ⁇ 1 corresponding to the word line WLm ⁇ 1. This is because one of the reasons that the word line WLm is disturbed is the row access to the word line WLm ⁇ 1. As a result of the word line WLm being refreshed and the charge being regenerated, the row access to the word line WLm ⁇ 1 is performed. This is because it is not necessary to prevent the disturb failure of the word line WLm due to counting.
  • row access to the word line WLm-1 causes disturbance to the word line WLm-2 as well as the word line WLm, so that both the word line WLm and the word line WLm-2 are refreshed. It is considered that the counter circuit 51 m ⁇ 1 corresponding to the word line WLm ⁇ 1 should be reset on the condition that However, if the refresh operation for the word line WLm is in response to the refresh command REF, the word line WLm-2 is considered to be immediately after being refreshed, and thus the counter circuit 51 m-1 is reset as described above. It is possible.
  • the row decoder 12 accesses the word line WLn-1 indicated by the row address Addn-1. That is, the refresh operation is executed in an interrupt manner not on the row address Addm + 1 indicated by the refresh counter 41 but on the row address Addn-1 indicated by the address register 61. Thereby, the information of the memory cells MC connected to the word line WLn ⁇ 1 is refreshed.
  • the word line WLn ⁇ 1 is a word line adjacent to the word line WLn, and is disturbed by many row accesses to the word line WLn.
  • the information retention characteristic of the memory cell MC connected to the word line WLn ⁇ 1 may be deteriorated, but the refresh operation to the word line WLn ⁇ 1 is executed interruptively at time t22. Therefore, it becomes possible to hold the information correctly.
  • the selection signal SEL since the selection signal SEL is at a high level, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm + 1. Further, in response to the activation of the refresh signal IREF, the read pointer 62R included in the address pointer 62 updates the value of the read point signal RP that is the count value to “2”. Thus, from the address register 61, a row address Addn + 1 stored in the register circuit 61 2 is output. Therefore, the value of the refresh address RADD output from the selection circuit 42 is also Addn + 1. Further, since the value of the read point signal RP matches the value of the write point signal WP, the selection signal PSEL changes to a low level. However, at this time, the selection signal SEL remains at a high level.
  • the row decoder 12 accesses the word line WLn + 1 indicated by the row address Addn + 1. That is, the refresh operation is executed in an interrupt manner for the row address Addn + 1 indicated by the address register 61, and the information in the memory cell MC is refreshed.
  • the word line WLn + 1 is also a word line adjacent to the word line WLn and is disturbed. However, since the refresh operation to the word line WLn + 1 is executed in an interrupt manner at time t23, the information can be held correctly. It becomes possible.
  • the selection signal SEL since the selection signal SEL is at the high level, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm + 1. Further, in response to the activation of the refresh signal IREF, the selection signal SEL changes to a low level. Thereby, since the selection circuit 42 selects the refresh address RADDa output from the refresh counter 41, the value of the refresh address RADD output from the selection circuit 42 is switched to Addm + 1.
  • the row decoder 12 accesses the word line WLm + 1 indicated by the row address Addm + 1. That is, as usual, the refresh operation is performed on the row address indicated by the refresh counter 41.
  • the count value of the refresh counter 41 is updated to Addm + 2.
  • the delete signal DELm + 2 is activated, and the counter circuit 51 m + 2 corresponding to the word line WLm + 2 is reset.
  • FIG. 7 is a schematic plan view showing the structure of the memory cell array 11 in the second embodiment of the present invention.
  • word lines WL for example, word lines WLn (0) and WLn (1)
  • the bit line contact BLC is a contact conductor for connecting one of the source / drain of the cell transistor Tr and the bit line BL.
  • the other of the source / drain is connected to a cell capacitor C (not shown) via a cell contact CC.
  • the interval between adjacent word lines WL (for example, word lines WLn (1) and WLn + 1 (0)) corresponding to the cell transistors Tr not sharing the bit line contact BLC is an interval W2 wider than the interval W1.
  • this layout is obtained because active regions ARa whose longitudinal direction is the A direction and active regions ARb whose longitudinal direction is the B direction are alternately formed in the X direction. It is.
  • adjacent word lines WLn (0) and WLn (1) at the interval W1 differ only in the least significant bit (A0) of the assigned row address, and the values of the other bits (A1 to A13) match. ing.
  • the circuit configuration of the refresh control circuit 40 is simplified. Hereinafter, the configuration and operation of the refresh control circuit 40 in the present embodiment will be described in detail.
  • FIG. 8 is a circuit diagram of the refresh control circuit 40 according to the second embodiment.
  • the refresh control circuit 40 according to the second embodiment has substantially the same configuration as the refresh control circuit 40 shown in FIG. 4 except that the access count unit 100 and the address generation unit 200 are used. is doing.
  • the address signal IADD supplied to the access count unit 100 is only 13 bits including bits A1 to A13 among the bits A0 to A13. That is, the least significant bit A0 is degenerated.
  • the selection signal SEL is not fed back to the access count unit 100.
  • FIG. 9 is a block diagram of the access count unit 100.
  • the access count unit 100 includes a memory cell array 110 and a row decoder 120.
  • the memory cell array 110 has a configuration in which a plurality of SRAM (Static Random Access Memory) cells are arranged in a matrix. Specifically, it has (p + 1) / 2 word lines RWL0 to RWL (p-1) / 2 and T + 1 bit lines RBL0 to RBLT, and SRAM cells are respectively arranged at the intersections thereof. have.
  • the value of p + 1 is the number of word lines WL0 to WLp included in the memory cell array 11 shown in FIG. That is, the number of word lines RWL included in the memory cell array 110 is half of the number of word lines WL included in the memory cell array 11. This is because the least significant bit A0 is degenerated in the analysis of the access history.
  • the bit lines RBL0 to RBLT are connected to the read circuits 130 0 to 130 T constituting the read circuit 130, respectively.
  • the read circuit 130 is a circuit that writes data (count value) read via the bit lines RBL0 to RBLT to the register circuits 140 0 to 140 T included in the counter circuit 140.
  • the register circuits 140 0 to 140 T are connected in cascade, thereby constituting a binary counter. Further, the highest-order register circuit 140 T + 1 is added to the counter circuit 140, and the value is output as the detection signal MAX. Therefore, when the value of the register circuits 140 0 to 140 T is the maximum value (all 1), the detection signal MAX, which is the stored value of the register circuit 140 T + 1 , is inverted from 0 to 1.
  • the register circuit 140 T + 1 functions as a detection circuit that detects that the count value has reached a predetermined value.
  • Data (count values) output from the register circuits 140 0 to 140 T are respectively supplied to the corresponding bit lines RBL 0 to RBLT by the corresponding write circuits 150 0 to 150 T, and are written back to the memory cells.
  • the operations of the row decoder 120, the read circuit 130, the counter circuit 140, and the write circuit 150 are controlled by the command control circuit 160.
  • the command control circuit 160 receives the active signal IACT, the refresh signal IREF, and the reset signal RESET, and generates an active signal RACT, a count up signal RCNT, a reset signal RRST, a read signal RREAD, and a write signal RWRT based on them.
  • the active signal RACT is a signal that activates the row decoder 120
  • the count-up signal RCNT is a signal that counts up the count value of the counter circuit 140
  • the reset signal RRST resets the count value of the counter circuit 140.
  • the read signal RREAD is a signal that activates the read circuit 130
  • the write signal RWRT is a signal that activates the write circuit 150.
  • FIG. 10 is a circuit diagram of the command control circuit 160.
  • the command control circuit 160 includes a latch circuit SR1 set by an active signal IACT and a latch circuit SR2 set by a refresh signal IREF.
  • the output signal OUT1 of the latch circuit SR1 is output as a read signal RREAD via the delay element DLY2 and the pulse generation circuit PLS1.
  • the output signal OUT2 of the latch circuit SR2 is output as the reset signal RRST through the pulse generation circuit PLS2.
  • the output signals OUT1 and OUT2 are supplied to the NAND gate circuit G1, and the output signal is output as the active signal RACT via the delay element DLY1.
  • the active signal RACT is output as the count up signal RCNT through the delay element DLY3.
  • the command control circuit 160 includes a latch circuit SR3 that is set by the output signal of the NOR gate circuit G2 that receives the read signal RREAD and the reset signal RRST.
  • the latch circuit SR3 is reset by the output signal of the NAND gate circuit G1.
  • the output signal of the latch circuit SR3 is output as the write signal RWRT via the delay element DLY4 and the AND gate circuit G3.
  • the write signal RWRT is fed back to the latch circuits SR1 and SR2 via the delay element DLY5 and the OR gate circuit G4 to reset them.
  • the latch circuits SR1 to SR3 are also reset by a reset signal RESET.
  • FIG. 11 is a timing chart for explaining the operation of the command control circuit 160 when an active command ACT is issued from the outside.
  • the active signal IACT When an active command ACT is issued from the outside, the active signal IACT is activated and the latch circuit SR1 is set. As a result, the output signal OUT1 changes to the low level, and the active signal RACT and the read signal RREAD are activated in this order.
  • the timing from when the output signal OUT1 changes to the low level until the active signal RACT and the read signal RREAD are activated is defined by the delay amounts of the delay elements DLY1 and DLY2, respectively. Further, when the active signal RACT is activated, the count-up signal RCNT is activated through a delay by the delay element DLY3.
  • the latch circuit SR3 is set when the read signal RREAD is activated, the write signal RWRT is activated through the delay by the delay element DLY4. Thereafter, the end signal END is activated through a delay by the delay element DLY5, the latch circuits SR1 and SR3 are reset, and the initial state is restored.
  • the active command ACT is issued from the outside, the active signal RACT, the read signal RREAD, the count up signal RCNT, and the write signal RWRT are activated in this order.
  • the row decoder 120 shown in FIG. 9 selects the word line RWL indicated by the row address IADD (A1 to A13). As a result, data (count value) corresponding to the selected word line RWL is read to the bit line RBL. As described above, in the row address IADD input to the access count unit 100, the least significant bit A0 is degenerated. Therefore, the word line RWL selected in response to the active signal RACT is to two adjacent word lines WL (for example, the word line WLn (0) and the word line WLn (1)) at the interval W1 shown in FIG. Assigned in common.
  • the read signal RREAD is activated, the data (count value) read to the bit line RBL is amplified by the read circuit 130 and loaded into the counter circuit 140.
  • the read count value is k, and this value is loaded into the counter circuit 140.
  • the count-up signal RCNT when the count-up signal RCNT is activated, the count value loaded in the counter circuit 140 is incremented. That is, the count value changes from k to k + 1.
  • the write signal RWRT is activated, the updated count value (k + 1) is written back to the memory cell array 110 via the write circuit 150.
  • the count value corresponding to the input row address IADD (A1 to A13) is incremented. Since this operation is executed every time an active command ACT is issued from the outside, the number of row accesses can be counted with two adjacent word lines WL as a unit at the interval W1. However, since the least significant bit A0 of the row address IADD is degenerated, it is not distinguished which of the two adjacent word lines WL is accessed at the interval W1.
  • the detection signal MAX is activated to a high level.
  • the detection signal MAX is supplied to the address generator 200 shown in FIG.
  • FIG. 12 is a timing chart for explaining the operation of the command control circuit 160 when a refresh command REF is issued from the outside.
  • the refresh signal IREF When a refresh command REF is issued from the outside, the refresh signal IREF is activated, and the latch circuit SR2 shown in FIG. 10 is set. As a result, the output signal OUT2 changes to a low level, and the reset signal RRST and the active signal RACT are activated in this order.
  • the timing from when the output signal OUT2 changes to the low level to when the active signal RACT is activated is defined by the delay amount of the delay element DLY1.
  • the latch circuit SR3 When the reset signal RRST is activated, the latch circuit SR3 is set, so that the write signal RWRT is activated after being delayed by the delay element DLY4. Thereafter, the end signal END is activated through a delay by the delay element DLY5, the latch circuits SR2 and SR3 are reset, and the initial state is restored.
  • the refresh command REF is issued from the outside
  • the reset signal RRST, the active signal RACT, and the write signal RWRT are activated in this order.
  • the count-up signal RCNT is also activated, but the operation due to this is ignored by the reset signal RRST.
  • a circuit configuration that prohibits activation of the count-up signal RCNT in response to the refresh command REF is also possible.
  • the register circuits 140 0 to 140 T + 1 constituting the counter circuit 140 are reset, and thereby the count value of the counter circuit 140 is reset to an initial value (for example, 0).
  • the count-up signal RCNT is then activated, but the count signal of the counter circuit 140 is maintained at the initial value because the active state of the reset signal RRST is maintained.
  • the active signal RACT is activated, and the word line RWL corresponding to the refresh address RADD (A1 to A13) is selected.
  • the initialized count value (for example, 0) is written into the memory cell array 110 via the write circuit 150.
  • the count value corresponding to the word line RWL is initialized to 0, for example.
  • the count value corresponding to the refresh address RADD (A1 to A13) is initialized. Again, since the least significant bit A0 of the refresh address RADD is degenerated, the corresponding count value is reset regardless of the refresh operation for any two adjacent word lines WL at the interval W1.
  • the above is the circuit configuration and operation of the command control circuit 160.
  • the corresponding count value is counted up regardless of which of the two adjacent word lines WL is accessed at the interval W1, and when this reaches a predetermined value, the detection signal MAX is activated. On the other hand, even if any of the two adjacent word lines WL is refreshed at the interval W1, the corresponding count value is reset.
  • FIG. 13 is a block diagram of the address generation unit 200.
  • the address generating unit 200 includes a memory cell array 210, a row decoder 220, an address write circuit 230, and an address read circuit 240.
  • the memory cell array 210 has a configuration in which a plurality of SRAM (Static Random Access Memory) cells are arranged in a matrix. Specifically, it has a configuration in which r + 1 word lines RRWL0 to RRWLr and 13 bit lines RRBL1 to RRBL13 are arranged, and SRAM cells are respectively arranged at intersections thereof.
  • SRAM Static Random Access Memory
  • the selection of the word lines RRWL0 to RRWLr is performed in response to the refresh signal IREF based on the row address RA output from the write counter 250 or the read counter 260.
  • the row address RA output from the write counter 250 is referred to when the row address IADD (A1 to A13) is written to the memory cell array 210 using the address write circuit 230.
  • the row address RA output from the read counter 260 is referred to when the refresh address RADDb (A1 to A13) is read from the memory cell array 210 using the address read circuit 240.
  • the row address IADD (A1 to A13) written in the memory cell array 210 indicates the word line WLn (0) or WLn (1) whose access count has reached a predetermined value.
  • the address write circuit 230 includes write circuits 230 1 to 230 13 corresponding to the respective bits of the row address IADD (A1 to A13).
  • the row address IADD (A1 to A13) is applied to the row address RA output from the write counter 250. Play the role of writing.
  • the address read circuit 240 includes read circuits 240 1 to 240 13 corresponding to the respective bits of the refresh address RADDb (A1 to A13), and the refresh address RADDb (A1 to A13) from the row address RA output from the read counter 260. ). Further, the address read circuit 240 includes a LSB output circuit 240 0, the least significant bit A0 of the refresh address RADDb, the output signal of the LSB output circuit 240 0 is used. Bit A0 is the output signal of the LSB output circuit 240 0, the clock signal CLKA output from the selection signal generating circuit 270, inverted on the basis of CLKB.
  • the selection signal generation circuit 270 is a circuit that generates the selection signal SEL and the clock signals CLKA and CLKB described above based on the selection signal PSEL and the refresh signal IREF.
  • the selection signal SEL is supplied to the selection circuit 42 shown in FIG. 8, and is used not only to select the refresh address RADDa or RADDb, but also to the refresh counter 41, and performs an update operation of the refresh counter 41 in response to the refresh signal IREF. Used to allow or prohibit.
  • the selection signal PSEL is generated by the additional refresh counter 280.
  • the additional refresh counter 280 is a circuit that counts up by 2 counts in response to the detection signal MAX and counts down by 1 count in response to the refresh signal IREF. If the count value is 1 or more, the additional refresh counter 280 activates the selection signal PSEL. Make it.
  • FIG. 14 is a timing chart for explaining operations of the additional refresh counter 280 and the selection signal generation circuit 270.
  • the active signal IACT is activated at times t31 and t32
  • the refresh signal IREF is activated at times t41, t42, t43, t44, and t45.
  • the detection signal MAX is activated in response to the activation of the active signal IACT at times t31 and t32. This is because the number of accesses to a certain word line WL exceeds a predetermined value due to the row access in response to the active signal IACT at time t31, and another word line WL is also caused by the row access in response to the active signal IACT at time t32. This means that the number of accesses exceeds the predetermined value.
  • the count value of the additional refresh counter 280 is counted up from “0” to “2” in response to the first activation of the detection signal MAX, and is added in response to the second activation of the detection signal MAX.
  • the count value of the refresh counter 280 is counted up from “2” to “4”. Further, in response to the count value of the additional refresh counter 280 becoming “1” or more, the selection signal PSEL is activated to a high level.
  • the count value of the additional refresh counter 280 is counted down to “3”, “2”, “1”, “0”,
  • the selection signal PSEL returns to the low level.
  • the refresh signal IREF is activated, but at this time, the count value of the additional refresh counter 280 has already reached the minimum value (0), so that value does not change.
  • FIG. 15 is a circuit diagram of the selection signal generation circuit 270.
  • the selection signal generation circuit 270 includes a latch circuit 271 that latches the selection signal PSEL in response to the refresh signal IREF, and the output signal is used as the selection signal PSEL. Therefore, the selection signal SEL changes to the high level in response to the next refresh signal IREF (the refresh signal IREF at time t41 shown in FIG. 14) after the selection signal PSEL is activated to the high level. In addition, after the selection signal PSEL is deactivated to the low level, it returns to the low level in response to the next refresh signal IREF (refresh signal IREF at time t45 shown in FIG. 14).
  • the selection signal SEL and the refresh signal IREF are supplied to the gate circuit G5 shown in FIG. 15, whereby the selection circuit SEL is activated based on the refresh signal IREF on the condition that the selection signal SEL is activated to a high level. 272 and 273 are selected alternately. Since the selected latch circuits 272 and 273 invert their output signals, the clock signals CLKA and CLKB are alternately activated in response to the refresh signal IREF. This means that if the selection signal SEL is activated to a high level, whenever the refresh signal IREF is activated, the bit A0 is an output signal of the LSB output circuit 240 0 is meant to reverse.
  • a reset signal RESET is supplied to a predetermined circuit block constituting the address generator 200, and when this is activated, the circuit block is reset to an initial state. For example, all the data held in the memory cell array 210 is reset in response to the reset signal RESET.
  • Such an operation can be performed by outputting an initial value from the address write circuit 230 to the memory cell array 210 in a state where all the word lines RRWL0 to RRWLr are selected by the row decoder 220.
  • FIG. 16 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment.
  • FIG. 16 shows a case where an active command ACT is issued from the outside at time t50 and a refresh command REF is issued from outside at times t61, t62, t63, and t64.
  • a number of row accesses are performed by issuing the active command ACT, and the count value corresponding to the row address Addn of the access count unit 100 is counted up to a predetermined value -1. Has been up.
  • the row address Addn is connected to the word line WLn (0) to which the row address Addn (0) is assigned. This is common to both of the word lines WLn (1) to which the row address Addn (1) is assigned.
  • the count value of the additional refresh counter 280 is zero.
  • the detection signal MAX that is the value of the register circuit 140T + 1 shown in FIG. 9 is activated.
  • the count value of the additional refresh counter 280 shown in FIG. 13 changes from 0 to 2, and the selection signal PSEL becomes high level.
  • the address write circuit 230 is activated in response to the activation of the detection signal MAX, the row address IADD (Addn) input together with the active command ACT is written into the memory cell array 210.
  • the write counter 250 designates the word line RRWL0 as a write destination of the row address IADD (Addn).
  • the selection signal SEL is still at the low level, and therefore the selection circuit 42 selects the refresh address RADDa that is the output of the refresh counter 41.
  • the value of the refresh address RADDa at this time is Addm (0), and therefore the value of the refresh address RADD output from the selection circuit 42 is also Addm (0).
  • Addm (0) means that the value of the upper bits A1 to A13 is m and the value of the least significant bit A0 is 0.
  • the command decode circuit 33 shown in FIG. 1 activates the refresh signal IREF.
  • the row decoder 12 accesses the word line WLm indicated by the row address Addm (0). As a result, the information in the memory cells MC connected to the word line WLm (0) is refreshed.
  • Addm (1) means that the value of the upper bits A1 to A13 is m and the value of the least significant bit A0 is 1.
  • the address read circuit 240 outputs the refresh address RADDb (Addn) stored in the row address corresponding to the word line RRWL0.
  • the value of the LSB output circuit 240 0 is 0, the value of the refresh address RADDb therefore is Addn (0).
  • Addn (0) means that the value of the upper bits A1 to A13 is n and the value of the least significant bit A0 is 0.
  • the selection circuit 42 selects the refresh address RADDb that is the output of the address register 61. Therefore, the value of the refresh address RADD output from the selection circuit 42 is Addn (0). Further, the count value of the additional refresh counter 280 is decremented from 2 to 1.
  • the count value corresponding to Addm which is the value of the refresh address RADD, is initialized by the operation described with reference to FIG.
  • the count value corresponding to Addm is a common count value for the word line WLm (0) and the word line WLm (1). Since these word lines differ only in the least significant bit A0 of the row address, the word line WLm ( It is considered that the time from the refresh of 0) to the refresh of the word line WLm (1) is very short. Considering this point, regardless of which of the word lines WLm (0) and WLm (1) is actually refreshed, if one of them is refreshed, the count value corresponding to both is reset.
  • the row decoder 12 accesses the word line WLn (0) indicated by Addn (0) that is the value of the refresh address RADD. That is, the refresh operation is executed in an interrupt manner on the row address Addn (0) output from the address read circuit 240, not on the row address Addm (1) indicated by the refresh counter 41. As a result, the information in the memory cells MC connected to the word line WLn (0) is refreshed. Furthermore, the count value corresponding to Addn which is the value of the refresh address RADD is initialized by the operation described with reference to FIG.
  • the selection signal SEL Since the selection signal SEL is at the high level at this time, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm (1). Further, the count value of the additional refresh counter 280 is decremented from 1 to 0. As a result, the selection signal PSEL changes to a low level.
  • the selection signal generation circuit 270 activates the clock signal CLKB.
  • the value of the LSB output circuit 240 0 is 1
  • the value of the refresh address RADDb changes to Addn (1).
  • Addn (1) means that the value of the upper bits A1 to A13 is n and the value of the least significant bit A0 is 1.
  • the row decoder 12 accesses the word line WLn (1) indicated by the row address Addn (1). That is, the refresh operation is executed in an interrupt manner for the row address Addn (1) output from the address read circuit 240, and the information in the memory cell MC is refreshed.
  • the selection signal SEL Since the selection signal SEL is at the high level also at this time, the count value of the refresh counter 41 is not updated even when the refresh signal IREF is activated, and is maintained as Addm (1). Further, in response to the activation of the refresh signal IREF, the selection signal SEL changes to a low level. Thus, since the selection circuit 42 selects the refresh address RADDa output from the refresh counter 41, the value of the refresh address RADD output from the selection circuit 42 becomes Addm (1).
  • the row decoder 12 accesses the word line WLm (1) indicated by the row address Addm (1). That is, as usual, the refresh operation is performed on the row address indicated by the refresh counter 41.
  • the count value of the refresh counter 41 is updated to Addm + 1 (0). Furthermore, the count value corresponding to Addm + 1, which is the value of the refresh address RADD, is initialized by the operation described with reference to FIG.
  • the word lines WLn (0) and WLn (1) indicated by the row address Addn reaches a predetermined value
  • the word lines WLn (0) and WLn (1) Additional refresh operations are performed.
  • the least significant bit A0 of the row address IADD is degenerated, those adjacent to each other at the interval W1 regardless of which of the word lines WLn (0) and WLn (1) is disturbed.
  • An additional refresh operation is performed on both word lines WLn (0) and WLn (1). Therefore, the capacity of the memory cell array 110 included in the access count unit 100 can be reduced by half.
  • the memory cell arrays 110 and 210 are used to count the number of accesses and to hold a row address to be additionally refreshed, compared with the case where a flip-flop circuit or the like is used, It is also possible to reduce the occupied area.

Abstract

[Problem] In a semiconductor device for which it is necessary to maintain information for a refresh operation, preventing refresh malfunction due to a reduction in information maintaining characteristics. [Solution] Provided are the following: a refresh counter (41) for outputting a first raw address (RADDa) that indicates the raw address of a word line to be refreshed; an address generation section for outputting, on the basis of the access history of a memory cell array, a second raw address (RADDb) that indicates the raw address of a word line to be additionally refreshed; and a selection circuit (42) for selecting either the raw address (RADDa) or the raw address (RADDb). In accordance with the present invention, word lines corresponding to memory cells the information maintaining characteristics of which have been reduced can be additionally refreshed, and therefore, information can be correctly maintained regardless of the history of accessing a memory cell.

Description

半導体装置Semiconductor device
 本発明は半導体装置に関し、特に、リフレッシュ動作による情報の保持が必要な半導体装置に関する。 The present invention relates to a semiconductor device, and more particularly to a semiconductor device that needs to hold information by a refresh operation.
 代表的な半導体メモリデバイスであるDRAM(Dynamic Random Access Memory)は、セルキャパシタに蓄積された電荷によって情報を記憶するため、定期的にリフレッシュ動作を行わなければ情報が消失してしまう。このため、DRAMを制御するコントロールデバイスからは、リフレッシュ動作を指示するリフレッシュコマンドが定期的に発行される(特許文献1参照)。リフレッシュコマンドは、1リフレッシュサイクル(例えば64msec)の期間に全てのワード線が必ず1回リフレッシュされる頻度でコントロールデバイスから発行される。 DRAM (Dynamic Random Access Memory), which is a typical semiconductor memory device, stores information by the electric charge accumulated in the cell capacitor. Therefore, information is lost unless it is periodically refreshed. For this reason, a refresh command for instructing a refresh operation is periodically issued from the control device that controls the DRAM (see Patent Document 1). The refresh command is issued from the control device at a frequency at which all word lines are always refreshed once during one refresh cycle (for example, 64 msec).
特開2011-258259号公報JP 2011-258259 A
 しかしながら、メモリセルへのアクセス履歴によっては、所定のメモリセルの情報保持特性が低下することがあった。そして、所定のメモリセルの情報保持時間が1リフレッシュサイクル未満に低下すると、1リフレッシュサイクルの期間に全てのワード線が1回リフレッシュされる頻度でリフレッシュコマンドを発行しても、一部の情報が失われるおそれがあった。 However, depending on the access history to the memory cell, the information retention characteristic of the predetermined memory cell may be deteriorated. When the information holding time of a predetermined memory cell is reduced to less than one refresh cycle, even if a refresh command is issued with a frequency that all word lines are refreshed once during one refresh cycle, a part of the information is stored. There was a risk of being lost.
 本発明の一側面による半導体装置は、複数の揮発性メモリセルと、ロウアドレスに対応して前記複数の揮発性メモリセルのうち対応する複数の揮発性メモリセルを其々選択する複数のワード線と、前記ロウアドレスに対応して設けられ、対応するロウアドレスの入力回数をカウントし、前記入力回数が所定値を超えた時に検出信号を出力するように其々構成される複数のカウンタ回路と、前記複数のカウンタ回路と接続される制御回路と、を備え、前記制御回路は、前記検出信号が出力された前記カウンタ回路に対応するロウアドレスに基づく前記ワード線と物理的に隣接する一方のワード線に対応する第1のロウアドレスを生成する第1の内部アドレス生成回路を含み、前記第1のロウアドレスに対応するワード線を活性化して対応する複数の揮発性メモリセルのリフレッシュ制御を行うことを特徴とする。 A semiconductor device according to an aspect of the present invention includes a plurality of volatile memory cells and a plurality of word lines that respectively select a plurality of volatile memory cells corresponding to a row address among the plurality of volatile memory cells. A plurality of counter circuits provided corresponding to the row addresses, each configured to count the number of times the corresponding row address is input and to output a detection signal when the number of times the input exceeds a predetermined value; A control circuit connected to the plurality of counter circuits, wherein the control circuit is physically adjacent to the word line based on a row address corresponding to the counter circuit from which the detection signal is output. Including a first internal address generation circuit for generating a first row address corresponding to the word line, and activating the word line corresponding to the first row address And performing refresh control of the number of volatile memory cells.
 本発明の他の側面による半導体装置は、複数のワード線を含むメモリセルアレイと、リフレッシュすべきワード線のロウアドレスを示す第1のロウアドレスを出力するリフレッシュカウンタと、前記メモリセルアレイに対するアクセス履歴に基づいて、追加的にリフレッシュすべきワード線のロウアドレスを示す第2のロウアドレスを出力するアドレス発生部と、前記第1及び第2のロウアドレスのいずれか一方を選択する選択回路と、前記選択回路から出力される前記第1又は第2のロウアドレスに基づいて前記複数のワード線のいずれかにアクセスするロウデコーダと、を備えることを特徴とする。 A semiconductor device according to another aspect of the present invention includes a memory cell array including a plurality of word lines, a refresh counter that outputs a first row address indicating a row address of a word line to be refreshed, and an access history for the memory cell array. Based on an address generator for outputting a second row address indicating a row address of a word line to be additionally refreshed, a selection circuit for selecting one of the first and second row addresses, And a row decoder for accessing one of the plurality of word lines based on the first or second row address output from the selection circuit.
 本発明のさらに他の側面による半導体装置は、リフレッシュ動作による情報の保持が必要な複数のメモリセルがそれぞれ接続され、それぞれ対応するロウアドレスが割り当てられた第1及び第2のワード線を含む複数のワード線と、前記ロウアドレスに基づいて前記複数のワード線にアクセスするロウデコーダと、前記第1のワード線へのアクセス回数をカウントするアクセスカウント部と、前記アクセスカウント部のカウント値が所定値に達したことに応答して、前記ロウデコーダに前記第2のワード線のロウアドレスを供給するアドレス発生部と、を備えることを特徴とする。 A semiconductor device according to still another aspect of the present invention includes a plurality of first and second word lines to which a plurality of memory cells that are required to hold information by a refresh operation are respectively connected and corresponding row addresses are assigned. A word decoder, a row decoder that accesses the plurality of word lines based on the row address, an access count unit that counts the number of accesses to the first word line, and a count value of the access count unit is predetermined. And an address generator for supplying a row address of the second word line to the row decoder in response to reaching the value.
 本発明によれば、情報保持特性の低下したメモリセルに対応するワード線が追加的にリフレッシュされることから、メモリセルへのアクセス履歴に関わらず、正しく情報を保持することが可能となる。 According to the present invention, since the word line corresponding to the memory cell having the deteriorated information retention characteristic is additionally refreshed, it is possible to correctly retain the information regardless of the access history to the memory cell.
本発明の好ましい実施形態による半導体装置10の全体構成を示すブロック図である。1 is a block diagram showing an overall configuration of a semiconductor device 10 according to a preferred embodiment of the present invention. メモリセルアレイ11の一部を拡大して示す回路図である。3 is an enlarged circuit diagram showing a part of a memory cell array 11. FIG. ビット線を共有する2つのメモリセルMCの断面図であり、ワード線WLが半導体基板4に埋め込まれたトレンチゲート型のセルトランジスタTrを有している。FIG. 3 is a cross-sectional view of two memory cells MC sharing a bit line, and a word line WL includes a trench gate type cell transistor Tr embedded in a semiconductor substrate 4. 第1の実施形態によるリフレッシュ制御回路40の回路図である。3 is a circuit diagram of a refresh control circuit 40 according to the first embodiment. FIG. (a)はアドレスポインタ62の回路図であり、(b)はアドレスポインタ62の機能を説明するための模式図である。(A) is a circuit diagram of the address pointer 62, and (b) is a schematic diagram for explaining the function of the address pointer 62. 第1の実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作を説明するためのタイミング図である。FIG. 6 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the first embodiment. 本発明の第2の実施形態におけるメモリセルアレイ11の構造を示す略平面図である。It is a schematic plan view which shows the structure of the memory cell array 11 in the 2nd Embodiment of this invention. 第2の実施形態によるリフレッシュ制御回路40の回路図である。FIG. 6 is a circuit diagram of a refresh control circuit 40 according to a second embodiment. アクセスカウント部100のブロック図である。3 is a block diagram of an access count unit 100. FIG. コマンド制御回路160の回路図である。3 is a circuit diagram of a command control circuit 160. FIG. 外部からアクティブコマンドACTが発行された場合におけるコマンド制御回路160の動作を説明するためのタイミング図である。It is a timing diagram for explaining the operation of the command control circuit 160 when an active command ACT is issued from the outside. 外部からリフレッシュコマンドREFが発行された場合におけるコマンド制御回路160の動作を説明するためのタイミング図である。It is a timing diagram for explaining the operation of the command control circuit 160 when a refresh command REF is issued from the outside. アドレス発生部200のブロック図である。3 is a block diagram of an address generation unit 200. FIG. 追加リフレッシュカウンタ280及び選択信号発生回路270の動作を説明するためのタイミング図である。7 is a timing chart for explaining operations of an additional refresh counter 280 and a selection signal generation circuit 270. FIG. 選択信号発生回路270の回路図である。3 is a circuit diagram of a selection signal generation circuit 270. FIG. 第2の実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作を説明するためのタイミング図である。FIG. 10 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the second embodiment.
 以下、添付図面を参照しながら、本発明の好ましい実施形態について詳細に説明する。 Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
 図1は、本発明の好ましい実施形態による半導体装置10の全体構成を示すブロック図である。 FIG. 1 is a block diagram showing an overall configuration of a semiconductor device 10 according to a preferred embodiment of the present invention.
 本実施形態による半導体装置10は単一の半導体チップに集積されたDDR3(Double Data Rate 3)型のDRAMであり、外部基板2に実装されている。外部基板2は、メモリモジュール基板あるいはマザーボードであり、外部抵抗Reが設けられている。外部抵抗Reは、半導体装置10のキャリブレーション端子ZQに接続されており、そのインピーダンスはキャリブレーション回路38の基準インピーダンスとして用いられる。本実施形態においては外部抵抗Reに接地電位VSSが供給されている。 The semiconductor device 10 according to the present embodiment is a DDR3 (Double Data Rate 3) type DRAM integrated on a single semiconductor chip, and is mounted on the external substrate 2. The external substrate 2 is a memory module substrate or a mother board, and is provided with an external resistor Re. The external resistor Re is connected to the calibration terminal ZQ of the semiconductor device 10, and its impedance is used as the reference impedance of the calibration circuit 38. In the present embodiment, the ground potential VSS is supplied to the external resistor Re.
 図1に示すように、半導体装置10はメモリセルアレイ11を有している。メモリセルアレイ11は、複数のワード線WLと複数のビット線BLを備え、これらの交点にメモリセルMCが配置された構成を有している。ワード線WLの選択はロウデコーダ12によって行われ、ビット線BLの選択はカラムデコーダ13によって行われる。 As shown in FIG. 1, the semiconductor device 10 has a memory cell array 11. The memory cell array 11 includes a plurality of word lines WL and a plurality of bit lines BL, and has a configuration in which memory cells MC are arranged at intersections thereof. Selection of the word line WL is performed by the row decoder 12, and selection of the bit line BL is performed by the column decoder 13.
 また、半導体装置10には外部端子としてコマンドアドレス端子21、リセット端子22、クロック端子23、データ端子24、電源端子25,26、キャリブレーション端子ZQが設けられている。 Also, the semiconductor device 10 is provided with a command address terminal 21, a reset terminal 22, a clock terminal 23, a data terminal 24, power supply terminals 25 and 26, and a calibration terminal ZQ as external terminals.
 コマンドアドレス端子21は、外部からアドレス信号ADD及びコマンド信号COMが入力される端子である。コマンドアドレス端子21に入力されたアドレス信号ADDは、コマンドアドレス入力回路31を介してアドレスラッチ回路32に供給され、ラッチされる。アドレスラッチ回路32にラッチされたアドレス信号IADDは、ロウデコーダ12、カラムデコーダ13又はモードレジスタ14に供給される。モードレジスタ14は、半導体装置10の動作モードを示すパラメータが設定される回路である。 The command address terminal 21 is a terminal to which an address signal ADD and a command signal COM are input from the outside. The address signal ADD input to the command address terminal 21 is supplied to the address latch circuit 32 via the command address input circuit 31 and latched. The address signal IADD latched by the address latch circuit 32 is supplied to the row decoder 12, the column decoder 13, or the mode register 14. The mode register 14 is a circuit in which a parameter indicating the operation mode of the semiconductor device 10 is set.
 コマンドアドレス端子21に入力されたコマンド信号COMは、コマンドアドレス入力回路31を介してコマンドデコード回路33に供給される。コマンドデコード回路33は、コマンド信号COMをデコードすることによって各種内部コマンドを生成する回路である。内部コマンドとしては、アクティブ信号IACT、カラム信号ICOL、リフレッシュ信号IREF、モードレジスタセット信号MRS、キャリブレーション信号ZQCなどがある。 The command signal COM input to the command address terminal 21 is supplied to the command decode circuit 33 via the command address input circuit 31. The command decode circuit 33 is a circuit that generates various internal commands by decoding the command signal COM. The internal commands include an active signal IACT, a column signal ICOL, a refresh signal IREF, a mode register set signal MRS, a calibration signal ZQC, and the like.
 アクティブ信号IACTは、コマンド信号COMがロウアクセス(アクティブコマンド)を示している場合に活性化される信号である。アクティブ信号IACTが活性化すると、アドレスラッチ回路32にラッチされたアドレス信号IADDがロウデコーダ12に供給される。これにより、当該アドレス信号IADDにより指定されるワード線WLが選択される。 The active signal IACT is a signal that is activated when the command signal COM indicates a row access (active command). When the active signal IACT is activated, the address signal IADD latched in the address latch circuit 32 is supplied to the row decoder 12. As a result, the word line WL designated by the address signal IADD is selected.
 カラム信号ICOLは、コマンド信号COMがカラムアクセス(リードコマンド又はライトコマンド)を示している場合に活性化される信号である。内部カラム信号ICOLが活性化すると、アドレスラッチ回路32にラッチされたアドレス信号IADDがカラムデコーダ13に供給される。これにより、当該アドレス信号IADDにより指定されるビット線BLが選択される。 The column signal ICOL is a signal that is activated when the command signal COM indicates column access (read command or write command). When the internal column signal ICOL is activated, the address signal IADD latched in the address latch circuit 32 is supplied to the column decoder 13. As a result, the bit line BL designated by the address signal IADD is selected.
 したがって、アクティブコマンド及びリードコマンドを入力するとともに、これらに同期してロウアドレス及びカラムアドレスを入力すれば、これらロウアドレス及びカラムアドレスによって指定されるメモリセルMCからリードデータが読み出される。リードデータDQは、リードライトアンプ15及び入出力回路16を介して、データ端子24から外部に出力される。 Therefore, when an active command and a read command are input and a row address and a column address are input in synchronization therewith, read data is read from the memory cell MC specified by the row address and the column address. The read data DQ is output to the outside from the data terminal 24 via the read / write amplifier 15 and the input / output circuit 16.
 一方、アクティブコマンド及びライトコマンドを入力するとともに、これらに同期してロウアドレス及びカラムアドレスを入力し、その後、データ端子24にライトデータDQを入力すれば、ライトデータDQは入出力回路16及びリードライトアンプ15を介してメモリセルアレイ11に供給され、ロウアドレス及びカラムアドレスによって指定されるメモリセルMCに書き込まれる。 On the other hand, when an active command and a write command are input, and a row address and a column address are input in synchronization therewith, and then write data DQ is input to the data terminal 24, the write data DQ is input to the input / output circuit 16 and the read The data is supplied to the memory cell array 11 via the write amplifier 15 and written to the memory cell MC specified by the row address and the column address.
 リフレッシュ信号IREFは、コマンド信号COMがリフレッシュコマンドを示している場合に活性化される信号である。リフレッシュ信号IREFは、リフレッシュ制御回路40に供給される。リフレッシュ制御回路40は、ロウデコーダ12を制御することによって、メモリセルアレイ11に含まれる所定のワード線WLを活性化させ、これによりリフレッシュ動作を実行する回路である。リフレッシュ制御回路40には、リフレッシュ信号IREFの他、アクティブ信号IACT、アドレス信号IADD及びリセット端子22を介して入力されるリセット信号RESETが供給される。リフレッシュ制御回路40の詳細については後述する。 The refresh signal IREF is a signal that is activated when the command signal COM indicates a refresh command. The refresh signal IREF is supplied to the refresh control circuit 40. The refresh control circuit 40 is a circuit that activates a predetermined word line WL included in the memory cell array 11 by controlling the row decoder 12, thereby executing a refresh operation. In addition to the refresh signal IREF, the refresh control circuit 40 is supplied with an active signal IACT, an address signal IADD, and a reset signal RESET input via the reset terminal 22. Details of the refresh control circuit 40 will be described later.
 モードレジスタセット信号MRSは、コマンド信号COMがモードレジスタセットコマンドを示している場合に活性化される信号である。したがって、モードレジスタセットコマンドを入力するとともに、これに同期してコマンドアドレス端子21からモード信号を入力すれば、モードレジスタ14の設定値を書き換えることができる。 The mode register set signal MRS is a signal that is activated when the command signal COM indicates a mode register set command. Therefore, if a mode register set command is input and a mode signal is input from the command address terminal 21 in synchronization therewith, the set value of the mode register 14 can be rewritten.
 ここで、半導体装置10に設けられた外部端子の説明に戻ると、クロック端子23には外部クロック信号CK,/CKが入力される。外部クロック信号CKと外部クロック信号/CKは互いに相補の信号であり、いずれもクロック入力回路34に供給される。クロック入力回路34に入力された外部クロック信号CK,/CKは、内部クロック発生回路35に供給され、これによって内部クロック信号ICLKが生成される。内部クロック信号ICLKは、タイミングジェネレータ36に供給され、これによって各種内部クロック信号が生成される。タイミングジェネレータ36によって生成される各種内部クロック信号は、アドレスラッチ回路32やコマンドデコード回路33などの回路ブロックに供給され、これら回路ブロックの動作タイミングを規定する。 Here, returning to the description of the external terminals provided in the semiconductor device 10, the external clock signals CK and / CK are input to the clock terminal 23. The external clock signal CK and the external clock signal / CK are complementary signals, and both are supplied to the clock input circuit 34. The external clock signals CK and / CK input to the clock input circuit 34 are supplied to the internal clock generation circuit 35, thereby generating the internal clock signal ICLK. The internal clock signal ICLK is supplied to the timing generator 36, whereby various internal clock signals are generated. Various internal clock signals generated by the timing generator 36 are supplied to circuit blocks such as the address latch circuit 32 and the command decode circuit 33, and define the operation timing of these circuit blocks.
 電源端子25は、電源電位VDD,VSSが供給される端子である。電源端子25に供給される電源電位VDD,VSSは内部電源発生回路37に供給される。内部電源発生回路37は、電源電位VDD,VSSに基づいて各種の内部電位VPP,VOD,VARY,VPERIや、基準電位ZQVREFを発生させる。内部電位VPPは主にロウデコーダ12において使用される電位であり、内部電位VOD,VARYはメモリセルアレイ11内のセンスアンプにおいて使用される電位であり、内部電位VPERIは他の多くの回路ブロックにおいて使用される電位である。一方、基準電位ZQVREFは、キャリブレーション回路38にて使用される基準電位である。 The power supply terminal 25 is a terminal to which power supply potentials VDD and VSS are supplied. The power supply potentials VDD and VSS supplied to the power supply terminal 25 are supplied to the internal power supply generation circuit 37. The internal power supply generation circuit 37 generates various internal potentials VPP, VOD, VARY, VPERI and a reference potential ZQVREF based on the power supply potentials VDD and VSS. The internal potential VPP is a potential mainly used in the row decoder 12, the internal potentials VOD and VARY are potentials used in the sense amplifier in the memory cell array 11, and the internal potential VPERI is used in many other circuit blocks. Potential. On the other hand, the reference potential ZQVREF is a reference potential used in the calibration circuit 38.
 電源端子26は、電源電位VDDQ,VSSQが供給される端子である。電源端子26に供給される電源電位VDDQ,VSSQは入出力回路16に供給される。電源電位VDDQ,VSSQは、電源端子25に供給される電源電位VDD,VSSとそれぞれ同電位であるが、入出力回路16によって生じる電源ノイズが他の回路ブロックに伝搬しないよう、入出力回路16については専用の電源電位VDDQ,VSSQを用いている。 The power supply terminal 26 is a terminal to which power supply potentials VDDQ and VSSQ are supplied. The power supply potentials VDDQ and VSSQ supplied to the power supply terminal 26 are supplied to the input / output circuit 16. The power supply potentials VDDQ and VSSQ are the same as the power supply potentials VDD and VSS supplied to the power supply terminal 25, respectively, but the input / output circuit 16 does not propagate power supply noise generated by the input / output circuit 16 to other circuit blocks. Uses dedicated power supply potentials VDDQ and VSSQ.
 キャリブレーション端子ZQは、キャリブレーション回路38に接続されている。キャリブレーション回路38は、キャリブレーション信号ZQCによって活性化されると、外部抵抗Reのインピーダンス及び基準電位ZQVREFを参照してキャリブレーション動作を行う。キャリブレーション動作によって得られたインピーダンスコードZQCODEは入出力回路16に供給され、これによって、入出力回路16に含まれる出力バッファ(図示せず)のインピーダンスが指定される。 The calibration terminal ZQ is connected to the calibration circuit 38. When the calibration circuit 38 is activated by the calibration signal ZQC, the calibration circuit 38 performs a calibration operation with reference to the impedance of the external resistor Re and the reference potential ZQVREF. The impedance code ZQCODE obtained by the calibration operation is supplied to the input / output circuit 16, whereby the impedance of an output buffer (not shown) included in the input / output circuit 16 is designated.
 図2は、メモリセルアレイ11の一部を拡大して示す回路図である。 FIG. 2 is a circuit diagram showing a part of the memory cell array 11 in an enlarged manner.
 図2に示すように、メモリセルアレイ11の内部には、Y方向に延在する複数のワード線WLと、X方向に延在する複数のビット線BLが設けられており、その交点にメモリセルMCが配置されている。メモリセルMCはいわゆるDRAMセルであり、Nチャンネル型MOSトランジスタからなるセルトランジスタTrとセルキャパシタCが直列に接続された構成を有している。セルトランジスタTrのゲート電極は対応するワード線WLに接続され、ソース/ドレインの一方は対応するビット線BLに接続され、ソース/ドレインの他方はセルキャパシタCに接続されている。 As shown in FIG. 2, a plurality of word lines WL extending in the Y direction and a plurality of bit lines BL extending in the X direction are provided inside the memory cell array 11, and memory cells are arranged at the intersections. MC is arranged. The memory cell MC is a so-called DRAM cell, and has a configuration in which a cell transistor Tr composed of an N-channel MOS transistor and a cell capacitor C are connected in series. The gate electrode of the cell transistor Tr is connected to the corresponding word line WL, one of the source / drain is connected to the corresponding bit line BL, and the other of the source / drain is connected to the cell capacitor C.
 メモリセルMCは、セルキャパシタCに蓄積された電荷によって情報を記憶する。具体的には、セルキャパシタCが内部電位VARYにチャージされている場合、つまりハイレベルにチャージされている場合には一方の論理レベル(例えば、論理値=1)を記憶し、セルキャパシタCが接地電位VSSにチャージされている場合、つまりローレベルにチャージされている場合には他方の論理レベル(例えば、論理値=0)を記憶する。セルキャパシタCに蓄積された電荷はリーク電流によって徐々に消失するため、一定の時間が経過する度にリフレッシュ動作を行う必要がある。 The memory cell MC stores information by the electric charge accumulated in the cell capacitor C. Specifically, when the cell capacitor C is charged to the internal potential VARY, that is, when charged to a high level, one logic level (for example, logic value = 1) is stored, and the cell capacitor C When charged to the ground potential VSS, that is, when charged to a low level, the other logic level (for example, logic value = 0) is stored. Since the electric charge accumulated in the cell capacitor C is gradually lost due to the leakage current, it is necessary to perform a refresh operation every time a certain time elapses.
 リフレッシュ動作は、アクティブ信号IACTに応答したロウアクセスと基本的に同じである。つまり、リフレッシュすべきワード線WLを活性レベルに駆動し、これにより当該ワード線WLに接続されたセルトランジスタTrをオンさせる。ワード線WLの活性レベルは例えば内部電位VPPであり、大部分の周辺回路にて使用する内部電位VPERIよりも高電位である。これにより、セルキャパシタCが対応するビット線BLに接続されるため、セルキャパシタCに蓄積されていた電荷に応じてビット線BLの電位が変動する。そして、センスアンプSAを活性化させることにより、対を成すビット線BL間に生じている電位差を増幅した後、ワード線WLを非活性レベルに戻せば、セルキャパシタCのチャージレベルが再生される。ワード線WLの非活性レベルは、例えば接地電位VSS未満の負電位VKKである。 The refresh operation is basically the same as the row access in response to the active signal IACT. That is, the word line WL to be refreshed is driven to an active level, thereby turning on the cell transistor Tr connected to the word line WL. The activation level of the word line WL is, for example, the internal potential VPP, which is higher than the internal potential VPERI used in most peripheral circuits. Accordingly, since the cell capacitor C is connected to the corresponding bit line BL, the potential of the bit line BL varies according to the charge accumulated in the cell capacitor C. Then, by activating the sense amplifier SA to amplify the potential difference generated between the paired bit lines BL and then returning the word line WL to the inactive level, the charge level of the cell capacitor C is regenerated. . The inactive level of the word line WL is, for example, a negative potential VKK lower than the ground potential VSS.
 リフレッシュ動作を行うべき周期はリフレッシュサイクルと呼ばれ、規格によって例えば64msecと定められている。したがって、各メモリセルMCの情報保持時間をリフレッシュサイクルよりも長くなるよう設計すれば、定期的なリフレッシュ動作によって情報を保持し続けることができる。尚、実際には各メモリセルMCの情報保持時間はリフレッシュサイクルに対して十分なマージンを有しており、このため、規格によって定められたリフレッシュサイクルよりもやや長いサイクルでリフレッシュ動作を行った場合であっても、メモリセルMCの情報を正しく保持することが可能である。 The cycle for performing the refresh operation is called a refresh cycle, and is defined as 64 msec by the standard, for example. Therefore, if the information holding time of each memory cell MC is designed to be longer than the refresh cycle, the information can be continuously held by a periodic refresh operation. Actually, the information holding time of each memory cell MC has a sufficient margin with respect to the refresh cycle. Therefore, when the refresh operation is performed in a slightly longer cycle than the refresh cycle defined by the standard. Even so, it is possible to correctly hold the information of the memory cell MC.
 しかしながら、近年、アクセス履歴によってメモリセルMCの情報保持時間が低下するディスターブ現象が問題となっている。ディスターブ現象とは、あるワード線WLを繰り返しアクセスすると、これに隣接する他のワード線WLに接続されたメモリセルMCの情報保持特性が低下する現象である。例えば、図2に示すワード線WLmを繰り返しアクセスすると、これに隣接するワード線WLm-1,WLm+1に接続されたメモリセルMCの情報保持特性が低下する。原因については諸説あるが、例えば、隣接するワード線間に生じている寄生容量Cpによるものであると考えられている。 However, in recent years, a disturb phenomenon in which the information holding time of the memory cell MC is reduced due to the access history has been a problem. The disturb phenomenon is a phenomenon in which when a certain word line WL is repeatedly accessed, the information retention characteristics of the memory cells MC connected to the other word lines WL adjacent thereto are deteriorated. For example, when the word line WLm shown in FIG. 2 is repeatedly accessed, the information retention characteristics of the memory cells MC connected to the word lines WLm−1 and WLm + 1 adjacent thereto are deteriorated. There are various theories about the cause, but it is considered to be caused by, for example, a parasitic capacitance Cp generated between adjacent word lines.
 つまり、所定のワード線WLmが繰り返しアクセスされると、その電位が負電位VKKから高電位VPPへ繰り返し変化するため、隣接するワード線WLm-1,WLm+1を負電位VKKに固定しているにもかかわらず、寄生容量Cpによるカップリングによってその電位がわずかに上昇する。これにより、ワード線WLm-1,WLm+1に接続されたセルトランジスタTrのオフリーク電流が増大し、セルキャパシタCのチャージレベルが通常よりも高速に失われてしまう。 That is, when a predetermined word line WLm is repeatedly accessed, the potential repeatedly changes from the negative potential VKK to the high potential VPP. Therefore, the adjacent word lines WLm−1 and WLm + 1 are fixed to the negative potential VKK. Regardless, the potential increases slightly due to the coupling by the parasitic capacitance Cp. As a result, the off-leak current of the cell transistor Tr connected to the word lines WLm−1 and WLm + 1 increases, and the charge level of the cell capacitor C is lost faster than usual.
 また、以下の様な他の考えもある。図3は、ビット線を共有する2つのメモリセルMCの断面図であり、ワード線WLが半導体基板4に埋め込まれたトレンチゲート型のセルトランジスタTrを有している。図3に示すワード線WLm,WLm+1は、素子分離領域6によって区画された同じ活性領域内に埋め込まれており、これが活性化されると対応するソース/ドレインSD間にチャネルが形成される。ソース/ドレインSDの一方はビット線ノードに接続され、他方はキャパシタノードに接続されている。このような断面において、ワード線WLmがアクセスされ、その後セルトランジスタTrをOFFする(つまりチャネルが切れる)と、キャリアである浮遊電子がチャネル付近に発生する。ワード線WLmへのアクセスが繰り返されると、その浮遊電子が累積し、その累積した浮遊電子がワード線WLm+1側のキャパシタノードへ移動し、PNジャンクションリークを誘発してセルキャパシタCのチャージレベルを失わせる。 Also, there are other ideas as follows. FIG. 3 is a cross-sectional view of two memory cells MC sharing a bit line, and includes a trench gate type cell transistor Tr in which a word line WL is embedded in a semiconductor substrate 4. The word lines WLm and WLm + 1 shown in FIG. 3 are embedded in the same active region partitioned by the element isolation region 6, and when this is activated, a channel is formed between the corresponding source / drain SD. One of the source / drain SD is connected to the bit line node, and the other is connected to the capacitor node. In such a cross section, when the word line WLm is accessed and then the cell transistor Tr is turned off (that is, the channel is cut), floating electrons as carriers are generated near the channel. When access to the word line WLm is repeated, the stray electrons accumulate, the accumulated stray electrons move to the capacitor node on the word line WLm + 1 side, induce a PN junction leak, and the charge level of the cell capacitor C is lost. Make it.
 いずれにしても、このようなメカニズムによりメモリセルMCの情報保持時間が低下すると、情報保持時間が規格によって定められたリフレッシュサイクルを下回る危険性がある。情報保持時間がリフレッシュサイクルを下回わってしまうと、リフレッシュ動作を正しく実行しても一部のデータが消失してしまう。 In any case, if the information holding time of the memory cell MC is reduced by such a mechanism, there is a risk that the information holding time falls below the refresh cycle defined by the standard. If the information holding time falls below the refresh cycle, some data will be lost even if the refresh operation is executed correctly.
 本実施形態による半導体装置10は、上述したディスターブ現象を考慮し、アクセス履歴に基づいて追加的なリフレッシュ動作を行う点を特徴としている。以下、半導体装置10に備えられたリフレッシュ制御回路40の構成及び動作について詳細に説明する。 The semiconductor device 10 according to the present embodiment is characterized in that an additional refresh operation is performed based on the access history in consideration of the disturb phenomenon described above. Hereinafter, the configuration and operation of the refresh control circuit 40 provided in the semiconductor device 10 will be described in detail.
 図4は、第1の実施形態によるリフレッシュ制御回路40の回路図である。 FIG. 4 is a circuit diagram of the refresh control circuit 40 according to the first embodiment.
 図4に示すように、第1の実施形態によるリフレッシュ制御回路40は、リフレッシュカウンタ41、アクセスカウント部50、アドレス発生部60及び選択回路42を備えている。 As shown in FIG. 4, the refresh control circuit 40 according to the first embodiment includes a refresh counter 41, an access count unit 50, an address generation unit 60, and a selection circuit 42.
 リフレッシュカウンタ41は、リフレッシュ信号IREFに応答してリフレッシュすべきロウアドレス(リフレッシュアドレス)RADDaを生成する回路である。そのカウント値であるリフレッシュアドレスRADDaは、リフレッシュ信号IREFに応答して更新(インクリメント又はデクリメント)される。このため、1リフレッシュサイクルの期間にリフレッシュカウンタ41のカウント値が一周するよう、外部からリフレッシュコマンドを複数回(例えば8k回)投入すれば、1リフレッシュサイクルの期間に全てのワード線WLをリフレッシュすることができる。但し、選択信号SELが活性化している場合には、リフレッシュ信号IREFが入力されてもカウント値の更新は行われない。また、リセット信号RESETが入力されると、リフレッシュカウンタ41のカウント値は初期値にリセットされる。 The refresh counter 41 is a circuit that generates a row address (refresh address) RADDa to be refreshed in response to a refresh signal IREF. The refresh address RADDa that is the count value is updated (incremented or decremented) in response to the refresh signal IREF. For this reason, if a refresh command is input from the outside a plurality of times (for example, 8k times) so that the count value of the refresh counter 41 makes one round during one refresh cycle, all word lines WL are refreshed during one refresh cycle. be able to. However, when the selection signal SEL is activated, the count value is not updated even if the refresh signal IREF is input. When the reset signal RESET is input, the count value of the refresh counter 41 is reset to the initial value.
 アクセスカウント部50は、メモリセルアレイ11に対するロウアクセスの履歴を解析する回路であり、アクセスカウンタ51、アクセスカウンタ制御回路52及び上限判定回路53を含んでいる。図4に示すように、アクセスカウンタ51は、ワード線WL0~WLpごとに割り当てられたカウンタ回路51~51によって構成されており、各カウンタ回路51~51のカウントアップ又はリセットは、アクセスカウンタ制御回路52によって行われる。カウンタ回路51~51は、それぞれ複数のフリップフロップ回路を含むバイナリカウンタである。 The access count unit 50 is a circuit that analyzes a history of row access to the memory cell array 11, and includes an access counter 51, an access counter control circuit 52, and an upper limit determination circuit 53. As shown in FIG. 4, the access counter 51 is configured by counter circuits 51 0 to 51 p assigned to the word lines WL0 to WLp, and each counter circuit 51 0 to 51 p counts up or resets. This is performed by the access counter control circuit 52. The counter circuits 51 0 to 51 p are binary counters each including a plurality of flip-flop circuits.
 アクセスカウンタ制御回路52は、アクティブ信号IACT及びアドレス信号IADDを受け、これらに基づいてアクセスされたワード線WLに対応するカウンタ回路51~51のカウントアップを行う。例えば、アクティブ信号IACTが活性化した際にワード線WL0を示すアドレス信号IADDが入力された場合、カウントアップ信号UP0を活性化させることにより、ワード線WL0に対応するカウンタ回路51をカウントアップする。 The access counter control circuit 52 receives the active signal IACT and the address signal IADD, and counts up the counter circuits 51 0 to 51 p corresponding to the accessed word line WL based on them. For example, when the address signal IADD indicating the word line WL0 when active signal IACT is activated is inputted, by activating the count up signal UP0, counts up the counter circuit 51 0 corresponding to the word line WL0 .
 特に限定されるものではないが、本実施形態においてはロウアクセス時に用いるアドレス信号IADDがA0~A13からなる14ビット構成である。このことは、メモリセルアレイ11に16k本(=214)のワード線WLが含まれていることを意味し、この場合、アクセスカウンタ51にも16k個のカウンタ回路が必要となる。各カウンタ回路51~51のビット数(使用するフリップフロップ回路の数)についてはディスターブ特性に応じて設計すればよいが、例えば、16ビット構成とすることができる。この場合、各カウンタ回路51~51は64k(=216)回のカウントを行うことができる。 Although not particularly limited, in the present embodiment, the address signal IADD used for row access has a 14-bit configuration including A0 to A13. This means that the memory cell array 11 includes 16k (= 2 14 ) word lines WL. In this case, the access counter 51 also requires 16k counter circuits. The number of bits of each counter circuit 51 0 to 51 p (the number of flip-flop circuits to be used) may be designed in accordance with the disturb characteristics, but may be a 16-bit configuration, for example. In this case, each of the counter circuits 51 0 to 51 p can count 64k (= 2 16 ) times.
 また、アクセスカウンタ制御回路52には、リフレッシュ信号IREF、リフレッシュアドレスRADD及び選択信号SELも供給される。アクセスカウンタ制御回路52は、選択信号SELがローレベルであることを条件として、リフレッシュ信号IREF及びリフレッシュアドレスRADDに基づいて所定のカウンタ回路51~51のカウント値をリセットする。例えば、選択信号SELがローレベルである場合、リフレッシュ信号IREFが活性化した際にワード線WLmを示すリフレッシュアドレスRADDが入力されると、デリート信号DELm+1を活性化させることにより、ワード線WLm+1に対応するカウンタ回路51m+1をリセットする。その意義については後述する。 The access counter control circuit 52 is also supplied with a refresh signal IREF, a refresh address RADD, and a selection signal SEL. The access counter control circuit 52 resets the count values of predetermined counter circuits 51 0 to 51 p based on the refresh signal IREF and the refresh address RADD on condition that the selection signal SEL is at a low level. For example, when the selection signal SEL is at a low level, when the refresh address RADD indicating the word line WLm is input when the refresh signal IREF is activated, the delete signal DELm + 1 is activated to correspond to the word line WLm + 1. The counter circuit 51 m + 1 to be reset is reset. Its significance will be described later.
 さらに、アクセスカウンタ制御回路52には、リセット信号RESETも供給される。アクセスカウンタ制御回路52は、リセット信号RESETが入力されると全てのデリート信号DEL0~DELpを活性化させ、これにより全てのカウンタ回路51~51のカウント値をリセットする。 Further, the access counter control circuit 52 is also supplied with a reset signal RESET. Access counter control circuit 52 activates all the delete signal DEL0 ~ DELp the reset signal RESET is input, thereby resetting the count values of all of the counter circuits 51 0 ~ 51 p.
 かかる構成により、アクセスカウンタ51には、アクティブ信号IACTに応答したロウアクセス履歴が蓄積される。そして、各カウンタ回路51~51は、カウント値が所定値に到達すると対応する検出信号MAX0~MAXpを活性化させる。検出信号MAX0~MAXpは、上限判定回路53に供給される。 With this configuration, the access counter 51 stores a row access history in response to the active signal IACT. Each counter circuit 51 0 to 51 p activates the corresponding detection signal MAX0 to MAXp when the count value reaches a predetermined value. The detection signals MAX0 to MAXp are supplied to the upper limit determination circuit 53.
 上限判定回路53は、検出信号MAX0~MAXpのいずれかが活性化した場合、ポインタ制御信号P1,P2を順次活性化させる。ポインタ制御信号P1,P2は、アドレス発生部60に供給される。 The upper limit determination circuit 53 sequentially activates the pointer control signals P1 and P2 when any of the detection signals MAX0 to MAXp is activated. The pointer control signals P1 and P2 are supplied to the address generator 60.
 アドレス発生部60は、追加的にリフレッシュすべきワード線のロウアドレスを生成する回路であり、図4に示すように、アドレスレジスタ61、アドレスポインタ62及びアドレス書き込み回路63を含んでいる。 The address generator 60 is a circuit for generating a row address of a word line to be additionally refreshed, and includes an address register 61, an address pointer 62, and an address write circuit 63 as shown in FIG.
 アドレスレジスタ61は、追加的にリフレッシュすべきワード線のロウアドレスをそれぞれ格納する複数のレジスタ回路61~61によって構成されている。レジスタ回路61~61の選択はアドレスポインタ62によって行われ、選択されたレジスタ回路61~61に書き込むロウアドレスはアドレス書き込み回路63によって生成される。また、アドレスレジスタ61にはリセット信号RESETが供給されており、これが活性化すると全てのレジスタ回路61~61の記憶内容がリセットされる。尚、かかるリセット動作は省略することも可能である。 The address register 61 is composed of a plurality of register circuits 61 0 to 61 q that respectively store row addresses of word lines to be additionally refreshed. The register circuits 61 0 to 61 q are selected by the address pointer 62, and the row address to be written to the selected register circuits 61 0 to 61 q is generated by the address write circuit 63. Further, a reset signal RESET is supplied to the address register 61, and when it is activated, the stored contents of all the register circuits 61 0 to 61 q are reset. Such a reset operation can be omitted.
 図5(a)はアドレスポインタ62の回路図であり、図5(b)はアドレスポインタ62の機能を説明するための模式図である。 5A is a circuit diagram of the address pointer 62, and FIG. 5B is a schematic diagram for explaining the function of the address pointer 62.
 図5(a)に示すように、アドレスポインタ62は、ライトポインタ62W及びリードポインタ62Rと、選択信号生成回路62Sと、ラッチ回路62Lとを含んでいる。ライトポインタ62Wは、ライトポイント信号WPを生成するカウンタ回路であり、そのカウント値であるライトポイント信号WPは、ポインタ制御信号P1,P2に応答して更新(インクリメント又はデクリメント)される。上述の通り、検出信号MAX0~MAXpのいずれかが活性化すると、上限判定回路53はポインタ制御信号P1,P2を順次活性化させるため、ライトポインタ62Wは2回更新されることになる。ライトポイント信号WPは、図5(b)に示すように、ロウアドレスが書き込まれるレジスタ回路61~61のいずれかを指定するために用いられる。図5(b)に示す例では、ライトポイント信号WPによってレジスタ回路61が指定されている。 As shown in FIG. 5A, the address pointer 62 includes a write pointer 62W and a read pointer 62R, a selection signal generation circuit 62S, and a latch circuit 62L. The write pointer 62W is a counter circuit that generates the write point signal WP, and the write point signal WP, which is the count value, is updated (incremented or decremented) in response to the pointer control signals P1 and P2. As described above, when any of the detection signals MAX0 to MAXp is activated, the upper limit determination circuit 53 sequentially activates the pointer control signals P1 and P2, so that the write pointer 62W is updated twice. As shown in FIG. 5B, the write point signal WP is used to designate one of the register circuits 61 0 to 61 q to which the row address is written. In the example shown in FIG. 5B, the register circuit 61j is designated by the write point signal WP.
 リードポインタ62Rは、リードポイント信号RPを生成するカウンタ回路であり、そのカウント値であるリードポイント信号RPは、ANDゲート回路Gの出力に応答して更新(インクリメント又はデクリメント)される。ANDゲート回路Gには、リフレッシュ信号IREF及び後述する選択信号PSELが供給されており、したがって、選択信号PSELがハイレベルに活性化していることを条件として、リフレッシュ信号IREFに応答して更新される。リードポイント信号RPは、図5(b)に示すように、ロウアドレスが読み出されるレジスタ回路61~61のいずれかを指定するために用いられる。図5(b)に示す例では、リードポイント信号RPによってレジスタ回路61が指定されている。このようにしてアドレスレジスタ61から読み出されたロウアドレス(リフレッシュアドレス)RADDbは、選択回路42に供給される。 The read pointer 62R is a counter circuit that generates a read point signal RP, and the read point signal RP that is the count value is updated (incremented or decremented) in response to the output of the AND gate circuit G. The AND gate circuit G is supplied with a refresh signal IREF and a selection signal PSEL, which will be described later, and is therefore updated in response to the refresh signal IREF on condition that the selection signal PSEL is activated to a high level. . As shown in FIG. 5B, the read point signal RP is used to designate one of the register circuits 61 0 to 61 q from which the row address is read. In the example shown in FIG. 5B, the register circuit 61 i is designated by the read point signal RP. The row address (refresh address) RADDb read from the address register 61 in this way is supplied to the selection circuit 42.
 選択信号生成回路62Sは、ライトポイント信号WPとリードポイント信号RPを比較する回路であり、WP>RPである場合に選択信号PSELをハイレベルに活性化させる。WP=RPとなった時には、選択信号PSELはローレベルに非活性化させる。ライトポイント信号WPの値とリードポイント信号RPの値が一致するのは、アドレスレジスタ61に有効なロウアドレスが蓄積されていないことを意味する。アドレスレジスタ61に蓄積されたロウアドレスの個数は、ライトポイント信号WPの値とリードポイント信号RPの値の差分(WP-RP)によって与えられる。 The selection signal generation circuit 62S is a circuit that compares the write point signal WP and the read point signal RP, and activates the selection signal PSEL to a high level when WP> RP. When WP = RP, the selection signal PSEL is deactivated to a low level. The value of the write point signal WP and the value of the read point signal RP match that a valid row address is not stored in the address register 61. The number of row addresses stored in the address register 61 is given by the difference (WP−RP) between the value of the write point signal WP and the value of the read point signal RP.
 選択信号PSELは、ラッチ回路62Lに供給される。ラッチ回路62Lは、リフレッシュ信号IREFに応答して選択信号PSELをラッチし、ラッチした信号を選択信号SELとして出力する。したがって、選択信号PSELの論理レベルは、次のリフレッシュ信号IREFに応答して選択信号SELに反映されることになる。 The selection signal PSEL is supplied to the latch circuit 62L. The latch circuit 62L latches the selection signal PSEL in response to the refresh signal IREF, and outputs the latched signal as the selection signal SEL. Therefore, the logic level of the selection signal PSEL is reflected in the selection signal SEL in response to the next refresh signal IREF.
 また、ライトポインタ62W及びリードポインタ62Rにはリセット信号RESETが供給されており、これが活性化するとライトポイント信号WP及びリードポイント信号RPが初期化される。 The reset signal RESET is supplied to the write pointer 62W and the read pointer 62R, and when this is activated, the write point signal WP and the read point signal RP are initialized.
 図4に戻って、アドレス書き込み回路63には、アドレス信号IADD及びポインタ制御信号P1,P2が供給される。アドレス書き込み回路63は、ポインタ制御信号P1が活性化するとこれに応答してアドレス信号IADDの値(Addn)をインクリメントしたロウアドレス(Addn+1)を生成し、これをアドレスレジスタ61に出力する。さらに、ポインタ制御信号P2が活性化すると、これに応答してアドレス信号IADDの値(Addn)をデクリメントしたロウアドレス(Addn-1)を生成し、これをアドレスレジスタ61に出力する。アドレスレジスタ61に出力されるこれらのロウアドレスAddn+1,Addn-1は、ライトポイント信号WPの値に従ってそれぞれ異なるレジスタ回路61~61に格納される。 Returning to FIG. 4, the address write circuit 63 is supplied with an address signal IADD and pointer control signals P1 and P2. When the pointer control signal P1 is activated, the address write circuit 63 generates a row address (Addn + 1) obtained by incrementing the value (Addn) of the address signal IADD in response to the activation, and outputs this to the address register 61. Further, when the pointer control signal P2 is activated, a row address (Addn-1) obtained by decrementing the value (Addn) of the address signal IADD is generated in response to this, and this is output to the address register 61. The row addresses Addn + 1 and Addn−1 output to the address register 61 are stored in different register circuits 61 0 to 61 q according to the value of the write point signal WP.
 上記の構成により、リフレッシュカウンタ41によってリフレッシュアドレスRADDaが生成され、アドレス発生部60によってリフレッシュアドレスRADDbが生成される。これらリフレッシュアドレスRADDa,RADDbは、選択回路42に供給される。選択回路42は、これらリフレッシュアドレスRADDa,RADDbを受け、いずれか一方をリフレッシュアドレスRADDとしてロウデコーダ12に出力する。具体的には、選択信号SELがローレベルに非活性化している場合には、リフレッシュアドレスRADDaが選択され、選択信号SELがハイレベルに活性化している場合には、リフレッシュアドレスRADDbが選択される。このことは、アドレスレジスタ61に有効なロウアドレスが蓄積されていない場合にはリフレッシュアドレスRADDaが選択され、アドレスレジスタ61に有効なロウアドレスが蓄積されている場合にはリフレッシュアドレスRADDbが選択されることを意味する。 With the above configuration, the refresh address RADDa is generated by the refresh counter 41, and the refresh address RADDb is generated by the address generator 60. The refresh addresses RADDa and RADDb are supplied to the selection circuit 42. The selection circuit 42 receives these refresh addresses RADDa and RADDb and outputs either one to the row decoder 12 as the refresh address RADD. Specifically, when the selection signal SEL is deactivated to a low level, the refresh address RADDa is selected, and when the selection signal SEL is activated to a high level, the refresh address RADDb is selected. . This is because the refresh address RADDa is selected when a valid row address is not stored in the address register 61, and the refresh address RADDb is selected when a valid row address is stored in the address register 61. Means that.
 次に、本実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作について説明する。 Next, the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment will be described.
 図6は、本実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作を説明するためのタイミング図である。 FIG. 6 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment.
 図6に示す例では、時刻t10に外部からアクティブコマンドACTが発行され、時刻t21,t22,t23,t24に外部からリフレッシュコマンドREFが発行されたケースを示している。図示しないが、時刻t10以前においても、アクティブコマンドACTの発行による多数回のロウアクセスが行われており、これによってロウアドレスAddnに対応するカウンタ回路51のカウント値は、所定値-1までカウントアップされている。 In the example shown in FIG. 6, an active command ACT is issued from outside at time t10, and a refresh command REF is issued from outside at times t21, t22, t23, and t24. Although not shown, the time t10 even earlier, have been performed many times in a row access by issuing the active command ACT, is this the count value of the counter circuit 51 n corresponding to the row address Addn, counts up to a predetermined value -1 Has been up.
 この状態で、時刻t10にアクティブコマンドACTとともにロウアドレスAddnが入力されると、対応するカウンタ回路51のカウント値は所定値に達するため、時刻t11にて検出信号MAXnが活性化する。検出信号MAXnが活性化すると、上限判定回路53は、時刻t12,t13にてポインタ制御信号P1,P2をそれぞれ活性化させる。これに応答して、アドレスポインタ62に含まれるライトポインタ62Wは、そのカウント値であるライトポイント信号WPを時刻t12,t13にてそれぞれ更新する。図6に示す例では、時刻t12にてライトポイント信号WPの値が「1」となり、時刻t13にてライトポイント信号WPの値が「2」となっている。 In this state, when the row address Addn along with the active command ACT to the time t10 is input, the count value of the corresponding counter circuit 51 n is to reach a predetermined value, the detection signal MAXn is activated at time t11. When the detection signal MAXn is activated, the upper limit determination circuit 53 activates the pointer control signals P1 and P2 at times t12 and t13, respectively. In response to this, the write pointer 62W included in the address pointer 62 updates the count value of the write point signal WP at times t12 and t13. In the example shown in FIG. 6, the value of the light point signal WP becomes “1” at time t12, and the value of the light point signal WP becomes “2” at time t13.
 また、ポインタ制御信号P1,P2の活性化に応答して、アドレス書き込み回路63は、ロウアドレスAddn-1及びAddn+1を順次アドレスレジスタ61に出力する。これにより、アドレスレジスタ61に含まれるレジスタ回路61にロウアドレスAddn-1が格納され、レジスタ回路61にロウアドレスAddn+1が格納される。この時点においてはリードポイント信号RPの値は「0」であるため、時刻t11において選択信号PSELはハイレベルに活性化する。しかしながら、この時点ではまだ選択信号SELはローレベルであり、したがって選択回路42はリフレッシュカウンタ41の出力であるリフレッシュアドレスRADDaを選択する。図6に示す例では、この時点におけるリフレッシュアドレスRADDaの値はAddmであり、したがって、選択回路42から出力されるリフレッシュアドレスRADDの値もAddmである。 In response to activation of the pointer control signals P1 and P2, the address write circuit 63 sequentially outputs the row addresses Addn−1 and Addn + 1 to the address register 61. Thus, the row address Addn-1 to the register circuit 61 1 included in the address register 61 is stored in the row address Addn + 1 is stored in the register circuit 61 2. Since the value of the lead point signal RP is “0” at this time, the selection signal PSEL is activated to a high level at time t11. However, the selection signal SEL is still at the low level at this point, and therefore the selection circuit 42 selects the refresh address RADDa that is the output of the refresh counter 41. In the example shown in FIG. 6, the value of the refresh address RADDa at this time is Addm, and therefore the value of the refresh address RADD output from the selection circuit 42 is also Addm.
 次に、時刻t21において外部からリフレッシュコマンドREFが発行されると、図1に示すコマンドデコード回路33はリフレッシュ信号IREFを活性化させる。上述の通り、この時点におけるリフレッシュアドレスRADDの値はAddmであることから、ロウデコーダ12は、ロウアドレスAddmが示すワード線WLmにアクセスする。これにより、ワード線WLmに接続されたメモリセルMCの情報がリフレッシュされる。 Next, when a refresh command REF is issued from the outside at time t21, the command decoding circuit 33 shown in FIG. 1 activates the refresh signal IREF. As described above, since the value of the refresh address RADD at this time is Addm, the row decoder 12 accesses the word line WLm indicated by the row address Addm. Thereby, the information of the memory cells MC connected to the word line WLm is refreshed.
 また、リフレッシュ信号IREFの活性化に応答して、リフレッシュカウンタ41のカウント値がAddm+1に更新されるとともに、アドレスポインタ62に含まれるリードポインタ62Rは、そのカウント値であるリードポイント信号RPの値を「1」に更新する。これにより、アドレスレジスタ61からは、レジスタ回路61に格納されたロウアドレスAddn-1が出力される。 In response to the activation of the refresh signal IREF, the count value of the refresh counter 41 is updated to Addm + 1, and the read pointer 62R included in the address pointer 62 changes the value of the read point signal RP that is the count value. Update to “1”. Thus, from the address register 61, a row address Addn-1 stored in the register circuit 61 1 is output.
 さらに、リフレッシュ信号IREFの活性化に応答して選択信号SELがハイレベルに変化するため、選択回路42はアドレスレジスタ61の出力であるリフレッシュアドレスRADDbを選択することになる。したがって、選択回路42から出力されるリフレッシュアドレスRADDの値はAddn-1となる。 Furthermore, since the selection signal SEL changes to a high level in response to the activation of the refresh signal IREF, the selection circuit 42 selects the refresh address RADDb that is the output of the address register 61. Therefore, the value of the refresh address RADD output from the selection circuit 42 is Addn-1.
 さらに、リフレッシュ信号IREFが活性化した時点では選択信号SELがローレベルであることから、リフレッシュアドレスRADDの値であるAddmに基づいてデリート信号DELm+1が活性化され、ワード線WLm+1に対応するカウンタ回路51m+1がリセットされる。これは、ワード線WLmがディスターブを受ける原因の一つがワード線WLm+1へのロウアクセスであるところ(図2参照)、ワード線WLmがリフレッシュされ電荷が再生された結果、ワード線WLm+1へのロウアクセスをカウントすることによるワード線WLmのディスターブ不良を防止する必要が無くなるからである。 Further, since the selection signal SEL is at the low level when the refresh signal IREF is activated, the delete signal DELm + 1 is activated based on Addm which is the value of the refresh address RADD, and the counter circuit 51 corresponding to the word line WLm + 1. m + 1 is reset. This is because one of the reasons that the word line WLm is disturbed is the row access to the word line WLm + 1 (see FIG. 2). As a result of the word line WLm being refreshed and the charge being regenerated, the row access to the word line WLm + 1 is performed. This is because it is not necessary to prevent the disturb failure of the word line WLm due to the counting of.
 但し、ワード線WLm+1へのロウアクセスは、ワード線WLmだけでなくワード線WLm+2に対するディスターブも生じるため、本来であれば、ワード線WLmとワード線WLm+2の両方がリフレッシュされたことを条件としてワード線WLm+1に対応するカウンタ回路51m+1をリセットすべきであると考えられる。しかしながら、ワード線WLmに対するリフレッシュ動作がリフレッシュコマンドREFに応答したものである場合、リフレッシュカウンタ41があと2回更新されればワード線WLm+2がリフレッシュされるのであるから、その後短期間でワード線WLm+2がリフレッシュされるのは明らかである。この点を考慮し、本実施形態では、ワード線WLm+2へのリフレッシュ動作を待つことなく、ワード線WLmがリフレッシュされたことに応答してワード線WLm+1に対応するカウンタ回路51m+1をリセットしている。 However, since row access to the word line WLm + 1 causes disturbance not only to the word line WLm but also to the word line WLm + 2, the word line WLm + 2 is supposed to be refreshed on condition that both the word line WLm and the word line WLm + 2 are refreshed. It is considered that the counter circuit 51 m + 1 corresponding to WLm + 1 should be reset. However, if the refresh operation for the word line WLm is in response to the refresh command REF, the word line WLm + 2 is refreshed if the refresh counter 41 is updated two more times. It is clear that it will be refreshed. Considering this point, in the present embodiment, the counter circuit 51 m + 1 corresponding to the word line WLm + 1 is reset in response to the refresh of the word line WLm without waiting for the refresh operation to the word line WLm + 2. .
 もちろん、ワード線WLmとワード線WLm+2の両方がリフレッシュされたことを条件としてワード線WLm+1に対応するカウンタ回路51m+1がリセットされるよう、アクセスカウンタ制御回路52を構成することも可能である。但し、この場合、アクセスカウンタ制御回路52の回路構成がやや複雑となる。 Of course, the access counter control circuit 52 can be configured so that the counter circuit 51 m + 1 corresponding to the word line WLm + 1 is reset on condition that both the word line WLm and the word line WLm + 2 are refreshed. In this case, however, the circuit configuration of the access counter control circuit 52 is somewhat complicated.
 或いは、ワード線WLmに対するリフレッシュがリフレッシュコマンドREFに応答したものである場合、ワード線WLm-1に対応するカウンタ回路51m-1をリセットすることも可能である。これは、ワード線WLmがディスターブを受ける原因の一つがワード線WLm-1へのロウアクセスであるところ、ワード線WLmがリフレッシュされ電荷が再生された結果、ワード線WLm-1へのロウアクセスをカウントすることによるワード線WLmのディスターブ不良を防止する必要が無くなるからである。 Alternatively, when the refresh for the word line WLm is in response to the refresh command REF, it is possible to reset the counter circuit 51 m−1 corresponding to the word line WLm−1. This is because one of the reasons that the word line WLm is disturbed is the row access to the word line WLm−1. As a result of the word line WLm being refreshed and the charge being regenerated, the row access to the word line WLm−1 is performed. This is because it is not necessary to prevent the disturb failure of the word line WLm due to counting.
 ここでも、ワード線WLm-1へのロウアクセスは、ワード線WLmだけでなくワード線WLm-2に対するディスターブも生じるため、本来であれば、ワード線WLmとワード線WLm-2の両方がリフレッシュされたことを条件としてワード線WLm-1に対応するカウンタ回路51m-1をリセットすべきであると考えられる。しかしながら、ワード線WLmに対するリフレッシュ動作がリフレッシュコマンドREFに応答したものである場合、ワード線WLm-2はリフレッシュされた直後であると考えられるため、上記のようにカウンタ回路51m-1をリセットすることが可能である。 Again, row access to the word line WLm-1 causes disturbance to the word line WLm-2 as well as the word line WLm, so that both the word line WLm and the word line WLm-2 are refreshed. It is considered that the counter circuit 51 m−1 corresponding to the word line WLm−1 should be reset on the condition that However, if the refresh operation for the word line WLm is in response to the refresh command REF, the word line WLm-2 is considered to be immediately after being refreshed, and thus the counter circuit 51 m-1 is reset as described above. It is possible.
 さらには、ワード線WLmに対するリフレッシュがリフレッシュコマンドREFに応答したものである場合、ワード線WLm-1に対応するカウンタ回路51m-1と、ワード線WLm+1に対応するカウンタ回路51m+1の両方をリセットすることも可能である。これが可能である理由は、上記の説明から明らかであるため、重複する説明は省略する。 Furthermore, if a refresh for the word line WLm is that in response to the refresh command REF, reset the counter circuit 51 m-1 corresponding to the word lines WLm-1, both of the counter circuit 51 m + 1 corresponding to the word line WLm + 1 It is also possible to do. The reason why this is possible is clear from the above description, and a duplicate description is omitted.
 そして、時刻t22において再びリフレッシュコマンドREFが発行されると、ロウデコーダ12は、ロウアドレスAddn-1が示すワード線WLn-1にアクセスする。つまり、リフレッシュカウンタ41が示すロウアドレスAddm+1ではなく、アドレスレジスタ61が示すロウアドレスAddn-1に対してリフレッシュ動作が割り込み的に実行される。これにより、ワード線WLn-1に接続されたメモリセルMCの情報がリフレッシュされる。ワード線WLn-1はワード線WLnに隣接するワード線であり、ワード線WLnへの多数回に亘るロウアクセスによってディスターブを受けている。これによりワード線WLn-1に接続されたメモリセルMCの情報保持特性が低下しているおそれがあるが、時刻t22にてワード線WLn-1へのリフレッシュ動作を割り込み的に実行していることから、情報を正しく保持することが可能となる。 When the refresh command REF is issued again at time t22, the row decoder 12 accesses the word line WLn-1 indicated by the row address Addn-1. That is, the refresh operation is executed in an interrupt manner not on the row address Addm + 1 indicated by the refresh counter 41 but on the row address Addn-1 indicated by the address register 61. Thereby, the information of the memory cells MC connected to the word line WLn−1 is refreshed. The word line WLn−1 is a word line adjacent to the word line WLn, and is disturbed by many row accesses to the word line WLn. As a result, the information retention characteristic of the memory cell MC connected to the word line WLn−1 may be deteriorated, but the refresh operation to the word line WLn−1 is executed interruptively at time t22. Therefore, it becomes possible to hold the information correctly.
 また、この時点においては選択信号SELがハイレベルであることから、リフレッシュ信号IREFが活性化してもリフレッシュカウンタ41のカウント値は更新されず、Addm+1のまま維持される。さらに、リフレッシュ信号IREFの活性化に応答して、アドレスポインタ62に含まれるリードポインタ62Rは、そのカウント値であるリードポイント信号RPの値を「2」に更新する。これにより、アドレスレジスタ61からは、レジスタ回路61に格納されたロウアドレスAddn+1が出力される。したがって、選択回路42から出力されるリフレッシュアドレスRADDの値もAddn+1となる。また、リードポイント信号RPの値がライトポイント信号WPの値と一致することから、選択信号PSELはローレベルに変化する。但し、この時点では選択信号SELはハイレベルのままである。 At this time, since the selection signal SEL is at a high level, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm + 1. Further, in response to the activation of the refresh signal IREF, the read pointer 62R included in the address pointer 62 updates the value of the read point signal RP that is the count value to “2”. Thus, from the address register 61, a row address Addn + 1 stored in the register circuit 61 2 is output. Therefore, the value of the refresh address RADD output from the selection circuit 42 is also Addn + 1. Further, since the value of the read point signal RP matches the value of the write point signal WP, the selection signal PSEL changes to a low level. However, at this time, the selection signal SEL remains at a high level.
 時刻t23においてさらにリフレッシュコマンドREFが発行されると、ロウデコーダ12は、ロウアドレスAddn+1が示すワード線WLn+1にアクセスする。つまり、アドレスレジスタ61が示すロウアドレスAddn+1に対してリフレッシュ動作が割り込み的に実行され、当該メモリセルMCの情報がリフレッシュされる。ワード線WLn+1もワード線WLnに隣接するワード線でありディスターブを受けているが、時刻t23にてワード線WLn+1へのリフレッシュ動作を割り込み的に実行していることから、情報を正しく保持することが可能となる。 When the refresh command REF is further issued at time t23, the row decoder 12 accesses the word line WLn + 1 indicated by the row address Addn + 1. That is, the refresh operation is executed in an interrupt manner for the row address Addn + 1 indicated by the address register 61, and the information in the memory cell MC is refreshed. The word line WLn + 1 is also a word line adjacent to the word line WLn and is disturbed. However, since the refresh operation to the word line WLn + 1 is executed in an interrupt manner at time t23, the information can be held correctly. It becomes possible.
 また、この時点においても選択信号SELがハイレベルであることから、リフレッシュ信号IREFが活性化してもリフレッシュカウンタ41のカウント値は更新されず、Addm+1のまま維持される。また、リフレッシュ信号IREFの活性化に応答して、選択信号SELがローレベルに変化する。これにより、選択回路42はリフレッシュカウンタ41から出力されるリフレッシュアドレスRADDaを選択するため、選択回路42から出力されるリフレッシュアドレスRADDの値はAddm+1に切り替わる。 Also at this time, since the selection signal SEL is at the high level, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm + 1. Further, in response to the activation of the refresh signal IREF, the selection signal SEL changes to a low level. Thereby, since the selection circuit 42 selects the refresh address RADDa output from the refresh counter 41, the value of the refresh address RADD output from the selection circuit 42 is switched to Addm + 1.
 そして、時刻t24においてリフレッシュコマンドREFが発行されると、ロウデコーダ12は、ロウアドレスAddm+1が示すワード線WLm+1にアクセスする。つまり、通常通り、リフレッシュカウンタ41が示すロウアドレスに対してリフレッシュ動作が実行される。また、リフレッシュ信号IREFの活性化に応答してリフレッシュカウンタ41のカウント値がAddm+2に更新される。さらに、デリート信号DELm+2が活性化され、ワード線WLm+2に対応するカウンタ回路51m+2がリセットされる。 When the refresh command REF is issued at time t24, the row decoder 12 accesses the word line WLm + 1 indicated by the row address Addm + 1. That is, as usual, the refresh operation is performed on the row address indicated by the refresh counter 41. In response to the activation of the refresh signal IREF, the count value of the refresh counter 41 is updated to Addm + 2. Further, the delete signal DELm + 2 is activated, and the counter circuit 51 m + 2 corresponding to the word line WLm + 2 is reset.
 このように、本実施形態においては、ロウアドレスAddnが示すワード線WLnに対するロウアクセスの回数が所定値に達すると、これに隣接するワード線WLn-1,WLn+1に対して追加的なリフレッシュ動作が実行され、ディスターブによって低下したメモリセルMCの電荷量が再生される。これにより、アクセス履歴にかかわらず、各メモリセルMCに記憶された情報を正しく保持することが可能となる。 As described above, in the present embodiment, when the number of row accesses to the word line WLn indicated by the row address Addn reaches a predetermined value, an additional refresh operation is performed on the adjacent word lines WLn−1 and WLn + 1. The charge amount of the memory cell MC which has been executed and decreased due to the disturb is reproduced. Thereby, it is possible to correctly hold the information stored in each memory cell MC regardless of the access history.
 しかも、追加的なリフレッシュ動作を行う場合には、リフレッシュカウンタ41のカウント値の更新が停止されることから、通常のリフレッシュ動作についても正しく実行することが可能となる。但し、リフレッシュカウンタ41のカウント値の更新が停止すると、リフレッシュカウンタ41のカウント値が一周するために必要なリフレッシュコマンドREFの発行回数がその分増大する。このことは、リフレッシュサイクルが設計値よりも若干長くなることを意味するが、既に説明したとおり、実際には各メモリセルMCの情報保持時間はリフレッシュサイクルに対して十分なマージンを有しているため、規格によって定められたリフレッシュサイクルよりもやや長いサイクルでリフレッシュ動作を行った場合であっても、メモリセルMCの情報は正しく保持される。 In addition, when an additional refresh operation is performed, the update of the count value of the refresh counter 41 is stopped, so that the normal refresh operation can be correctly executed. However, when the update of the count value of the refresh counter 41 is stopped, the number of times of issuing the refresh command REF necessary for the count value of the refresh counter 41 to go around increases. This means that the refresh cycle is slightly longer than the design value, but as described above, the information retention time of each memory cell MC actually has a sufficient margin for the refresh cycle. Therefore, even when the refresh operation is performed in a cycle slightly longer than the refresh cycle determined by the standard, the information in the memory cell MC is correctly held.
 次に、本発明の第2の実施形態について説明する。 Next, a second embodiment of the present invention will be described.
 図7は、本発明の第2の実施形態におけるメモリセルアレイ11の構造を示す略平面図である。 FIG. 7 is a schematic plan view showing the structure of the memory cell array 11 in the second embodiment of the present invention.
 図7に示すように、本実施形態においては、ビット線コンタクトBLCを共有する2つのセルトランジスタTrに対応するワード線WL(例えば、ワード線WLn(0)とWLn(1))が互いに近接して配置されており、その間隔はW1である。ビット線コンタクトBLCとは、セルトランジスタTrのソース/ドレインの一方とビット線BLとを接続するためのコンタクト導体である。ソース/ドレインの他方は、セルコンタクトCCを介して図示しないセルキャパシタCに接続される。 As shown in FIG. 7, in this embodiment, word lines WL (for example, word lines WLn (0) and WLn (1)) corresponding to two cell transistors Tr sharing the bit line contact BLC are close to each other. The interval is W1. The bit line contact BLC is a contact conductor for connecting one of the source / drain of the cell transistor Tr and the bit line BL. The other of the source / drain is connected to a cell capacitor C (not shown) via a cell contact CC.
 これに対し、ビット線コンタクトBLCを共有しないセルトランジスタTrに対応する隣接したワード線WL(例えば、ワード線WLn(1)とWLn+1(0))の間隔は、間隔W1よりも広い間隔W2である。このようなレイアウトとなるのは、図7に示すように、A方向を長手方向とする活性領域ARaと、B方向を長手方向とする活性領域ARbを、X方向に交互に形成しているためである。 On the other hand, the interval between adjacent word lines WL (for example, word lines WLn (1) and WLn + 1 (0)) corresponding to the cell transistors Tr not sharing the bit line contact BLC is an interval W2 wider than the interval W1. . As shown in FIG. 7, this layout is obtained because active regions ARa whose longitudinal direction is the A direction and active regions ARb whose longitudinal direction is the B direction are alternately formed in the X direction. It is.
 メモリセルアレイ11がこのようなレイアウトを有している場合、あるワード線WLn(0)が繰り返しアクセスされた場合であっても、間隔W1で隣接するワード線WLn(1)に対しては寄生容量Cp1が大きいためディスターブ現象が発生するが、間隔W2で隣接するワード線WLn-1(1)に対しては寄生容量Cp2が小さいためディスターブ現象がほとんど発生しない。したがって、このようなレイアウトを有している場合には、ディスターブ現象の発生するワード線WLn(1)に対しては追加的なリフレッシュ動作を行う必要があるが、他方のワード線WLn-1(1)に対しては追加的なリフレッシュ動作を行う必要はない。 When the memory cell array 11 has such a layout, even if a certain word line WLn (0) is repeatedly accessed, a parasitic capacitance is applied to the adjacent word line WLn (1) at the interval W1. Since Cp1 is large, a disturb phenomenon occurs. However, since the parasitic capacitance Cp2 is small for the adjacent word line WLn-1 (1) at the interval W2, the disturb phenomenon hardly occurs. Therefore, in the case of such a layout, it is necessary to perform an additional refresh operation for the word line WLn (1) in which the disturb phenomenon occurs, but the other word line WLn−1 ( For 1), no additional refresh operation is required.
 また、間隔W1で隣接するワード線WLn(0)とWLn(1)は、割り当てられたロウアドレスの最下位ビット(A0)のみが相違し、他のビット(A1~A13)の値が一致している。このような特徴を考慮し、本実施形態においてはリフレッシュ制御回路40の回路構成の簡素化を図っている。以下、本実施形態におけるリフレッシュ制御回路40の構成及び動作について詳細に説明する。 Also, adjacent word lines WLn (0) and WLn (1) at the interval W1 differ only in the least significant bit (A0) of the assigned row address, and the values of the other bits (A1 to A13) match. ing. In consideration of such characteristics, in the present embodiment, the circuit configuration of the refresh control circuit 40 is simplified. Hereinafter, the configuration and operation of the refresh control circuit 40 in the present embodiment will be described in detail.
 図8は、第2の実施形態によるリフレッシュ制御回路40の回路図である。 FIG. 8 is a circuit diagram of the refresh control circuit 40 according to the second embodiment.
 図8に示すように、第2の実施形態によるリフレッシュ制御回路40は、アクセスカウント部100及びアドレス発生部200が用いられる他は、図4に示したリフレッシュ制御回路40とほぼ同様の構成を有している。但し、アクセスカウント部100に供給されるアドレス信号IADDは、ビットA0~A13のうちビットA1~A13からなる13ビットのみである。つまり、最下位ビットA0は縮退される。また、第1の実施形態とは異なり、アクセスカウント部100に選択信号SELはフィードバックされない。 As shown in FIG. 8, the refresh control circuit 40 according to the second embodiment has substantially the same configuration as the refresh control circuit 40 shown in FIG. 4 except that the access count unit 100 and the address generation unit 200 are used. is doing. However, the address signal IADD supplied to the access count unit 100 is only 13 bits including bits A1 to A13 among the bits A0 to A13. That is, the least significant bit A0 is degenerated. Further, unlike the first embodiment, the selection signal SEL is not fed back to the access count unit 100.
 図9は、アクセスカウント部100のブロック図である。 FIG. 9 is a block diagram of the access count unit 100.
 図9に示すように、アクセスカウント部100は、メモリセルアレイ110及びロウデコーダ120を有している。特に限定されるものではないが、メモリセルアレイ110は複数のSRAM(Static Random Access Memory)セルがマトリクス状に配置された構成を有している。具体的には、(p+1)/2本のワード線RWL0~RWL(p-1)/2と、T+1本のビット線RBL0~RBLTを有し、これらの交点にそれぞれSRAMセルが配置された構成を有している。ここで、p+1の値は、図1に示すメモリセルアレイ11に含まれるワード線WL0~WLpの本数である。つまり、メモリセルアレイ110に含まれるワード線RWLの本数は、メモリセルアレイ11に含まれるワード線WLの本数の半分である。これは、アクセス履歴の解析において最下位ビットA0を縮退しているためである。 As shown in FIG. 9, the access count unit 100 includes a memory cell array 110 and a row decoder 120. Although not particularly limited, the memory cell array 110 has a configuration in which a plurality of SRAM (Static Random Access Memory) cells are arranged in a matrix. Specifically, it has (p + 1) / 2 word lines RWL0 to RWL (p-1) / 2 and T + 1 bit lines RBL0 to RBLT, and SRAM cells are respectively arranged at the intersections thereof. have. Here, the value of p + 1 is the number of word lines WL0 to WLp included in the memory cell array 11 shown in FIG. That is, the number of word lines RWL included in the memory cell array 110 is half of the number of word lines WL included in the memory cell array 11. This is because the least significant bit A0 is degenerated in the analysis of the access history.
 また、ビット線RBL0~RBLTは、リード回路130を構成するリード回路130~130にそれぞれ接続されている。リード回路130は、ビット線RBL0~RBLTを介して読み出されたデータ(カウント値)を、カウンタ回路140に含まれるレジスタ回路140~140に書き込む回路である。レジスタ回路140~140は縦続接続されており、これによりバイナリカウンタを構成する。また、カウンタ回路140には最上位のレジスタ回路140T+1が追加されており、その値は検出信号MAXとして出力される。したがって、レジスタ回路140~140の値が最大値(オール1)である場合にカウントアップされると、レジスタ回路140T+1の格納値である検出信号MAXが0から1に反転する。このように、レジスタ回路140T+1はカウント値が所定値に達したことを検出する検出回路として機能する。 The bit lines RBL0 to RBLT are connected to the read circuits 130 0 to 130 T constituting the read circuit 130, respectively. The read circuit 130 is a circuit that writes data (count value) read via the bit lines RBL0 to RBLT to the register circuits 140 0 to 140 T included in the counter circuit 140. The register circuits 140 0 to 140 T are connected in cascade, thereby constituting a binary counter. Further, the highest-order register circuit 140 T + 1 is added to the counter circuit 140, and the value is output as the detection signal MAX. Therefore, when the value of the register circuits 140 0 to 140 T is the maximum value (all 1), the detection signal MAX, which is the stored value of the register circuit 140 T + 1 , is inverted from 0 to 1. Thus, the register circuit 140 T + 1 functions as a detection circuit that detects that the count value has reached a predetermined value.
 レジスタ回路140~140から出力されるデータ(カウント値)は、それぞれ対応するライト回路150~150によって対応するビット線RBL0~RBLTに供給され、当該メモリセルにライトバックされる。 Data (count values) output from the register circuits 140 0 to 140 T are respectively supplied to the corresponding bit lines RBL 0 to RBLT by the corresponding write circuits 150 0 to 150 T, and are written back to the memory cells.
 これらロウデコーダ120、リード回路130、カウンタ回路140及びライト回路150の動作は、コマンド制御回路160によって制御される。コマンド制御回路160は、アクティブ信号IACT、リフレッシュ信号IREF及びリセット信号RESETを受け、これらに基づいてアクティブ信号RACT、カウントアップ信号RCNT、リセット信号RRST、リード信号RREAD、ライト信号RWRTを生成する。ここで、アクティブ信号RACTは、ロウデコーダ120を活性化させる信号であり、カウントアップ信号RCNTはカウンタ回路140のカウント値をカウントアップする信号であり、リセット信号RRSTはカウンタ回路140のカウント値をリセットする信号である。また、リード信号RREADはリード回路130を活性化させる信号であり、ライト信号RWRTはライト回路150を活性化させる信号である。 The operations of the row decoder 120, the read circuit 130, the counter circuit 140, and the write circuit 150 are controlled by the command control circuit 160. The command control circuit 160 receives the active signal IACT, the refresh signal IREF, and the reset signal RESET, and generates an active signal RACT, a count up signal RCNT, a reset signal RRST, a read signal RREAD, and a write signal RWRT based on them. Here, the active signal RACT is a signal that activates the row decoder 120, the count-up signal RCNT is a signal that counts up the count value of the counter circuit 140, and the reset signal RRST resets the count value of the counter circuit 140. Signal. The read signal RREAD is a signal that activates the read circuit 130, and the write signal RWRT is a signal that activates the write circuit 150.
 図10は、コマンド制御回路160の回路図である。 FIG. 10 is a circuit diagram of the command control circuit 160.
 図10に示すように、コマンド制御回路160は、アクティブ信号IACTによってセットされるラッチ回路SR1と、リフレッシュ信号IREFによってセットされるラッチ回路SR2を備えている。ラッチ回路SR1の出力信号OUT1は、ディレイ素子DLY2及びパルス生成回路PLS1を介し、リード信号RREADとして出力される。また、ラッチ回路SR2の出力信号OUT2は、パルス生成回路PLS2を介し、リセット信号RRSTとして出力される。 As shown in FIG. 10, the command control circuit 160 includes a latch circuit SR1 set by an active signal IACT and a latch circuit SR2 set by a refresh signal IREF. The output signal OUT1 of the latch circuit SR1 is output as a read signal RREAD via the delay element DLY2 and the pulse generation circuit PLS1. The output signal OUT2 of the latch circuit SR2 is output as the reset signal RRST through the pulse generation circuit PLS2.
 さらに、出力信号OUT1,OUT2はNANDゲート回路G1に供給され、その出力信号は、ディレイ素子DLY1を介してアクティブ信号RACTとして出力される。アクティブ信号RACTは、ディレイ素子DLY3を介してカウントアップ信号RCNTとして出力される。 Further, the output signals OUT1 and OUT2 are supplied to the NAND gate circuit G1, and the output signal is output as the active signal RACT via the delay element DLY1. The active signal RACT is output as the count up signal RCNT through the delay element DLY3.
 さらに、コマンド制御回路160は、リード信号RREAD及びリセット信号RRSTを受けるNORゲート回路G2の出力信号によってセットされるラッチ回路SR3を備えている。ラッチ回路SR3は、NANDゲート回路G1の出力信号によってリセットされる。ラッチ回路SR3の出力信号は、ディレイ素子DLY4及びANDゲート回路G3を介し、ライト信号RWRTとして出力される。ライト信号RWRTは、ディレイ素子DLY5及びORゲート回路G4を介してラッチ回路SR1,SR2にフィードバックされ、これらをリセットする。また、ラッチ回路SR1~SR3は、リセット信号RESETによってもリセットされる。 Further, the command control circuit 160 includes a latch circuit SR3 that is set by the output signal of the NOR gate circuit G2 that receives the read signal RREAD and the reset signal RRST. The latch circuit SR3 is reset by the output signal of the NAND gate circuit G1. The output signal of the latch circuit SR3 is output as the write signal RWRT via the delay element DLY4 and the AND gate circuit G3. The write signal RWRT is fed back to the latch circuits SR1 and SR2 via the delay element DLY5 and the OR gate circuit G4 to reset them. The latch circuits SR1 to SR3 are also reset by a reset signal RESET.
 図11は、外部からアクティブコマンドACTが発行された場合におけるコマンド制御回路160の動作を説明するためのタイミング図である。 FIG. 11 is a timing chart for explaining the operation of the command control circuit 160 when an active command ACT is issued from the outside.
 外部からアクティブコマンドACTが発行されると、アクティブ信号IACTが活性化し、ラッチ回路SR1がセットされる。これにより出力信号OUT1がローレベルに変化し、アクティブ信号RACT及びリード信号RREADがこの順に活性化する。出力信号OUT1がローレベルに変化してから、アクティブ信号RACT及びリード信号RREADが活性化するまでのタイミングは、それぞれディレイ素子DLY1,DLY2の遅延量によって定義される。また、アクティブ信号RACTが活性化すると、ディレイ素子DLY3による遅延を経て、カウントアップ信号RCNTが活性化する。 When an active command ACT is issued from the outside, the active signal IACT is activated and the latch circuit SR1 is set. As a result, the output signal OUT1 changes to the low level, and the active signal RACT and the read signal RREAD are activated in this order. The timing from when the output signal OUT1 changes to the low level until the active signal RACT and the read signal RREAD are activated is defined by the delay amounts of the delay elements DLY1 and DLY2, respectively. Further, when the active signal RACT is activated, the count-up signal RCNT is activated through a delay by the delay element DLY3.
 一方、リード信号RREADが活性化すると、ラッチ回路SR3がセットされるため、ディレイ素子DLY4による遅延を経て、ライト信号RWRTが活性化する。その後、ディレイ素子DLY5による遅延を経てエンド信号ENDが活性化し、ラッチ回路SR1,SR3がリセットされ、初期状態に戻る。このように、外部からアクティブコマンドACTが発行されると、アクティブ信号RACT、リード信号RREAD、カウントアップ信号RCNT、ライト信号RWRTがこの順に活性化することになる。 On the other hand, since the latch circuit SR3 is set when the read signal RREAD is activated, the write signal RWRT is activated through the delay by the delay element DLY4. Thereafter, the end signal END is activated through a delay by the delay element DLY5, the latch circuits SR1 and SR3 are reset, and the initial state is restored. Thus, when the active command ACT is issued from the outside, the active signal RACT, the read signal RREAD, the count up signal RCNT, and the write signal RWRT are activated in this order.
 まず、アクティブ信号RACTが活性化すると、図9に示すロウデコーダ120は、ロウアドレスIADD(A1~A13)が示すワード線RWLを選択する。これにより、選択されたワード線RWLに対応するデータ(カウント値)がビット線RBLに読み出される。上述の通り、アクセスカウント部100に入力されるロウアドレスIADDは、最下位ビットA0が縮退されている。したがって、アクティブ信号RACTに応答して選択されるワード線RWLは、図7に示す間隔W1で隣接する2つのワード線WL(例えば、ワード線WLn(0)とワード線WLn(1))に対して共通に割り当てられている。 First, when the active signal RACT is activated, the row decoder 120 shown in FIG. 9 selects the word line RWL indicated by the row address IADD (A1 to A13). As a result, data (count value) corresponding to the selected word line RWL is read to the bit line RBL. As described above, in the row address IADD input to the access count unit 100, the least significant bit A0 is degenerated. Therefore, the word line RWL selected in response to the active signal RACT is to two adjacent word lines WL (for example, the word line WLn (0) and the word line WLn (1)) at the interval W1 shown in FIG. Assigned in common.
 次に、リード信号RREADが活性化すると、ビット線RBLに読み出されたデータ(カウント値)がリード回路130によって増幅され、カウンタ回路140にロードされる。図11に示す例では読み出されたカウント値がkであり、この値がカウンタ回路140にロードされる。 Next, when the read signal RREAD is activated, the data (count value) read to the bit line RBL is amplified by the read circuit 130 and loaded into the counter circuit 140. In the example shown in FIG. 11, the read count value is k, and this value is loaded into the counter circuit 140.
 続いて、カウントアップ信号RCNTが活性化すると、カウンタ回路140にロードされたカウント値がインクリメントされる。つまり、カウント値がkからk+1に変化する。そして、ライト信号RWRTが活性化すると、更新されたカウント値(k+1)がライト回路150を介してメモリセルアレイ110にライトバックされる。 Subsequently, when the count-up signal RCNT is activated, the count value loaded in the counter circuit 140 is incremented. That is, the count value changes from k to k + 1. When the write signal RWRT is activated, the updated count value (k + 1) is written back to the memory cell array 110 via the write circuit 150.
 以上の動作により、入力されたロウアドレスIADD(A1~A13)に対応するカウント値がインクリメントされる。かかる動作は、外部からアクティブコマンドACTが発行されるたびに実行されるため、間隔W1で隣接する2つのワード線WLを1単位として、ロウアクセスの回数をカウントすることができる。但し、ロウアドレスIADDの最下位ビットA0が縮退されているため、間隔W1で隣接する2つのワード線WLのいずれに対するアクセスであるかは区別されない。 By the above operation, the count value corresponding to the input row address IADD (A1 to A13) is incremented. Since this operation is executed every time an active command ACT is issued from the outside, the number of row accesses can be counted with two adjacent word lines WL as a unit at the interval W1. However, since the least significant bit A0 of the row address IADD is degenerated, it is not distinguished which of the two adjacent word lines WL is accessed at the interval W1.
 このような動作を繰り返した結果、カウンタ回路140に含まれる最上位のレジスタ回路140T+1の値が0から1に反転すると、つまりカウント値が所定値に達すると、検出信号MAXがハイレベルに活性化する。検出信号MAXは、図8に示したアドレス発生部200に供給される。 As a result of repeating such an operation, when the value of the highest register circuit 140 T + 1 included in the counter circuit 140 is inverted from 0 to 1, that is, when the count value reaches a predetermined value, the detection signal MAX is activated to a high level. Turn into. The detection signal MAX is supplied to the address generator 200 shown in FIG.
 図12は、外部からリフレッシュコマンドREFが発行された場合におけるコマンド制御回路160の動作を説明するためのタイミング図である。 FIG. 12 is a timing chart for explaining the operation of the command control circuit 160 when a refresh command REF is issued from the outside.
 外部からリフレッシュコマンドREFが発行されると、リフレッシュ信号IREFが活性化し、図10に示すラッチ回路SR2がセットされる。これにより、出力信号OUT2がローレベルに変化するため、リセット信号RRST及びアクティブ信号RACTがこの順に活性化する。出力信号OUT2がローレベルに変化してから、アクティブ信号RACTが活性化するまでのタイミングは、ディレイ素子DLY1の遅延量によって定義される。 When a refresh command REF is issued from the outside, the refresh signal IREF is activated, and the latch circuit SR2 shown in FIG. 10 is set. As a result, the output signal OUT2 changes to a low level, and the reset signal RRST and the active signal RACT are activated in this order. The timing from when the output signal OUT2 changes to the low level to when the active signal RACT is activated is defined by the delay amount of the delay element DLY1.
 リセット信号RRSTが活性化すると、ラッチ回路SR3がセットされるため、ディレイ素子DLY4による遅延を経て、ライト信号RWRTが活性化する。その後、ディレイ素子DLY5による遅延を経てエンド信号ENDが活性化し、ラッチ回路SR2,SR3がリセットされ、初期状態に戻る。このように、外部からリフレッシュコマンドREFが発行されると、リセット信号RRST、アクティブ信号RACT、ライト信号RWRTがこの順に活性化することになる。本例では、カウントアップ信号RCNTも活性化しているが、これによる動作はリセット信号RRSTによって無視される。なお、リフレッシュコマンドREFに応答したカウントアップ信号RCNTの活性化を禁止する回路構成とすることも可能である。 When the reset signal RRST is activated, the latch circuit SR3 is set, so that the write signal RWRT is activated after being delayed by the delay element DLY4. Thereafter, the end signal END is activated through a delay by the delay element DLY5, the latch circuits SR2 and SR3 are reset, and the initial state is restored. Thus, when the refresh command REF is issued from the outside, the reset signal RRST, the active signal RACT, and the write signal RWRT are activated in this order. In this example, the count-up signal RCNT is also activated, but the operation due to this is ignored by the reset signal RRST. A circuit configuration that prohibits activation of the count-up signal RCNT in response to the refresh command REF is also possible.
 また、リセット信号RRSTが活性化すると、カウンタ回路140を構成するレジスタ回路140~140T+1がリセットされ、これによりカウンタ回路140のカウント値が初期値(例えば0)にリセットされる。本例では、その後カウントアップ信号RCNTが活性化するが、リセット信号RRSTの活性状態が維持されているため、カウンタ回路140のカウント値は初期値に保たれる。次に、アクティブ信号RACTが活性化し、リフレッシュアドレスRADD(A1~A13)に対応するワード線RWLが選択される。 Further, when the reset signal RRST is activated, the register circuits 140 0 to 140 T + 1 constituting the counter circuit 140 are reset, and thereby the count value of the counter circuit 140 is reset to an initial value (for example, 0). In this example, the count-up signal RCNT is then activated, but the count signal of the counter circuit 140 is maintained at the initial value because the active state of the reset signal RRST is maintained. Next, the active signal RACT is activated, and the word line RWL corresponding to the refresh address RADD (A1 to A13) is selected.
 そして、ライト信号RWRTが活性化すると、初期化されたカウント値(例えば0)がライト回路150を介してメモリセルアレイ110に書き込まれる。これにより、当該ワード線RWLに対応するカウント値が例えば0に初期化される。 Then, when the write signal RWRT is activated, the initialized count value (for example, 0) is written into the memory cell array 110 via the write circuit 150. As a result, the count value corresponding to the word line RWL is initialized to 0, for example.
 以上の動作により、リフレッシュアドレスRADD(A1~A13)に対応するカウント値が初期化される。ここでも、リフレッシュアドレスRADDの最下位ビットA0が縮退されているため、間隔W1で隣接する2つのワード線WLのいずれに対するリフレッシュ動作であっても、対応するカウント値はリセットされることになる。 By the above operation, the count value corresponding to the refresh address RADD (A1 to A13) is initialized. Again, since the least significant bit A0 of the refresh address RADD is degenerated, the corresponding count value is reset regardless of the refresh operation for any two adjacent word lines WL at the interval W1.
 以上がコマンド制御回路160の回路構成及び動作である。このようなコマンド制御回路160による制御により、間隔W1で隣接する2つのワード線WLのいずれがアクセスされた場合であっても、対応するカウント値がカウントアップされ、これが所定値に達すると検出信号MAXが活性化する。一方、間隔W1で隣接する2つのワード線WLのいずれがリフレッシュされた場合であっても、対応するカウント値がリセットされる。 The above is the circuit configuration and operation of the command control circuit 160. By such control by the command control circuit 160, the corresponding count value is counted up regardless of which of the two adjacent word lines WL is accessed at the interval W1, and when this reaches a predetermined value, the detection signal MAX is activated. On the other hand, even if any of the two adjacent word lines WL is refreshed at the interval W1, the corresponding count value is reset.
 また、外部からリセット信号RESETが発行された場合には、メモリセルアレイ110に含まれる全てのSRAMセルがリセットされ、これにより全てのカウント値が例えば0に初期化される。かかる動作は、ロウデコーダ120によって全てのワード線RWL0~RWL(p-1)/2を選択し、この状態でビット線RBL0~RBLTに初期値を与えることによって行われる。 Further, when a reset signal RESET is issued from the outside, all the SRAM cells included in the memory cell array 110 are reset, and thereby all count values are initialized to 0, for example. Such an operation is performed by selecting all the word lines RWL0 to RWL (p−1) / 2 by the row decoder 120 and giving initial values to the bit lines RBL0 to RBLT in this state.
 図13は、アドレス発生部200のブロック図である。 FIG. 13 is a block diagram of the address generation unit 200.
 図13に示すように、アドレス発生部200は、メモリセルアレイ210、ロウデコーダ220、アドレスライト回路230及びアドレスリード回路240を有している。特に限定されるものではないが、メモリセルアレイ210は複数のSRAM(Static Random Access Memory)セルがマトリクス状に配置された構成を有している。具体的には、r+1本のワード線RRWL0~RRWLrと、13本のビット線RRBL1~RRBL13を有し、これらの交点にそれぞれSRAMセルが配置された構成を有している。 As shown in FIG. 13, the address generating unit 200 includes a memory cell array 210, a row decoder 220, an address write circuit 230, and an address read circuit 240. Although not particularly limited, the memory cell array 210 has a configuration in which a plurality of SRAM (Static Random Access Memory) cells are arranged in a matrix. Specifically, it has a configuration in which r + 1 word lines RRWL0 to RRWLr and 13 bit lines RRBL1 to RRBL13 are arranged, and SRAM cells are respectively arranged at intersections thereof.
 ワード線RRWL0~RRWLrの選択は、ライトカウンタ250又はリードカウンタ260から出力されるロウアドレスRAに基づき、リフレッシュ信号IREFに応答して行われる。ライトカウンタ250から出力されるロウアドレスRAは、アドレスライト回路230を用いてメモリセルアレイ210にロウアドレスIADD(A1~A13)を書き込む際に参照される。リードカウンタ260から出力されるロウアドレスRAは、アドレスリード回路240を用いてメモリセルアレイ210からリフレッシュアドレスRADDb(A1~A13)を読み出す際に参照される。後述するとおり、メモリセルアレイ210に書き込まれるロウアドレスIADD(A1~A13)は、アクセス回数が所定値に達したワード線WLn(0)又はWLn(1)を示している。 The selection of the word lines RRWL0 to RRWLr is performed in response to the refresh signal IREF based on the row address RA output from the write counter 250 or the read counter 260. The row address RA output from the write counter 250 is referred to when the row address IADD (A1 to A13) is written to the memory cell array 210 using the address write circuit 230. The row address RA output from the read counter 260 is referred to when the refresh address RADDb (A1 to A13) is read from the memory cell array 210 using the address read circuit 240. As will be described later, the row address IADD (A1 to A13) written in the memory cell array 210 indicates the word line WLn (0) or WLn (1) whose access count has reached a predetermined value.
 アドレスライト回路230は、ロウアドレスIADD(A1~A13)の各ビットに対応するライト回路230~23013からなり、ライトカウンタ250から出力されるロウアドレスRAにロウアドレスIADD(A1~A13)を書き込む役割を果たす。 The address write circuit 230 includes write circuits 230 1 to 230 13 corresponding to the respective bits of the row address IADD (A1 to A13). The row address IADD (A1 to A13) is applied to the row address RA output from the write counter 250. Play the role of writing.
 一方、アドレスリード回路240は、リフレッシュアドレスRADDb(A1~A13)の各ビットに対応するリード回路240~24013を含み、リードカウンタ260から出力されるロウアドレスRAからリフレッシュアドレスRADDb(A1~A13)を読み出す役割を果たす。また、アドレスリード回路240にはLSB出力回路240が含まれており、リフレッシュアドレスRADDbの最下位ビットA0は、LSB出力回路240の出力信号が用いられる。LSB出力回路240の出力信号であるビットA0は、選択信号発生回路270から出力されるクロック信号CLKA,CLKBに基づいて反転する。 On the other hand, the address read circuit 240 includes read circuits 240 1 to 240 13 corresponding to the respective bits of the refresh address RADDb (A1 to A13), and the refresh address RADDb (A1 to A13) from the row address RA output from the read counter 260. ). Further, the address read circuit 240 includes a LSB output circuit 240 0, the least significant bit A0 of the refresh address RADDb, the output signal of the LSB output circuit 240 0 is used. Bit A0 is the output signal of the LSB output circuit 240 0, the clock signal CLKA output from the selection signal generating circuit 270, inverted on the basis of CLKB.
 選択信号発生回路270は、選択信号PSEL及びリフレッシュ信号IREFに基づいて、選択信号SEL及び上述したクロック信号CLKA,CLKBを生成する回路である。選択信号SELは、図8に示した選択回路42に供給され、リフレッシュアドレスRADDa又はRADDbの選択に用いられる他、リフレッシュカウンタ41にも供給され、リフレッシュ信号IREFに応答したリフレッシュカウンタ41の更新動作を許可又は禁止するために用いられる。 The selection signal generation circuit 270 is a circuit that generates the selection signal SEL and the clock signals CLKA and CLKB described above based on the selection signal PSEL and the refresh signal IREF. The selection signal SEL is supplied to the selection circuit 42 shown in FIG. 8, and is used not only to select the refresh address RADDa or RADDb, but also to the refresh counter 41, and performs an update operation of the refresh counter 41 in response to the refresh signal IREF. Used to allow or prohibit.
 選択信号PSELは、追加リフレッシュカウンタ280によって生成される。追加リフレッシュカウンタ280は、検出信号MAXに応答して2カウントだけカウントアップし、リフレッシュ信号IREFに応答して1カウントだけカウントダウンする回路であり、カウント値が1以上であれば、選択信号PSELを活性化させる。 The selection signal PSEL is generated by the additional refresh counter 280. The additional refresh counter 280 is a circuit that counts up by 2 counts in response to the detection signal MAX and counts down by 1 count in response to the refresh signal IREF. If the count value is 1 or more, the additional refresh counter 280 activates the selection signal PSEL. Make it.
 図14は、追加リフレッシュカウンタ280及び選択信号発生回路270の動作を説明するためのタイミング図である。 FIG. 14 is a timing chart for explaining operations of the additional refresh counter 280 and the selection signal generation circuit 270.
 図14に示す例では、時刻t31,t32においてアクティブ信号IACTが活性化し、時刻t41,t42,t43,t44,t45においてリフレッシュ信号IREFが活性化している。また、時刻t31,t32におけるアクティブ信号IACTの活性化に応答して、いずれも検出信号MAXが活性化している。このことは、時刻t31のアクティブ信号IACTに応答したロウアクセスによって、あるワード線WLのアクセス回数が所定値を超え、さらに、時刻t32のアクティブ信号IACTに応答したロウアクセスによって、別のワード線WLのアクセス回数が所定値を超えたことを意味している。 In the example shown in FIG. 14, the active signal IACT is activated at times t31 and t32, and the refresh signal IREF is activated at times t41, t42, t43, t44, and t45. Further, in response to the activation of the active signal IACT at times t31 and t32, the detection signal MAX is activated. This is because the number of accesses to a certain word line WL exceeds a predetermined value due to the row access in response to the active signal IACT at time t31, and another word line WL is also caused by the row access in response to the active signal IACT at time t32. This means that the number of accesses exceeds the predetermined value.
 この場合、検出信号MAXの1回目の活性化に応答して追加リフレッシュカウンタ280のカウント値が「0」から「2」にカウントアップされ、検出信号MAXの2回目の活性化に応答して追加リフレッシュカウンタ280のカウント値が「2」から「4」にカウントアップされる。また、追加リフレッシュカウンタ280のカウント値が「1」以上となったことに応答して、選択信号PSELがハイレベルに活性化する。 In this case, the count value of the additional refresh counter 280 is counted up from “0” to “2” in response to the first activation of the detection signal MAX, and is added in response to the second activation of the detection signal MAX. The count value of the refresh counter 280 is counted up from “2” to “4”. Further, in response to the count value of the additional refresh counter 280 becoming “1” or more, the selection signal PSEL is activated to a high level.
 その後、時刻t41,t42,t43,t44におけるリフレッシュ信号IREFの活性化に応答して、追加リフレッシュカウンタ280のカウント値は、「3」、「2」、「1」、「0」とカウントダウンされ、選択信号PSELがローレベルに戻る。なお、時刻t45においてもリフレッシュ信号IREFが活性化されているが、この時点では、既に追加リフレッシュカウンタ280のカウント値が最小値(0)となっているため、その値は変化しない。 Thereafter, in response to activation of the refresh signal IREF at times t41, t42, t43, and t44, the count value of the additional refresh counter 280 is counted down to “3”, “2”, “1”, “0”, The selection signal PSEL returns to the low level. At time t45, the refresh signal IREF is activated, but at this time, the count value of the additional refresh counter 280 has already reached the minimum value (0), so that value does not change.
 図15は、選択信号発生回路270の回路図である。 FIG. 15 is a circuit diagram of the selection signal generation circuit 270.
 図15に示すように、選択信号発生回路270は、リフレッシュ信号IREFに応答して選択信号PSELをラッチするラッチ回路271を備えており、その出力信号が選択信号PSELとして用いられる。このため、選択信号SELは、選択信号PSELがハイレベルに活性化した後、次のリフレッシュ信号IREF(図14に示す時刻t41のリフレッシュ信号IREF)に応答してハイレベルに変化する。また、選択信号PSELがローレベルに非活性化した後、次のリフレッシュ信号IREF(図14に示す時刻t45のリフレッシュ信号IREF)に応答してローレベルに戻る。 As shown in FIG. 15, the selection signal generation circuit 270 includes a latch circuit 271 that latches the selection signal PSEL in response to the refresh signal IREF, and the output signal is used as the selection signal PSEL. Therefore, the selection signal SEL changes to the high level in response to the next refresh signal IREF (the refresh signal IREF at time t41 shown in FIG. 14) after the selection signal PSEL is activated to the high level. In addition, after the selection signal PSEL is deactivated to the low level, it returns to the low level in response to the next refresh signal IREF (refresh signal IREF at time t45 shown in FIG. 14).
 さらに、選択信号SEL及びリフレッシュ信号IREFは、図15に示すゲート回路G5に供給され、これにより、選択信号SELがハイレベルに活性化されていることを条件として、リフレッシュ信号IREFに基づいてラッチ回路272,273が交互に選択される。選択されたラッチ回路272,273は、その出力信号を反転させるため、リフレッシュ信号IREFに応答してクロック信号CLKA,CLKBが交互に活性化することになる。このことは、選択信号SELがハイレベルに活性化されている場合、リフレッシュ信号IREFが活性化する度に、LSB出力回路240の出力信号であるビットA0が反転することを意味している。 Further, the selection signal SEL and the refresh signal IREF are supplied to the gate circuit G5 shown in FIG. 15, whereby the selection circuit SEL is activated based on the refresh signal IREF on the condition that the selection signal SEL is activated to a high level. 272 and 273 are selected alternately. Since the selected latch circuits 272 and 273 invert their output signals, the clock signals CLKA and CLKB are alternately activated in response to the refresh signal IREF. This means that if the selection signal SEL is activated to a high level, whenever the refresh signal IREF is activated, the bit A0 is an output signal of the LSB output circuit 240 0 is meant to reverse.
 また、図13に示すように、アドレス発生部200を構成する所定の回路ブロックにはリセット信号RESETが供給されており、これが活性化すると当該回路ブロックは初期状態にリセットされる。例えば、メモリセルアレイ210に保持されたデータは、リセット信号RESETに応答して全てリセットされる。かかる動作は、ロウデコーダ220によって全てのワード線RRWL0~RRWLrを選択した状態で、アドレスライト回路230からメモリセルアレイ210に初期値を出力することにより行うことができる。 As shown in FIG. 13, a reset signal RESET is supplied to a predetermined circuit block constituting the address generator 200, and when this is activated, the circuit block is reset to an initial state. For example, all the data held in the memory cell array 210 is reset in response to the reset signal RESET. Such an operation can be performed by outputting an initial value from the address write circuit 230 to the memory cell array 210 in a state where all the word lines RRWL0 to RRWLr are selected by the row decoder 220.
 次に、本実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作について説明する。 Next, the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment will be described.
 図16は、本実施形態によるリフレッシュ制御回路40を用いた半導体装置10の動作を説明するためのタイミング図である。 FIG. 16 is a timing chart for explaining the operation of the semiconductor device 10 using the refresh control circuit 40 according to the present embodiment.
 図16に示す例では、時刻t50に外部からアクティブコマンドACTが発行され、時刻t61,t62,t63,t64に外部からリフレッシュコマンドREFが発行されたケースを示している。図示しないが、時刻t50以前においても、アクティブコマンドACTの発行による多数回のロウアクセスが行われており、これによってアクセスカウント部100のロウアドレスAddnに対応するカウント値は、所定値-1までカウントアップされている。上述の通り、アクセスカウント部100に入力されるロウアドレスIADDは最下位ビットA0が縮退されているため、上記ロウアドレスAddnは、ロウアドレスAddn(0)が割り当てられたワード線WLn(0)とロウアドレスAddn(1)が割り当てられたワード線WLn(1)の両方に対して共通である。また、時刻t50以前においては、追加リフレッシュカウンタ280のカウント値は0である。 16 shows a case where an active command ACT is issued from the outside at time t50 and a refresh command REF is issued from outside at times t61, t62, t63, and t64. Although not shown, before the time t50, a number of row accesses are performed by issuing the active command ACT, and the count value corresponding to the row address Addn of the access count unit 100 is counted up to a predetermined value -1. Has been up. As described above, since the least significant bit A0 is degenerated in the row address IADD input to the access count unit 100, the row address Addn is connected to the word line WLn (0) to which the row address Addn (0) is assigned. This is common to both of the word lines WLn (1) to which the row address Addn (1) is assigned. Further, before the time t50, the count value of the additional refresh counter 280 is zero.
 この状態で、時刻t50にアクティブコマンドACTとともにロウアドレスAddnが入力されると、図9に示すレジスタ回路140T+1の値である検出信号MAXが活性化する。検出信号MAXが活性化すると、図13に示す追加リフレッシュカウンタ280のカウント値が0から2に変化し、選択信号PSELがハイレベルとなる。さらに、検出信号MAXの活性化に応答してアドレスライト回路230が活性化するため、アクティブコマンドACTとともに入力されたロウアドレスIADD(Addn)がメモリセルアレイ210に書き込まれる。ロウアドレスIADD(Addn)の書き込み先は、ライトカウンタ250によって例えばワード線RRWL0が指定される。 In this state, when the row address Addn is input together with the active command ACT at time t50, the detection signal MAX that is the value of the register circuit 140T + 1 shown in FIG. 9 is activated. When the detection signal MAX is activated, the count value of the additional refresh counter 280 shown in FIG. 13 changes from 0 to 2, and the selection signal PSEL becomes high level. Further, since the address write circuit 230 is activated in response to the activation of the detection signal MAX, the row address IADD (Addn) input together with the active command ACT is written into the memory cell array 210. For example, the write counter 250 designates the word line RRWL0 as a write destination of the row address IADD (Addn).
 但し、この時点ではまだ選択信号SELはローレベルであり、したがって選択回路42はリフレッシュカウンタ41の出力であるリフレッシュアドレスRADDaを選択する。図16に示す例では、この時点におけるリフレッシュアドレスRADDaの値はAddm(0)であり、したがって、選択回路42から出力されるリフレッシュアドレスRADDの値もAddm(0)である。ここでAddm(0)とは、上位ビットA1~A13の値がmであり、最下位ビットA0の値が0であることを意味する。 However, at this time, the selection signal SEL is still at the low level, and therefore the selection circuit 42 selects the refresh address RADDa that is the output of the refresh counter 41. In the example shown in FIG. 16, the value of the refresh address RADDa at this time is Addm (0), and therefore the value of the refresh address RADD output from the selection circuit 42 is also Addm (0). Here, Addm (0) means that the value of the upper bits A1 to A13 is m and the value of the least significant bit A0 is 0.
 次に、時刻t61において外部からリフレッシュコマンドREFが発行されると、図1に示すコマンドデコード回路33はリフレッシュ信号IREFを活性化させる。上述の通り、この時点におけるリフレッシュアドレスRADDの値はAddm(0)であることから、ロウデコーダ12は、ロウアドレスAddm(0)が示すワード線WLmにアクセスする。これにより、ワード線WLm(0)に接続されたメモリセルMCの情報がリフレッシュされる。 Next, when a refresh command REF is issued from the outside at time t61, the command decode circuit 33 shown in FIG. 1 activates the refresh signal IREF. As described above, since the value of the refresh address RADD at this time is Addm (0), the row decoder 12 accesses the word line WLm indicated by the row address Addm (0). As a result, the information in the memory cells MC connected to the word line WLm (0) is refreshed.
 また、リフレッシュ信号IREFの活性化に応答して、リフレッシュカウンタ41のカウント値がAddm(1)に更新されるとともに、リードカウンタ260によってワード線RRWL0が指定される。ここでAddm(1)とは、上位ビットA1~A13の値がmであり、最下位ビットA0の値が1であることを意味する。これにより、アドレスリード回路240からは、ワード線RRWL0に対応するロウアドレスに格納されたリフレッシュアドレスRADDb(Addn)が出力される。この時点では、クロック信号CLKAが活性化しているため、LSB出力回路240の値は0であり、したがってリフレッシュアドレスRADDbの値はAddn(0)である。ここでAddn(0)とは、上位ビットA1~A13の値がnであり、最下位ビットA0の値が0であることを意味する。 In response to activation of the refresh signal IREF, the count value of the refresh counter 41 is updated to Addm (1), and the word line RRWL0 is designated by the read counter 260. Here, Addm (1) means that the value of the upper bits A1 to A13 is m and the value of the least significant bit A0 is 1. As a result, the address read circuit 240 outputs the refresh address RADDb (Addn) stored in the row address corresponding to the word line RRWL0. At this point, since the clock signal CLKA is activated, the value of the LSB output circuit 240 0 is 0, the value of the refresh address RADDb therefore is Addn (0). Here, Addn (0) means that the value of the upper bits A1 to A13 is n and the value of the least significant bit A0 is 0.
 さらに、リフレッシュ信号IREFの活性化に応答して選択信号SELがハイレベルに変化するため、選択回路42はアドレスレジスタ61の出力であるリフレッシュアドレスRADDbを選択することになる。したがって、選択回路42から出力されるリフレッシュアドレスRADDの値はAddn(0)となる。また、追加リフレッシュカウンタ280のカウント値が2から1にデクリメントされる。 Furthermore, since the selection signal SEL changes to a high level in response to the activation of the refresh signal IREF, the selection circuit 42 selects the refresh address RADDb that is the output of the address register 61. Therefore, the value of the refresh address RADD output from the selection circuit 42 is Addn (0). Further, the count value of the additional refresh counter 280 is decremented from 2 to 1.
 さらに、図12を用いて説明した動作により、リフレッシュアドレスRADDの値であるAddmに対応するカウント値が初期化される。Addmに対応するカウント値は、ワード線WLm(0)とワード線WLm(1)に対する共通のカウント値であるが、これらワード線はロウアドレスの最下位ビットA0のみが異なるため、ワード線WLm(0)がリフレッシュされてからワード線WLm(1)がリフレッシュされるまでの時間は非常に短時間であると考えられる。この点を考慮して、実際にワード線WLm(0)及びWLm(1)のいずれがリフレッシュされたかにかかわらず、一方がリフレッシュされれば両者に対応するカウント値をリセットしている。 Further, the count value corresponding to Addm, which is the value of the refresh address RADD, is initialized by the operation described with reference to FIG. The count value corresponding to Addm is a common count value for the word line WLm (0) and the word line WLm (1). Since these word lines differ only in the least significant bit A0 of the row address, the word line WLm ( It is considered that the time from the refresh of 0) to the refresh of the word line WLm (1) is very short. Considering this point, regardless of which of the word lines WLm (0) and WLm (1) is actually refreshed, if one of them is refreshed, the count value corresponding to both is reset.
 そして、時刻t62において再びリフレッシュコマンドREFが発行されると、ロウデコーダ12は、リフレッシュアドレスRADDの値であるAddn(0)が示すワード線WLn(0)にアクセスする。つまり、リフレッシュカウンタ41が示すロウアドレスAddm(1)ではなく、アドレスリード回路240から出力されるロウアドレスAddn(0)に対してリフレッシュ動作が割り込み的に実行される。これにより、ワード線WLn(0)に接続されたメモリセルMCの情報がリフレッシュされる。さらに、図12を用いて説明した動作により、リフレッシュアドレスRADDの値であるAddnに対応するカウント値が初期化される。 When the refresh command REF is issued again at time t62, the row decoder 12 accesses the word line WLn (0) indicated by Addn (0) that is the value of the refresh address RADD. That is, the refresh operation is executed in an interrupt manner on the row address Addn (0) output from the address read circuit 240, not on the row address Addm (1) indicated by the refresh counter 41. As a result, the information in the memory cells MC connected to the word line WLn (0) is refreshed. Furthermore, the count value corresponding to Addn which is the value of the refresh address RADD is initialized by the operation described with reference to FIG.
 また、この時点においては選択信号SELがハイレベルであることから、リフレッシュ信号IREFが活性化してもリフレッシュカウンタ41のカウント値は更新されず、Addm(1)のまま維持される。また、追加リフレッシュカウンタ280のカウント値が1から0にデクリメントされる。これにより、選択信号PSELはローレベルに変化する。 Since the selection signal SEL is at the high level at this time, even if the refresh signal IREF is activated, the count value of the refresh counter 41 is not updated and is maintained as Addm (1). Further, the count value of the additional refresh counter 280 is decremented from 1 to 0. As a result, the selection signal PSEL changes to a low level.
 さらに、リフレッシュ信号IREFに応答して、選択信号発生回路270はクロック信号CLKBを活性化させる。これにより、LSB出力回路240の値は1となり、リフレッシュアドレスRADDbの値がAddn(1)に変化する。ここでAddn(1)とは、上位ビットA1~A13の値がnであり、最下位ビットA0の値が1であることを意味する。 Further, in response to the refresh signal IREF, the selection signal generation circuit 270 activates the clock signal CLKB. Thus, the value of the LSB output circuit 240 0 is 1, the value of the refresh address RADDb changes to Addn (1). Here, Addn (1) means that the value of the upper bits A1 to A13 is n and the value of the least significant bit A0 is 1.
 時刻t63においてさらにリフレッシュコマンドREFが発行されると、ロウデコーダ12は、ロウアドレスAddn(1)が示すワード線WLn(1)にアクセスする。つまり、アドレスリード回路240から出力されるロウアドレスAddn(1)に対してリフレッシュ動作が割り込み的に実行され、当該メモリセルMCの情報がリフレッシュされる。 When the refresh command REF is further issued at time t63, the row decoder 12 accesses the word line WLn (1) indicated by the row address Addn (1). That is, the refresh operation is executed in an interrupt manner for the row address Addn (1) output from the address read circuit 240, and the information in the memory cell MC is refreshed.
 また、この時点においても選択信号SELがハイレベルであることから、リフレッシュ信号IREFが活性化してもリフレッシュカウンタ41のカウント値は更新されず、Addm(1)のまま維持される。また、リフレッシュ信号IREFの活性化に応答して、選択信号SELがローレベルに変化する。これにより、選択回路42はリフレッシュカウンタ41から出力されるリフレッシュアドレスRADDaを選択するため、選択回路42から出力されるリフレッシュアドレスRADDの値はAddm(1)となる。 Since the selection signal SEL is at the high level also at this time, the count value of the refresh counter 41 is not updated even when the refresh signal IREF is activated, and is maintained as Addm (1). Further, in response to the activation of the refresh signal IREF, the selection signal SEL changes to a low level. Thus, since the selection circuit 42 selects the refresh address RADDa output from the refresh counter 41, the value of the refresh address RADD output from the selection circuit 42 becomes Addm (1).
 そして、時刻t64においてリフレッシュコマンドREFが発行されると、ロウデコーダ12は、ロウアドレスAddm(1)が示すワード線WLm(1)にアクセスする。つまり、通常通り、リフレッシュカウンタ41が示すロウアドレスに対してリフレッシュ動作が実行される。また、リフレッシュ信号IREFの活性化に応答してリフレッシュカウンタ41のカウント値がAddm+1(0)に更新される。さらに、図12を用いて説明した動作により、リフレッシュアドレスRADDの値であるAddm+1に対応するカウント値が初期化される。 When the refresh command REF is issued at time t64, the row decoder 12 accesses the word line WLm (1) indicated by the row address Addm (1). That is, as usual, the refresh operation is performed on the row address indicated by the refresh counter 41. In response to activation of the refresh signal IREF, the count value of the refresh counter 41 is updated to Addm + 1 (0). Furthermore, the count value corresponding to Addm + 1, which is the value of the refresh address RADD, is initialized by the operation described with reference to FIG.
 このように、ロウアドレスAddnが示すワード線WLn(0)及びワード線WLn(1)に対する合計のロウアクセスの回数が所定値に達すると、これらワード線WLn(0),WLn(1)に対して追加的なリフレッシュ動作が実行される。本実施形態では、ロウアドレスIADDの最下位ビットA0を縮退させていることから、ワード線WLn(0),WLn(1)のいずれがディスターブを受けているかにかかわらず、間隔W1で隣接するこれらワード線WLn(0),WLn(1)の両方に対して追加的なリフレッシュ動作が行われる。このため、アクセスカウント部100に含まれるメモリセルアレイ110の容量を半分に削減することができる。 Thus, when the total number of row accesses to the word line WLn (0) and the word line WLn (1) indicated by the row address Addn reaches a predetermined value, the word lines WLn (0) and WLn (1) Additional refresh operations are performed. In the present embodiment, since the least significant bit A0 of the row address IADD is degenerated, those adjacent to each other at the interval W1 regardless of which of the word lines WLn (0) and WLn (1) is disturbed. An additional refresh operation is performed on both word lines WLn (0) and WLn (1). Therefore, the capacity of the memory cell array 110 included in the access count unit 100 can be reduced by half.
 しかも、メモリセルアレイ110,210を用いて、アクセス回数のカウントや追加的にリフレッシュ動作を行うべきロウアドレスの保持を行っていることから、フリップフロップ回路などを用いた場合と比べて、チップ上における占有面積を削減することも可能となる。 In addition, since the memory cell arrays 110 and 210 are used to count the number of accesses and to hold a row address to be additionally refreshed, compared with the case where a flip-flop circuit or the like is used, It is also possible to reduce the occupied area.
 以上、本発明の好ましい実施形態について説明したが、本発明は、上記の実施形態に限定されることなく、本発明の主旨を逸脱しない範囲で種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることはいうまでもない。 The preferred embodiments of the present invention have been described above, but the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the spirit of the present invention. Needless to say, it is included in the range.
2    外部基板
10   半導体装置
11   メモリセルアレイ
12   ロウデコーダ
13   カラムデコーダ
14   モードレジスタ
15   リードライトアンプ
16   入出力回路
21   コマンドアドレス端子
22   リセット端子
23   クロック端子
24   データ端子
25,26  電源端子
31   コマンドアドレス入力回路
32   アドレスラッチ回路
33   コマンドデコード回路
34   クロック入力回路
35   内部クロック発生回路
36   タイミングジェネレータ
37   内部電源発生回路
38   キャリブレーション回路
40   リフレッシュ制御回路
41   リフレッシュカウンタ
42   選択回路
50   アクセスカウント部
51   アクセスカウンタ
51~51  カウンタ回路
52   アクセスカウンタ制御回路
53   上限判定回路
60   アドレス発生部
61   アドレスレジスタ
61~61  レジスタ回路
62   アドレスポインタ
62L  ラッチ回路
62R  リードポインタ
62S  選択信号生成回路
62W  ライトポインタ
63   アドレス書き込み回路
100  アクセスカウント部
110  メモリセルアレイ
120  ロウデコーダ
130,130~130  リード回路
140  カウンタ回路
140~140T+1  レジスタ回路
150,150~150  ライト回路
160  コマンド制御回路
200  アドレス発生部
210  メモリセルアレイ
220  ロウデコーダ
230,230~23013  アドレスライト回路
240,240~24013  アドレスリード回路
240  LSB出力回路
250  ライトカウンタ
260  リードカウンタ
270  選択信号発生回路
271~273  ラッチ回路
280  追加リフレッシュカウンタ
ACT  アクティブコマンド
ARa,ARb  活性領域
BL   ビット線
BLC  ビット線コンタクト
C    セルキャパシタ
CC   セルコンタクト
DEL0~DELp  デリート信号
DLY1~DLY5  ディレイ素子
G,G1~G5  論理ゲート回路
IACT  アクティブ信号
IADD  アドレス信号
IREF  リフレッシュ信号
MAX,MAX0~MAXp  検出信号
MC   メモリセル
P1,P2  ポインタ制御信号
PLS1,PLS2  パルス生成回路
PSEL,SEL  選択信号
RACT  アクティブ信号
RADD,RADDa,RADDb  リフレッシュアドレス
RBL0~RBLT  ビット線
RCNT カウントアップ信号
REF  リフレッシュコマンド
RESET  リセット信号
RP   リードポイント信号
RRBL1~RRBL13  ビット線
RREAD  リード信号
RRST リセット信号
RRWL0~RRWLr  ワード線
RWL0~RWL  ワード線
RWRT ライト信号
SR1~SR3  ラッチ回路
Tr   セルトランジスタ
UP0~UPp  カウントアップ信号
WL0~WLp  ワード線
WP   ライトポイント信号
2 External substrate 10 Semiconductor device 11 Memory cell array 12 Row decoder 13 Column decoder 14 Mode register 15 Read / write amplifier 16 Input / output circuit 21 Command address terminal 22 Reset terminal 23 Clock terminal 24 Data terminal 25, 26 Power supply terminal 31 Command address input circuit 32 Address latch circuit 33 Command decode circuit 34 Clock input circuit 35 Internal clock generation circuit 36 Timing generator 37 Internal power supply generation circuit 38 Calibration circuit 40 Refresh control circuit 41 Refresh counter 42 selection circuit 50 Access count unit 51 Access counters 51 0 to 51 p Counter circuit 52 Access counter control circuit 53 Upper limit determination circuit 60 Address generator 61 Address registers 61 0 ~ 61 q register circuit 62 address pointer 62L latch circuit 62R read pointer 62S selection signal generating circuit 62W write pointer 63 addresses the write circuit 100 access count unit 110 memory cell array 120 row decoders 130, 130 0 ~ 130 T read circuit 140 Counter circuit 140 0 to 140 T + 1 register circuit 150, 150 0 to 150 T write circuit 160 Command control circuit 200 Address generator 210 Memory cell array 220 Row decoder 230, 230 1 to 230 13 Address write circuit 240, 240 1 to 240 13 Address read circuit 240 0 LSB output circuit 250 the write counter 260 read counter 270 the selection signal generating circuits 271 to 273 rats Circuit 280 Additional refresh counter ACT Active command ARa, ARb Active region BL Bit line BLC Bit line contact C Cell capacitor CC Cell contact DEL0 to DELp Delete signal DLY1 to DLY5 Delay elements G, G1 to G5 Logic gate circuit IACT Active signal IADD Address signal IREF refresh signal MAX, MAX0 to MAXp detection signal MC memory cell P1, P2 pointer control signal PLS1, PLS2 pulse generation circuit PSEL, SEL selection signal RACT active signal RADD, RADDa, RADDb refresh address RBL0 to RBLT bit line RCNT count up signal REF Refresh command RESET Reset signal RP Lead point signal RRBL1 ~ RRBL13 bit line RREAD read signal RRST reset signal RRWL0 ~ RRWLr word lines RWL0 ~ RWL word line RWRT write signals SR1 ~ SR3 latch circuit Tr cell transistors UP0 ~ upp count-up signal WL0 ~ WLp wordline WP Write point signal

Claims (18)

  1.  複数の揮発性メモリセルと、
     ロウアドレスに対応して前記複数の揮発性メモリセルのうち対応する複数の揮発性メモリセルを其々選択する複数のワード線と、
     前記ロウアドレスに対応して設けられ、対応するロウアドレスの入力回数をカウントし、前記入力回数が所定値を超えた時に検出信号を出力するように其々構成される複数のカウンタ回路と、
     前記複数のカウンタ回路と接続される制御回路と、を備え、
     前記制御回路は、前記検出信号が出力された前記カウンタ回路に対応するロウアドレスに基づく前記ワード線と物理的に隣接する一方のワード線に対応する第1のロウアドレスを生成する第1の内部アドレス生成回路を含み、前記第1のロウアドレスに対応するワード線を活性化して対応する複数の揮発性メモリセルのリフレッシュ制御を行うことを特徴とする半導体装置。
    A plurality of volatile memory cells;
    A plurality of word lines that respectively select a plurality of volatile memory cells corresponding to a row address among the plurality of volatile memory cells;
    A plurality of counter circuits provided corresponding to the row addresses, each configured to count the number of times the corresponding row address is input, and to output a detection signal when the number of inputs exceeds a predetermined value;
    A control circuit connected to the plurality of counter circuits,
    The control circuit generates a first row address corresponding to one word line physically adjacent to the word line based on a row address corresponding to the counter circuit to which the detection signal is output. A semiconductor device comprising an address generation circuit, wherein the word line corresponding to the first row address is activated to perform refresh control of a plurality of corresponding volatile memory cells.
  2.  前記制御回路は更に、リフレッシュコマンドに応答して第2のロウアドレスを生成する第2の内部アドレス生成回路を含み、前記第2のロウアドレスに対応するワード線を活性化して対応する複数の揮発性メモリセルのリフレッシュ制御を行うことを特徴とする請求項1に記載の半導体装置。 The control circuit further includes a second internal address generation circuit that generates a second row address in response to a refresh command, and activates a word line corresponding to the second row address to thereby correspond to a plurality of volatiles. The semiconductor device according to claim 1, wherein refresh control is performed on the memory cell.
  3.  前記制御回路は更に、前記第1及び第2のロウアドレスを受け、いずれか一方を選択する選択回路を備えることを特徴とする請求項2に記載の半導体装置。 3. The semiconductor device according to claim 2, wherein the control circuit further includes a selection circuit that receives the first and second row addresses and selects one of them.
  4.  前記選択回路は、前記検出信号に応じて活性化され前記第1のロウアドレスへのリフレッシュ制御が行われる事で非活性化される選択信号を受け、前記選択信号の活性化時に前記第1のロウアドレスを選択し、非活性化時に前記第2のロウアドレスを選択することを特徴とする請求項3に記載の半導体装置。 The selection circuit receives a selection signal that is activated in response to the detection signal and deactivated by performing refresh control to the first row address, and the first signal is activated when the selection signal is activated. 4. The semiconductor device according to claim 3, wherein a row address is selected, and the second row address is selected at the time of deactivation.
  5.  前記複数のカウンタ回路において各々カウントされるカウント値は、リフレッシュコマンドに応答して各々に対応する第1のロウアドレスへのリフレッシュ制御が行われた時にリセットされることを特徴とする請求項1に記載の半導体装置。 2. A count value counted in each of the plurality of counter circuits is reset when refresh control is performed on a first row address corresponding to each of the count values in response to a refresh command. The semiconductor device described.
  6.  前記第1の内部アドレス生成回路は、前記検出信号が出力された前記カウンタ回路に対応するロウアドレスに基づく前記ワード線と物理的に隣接する他のワード線に対応する第3のロウアドレスを更に生成するものであって、
     前記制御回路は、前記第3のロウアドレスに対応するワード線を活性化して対応する複数の揮発性メモリセルのリフレッシュ制御を更に行うことを特徴とする請求項1に記載の半導体装置。
    The first internal address generation circuit further outputs a third row address corresponding to another word line physically adjacent to the word line based on the row address corresponding to the counter circuit from which the detection signal is output. To generate,
    2. The semiconductor device according to claim 1, wherein the control circuit further activates a word line corresponding to the third row address to perform refresh control of a plurality of corresponding volatile memory cells.
  7.  前記制御回路は更に、リフレッシュコマンドに応答して第2のロウアドレスを生成する第2の内部アドレス生成回路を含み、前記第2のロウアドレスに対応するワード線を活性化して対応する複数の揮発性メモリセルのリフレッシュ制御を行うことを特徴とする請求項6に記載の半導体装置。 The control circuit further includes a second internal address generation circuit that generates a second row address in response to a refresh command, and activates a word line corresponding to the second row address to thereby correspond to a plurality of volatiles. 7. The semiconductor device according to claim 6, wherein refresh control is performed on the volatile memory cell.
  8.  前記制御回路は更に、第3及び第2のロウアドレスを受け、いずれか一方を選択する選択回路を備えることを特徴とする請求項7に記載の半導体装置。 The semiconductor device according to claim 7, wherein the control circuit further includes a selection circuit that receives the third and second row addresses and selects one of them.
  9.  前記選択回路は、前記検出信号に応じて活性化され、前記第1及び第3のロウアドレスへのリフレッシュ制御が両方行われる事で非活性化される選択信号を受け、前記選択信号の活性化時に前記第1及び第3のロウアドレスのいずれか一方を選択し、非活性化時に前記第2のロウアドレスを選択することを特徴とする請求項8に記載の半導体装置。 The selection circuit is activated in response to the detection signal, receives a selection signal that is deactivated by performing refresh control to both the first and third row addresses, and activates the selection signal 9. The semiconductor device according to claim 8, wherein at least one of the first and third row addresses is selected and the second row address is selected at the time of deactivation.
  10.  前記複数のカウンタ回路において各々カウントされるカウント値は、各々に対応する第1及び第3のロウアドレスへのリフレッシュ制御が両方行われた時にリセットされることを特徴とする請求項6に記載の半導体装置。 7. The count value counted in each of the plurality of counter circuits is reset when both refresh controls to the first and third row addresses corresponding to each are performed. Semiconductor device.
  11.  複数のワード線を含むメモリセルアレイと、
     リフレッシュすべきワード線のロウアドレスを示す第1のロウアドレスを出力するリフレッシュカウンタと、
     前記メモリセルアレイに対するアクセス履歴に基づいて、追加的にリフレッシュすべきワード線のロウアドレスを示す第2のロウアドレスを出力するアドレス発生部と、
     前記第1及び第2のロウアドレスのいずれか一方を選択する選択回路と、
     前記選択回路から出力される前記第1又は第2のロウアドレスに基づいて前記複数のワード線のいずれかにアクセスするロウデコーダと、を備えることを特徴とする半導体装置。
    A memory cell array including a plurality of word lines;
    A refresh counter for outputting a first row address indicating a row address of a word line to be refreshed;
    An address generator for outputting a second row address indicating a row address of a word line to be additionally refreshed based on an access history to the memory cell array;
    A selection circuit for selecting one of the first and second row addresses;
    And a row decoder for accessing any one of the plurality of word lines based on the first or second row address output from the selection circuit.
  12.  前記ロウデコーダは、リフレッシュコマンドが発行される度に、前記選択回路から出力される前記第1又は第2のロウアドレスに基づいて前記複数のワード線のいずれかにアクセスすることを特徴とする請求項11に記載の半導体装置。 The row decoder accesses one of the plurality of word lines based on the first or second row address output from the selection circuit each time a refresh command is issued. Item 12. The semiconductor device according to Item 11.
  13.  前記リフレッシュコマンドに応答して前記第1のロウアドレスが示すワード線がリフレッシュする場合には、前記リフレッシュカウンタから出力される前記第1のロウアドレスの値を更新し、
     前記リフレッシュコマンドに応答して前記第2のロウアドレスが示すワード線がリフレッシュする場合には、前記リフレッシュカウンタから出力される前記第1のロウアドレスの値を更新しないことを特徴とする請求項12に記載の半導体装置。
    When the word line indicated by the first row address is refreshed in response to the refresh command, the value of the first row address output from the refresh counter is updated,
    13. The value of the first row address output from the refresh counter is not updated when a word line indicated by the second row address is refreshed in response to the refresh command. A semiconductor device according to 1.
  14.  前記アクセス履歴を解析するアクセスカウント部をさらに備え、
     前記アクセスカウント部は、1又は2以上のワード線ごとにアクセス回数をカウントすることを特徴とする請求項12に記載の半導体装置。
    An access count unit for analyzing the access history;
    The semiconductor device according to claim 12, wherein the access count unit counts the number of accesses for each of one or more word lines.
  15.  前記アドレス発生部は、前記アクセス回数が所定値を超えた前記1又は2以上のワード線に関連するワード線のロウアドレスを前記第2のロウアドレスとして出力することを特徴とする請求項14に記載の半導体装置。 15. The address generation unit outputs a row address of a word line related to the one or more word lines whose number of accesses exceeds a predetermined value as the second row address. The semiconductor device described.
  16.  前記アクセスカウント部は、前記リフレッシュコマンドに応答して、前記第1のロウアドレスが示すワード線に隣接するワード線の前記アクセス回数をリセットすることを特徴とする請求項14に記載の半導体装置。 15. The semiconductor device according to claim 14, wherein the access count unit resets the access count of the word line adjacent to the word line indicated by the first row address in response to the refresh command.
  17.  前記アクセスカウント部は、隣接する2本のワード線ごとにアクセス回数をカウントすることを特徴とする請求項14に記載の半導体装置。 15. The semiconductor device according to claim 14, wherein the access count unit counts the number of accesses for every two adjacent word lines.
  18.  リフレッシュ動作による情報の保持が必要な複数のメモリセルがそれぞれ接続され、それぞれ対応するロウアドレスが割り当てられた第1及び第2のワード線を含む複数のワード線と、
     前記ロウアドレスに基づいて前記複数のワード線にアクセスするロウデコーダと、
     前記第1のワード線へのアクセス回数をカウントするアクセスカウント部と、
     前記アクセスカウント部のカウント値が所定値に達したことに応答して、前記ロウデコーダに前記第2のワード線のロウアドレスを供給するアドレス発生部と、を備えることを特徴とする半導体装置。
    A plurality of word lines including a first word line and a second word line to which a plurality of memory cells that are required to hold information by a refresh operation are respectively connected and corresponding row addresses are assigned;
    A row decoder for accessing the plurality of word lines based on the row address;
    An access count unit that counts the number of accesses to the first word line;
    An address generation unit for supplying a row address of the second word line to the row decoder in response to a count value of the access count unit reaching a predetermined value;
PCT/JP2014/052206 2013-02-12 2014-01-31 Semiconductor device WO2014125937A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2013-024506 2013-02-12
JP2013024506 2013-02-12

Publications (1)

Publication Number Publication Date
WO2014125937A1 true WO2014125937A1 (en) 2014-08-21

Family

ID=51353946

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2014/052206 WO2014125937A1 (en) 2013-02-12 2014-01-31 Semiconductor device

Country Status (2)

Country Link
TW (1) TW201447895A (en)
WO (1) WO2014125937A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176629A (en) * 2014-03-17 2015-10-05 日本電気株式会社 Access frequency counting device, memory system, and access frequency counting method
JPWO2017175392A1 (en) * 2016-04-08 2019-02-07 ウルトラメモリ株式会社 Semiconductor memory device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005251256A (en) * 2004-03-02 2005-09-15 Toshiba Microelectronics Corp Semiconductor storage device
JP2007012173A (en) * 2005-06-30 2007-01-18 Toshiba Corp Semiconductor storage device
JP2007157296A (en) * 2005-12-08 2007-06-21 Toshiba Corp Semiconductor memory device
JP2010079956A (en) * 2008-09-24 2010-04-08 Toshiba Corp Semiconductor memory device
US20110122687A1 (en) * 2009-11-24 2011-05-26 Innovative Silicon Isi Sa Techniques for reducing disturbance in a semiconductor device
JP2013004158A (en) * 2011-06-21 2013-01-07 Elpida Memory Inc Semiconductor storage device and refresh control method thereof
JP2013239228A (en) * 2012-05-14 2013-11-28 Samsung Electronics Co Ltd Memory device, memory system, and operation method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005251256A (en) * 2004-03-02 2005-09-15 Toshiba Microelectronics Corp Semiconductor storage device
JP2007012173A (en) * 2005-06-30 2007-01-18 Toshiba Corp Semiconductor storage device
JP2007157296A (en) * 2005-12-08 2007-06-21 Toshiba Corp Semiconductor memory device
JP2010079956A (en) * 2008-09-24 2010-04-08 Toshiba Corp Semiconductor memory device
US20110122687A1 (en) * 2009-11-24 2011-05-26 Innovative Silicon Isi Sa Techniques for reducing disturbance in a semiconductor device
JP2013004158A (en) * 2011-06-21 2013-01-07 Elpida Memory Inc Semiconductor storage device and refresh control method thereof
JP2013239228A (en) * 2012-05-14 2013-11-28 Samsung Electronics Co Ltd Memory device, memory system, and operation method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015176629A (en) * 2014-03-17 2015-10-05 日本電気株式会社 Access frequency counting device, memory system, and access frequency counting method
JPWO2017175392A1 (en) * 2016-04-08 2019-02-07 ウルトラメモリ株式会社 Semiconductor memory device

Also Published As

Publication number Publication date
TW201447895A (en) 2014-12-16

Similar Documents

Publication Publication Date Title
JP2015092423A (en) Semiconductor device
US11398265B2 (en) Apparatuses and methods for analog row access tracking
US20200160903A1 (en) Semiconductor memory device
US9412432B2 (en) Semiconductor storage device and system provided with same
US20190130961A1 (en) Apparatuses and methods for selective row refreshes
US8520449B2 (en) Semiconductor device and control method thereof
JP2004134026A (en) Semiconductor memory device and its control method
US9305635B2 (en) High density memory structure
JP2008210443A (en) Semiconductor memory device
JP2005251256A (en) Semiconductor storage device
US9299398B2 (en) Retention optimized memory device using predictive data inversion
JP2010055695A (en) Semiconductor memory device and control method therefor
US9047936B2 (en) Memory device having control circuitry for write tracking using feedback-based controller
US8638621B2 (en) Semiconductor memory device having a hierarchical bit line scheme
WO2014125937A1 (en) Semiconductor device
JP2016212934A (en) Semiconductor device and its control method
US10020049B1 (en) Six-transistor static random access memory cell and operation method thereof
JP2016051489A (en) Semiconductor device
JP2016018578A (en) Semiconductor device
WO2014126182A1 (en) Reset circuit for memory-cell array that stores access history
JP2014238902A (en) Semiconductor device
US20240055043A1 (en) Sub-word line driver having common gate boosted voltage
US20210350840A1 (en) Semiconductor devices
JP2014238903A (en) Semiconductor device
JP6578655B2 (en) Semiconductor device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14751735

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

NENP Non-entry into the national phase

Ref country code: JP

122 Ep: pct application non-entry in european phase

Ref document number: 14751735

Country of ref document: EP

Kind code of ref document: A1