| CPC G06F 3/0659 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0679 (2013.01); G06N 3/08 (2013.01); G11C 16/0483 (2013.01); G11C 16/08 (2013.01)] | 12 Claims |

|
1. A nonvolatile semiconductor memory comprising:
a plurality of memory cells;
a plurality of bit lines connected to the plurality of memory cells;
a first circuit configured to control the plurality of bit lines according to first data;
a source line commonly connected to first ends of the plurality of bit lines; and
a second circuit connected to the source line and configured to detect second data according to a current amount in the source line,
wherein:
the second circuit includes a third circuit and a fourth circuit,
the third circuit is configured to compare a first voltage with a second voltage, the first voltage being a reference voltage, and the second voltage being a voltage of the source line based on the current amount in the source line, and
the fourth circuit is configured to digitally convert the current amount in the source line.
|