ram control signal WE, an output control signal OE, a system clock SC and a command enable signal CDE indicating whether the input is a command input or an address input, all signals being fed from the controller CONT; a buffer circuit 22 for fetching an address signal and a command signal; an internal signal generator 23 for generating a control signal for an internal circuit on the basis of the