Patent ID: 7529146

Claim:
A semiconductor device comprising: a first logic unit for performing a logic operation with respect to a plurality of first control signals, each of the first control signals indicating whether a corresponding one of a plurality of banks of the semiconductor device is in an active state; a refresh detector for outputting a second control signal which is enabled when at least one of the banks performs a self-refresh operation or auto-refresh operation; and a second logic unit for performing a logic operation with respect to an output signal from the first logic unit and the second control signal and generating a third control signal, wherein the third control signal is enabled when all banks are in the standby state, the third control signal is disabled when at least one of the banks is in the active state, the third control signal is enabled when at least one of the banks performs the self-refresh operation or auto-refresh operation even though it is in the active state, the semiconductor device thereby prevented from entering a command wait state under control of the third control signal.