To provide a semiconductor memory which can be shifted to a test mode in a module state.
Each of DRAMs 11-28 is provided with a test mode circuit 280. The test mode circuit 280 detects power source voltage Vcc1 having a voltage level at normal operation in accordance with a test mode shift signal MRS1 and generates a test mode signal TM of a L level. And the test mode circuit 280 detects power source voltage Vcc2 having a higher voltage level than a voltage level at normal operation in accordance with a test mode shift signal MRS2 and generates a test mode signal TM of a H level. A control circuit 391 controls peripheral circuits such as a column decoder 290 so that input/output of data for testing specific operation of a plurality of memory cells included in a memory cell array 320 is performed when receiving a L level test mode signal TM and a H level test mode signal TM.
TANAKA SHINJI