The complementary I/O lines are shared among the respective memory banks and connected to an output terminal of a data input/output circuit (Din Buffer) 210 having a write buffer and an input terminal of a data output circuit (Dout Buffer) 211 including a main amplifier.