Control circuit (100) which outputs a first
signal to
discharge charges accumulated in a source line (SL) and a
bit line (BL) according to the activation of a word line (WL) and outputs a second
signal to put the source line and the
bit line into a potential-
free state until the start of writing or reading, with respect to a
memory cell which has the source line (SL), the
bit line (BL), a
transistor (Tr5) which is provided between the source line (SL) and the bit line (BL) and is switched on and off by a potential of the word line (WL), and a storage element (R1) connected in series with the
transistor (TR5), wherein the
control circuit (100) has a first
transistor (Tr3) connected to the source line (SL) and a second transistor (Tr4) connected to the bit line (BL), and the first transistor (Tr3) includes a first gate terminal and the second transistor (Tr4) includes a second gate terminal, wherein the first gate terminal is connected to a first
NAND gate (69) and the second gate terminal is connected to a second
NAND gate (70), and wherein both the source line (SL) and the bit line (BL) are short-circuited to a ground potential at a first time point in response to the first
signal and transition from their respective first potential-free states to their respective non-potential-free states, and transition at a second time point in response to the second signal to their respective second potential-free states.