CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority under 35 U.S.C. § 119(a) to Korean Patent Application No. 10-2021-0022194 filed on Feb. 18, 2021 in the Korean Intellectual Property Office, which is incorporated herein by reference in its entirety.

BACKGROUND

1. Technical Field

Embodiments of the present disclosure may generally relate to an electronic device for performing a data masking operation, which generates a write parity from error-corrected read data and generates write data from error-uncorrected read data, in the data masking operation.

2. Related Art

Recently, in order to increase the operating speed of a semiconductor device, various schemes of inputting/outputting data including a plurality of bits in each clock cycle are being used. In the case where an input/output speed of data is increased, the probability of occurrence of an error during a data transmission process also increases. Therefore, a separate device and method for ensuring the reliability of data transmission are additionally demanded.

For example, there is used a method of generating error codes capable of checking the occurrence of an error and transmitting the error codes together with data, at each time when data is transmitted, thereby ensuring the reliability of data transmission. The error codes include an error detection code (EDC) capable of detecting an occurred error and an error correction code (ECC) capable of self-correcting an error upon occurrence of the error.

SUMMARY

In an embodiment, an electronic device may include a core circuit configured to store write data and a write parity after outputting read data and a read parity in a data masking operation The electronic device may also include an error correction circuit configured to correct an error included in the read data, based on the read parity; generate the write parity from the error-corrected read data, input data, and masking data; and generate the write data from the error-uncorrected read data, the input data, and the masking data.

In an embodiment, an electronic device may include a masking data generation circuit configured to generate masking data from a masking signal inputted from outside the electronic device. The electronic device may also include an error control circuit configured to generate a correction control signal for correcting an error of read data, from a read parity generated in an internal read operation. The electronic device may further include a data processing circuit configured to correct an error of the read data by an error control signal and the correction control signal and generate transfer data from the masking data and the error-corrected read data, in the internal read operation, and generate the transfer data from the masking data and the error-uncorrected read data in an internal write operation.

