FIG. 18 is a first timing chart for explaining the target-row refresh operations in the case 2. The case 2 is that access with respect to the normal word line WLN adjacent to the redundant-word-line area A2 has been repeated, the target-row refresh operations are executed with respect to the normal word line WLN?1 and the redundant word line RWL0 adjacent thereto. More specifically, this is the case in which the word line serving as the cause of the target-row refresh operations belongs to the normal-word-line area A1, one of the word lines serving as the target of the target-row refresh operation belongs to the normal-word-line area A1, and the other one belongs to the redundant-word-line area A2. In this case, it is assumed that the normal word line WLN is not defective. Herein, in the case 2, a case in which the redundant word line RWL0 is used is explained.
First, when the number of access with respect to the normal word line WLN exceeds a predetermined value, a target-row refresh command TRR is issued from the external controller (time t21). As a result, the target-row refresh enable signal TRREN output from the mode register 27 is activated. Therefore, the state signal TRRST1 becomes the high level.
In this state, a first target-row refresh operation is carried out in the below manner. First, the target address, in other words, the row address of the normal word line WLN is input together with an active command from the controller (time t22). The operation related thereto is as explained by using FIG. 17, wherein the normal word line WLN indicated by the target address input from outside is selected, and the normal memory cells MC connected thereto are refreshed.