Note that the configuration of a memory device 716 shown here is only one example and the memory device may have another circuit such as a sense amplifier, an output circuit, and a buffer, and the writing circuit may be provided in the bit line driver circuit.