Memory device including sense amplifier and method of storing data thereof
A memory device includes a memory cell array including memory cells, a single-ended bitline sense amplifier connected to the memory cells through a bitline and a complementary bitline, and electrically connected through one of the bitline or the complementary bitline in response to the memory cells being activated. A DSI circuit is configured to conditionally transmit complementary input data generated by inverting input data to the single-ended bitline sense amplifier in response to a first number of bits included in the input data having a first level greater than a second number of bits included in the input data having a second level, and a data inversion flag indicating that the input data is inverted, to the sense amplifier. The sense amplifier stores the complementary input data in the memory cell array and the data inversion flag in a specified partial area of the memory cell array.
1 . A memory device comprising:
a memory cell array including a plurality of memory cells;
a single-ended bitline sense amplifier connected to the plurality of memory cells through a bitline and a complementary bitline, and electrically connected through one of the bitline or the complementary bitline in response to the plurality of memory cells being activated; and
a DSI circuit configured to
transmit, to the single-ended bitline sense amplifier, complementary input data generated by inverting input data to the single-ended bitline sense amplifier in response to a first number of bits included in the input data having a first level greater than a second number of bits included in the input data having a second level,
generate a data inversion flag indicating that the input data is inverted in response to the first number of bits included in the input data having the first level greater than the second number of bits included in the input data having the second level, and
transmit the data inversion flag to the single-ended bitline sense amplifier,
wherein the single-ended bitline sense amplifier is configured to store the complementary input data in the memory cell array and to receive and store the data inversion flag in a specified partial area of the memory cell array.
2 . The memory device of claim 1 , wherein the DSI circuit is configured to transmit the input data as-is to the single-ended bitline sense amplifier in response to the first number of bits having the first level being less than or equal to the second number of bits having the second level, and
wherein the single-ended bitline sense amplifier is configured to store the input data as-is in the memory cell array.
3 . The memory device of claim 1 , wherein the first level is a high level, and
wherein the second level is a low level.
4 . The memory device of claim 1 , wherein the DSI circuit comprises:
a global input/output driver configured to amplify and output the input data;
a DSI control unit configured to generate the data inversion flag and invert the input data to generate the complementary input data in response to the first number of bits having the first level being greater than the second number of bits having the second level; and
a global input/output multiplexer configured to transmit the input data to the single-ended bitline sense amplifier or transmit the complementary input data and the data inversion flag to the single-ended bitline sense amplifier based on whether the DSI control unit generated the complementary input data,
wherein the DSI control unit is disposed between the global input/output driver and the global input/output multiplexer.
5 . The memory device of claim 1 , wherein the DSI circuit comprises:
a DSI control unit configured to generate the data inversion flag and invert the input data into the complementary input data in response to the first number of bits having the first level being greater than the second number of bits having the second level;
a global input/output driver configured to amplify and output data received from the DSI control unit; and
a global input/output multiplexer configured to transmit the input data to the single-ended bitline sense amplifier or transmit the complementary input data and the data inversion flag to the single-ended bitline sense amplifier based on whether the DSI control unit transmitted the data inversion flag to the global input/output multiplexer,
wherein the DSI control unit is disposed in front of the global input/output driver and is configured to transmit the data inversion flag to the global input/output multiplexer.
6 . The memory device of claim 1 , further comprising:
an error correction circuit configured to generate an error correction code based on the input data,
wherein the DSI circuit is configured to transmit combined data of the data inversion flag and the error correction code to the single-ended bitline sense amplifier in response to the first number of bits having the first level being greater than the second number of bits having the second level, and
wherein the single-ended bitline sense amplifier is configured to store the combined data in error correction code cells included in the memory cell array.
7 . The memory device of claim 1 , wherein the single-ended bitline sense amplifier is configured to store the data inversion flag in a DSI register separately specified in the memory cell array.
8 . The memory device of claim 1 , wherein the single-ended bitline sense amplifier comprises:
a first inverter including a first output terminal connected to a sensing bitline through a first switch and a first input terminal connected to a complementary sensing bitline; and
a second inverter including a second output terminal connected to the complementary sensing bitline through a second switch and a second input terminal connected to the sensing bitline,
wherein the sensing bitline is connected to the bitline through a third switch,
wherein the complementary sensing bitline is connected to the complementary bitline through a fourth switch,
wherein electrical connection with the complementary bitline is cut off by the fourth switch in response to a first memory cell connected to the bitline being activated, and
wherein electrical connection with the bitline is cut off by the third switch in response to a second memory cell connected to the complementary bitline being activated.
9 . D) A memory device comprising:
a peripheral circuit area; and
a memory cell area stacked on the peripheral circuit area,
wherein the memory cell area comprises a memory cell array including normal memory cells and error correction code cells,
wherein the peripheral circuit area comprises:
a single-ended bitline sense amplifier connected to the memory cell array through a bitline and a complementary bitline, and electrically connected through one of the bitline and the complementary bitline when the memory cell array is activated;
a DSI circuit configured to
transmit, the single-ended bitline sense amplifier, complementary input data generated by inverting input data to the single-ended bitline sense amplifier in response to a first number of bits included in the input data having a first level greater than a second number of bits included in the input data having a second level, and
generate a data inversion flag indicating that the input data is inverted in response to the first number of bits included in the input data having the first level greater than the second number of bits included in the input data having the second level, and
transmit the data inversion flag to the single-ended bitline sense amplifier; and
a DSI register configured to store the data inversion flag,
wherein the single-ended bitline sense amplifier is configured to store the complementary input data in the memory cell array and receive and store the data inversion flag in the DSI register.
10 . The memory device of claim 9 , wherein the DSI register is disposed below the error correction code cells.
11 . The memory device of claim 9 , wherein the DSI register is disposed in a lower portion of the normal memory cells.
12 . The memory device of claim 9 , wherein the DSI circuit comprises:
a global input/output driver configured to amplify and output the input data;
a DSI control unit configured to generate the data inversion flag and invert the input data into the complementary input data in response to the first number of bits having the first level being greater than the second number of bits having the second level; and
a global input/output multiplexer configured to transmit the input data to the single-ended bitline sense amplifier or transmit the complementary input data and the data inversion flag to the single-ended bitline sense amplifier based on whether the DSI control unit generated the complementary input data,
wherein the DSI control unit is disposed between the global input/output driver and the global input/output multiplexer.
13 . The memory device of claim 9 , wherein the DSI circuit comprises:
a DSI control unit configured to generate the data inversion flag and invert the input data into the complementary input data in response to the first number of bits having the first level being greater than the second number of bits having the second level;
a global input/output driver configured to amplify and output data received from the DSI control unit; and
a global input/output multiplexer configured to transmit the input data to the single-ended bitline sense amplifier or transmit the complementary input data and the data inversion flag to the single-ended bitline sense amplifier based on whether the DSI control unit transmitted the data inversion flag to the global input/output multiplexer,
wherein the DSI control unit is disposed in front of the global input/output driver and is configured to transmit the data inversion flag to the global input/output multiplexer.
14 . The memory device of claim 9 , wherein
the DSI circuit is configured to transmit the input data as-is to the single-ended bitline sense amplifier when the first number of bits having the first level being less than or equal to the second number of bits having the second level, and
the single-ended bitline sense amplifier is configured to store the input data as-is in the normal memory cells.