This application claims priority under 35 U.S.C. § 119 to Korean Patent Application No. 10-2023-0066168 filed on May 23, 2023, which is incorporated herein by reference in its entirety.
Embodiments relate to an integrated circuit technology and, more particularly, to a semiconductor device and an operating method of a semiconductor device, which can reduce a data error rate.
Recently, as an electronic device is reduced in size, has low power consumption and high performance, and is diversified, a semiconductor device capable of storing information is desirable for various electronic devices, such as computers and portable communication devices. The semiconductor device may be basically divided into a volatile memory device and a nonvolatile memory device. The volatile memory device can retain data only in the state in which power is supplied to the volatile memory device. The nonvolatile memory device can retain data although power is not supplied to the nonvolatile memory device.
The nonvolatile memory device representatively includes NAND type memory. Next-generation memory that is now being developed includes ferroelectric RAM (FRAM), magnetic RAM (MRAM), phase-change RAM (PRAM), polymer RAM (PoRAM), and resistance RAM (ReRAM).
In an embodiment, a semiconductor device may include a control circuit configured to generate a current direction control signal, a row address signal, and a column address signal, based on a command signal, an address signal, a data signal, and an error correction code (ECC) information signal, a current direction control circuit configured to selectively provide a first bias voltage and a second bias voltage to a row voltage line and a column voltage line, based on the current direction control signal, a row decoder configured to select at least one word line, among a plurality of word lines, based on the row address signal and configured to drive the selected word line to a voltage level of the row voltage line, a column decoder configured to select at least one bit line, among a plurality of bit lines, based on the column address signal and configured to drive the selected bit line to a voltage level of the column voltage line, a memory cell array comprising a plurality of memory cells that are disposed at intersecting locations of the plurality of word lines and the plurality of bit lines, and a data output circuit configured to detect data that has been stored in selected memory cells, among the plurality of memory cells, after a start of a read operation and configured to detect, correct, and output an error of the detected data.
In an embodiment, a semiconductor device may include a control circuit configured to generate a current direction control signal, a row address signal, and a column address signal based on an error correction code (ECC) information signal, after a start of a read operation or whenever a set time interval elapses, a current direction control circuit configured to selectively provide a first bias voltage and a second bias voltage to a row voltage line and a column voltage line, based on the current direction control signal, a row decoder configured to select at least one word line, among a plurality of word lines, based on the row address signal and configured to drive the selected word line to a voltage level of the row voltage line, a column decoder configured to select at least one bit line, among a plurality of bit lines, based on the column address signal and configured to drive the selected bit line to a voltage level of the column voltage line, and an ECC circuit configured to detect and correct an error of data that is output after the start of the read operation, and configured to generate an ECC information signal indicating a number of corrected data, locations of memory cells that have output the corrected data, and a type of error of the corrected data.
In an embodiment, an operating method of a semiconductor device may include a read operation of outputting data stored in a selected memory cell, an operation of receiving error correction code (ECC) information from an ECC circuit that detects and corrects an error of the data after a start of a read operation, an operation of determining whether a number of corrected data is greater than a set number based on the ECC information, an operation of identifying locations of memory cells that have output the corrected data and a type of error of the corrected data based on the ECC information when the number of data corrected is greater than the set number, and an operation of providing a current having a direction based on the type of error to the memory cells that have output the corrected data.
In an embodiment, an operating method of a semiconductor device may include an operation of receiving error correction code (ECC) information whenever a set time interval elapses, an operation of identifying locations of memory cells that have output corrected data and a type of error of the corrected error based on the ECC information, and an operation of providing a current having a direction based on the type of error to the memory cells that have output the corrected data.
Hereinafter, embodiments according to the technical spirit of the present disclosure are described with reference to the accompanying drawings.
Embodiments of the present disclosure provide a semiconductor device and an operating method of a semiconductor device, which can reduce a data error rate attributable to a drift phenomenon.
It is possible to improve the reliability of the semiconductor device by reducing a data error rate of the semiconductor device.
Referring to
The control circuit 100 may store data in the memory cell array 500 by controlling the current direction control circuit 200, the row decoder 300, and the column decoder 400, based on a command signal CMD, an address signal ADD, and a data signal DATA, and may output, to the outside of the semiconductor device 1000, the data that has been stored in the memory cell array 500 through the data output circuit 600. In this case, an operation of storing data in the memory cell array 500 may be called a write operation. An operation of outputting, to the outside of the semiconductor device 1000, the data that has been stored in the memory cell array 500 may be called a read operation.
For example, the control circuit 100 that performs the write operation or the read operation may generate a current direction control signal I_C, a row address signal ADD_R, and a column address signal ADD_C, based on the command signal CMD, the address signal ADD, and the data signal DATA.
More specifically, for example, the control circuit 100 may generate the current direction control signal I_C, based on the command signal CMD and the data signal DATA, and may provide the current direction control signal I_C to the current direction control circuit 200.
The control circuit 100 may generate the row address signal ADD_R based on the command signal CMD and the address signal ADD, and may provide the row address signal ADD_R to the row decoder 300.
The control circuit 100 may generate the column address signal ADD_C based on the command signal CMD and the address signal ADD, and may provide the column address signal ADD_C to the column decoder 400.
Furthermore, the control circuit 100 according to an embodiment of the present disclosure may generate the current direction control signal I_C, the row address signal ADD_R, and the column address signal ADD_C, based on an error correction code (ECC) information signal ECC_inf and an interval information signal T_inf. In an embodiment, the ECC information signal ECC_inf may include information with regard to the number of data having an error corrected after the start of a read operation and locations of memory cells that have output the corrected data and the type of error. For example, the ECC information signal ECC_inf may indicate the number of corrected data after the start of a read operation, locations of memory cells that have output the corrected data, and a type of error of the corrected data. Furthermore, the interval information signal T_inf may be a signal that is generated whenever a set time elapses.
For example, the control circuit 100 may generate the row address signal ADD_R and the column address signal ADD_C based on one or both of the ECC information signal ECC_inf and the interval information signal T_inf, and may provide the generated row address and column address signals ADD_R and ADD_C to the row decoder 300 and the column decoder 400, respectively. In this case, when it is determined that the number of data having an error corrected by the ECC circuit 601 based on the ECC information signal ECC_inf is greater than a set number, the control circuit 100 may generate the row address signal ADD_R and the column address signal ADD_C corresponding to the locations of memory cells that have output the corrected data. Furthermore, when it is determined that a set time has elapsed based on the interval information signal T_inf, the control circuit 100 may generate the row address signal ADD_R and the column address signal ADD_C corresponding to the locations of memory cells that have output the corrected data based on the ECC information signal ECC_inf.
Thereafter, the control circuit 100 may identify the type of error of the data corrected based on the ECC information ECC_inf, and may generate the current direction control signal I_C based on the identified type of error.
The current direction control circuit 200 may selectively provide a first bias voltage (e.g., a positive bias voltage) V_P and a second bias voltage (e.g., a negative bias voltage) V_N to a first voltage line (e.g., a row voltage line) L_R and a second voltage line (e.g., a column voltage line) L_C, based on the current direction control signal I_C.
For example, when providing the positive bias voltage V_P to the row voltage line L_R based on the current direction control signal I_C, the current direction control circuit 200 may provide the negative bias voltage V_N to the column voltage line L_C. Furthermore, when providing the positive bias voltage V_P to the column voltage line L_C based on the current direction control signal I_C, the current direction control circuit 200 may provide the negative bias voltage V_N to the row voltage line L_R. Specifically, when the current direction control signal I_C has a first value indicating a first type of error (e.g., a reset error), the current direction control circuit 200 may provide the positive bias voltage V_P to the row voltage line L_R and the negative bias voltage V_N to the column voltage line L_C. When the current direction control signal I_C has a second value indicating a second type of error (e.g., a set error), the current direction control circuit 200 may provide the positive bias voltage V_P to the column voltage line L_C and the negative bias voltage V_N to the row voltage line L_R.
The row decoder 300 may select at least one of a plurality of word lines WL based on the row address signal ADD_R, and may drive the selected word line WL to the voltage level of the row voltage line L_R.
The column decoder 400 may select at least one of a plurality of bit lines BL based on the column address signal ADD_C, and may drive the selected bit line BL to the voltage level of the column voltage line L_C.
The memory cell array 500 may include a plurality of memory cells MC, and may be an area in which the plurality of word lines WL and the plurality of bit lines BL intersect. In this case, the memory cell MC may be disposed at the location at which one word line WL and one bit line BL intersect. Each memory cell MC may be electrically connected between the word line WL and the bit line BL. Furthermore, the memory cell MC may store data in a first state (e.g., a set state) or a second state (e.g., a reset state) depending on the polarity of a voltage that is provided by each of the word line WL and the bit line BL. That is, the memory cell MC may store set data or reset data depending on the direction in which a current flows into the memory cell MC. The memory cell MC may be self-selecting memory including a chalcogenide alloy.
The data output circuit 600 may detect data that has been stored in the memory cell MC through the word line WL or the bit line BL, and may output the detected data. In this case, the data output circuit 600 may include an error correction code (ECC) circuit 601. After the start of a read operation, that is, when data that has been stored in the memory cell array 500 is output, the ECC circuit 601 may detect and correct an error included in data that is detected from the memory cell array 500. The ECC circuit 601 may provide the control circuit 100 with the number of data having an error corrected and locations of memory cells that have output the corrected data and the type of error as the ECC information signal ECC_inf. The number of data having an error corrected by the ECC circuit 601 may correspond to the number of memory cells that do not store data normally. If the ECC circuit 601 has corrected data so that the data has the set state, the ECC circuit 601 may have determined that the type of error as a set error. If the ECC circuit 601 has corrected data so that the data has the reset state, the ECC circuit 601 may have determined that the type of error as a reset error.
The memory cell MC may be electrically connected between the word line WL and the bit line BL. The direction of a current that flows into the memory cell MC may be determined depending on the polarity of a voltage that is applied to each of the word line WL and the bit line BL. The state of the memory cell MC may transition to the set state or the reset state based on the direction of the current. In this case, an operation of changing the state of the memory cell MC to the set state or the reset state may be called a write operation. Furthermore, an operation of changing the state of the memory cell MC to the set state may be called a set write operation. An operation of changing the state of the memory cell MC to the reset state may be called a reset write operation. An operation of outputting data that has been stored in the memory cell MC may be called a read operation. An operation of detecting the state of the memory cell MC in order to identify whether the state of the memory cell MC is the set state or the reset state may be an operation that is included in a read operation. Although specific current directions are shown in
Referring to
In a reset write operation, a first bias voltage applied to the selected word line WL is greater than a second bias voltage applied to the selected bit line BL, thereby making the memory cell MC between the selected word and bit lines WL and BL have a reset state (e.g., a high resistance state). For example, when the positive bias voltage V_P (indicated by “+” in
The reset write operation may be described as follows, for example, with reference to
The current direction control circuit 200 may apply the positive bias voltage V_P to the row voltage line L_R and apply the negative bias voltage V_N to the column voltage line L_C, based on the current direction control signal I_C for changing the state of the memory cell MC to the reset state.
The row decoder 300 may select one of the plurality of word lines WL based on the row address signal ADD_R, and may drive the selected word line WL to the voltage level of the row voltage line L_R. At this time, the level of the selected word line WL may become substantially equal to the level of the positive bias voltage V_P.
The column decoder 400 may select one of the plurality of bit lines BL based on the column address signal ADD_C, and may drive the selected bit line BL to the voltage level of the column voltage line L_C. At this time, the level of the selected bit line BL may become substantially equal to the level of the negative bias voltage V_N.
As a result, a current may flow from the selected word line WL to the selected bit line BL through a memory cell MC that is electrically connected between the selected word line WL and the selected bit line BL, among the plurality of memory cells MC. At this time, the state of the memory cell MC may be changed to the reset state.
A set write operation for changing the state of the memory cell MC to the set state may be described as follows with reference to
In a set write operation, a first bias voltage applied to a selected bit line BL is greater than a second bias voltage applied to a selected word line WL, thereby making the memory cell MC between the selected word and bit lines WL and BL have a set state (e.g., a low resistance state). For example, when the positive bias voltage (+) is applied to the bit line BL and the negative bias voltage (−) is applied to the word line WL, a current may flow from the bit line BL to the word line WL through the memory cell MC. At this time, the state of the memory cell MC may be changed to the set state.
The set write operation may be described as follows, for example, with reference to
The current direction control circuit 200 may apply the positive bias voltage V_P to the column voltage line L_C and apply the negative bias voltage V_N to the row voltage line L_R, based on the current direction control signal I_C for changing the state of the memory cell MC to the set state.
The row decoder 300 may select one of the plurality of word lines WL based on the row address signal ADD_R, and may drive the selected word line WL to the voltage level of the row voltage line L_R. At this time, the level of the selected word line WL may become substantially equal to the level of the negative bias voltage V_N.
The column decoder 400 may select one of the plurality of bit lines BL based on the column address signal ADD_C, and may drive the selected bit line BL to the voltage level of the column voltage line L_C. At this time, the level of the selected bit line BL may become substantially equal to the level of the positive bias voltage V_P.
As a result, a current may flow from the selected bit line BL to the selected word line WL through a memory cell MC that is electrically connected between the selected word line WL and the selected bit line BL, among the plurality of memory cells MC. At this time, the state of the memory cell MC may be changed to the set state.
Furthermore, referring to
In this case, a difference between the levels of voltages that are applied to both ends of the memory cell MC in the reset write direction and the set write direction, that is, a difference between the voltage levels of the word line WL and the bit line BL, may be the same. In other words, an absolute difference between the levels of voltages that are applied to both ends of the memory cell MC in the reset write operation may be substantially the same as an absolute difference between the levels of voltages that are applied to both ends of the memory cell MC in the set write operation. A difference between the voltage levels of the word line WL and the bit line BL in the read operation may be smaller than a difference between the voltage levels of the word line WL and the bit line BL in the reset write or set write operation.
As illustrated in
An operation of determining whether the state of the memory cell MC is the set state or the reset state after the start of a read operation may be an operation of determining the threshold voltage Vth of the memory cell MC.
For example, an operation of determining the set state or reset state of the memory cell MC may be an operation of detecting the amount of current that is constructed to flow from the bit line BL to the word line WL through the memory cell MC and that passes through the memory cell MC by applying the positive bias voltage V_P to the bit line BL of the memory cell MC and applying the negative bias voltage V_N to the word line WL of the memory cell MC. As illustrated in
Therefore, the reason why whether the state of the memory cell MC is the set state or the reset state can be determined by detecting the amount of current that flows via the memory cell MC after the start of a read operation is that the amount of current that flows via the memory cell MC is different due to the threshold voltage Vth according to the state of the memory cell MC.
Accordingly, if the level of the threshold voltage Vth of the memory cell MC having the set state or the reset state becomes higher due to a drift phenomenon, it is difficult to determine whether the state of the memory cell MC is the set state or the reset state normally. This may degrade data storage reliability of a semiconductor device.
Furthermore, if the threshold voltage Vth in the reset state is greater than a maximum threshold voltage (V.max) due to a drift phenomenon, the state of the memory cell MC may not be changed from the reset state to the set state.
Referring to
Furthermore, assuming that the level of the threshold voltage Vth of a memory cell in the reset state has increased due to a drift phenomenon, the level of the increased threshold voltage Vth due to the drift phenomenon may be lowered when a current having the same direction as a current having a reset write direction is applied to the memory cell. In this case, an operation of providing the memory cell having the reset state with the current having the same direction as the current in the reset write operation may be named a reset re-write operation.
The semiconductor device and operating methods of the semiconductor device according to embodiments of the present disclosure are intended to solve a problem occurring due to the drift phenomenon. Operating methods of a semiconductor device according to embodiments of the present disclosure may be described hereinafter as with reference to
Referring to
The operation S1 of determining whether a re-write condition is satisfied may include an operation of determining whether it is necessary to perform a re-write operation on a memory cell. In an embodiment, in the operation S1, a re-write condition may be satisfied if a write operation is not performed on a memory cell although a set time (e.g., 48 hours) elapses, that is, when the time for which the memory cell maintains the same state (i.e., the set state or the reset state) is greater than a set time (e.g., 48 hours). Furthermore, in the operation S1, a re-write condition may be satisfied when the number of data corrected by the ECC circuit 601 after the start of a read operation is greater than a set number.
The operation S2 of identifying the type of error and a location may include an operation of identifying the state (i.e., the reset state or the set state) of data stored in the memory cell that maintains the same state after the elapse of the set time or the location of the memory cells. For example, the operation S2 of identifying the type of error and a location may include an operation of identifying the locations of memory cells that maintain the set state after the elapse of the set time, or the locations of memory cells that maintain the reset state after the elapse of the set time. Furthermore, the operation S2 of identifying the type of error and a location may include an operation of identifying the locations of memory cells in each of which the state of data has been corrected as the set state or the reset state by the ECC circuit 601 after the start of a read operation.
The operation S3 of performing a re-write operation may include an operation of providing a current having the same direction as a current having a set write direction to memory cells that maintain the set state after the elapse of a set time, or to memory cells in each of which the state of data has been corrected as the set state. Furthermore, the operation S3 of performing a re-write operation may include an operation of providing a current having the same direction as a current having a reset write direction to memory cells that maintain the reset state after the elapse of a set time, or to memory cells in each of which the state of data has been corrected as the reset state.
As described above, in the operating method of the semiconductor device according to an embodiment of the present disclosure, a re-write operation is performed on memory cells that maintain the same state after the elapse of a set time, or on memory cells in each of which the state of data has been corrected due to an ECC operation. Accordingly, a data error rate of memory cells can be reduced and data storage reliability of memory cells can be improved by performing a re-write operation on the memory cells with the threshold voltages that have been changed due to a drift phenomenon.
Referring to
The read operation S10 may include an operation of outputting data that has been stored in the plurality of memory cells MC included in the memory cell array 500, based on the command signal CMD and the address signal ADD.
For example, the read operation S10 may include an operation of detecting data of a memory cell that has been designated by the address signal ADD, based on the command signal CMD and the address signal ADD, or an operation of detecting and correcting an error included in the detected data, or both.
More specifically, the control circuit 100 may generate the current direction control signal I_C, the row address signal ADD_R, and the column address signal ADD_C, based on the command signal CMD and the address signal ADD, and may provide the current direction control signal I_C, the row address signal ADD_R, and the column address signal ADD_C to the current direction control circuit 200, the row decoder 300, and the column decoder 400, respectively. At this time, the current direction control circuit 200 may apply the negative bias voltage V_N to the row voltage line L_R and apply the positive bias voltage V_P to the column voltage line L_C. Alternatively, the current direction control circuit 200 may apply the positive bias voltage V_P to the row voltage line L_R and apply the negative bias voltage V_N to the column voltage line L_C. Furthermore, the row decoder 300 may select at least one of the plurality of word lines WL based on the row address signal ADD_R, and may drive the selected word line WL to the level of the negative bias voltage V_N. The column decoder 400 may select at least one of the plurality of bit lines BL based on the column address signal ADD_C, and may drive the selected bit line BL to the level of the positive bias voltage V_P.
The data output circuit 600 may detect data of a memory cell that is connected between the selected word line WL and the selected bit line BL, based on a current of the selected word line WL or the selected bit line BL, and may output the detected data. In other words, the data output circuit 600 may detect data of a memory cell connected between the selected word line WL and the selected bit line DL based on a current flowing through the memory cell, and may output the detected data. At this time, the ECC circuit 601 may detect and correct an error of the detected data. The ECC circuit 601 may generate information with regard to the number of data corrected and the locations of memory cells at each of which the corrected data has been detected, and the ECC information signal ECC_inf including the type of corrected error, through the operation of detecting and correcting an error. The number of data corrected by the ECC circuit 601 may correspond to the number of memory cells having the shifted level (e.g., increased level) of the threshold voltage Vth due to a drift phenomenon.
The operation S20 of receiving ECC information may include an operation of receiving the ECC information signal ECC_inf that is provided by the ECC circuit 601.
For example, the operation S20 of receiving ECC information may include an operation of receiving, by the control circuit 100, the ECC information signal ECC_inf that is generated by the ECC circuit 601 after the start of a read operation.
The operation S30 of checking the number of data corrected may include an operation of determining whether the number of data having an error corrected by the ECC circuit 601 based on the ECC information signal ECC_inf, that is, the number of memory cells having the shifted level (e.g., increased level) of the threshold voltage Vth due to a drift phenomenon, is greater than a set number.
For example, when the number of data having an error corrected based on the ECC information signal ECC_inf is greater than the set number (Y) in the operation S30 of checking the number of data corrected, the operation S40 of identifying the type of error and a location may be performed.
When the number of data having an error corrected based on the ECC information signal ECC_inf is not greater than the set number (N) in the operation S30 of checking the number of data corrected, the operating method of the semiconductor device according to the embodiment shown in
More specifically, the control circuit 100 may perform the operation S30 of checking the number of data corrected on which the operating method of the semiconductor device according to the embodiment in
The operation S40 of identifying the type of error and a location may include an operation of identifying the locations of memory cells with stored data having an error detected and the type of error corrected, based on the ECC information signal ECC_inf. In this case, if the state of the data has been corrected as the set state, the type of error of the data may be called a set error. If the state of the data has been corrected as the reset state, the type of error of the data may be called a reset error. That is, a set error indicates that the corrected data has a set state, whereas a reset error indicates that the corrected data has a reset state.
For example, the control circuit 100 may perform the operation S40 of identifying the type of error and a location, including generating the row address signal ADD_R and the column address signal ADD_C corresponding to the locations of memory cells that have stored data including an error detected based on the type of error, based on the ECC information signal ECC_inf. In other words, the operation S40 may include generating the row address signal ADD_R and the column address signal ADD_C based on the ECC information signal ECC_inf, where the row and column address signals ADD_R and ADD_C indicate the locations of memory cells from which errors have been detected.
The operation S50 of selecting a location at which a set error has occurred may include an operation of selecting the locations of memory cells in each of which the state of data has been corrected as the set state in the operation S40 of identifying the type of error and a location.
For example, the row decoder 300 and the column decoder 400 may perform the operation S50 of selecting a location at which a set error has occurred, including selecting at least one word line WL and at least one bit line BL based on the row address ADD_R and the column address ADD_C that are provided by the control circuit 100. In this case, the row address ADD_R and the column address ADD_C that are provided by the control circuit 100 may correspond to the locations of memory cells storing data corrected as the set state. For example, the control circuit 100 may generate the row address ADD_R and the column address ADD_C corresponding to first locations of memory cells that have output first data corrected to have the set state.
The operation S60 of providing a current having a set write direction may include an operation of providing the memory cells selected in the operation S50 of selecting a location at which a set error has occurred with a current having the set write direction.
For example, the current direction control circuit 200 may perform the operation S60 of providing a current in a set write direction, which includes driving, by the row decoder 300, the selected word line WL to the level of the negative bias voltage V_N and driving, by the column decoder 400, the selected bit line BL to the level of the positive bias voltage V_P, by providing the positive bias voltage V_P to the column voltage line L_C and providing the negative bias voltage V_N to the row voltage line L_R based on the current direction control signal I_C. In other words, the current direction control circuit 200 may provide the positive bias voltage V_P to the column voltage line L_C and provide the negative bias voltage V_N to the row voltage line L_R based on the current direction control signal I_C. As a result, the column decoder 400 drives the selected bit line BL to the level of the positive bias voltage V_P and the row decoder 300 drives the selected word line WL to the level of the negative bias voltage V_N, thereby providing the selected memory cell with a current in a set write direction.
The operation S70 of selecting a location at which a reset error has occurred may include an operation of selecting the locations of memory cells in which the state of data has been corrected as the reset state in the operation S40 of identifying the type of error and a location.
For example, the row decoder 300 and the column decoder 400 may perform the operation S70 of selecting a location at which a reset error has occurred, including selecting at least one word line WL and at least one bit line BL based on the row address ADD_R and the column address ADD_C that are provided by the control circuit 100. In this case, the row address ADD_R and the column address ADD_C that are provided by the control circuit 100 may correspond to the locations of memory cells storing data corrected as the reset state. For example, the control circuit 100 may generate the row address ADD_R and the column address ADD_C corresponding to second locations of memory cells that have output second data corrected to have the reset state.
The operation S80 of providing a current in a reset write direction may include an operation of providing the memory cells selected in the operation S70 with a current having the reset write direction.
For example, the current direction control circuit 200 may perform the operation S80 of providing a current in a reset write direction, which includes driving the word line WL selected by the row decoder 300 to the level of the positive bias voltage V_P and driving the bit line BL selected by the column decoder 400 to the level of the negative bias voltage V_N by providing the negative bias voltage V_N to the column voltage line L_C and providing the positive bias voltage V_P to the row voltage line L_R based on the current direction control signal I_C. In other words, the current direction control circuit 200 may provide the positive bias voltage V_P to the row voltage line L_R and provide the negative bias voltage V_N to the column voltage line L_C based on the current direction control signal I_C. As a result, the row decoder 300 drives the selected word line WL to the level of the positive bias voltage V_P and the column decoder 400 drives the selected bit line BL to the level of the negative bias voltage V_N, thereby providing the selected memory cell with a current in a reset write direction.
As a result, in the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure, when the number of data having an error corrected based on the ECC information that is generated after the start of a read operation for memory cells is greater than a set number, the locations of the memory cells can be identified based on the type of error corrected, and a current having a direction based on the type of error can be provided to the identified locations of the memory cells. In the embodiment shown in
Therefore, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can adjust (e.g., lower) the levels of the threshold voltages of memory cells, which have shifted (e.g., become higher) due to a drift phenomenon, to the level of a threshold voltage in a normal set or reset state, by providing a current having a reset write direction or a set write operation to the memory cells that do not maintain the normal set or reset state due to the drift phenomenon after the start of a read operation. As a result, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can substantially prevent the threshold voltage of a memory cell in which data having the reset state has been stored from exceeding a maximum threshold voltage (V.max) due to a drift phenomenon.
Accordingly, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can reduce a data error rate of a memory cell and solve a problem in that a memory cell does not transition from the reset state to the set state, thereby improving the data storage reliability of the memory cell.
Referring to
The operation S101 of determining an interval may include an operation of determining whether a set interval has elapsed. For example, the operation S10 may include determining, after a write operation has been performed on a memory cell to make the memory cell have a specific state, whether a set time interval has elapsed during which the memory cell keeps having the specific state.
For example, when it is determined that the set interval has elapsed (Y) in the operation S101 of determining an interval, the operation S201 of receiving ECC information may be performed. In contrast, when it is determined that the set interval has not elapsed (N) in the operation S101 of determining an interval, the operating method of the semiconductor device according to the embodiment shown in
More specifically, the control circuit 100 may receive, from the timer 700, the interval information signal T_inf that is generated every set interval. Furthermore, the control circuit 100 may request, from the ECC circuit 601, the ECC information signal ECC_inf that is generated after the start of a just-before read operation whenever the interval information signal T_inf is provided. Specifically, the just-before read operation may refer to a read operation that is performed most recently before the timer 700 provides the interval information signal T_inf to the control circuit 100.
Therefore, the control circuit 100 and the timer 700 may perform the operation S101 of determining an interval, including requesting, from the ECC circuit 601, the ECC information signal ECC_inf that is generated after the start of a just-before read operation whenever a set interval elapses.
The operation S201 of receiving ECC information may include an operation of receiving the ECC information signal ECC_inf that is provided by the ECC circuit 601. For example, the operation S201 of receiving ECC information may include an operation of receiving, by the control circuit 100, the ECC information signal ECC_inf that is generated by the ECC circuit 601 after the start of a read operation just before a timing at which the interval information signal T_inf has been provided to the control circuit 100. That is, the ECC information signal ECC may indicate most recently updated information on the locations of memory cells with corrected errors and types of the corrected errors.
The operation S301 of identifying the type of error and a location may include an operation of identifying the locations of memory cells that have stored data having an error detected and the type of error corrected, based on the ECC information signal ECC_inf. In this case, if the state of the data has been corrected as the set state, the type of error of the data may be called a set error. If the state of the data has been corrected as the reset state, the type of error of the data may be called a reset error.
For example, the control circuit 100 may perform the operation S301 of identifying the type of error and a location, including generating the row address signal ADD_R and the column address signal ADD_C corresponding to the locations of memory cells that have stored data including an error detected based on the type of error, based on the ECC information signal ECC_inf.
The operation S401 of selecting a location at which a set error has occurred may include an operation of selecting the locations of memory cells in each of which the state of data has been corrected as the set state in the operation S301 of identifying the type of error and a location.
For example, the row decoder 300 and the column decoder 400 may perform the operation S401 of selecting a location at which a set error has occurred, including selecting at least one word line WL and at least one bit line BL based on the row address ADD_R and the column address ADD_C that are provided by the control circuit 100. In this case, the row address ADD_R and the column address ADD_C that are provided by the control circuit 100 may correspond to the locations of memory cells storing data corrected as the set state.
The operation S501 of providing a current in a set write direction may include an operation of providing the memory cells selected in the operation S401 with a current having the set write direction.
For example, the current direction control circuit 200 may perform the operation S501 of providing a current in a set write direction, which includes driving the word line WL selected by the row decoder 300 to the level of the negative bias voltage V_N and driving the bit line BL selected by the column decoder 400 to the level of the positive bias voltage V_P by providing the positive bias voltage V_P to the column voltage line L_C and providing the negative bias voltage V_N to the row voltage line L_R based on the current direction control signal I_C.
The operation S601 of selecting a location at which a reset error has occurred may include an operation of selecting the locations of memory cells in which the state of data has been corrected as the reset state in the operation S301 of identifying the type of error and a location.
For example, the row decoder 300 and the column decoder 400 may perform the operation S601 of selecting a location at which a reset error has occurred, including selecting at least one word line WL and at least one bit line BL based on the row address ADD_R and the column address ADD_C that are provided by the control circuit 100. In this case, the row address ADD_R and the column address ADD_C that are provided by the control circuit 100 may correspond to the locations of memory cells storing data corrected as the reset state.
The operation S701 of providing a current in a reset write direction may include an operation of providing the memory cells that have been selected in the operation S601 with a current having the reset write direction.
For example, the current direction control circuit 200 may perform the operation S701 of providing a current in a reset write direction, which includes driving the word line WL selected by the row decoder 300 to the level of the positive bias voltage V_P and driving the bit line BL selected by the column decoder 400 to the level of the negative bias voltage V_N by providing the negative bias voltage V_N to the column voltage line L_C and providing the positive bias voltage V_P to the row voltage line L_R based on the current direction control signal I_C.
As a result, in the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure, the locations of memory cells can be identified based on the type of error of data corrected by the ECC circuit 601 whenever a set interval elapses, and a current having a direction based on the type of error can be provided to the identified locations of the memory cells.
Therefore, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can adjust (e.g., lower) the levels of the threshold voltages of memory cells, which have shifted (e.g., become higher) due to a drift phenomenon, to the level of a threshold voltage in a normal set or reset state, by providing a current having a reset write direction or a set write direction to the memory cells that do not maintain the normal set or reset state due to the drift phenomenon, whenever a set interval elapses. As a result, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can substantially prevent the threshold voltage of a memory cell in which data having the reset state has been stored from exceeding a maximum threshold voltage (V.max) due to a drift phenomenon, whenever a set interval elapses.
Accordingly, the semiconductor device and the operating method of the semiconductor device according to embodiments of the present disclosure can reduce a data error rate of a memory cell and solve a problem in that a memory cell does not transition from the reset state to the set state, thereby improving the data storage reliability of the memory cell.
Although embodiments according to the technical spirit of the present disclosure have been described above with reference to the accompanying drawings, the embodiments have been provided to merely describe embodiments according to the concept of the present disclosure, and various embodiments of the present disclosure are not limited to the embodiments. A person having ordinary knowledge in the art to which the present disclosure pertains may substitute, modify, and change the embodiments in various ways without departing from the technical spirit of the present disclosure written in the claims. Such substitutions, modifications, and changes may be said to belong to the scope of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
10-2023-0066168 | May 2023 | KR | national |