Since the state signals TRRST2 and TRRST3 are at the low level at this point of time, the selector 31 shown in
The first target-row refresh operation is completed as described above. In this manner, in the first target-row refresh operation, the redundant word line RWLj, which is a replacement destination, is selected. The redundant word line RWLj, which is the replacement destination, is, for example, the redundant word line RWL2.
Herein, the hit signal HITk is any of the hit signals HIT1 to HITm. Therefore, it is not the hit signal HIT0. For example, if the redundant word line RWLj is the redundant word line RWL2, the hit signal HIT1 is activated. In this case, the least significant bit X0 of the target address is “0”.