According to one embodiment, a memory device includes a memory cell, a sense amplifier, and a resistor. The sense amplifier includes a first input and a second input, outputs a signal in accordance with a difference between the first and second inputs, and is selectively coupled at a second input to the memory cell. The resistor is in a first path between the first input of the sense amplifier and a ground node.
1. A memory device comprising:
a sense amplifier comprising a first input and a second input, the sense amplifier outputting a signal in accordance with a difference between the first and second inputs;
a first current path including a memory cell configured to be coupled between the first input of the sense amplifier and a ground node; and
a second current path between the second input of the sense amplifier and the ground node,
wherein, when a potential of the ground node varies, a variation of a second current flowing in the second current path follows a variation of a first current flowing in the first current path including the memory cell of a first state.
2. The device of claim 1 , wherein, when the potential of the ground node varies, the variation of the second current follows a variation of a third current flowing in the first current path including the memory cell of a second state.
3. The device of claim 2 , wherein:
the memory cell of the first state has a first resistance,
the memory cell of the second state has a second resistance, and
the first resistance differs from the second resistance.
4. The device of claim 2 , wherein the second current is larger than the first current and smaller than the third current.
5. The device of claim 2 , wherein:
the second current path includes a resistor, and
the resistor has a resistance which is larger than a resistance of the first current path including the memory cell of the second state and smaller than a resistance of the first current path including the memory cell of the first state.
6. The device of claim 5 , wherein:
the resistor comprises one of a gate resistance, a diffusion layer resistor, a metal resistor, a transistor resistor, and a combination of two or more of a gate resistance, a diffusion layer resistor, a metal resistor, and a transistor resistor.
7. The device of claim 5 , wherein the resistor has a resistance which is larger than or equal to 10 kΩ.