Note that the structure shown here is only an example; accordingly, the memory circuit 216 may include another circuit such as a sense amplifier, an output circuit, and a buffer, and the writing circuit may be provided on the bit line driver circuit.