Note that the structure of a memory device 1217 that is shown here is only one example, and another circuit such as a sense amplifier, an output circuit, a buffer, an interface for carrying out interactions with the outside, or the like may be included.