Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
APPARATUSES AND METHODS FOR ERROR CORRECTION CODING AND DATA BUS INVERSION FOR SEMICONDUCTOR MEMORIES
Document Type and Number:
WIPO Patent Application WO/2020/055731
Kind Code:
A1
Abstract:
Apparatuses and methods for error correction coding and data bus inversion for semiconductor memories are described. An example apparatus includes an I/O circuit configured to receive first data and first ECC data associated with the first data, a memory array, and a control circuit. The control circuit is coupled between the I/O circuit and the memory array. The control circuit is configured to execute first ECC-decoding to produce corrected first data and corrected first ECC data responsive, at least in part, to the first data and the first ECC data. The control circuit is further configured to store both the corrected first data and the corrected first ECC data into the memory array.

Inventors:
RIHO YOSHIRO (JP)
SHIMIZU ATSUSHI (JP)
PARK SANG-KYUN (US)
KWAK JONGTAE (US)
Application Number:
PCT/US2019/050177
Publication Date:
March 19, 2020
Filing Date:
September 09, 2019
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MICRON TECHNOLOGY INC (US)
International Classes:
G06F11/10; G06F13/16; H03M13/31
Foreign References:
US20160203045A12016-07-14
KR20170002053A2017-01-06
US7523380B12009-04-21
US20180004596A12018-01-04
KR20130101149A2013-09-12
Other References:
See also references of EP 3850488A4
Attorney, Agent or Firm:
ENG, Kimton et al. (US)
Download PDF:
Claims:
CLAIMS

What is claimed is:

1 An apparatus comprising:

an I/O circuit con figured to rcccn e fuA data and first ECC lata associate with the first data;

a memory array; and

a control circuit coup led between the I/O circuit and the memory' array, the control circuit configured to execute first ECC-decoding to produce corrected first data and corrected first ECC data responsive, at least in part, to the first data and the first ECC data, the control circuit further configured to store both the corrected first data and the corrected first ECC data into the memory array.

2, The apparatus of clai I, wherein the control circuit is further configure to reeeh e second data and second ECC data corresponding to the second data from the memory array, execute second ECC-decoding to produce corrected second data and corrected second ECC data, and transmit the corrected econd data and the corrected second ECC data to the I/O circuit.

3. The apparatus of claim 2, wherein each of the first ECC-decoding an the second ECC-decoding is executed based o a common M-mafrix.

4 The apparatus of claim 1 , wherein the I/O circui t is furt her configured to receive DBi data and second ECC data corresponding to the DBI data, and the first data is DBI-encoded based on the DBI data;

wherein the control cncutt is further configured to execute second ECC-decoding on the DBI data responsive to the second ECC data to produce corrected DBI data and execute DBI-deco ing on the first data responsive to the corrected DBI data to produce an intermediate first data; and

wherein the first ECC-decoding is executed on the intermediate first data and the first ECC data to produce the corrected first data and the corrected first ECC data.

5. The apparatus of claim 1, wherein the I/O circuit is further configured to receive DBI data and second ECC data corresponding to the DBI data, and the firs data isDBI-eneoded based on the DBI data;

wherein the first ECC-deeoding is executed on the first data and the first BCG data to produce an intermediate first data and the corrected first ECC data; and wherein the control circuit is further configured to execute a second ECC -decoding on the DBI data and the second ECC data to produce corrected DBI data and execute DBi-deeodmg on the intermediate firs t data responsive to the corrected DBI data to produce the corrected first data.

6 The apparatus of claim 5, wherein the control circuit is further configured to receive second data and second ECC data corresponding to the second data from the memory array, execute a third ECC-deeoding on the second data and tile second ECC data to produce intermediate second data and corrected second ECC data, execute DBl-encoding on the intermediate second data to produce corrected second data and additional DBI data, execute BCC-eneodmg on the additional DBI data to produce a thir ECC data and transmit the corrected second da ta, corrected second ECC data, additional DBI data and the third ECC dat to the I/O circuit.

7 An apparatus comprising;

an I/O circuit configured to receive first data, datfl-bus-inversion /DBI) dat related to the first data, first ECC data associated with the first data and second ECC data associated with the DBI data;

a memory array; and

a control circuit coupled between the I/O circuit and the memory cell array, the control circuit comprising a first ECC-decoding circuit, a second ECC-decoding circuit and a DBI- decoding circuit;

wherein the second ECC-deeoding circuit is configured to produce corrected DBI data responsive, at least in part, to the DBI data and the second ECC data;

wherein the first ECC-deeoding circuit and the DBI-decoding circuit are configured to produce correcte and DBI-decode first data and corrected first EC data responsive, a least in pari, to the first data, the first ECC data and the corrected DBI data; and

wherein the control circuit is configured to store both the corrected and DBI decoded first data and the corrected first ECC data into the memory array.

8. The apparatus of claim 7, wherein the DBI~decodhig circuit is further configured to receive the first data and the corrected DBI data and produce DBI decoded first data: and

wherein the first ECC-decoding circuit is further configured to receive the DBI decoded first data and the first ECC data and produce the corrected and DBI decoded first data and the corrected first ECC data.

9 The apparatus of claim 7, wherein the first ECC- deco ding circuit is further configured to recei ve the first data and the first ECC data and produce corrected first data and corrected first ECC data; and

wherein the DBl-decoding circuit is further configure to receive the corrected first data and the corrected DBI data and produce the corrected and DBI decoded first data.

10. The apparatus of claim 7, wherein the first BGC-decoding circuit is further configured to receive second data and third ECC data from the m mory array and produce corrected second data and corrected third ECC data.

1 1. The apparatus of claim 10, wherein the control circuit further comprises a DB1~ encoding circuit and an ECC-encodiug circuit;

wherein the DBI-enco ing circuit is configured to produce additional DBI data responsive to the corrected second data; and

wherein the ECC-eneoding circuit is configured to produce a fourth ECC data responsive to the additional DBI data.

12. The appamtus of claim I ! . wherein the I/O circuit is further con figured to externally output third data, the additions! DBI data, the corrected Ibird ECC data and the fourth ECC data;

wherein th third data is produced responsive to the corrected second data and the additional DBI data.

13. An apparatus comprising:

a write data control circuit configured to receive write data and corresponding ECC data from a signal busses aid to correct the write data base on the corresponding ECC data to provide corrected write data the write control circuit further configured to provide corrected corresponding ECC data based on the corresponding ECC data, wherein tire corrected write dat and the corrected corresponding ECC data are provided to be stored in a memory array; and

a read data control circuit configured to receive read data and corresponding ECC data From the memory array and to correct the read data based on the corresponding ECC data t provide corrected read data, the read control circuit further configured to provide corrected corresponding ECC: data based on the corresponding ECC data, wherein the correc ted read data arid the corrected corresponding ECC data are provided to the signal busses,

14, The apparatus of claim 13 wherein the write data is DBI encoded and wherein the write data control circuit includes an ECC decoding circuit configured to receive DBI data and corresponding ECC data from the signal busses and to correct the DBI data to provide corrected DBI data,

15. The apparatus of claim 14 wherein the write data control circuit includes a DBIdecoding circuit configured to DBI decode the write data based on the corrected DBI data before correcting the write data based on the corresponding ECC data.

16. The apparatus of claim 14 wherein the write data control circuit includes· a DBI decoding circuit configured to DBI decode the wri te data based on the corrected DBI data aftercorrecting the write data based on the corresponding ECC data,

17, The apparatus of claim 14 wherein the write data con trol circuit includes a first ECC decoding circuit configured to correct the write data based on the ECC data corresponding to the write data in parallel with a second ECC decoding circuit configured to correct the DBS databases on the ECC data corresponding to the DBI data.

18 The apparatus of claim 17 wherein the ECC decoding circuit is configured to correct the write data based on the ECC data according to a determinant that provides the same ECC calculation results for both plain data and DBI encoded data, 9 The apparatus of claim 17 wherein the ECC decoding circuit is configured to correct the write date based on the ECC data according to a determinant that includes an even number of“i” and“0 " m each byte.

20. The apparatus of claim 13 wher ein the read data control circuit includes a DBi encoding circuit: further configured to DBI encode the corrected read data and ECC encode DBI data to provide ECC data corresponding to the DBI data, wherein the DBI data and the ECC data corresponding to the DBI data are also provided to the signal busses

21. The apparatus of claim 13, further comprising a. batik ECC encoding circuit configured to perform error correction coding for the corrected write data before being stored in the memory array.

2:2. The apparatus of claim 13, Further comprising a bank ECC decoding circuit cpnfigtrred to perform error correction for the read data before being provided to the read data control circuit.

Description:
APPARATUSES AND METHODS FOR ERROR CORRECTION CODING AND DATA BUS IN V ERSIO FOR SEMICONDUCTOR MEMORIES

BACKGROUND

10011 hi recent years, a semiconduc tor device, such as a DRAM (Dynamic Random Access Memory:), h s had a greatly- increased capacity, and the atber of occurrences of defective bits has also increased accordingly. Of the defective bits, ones due to a defective word line or a defective bit line are mainly relieved by replacement with a redundant word line or a redundant bit line. However, regardin sporadic defective bits occurring after packaging or the like, it is difficult in some cases to relieve them by replacement with a redundant word line or a redundant hit line. For such sporadic defective bits, a method of relieving data by using an error correcting function, not by performing replacement using a redundant circuit is adopted in some cases. Error correcting may be used internally within a semiconductor device, and also externally for transferring data to and. from the semiconductor device.

|002| Additionally, there is a desire to reduce power consumption by semiconductor devices. i approach that has been used is to include data bus inversion (DBI) when communicating data to an front the semiconductor devices. In systems including DBI, the data transferred to and from the semiconductor device may be DBI encoded to reduce a number of signal transitions on signal lines in particular, data to be transferred is evaluated against previously transferre data to determine whether more than a threshold number of signal line transitions are needed to transfer the data. Based os the evaluation, the data to be transferred is provided either as true data (not inverted) or inverte data. The DBI encoding results in: DBI. data indicative of whether the data is inverted or not, which is provided with die DBI encoded data to be used when decoding the data.

1003J With regards to error correction functions, the semiconductor devices include ECC encoding and/or ECC decoding circuits tor performing the error correcting function. In performing the error correcting functions, encoding and decoding of the data requires time for processing, which may negatively affect performance of the semiconductor devices.

10041 It may be desirable to have alternative approaches to performing error correcting functions in semiconductor devices, which may also include DBI operations.

SUMMARY

100d| Apparatuses an methods for error correction codin and data bus inversion are disclosed. An example apparatus includes an I/O circuit configured to receive first data and first ECC data associated with the first data and includes a memory array. The example apparatus further includes a control circuit couple between the I/O circuit and the memory array. The control circuit is configured to execute first ECC-dccodmg to produce corrected first data and corrected first ECC data responsive, at least in part, to the first data and the first

ECC data. The control circuit is further configure to store both the correcte first data an the corrected first ECC data into the memory array.

Another example apparatus include an I/O circuit, a memory array, and a control circuit. The I/O circuit is configured to receive first data, daia-bus-inversiort (DBI) data related to the first data, first ECC data associated with the first data and second ECC data associated with the DBI data, The control circuit is coupled between the I/O circuit and the memory cell array : . and includes a first ECOdecoding circuit, a second ECC-decodtng circuit and a DBF- deeodmg circuit. The second ECC -decoding circuit is configured to produce corrected DBI data responsive, at least in part, to the DBT data and the second ECC data. The tost ECC- decoding circuit and the DBI-decoding circuit are configured to produce corrected and DBi- decoded first data and corrected first ECC data responsive, at least in part, to the first data, the first ECC data and the corrected DBI data. The control circuit i configured to store both tire corrected and DBI decoded first data and the corrected first ECC data into the memory array 1007$ Another example apparatus includes a write data control circuit and a rea data control circuit. The write data control circuit i configured to receive write data and corresponding ECC data from a signal busses and to correct the write data based on the corresponding ECC data to provide corrected write data. The write control circuit is further configured to provide corrected corresponding ECC data based on the corresponding ECC data, wherein the corrected write data and the corrected corresponding ECC data are provided to be stored in a memory array. The read data control circuit is configured to receive read data and corresponding ECC data from the memory array and to correct the rea data based on the corresponding ECC data to provide corrected read data. The read control circuit is further configured to provide corrected corresponding ECC data based onthe corresponding ECC " data, wherein the corrected read data and the corrected corresponding ECC data are provided to the signal busses.

Figure ! is a block iagram of a -system according to an embodiment of the disclosure

|0091 Figure 2 is a block diagram of an apparatus according to an embodiment of the disclosure. f018 Figure 3 A is a block diagram of an ECC control circuit according to an embodiment of the disclosure.

{Oil | Figure 3B is a block diagram of write data control circuit according to art embodiment of the disclosure.

pI2f Figure 30 is a block diagram of a rea data control circuit according to an embodiment of the disclosure.

|0U| Figure 3D is a flow/ diagram for error correction coding between a controller and memory according to an embodiment of the disclosure.

f0!4| Figure 4 is a bloc diagram of a write data control circuit according to an embodiment of the disclosure.

}¾15J Figure 5 A is a block diagram of a read data control circuit according to an e bodiment : of the disclosure.

pj6f Figure SB is a flow diagram for error correction coding between a controller and memory according to an embodiment of the disclosure

f01?| Figure 6A is a block diagram of a write data control circuit according to an embodiment of the di sclosure,

pl8 | Figure 6B is a block diagram of a read data control circuit according to an embodiment of the disclosure.

| 1.91 Figures 7A-1 , 7Ά-2. and 7A-3, and 7B are diagrams of determinants (e g.. H-Matrices) or performing ECC encoding and/or decoding operations according to an em bodiment of the disclosure.

|02q| Figure 8A is a block diagram of a write data control circuit according to an embodiment of the disclosure.

2 J f Figure 8B i s a Mock diagram of rea data control circuit according to an embodiment of the disclosure.

P22| Figure 9 is a layout diagram for write data control circuits and read data control circuits according to various embodiments of the disclosure.

DETAILED DESCRIPTION

p23J Certain details are set forth below to provide a sufficient understanding of embodiments of the disclosure. However, it will be clear to one having skill in the art that embodiments of the disclosure may be practiced without these particular details. Moreover, the particular embodiments of the disclosure described herein should not be construed to limit the scope of the disclosure to these particular embodimen ts in other instances, well-known circuits, control signals:, timing protocols, ajt d software operations have not been shown in. detail in order to avoid unnecessarily obscuring embodiments of the disclosure. Additionally, terms such as “couples” and“coupled '' mean that two components may be directly or indirectly electrically coupled. Indirectly coupled may imply tha two components axe couple through one or more intennedi ate components .

10241 Figure 1 is a block diagram of a system 100 that includes a controller 10 and a memory 110. Tire memory controller 10 may be a memory controller, for example in some embodiments of the disclosure, the memory 1 10 includes one or more dynamic random access memory (DRAM) devices. In such embodiments, the DRAM devices may include low power double: data rate (LBDDR) memory devices. in other embodiments, different examples: of memory devices may be included.

{0251 The controller 10 and memory 10 may pros tde data between each other, for example, the controller 10 provides write data to the memory 110 for write operations and the memory 110 provides read data to the controller 10 for read operations. The controller 10 and memory 1 10 utilize error correction coding (ECC) for the data that is provided between the two. For example, ECC data may be provi ded by the control ler 10 to the memory 110 with the write data, and ECC data may be provided by the memory 1 10 to the controller 10 with the read data. The ECC data may be used by the memory 110 and/or controller 10 to correct any errors in the write data and/or read data in this manner, the accuracy of data transferre on the communication link between the memory 110 and controller 10 may he ensured,

|026| In some embodiments of the disclosure, data bus inversion (DBI) may be used for th data provided between the controller Ml an the memory I S O In such embodiments, DBI data is provided between the controller 10 and the memory 1 10 with the write an read data, respectively. Additionally, in some embodiments of the disclosure that include DBI operations, the DBI data is ECC encoded, and as a result.. ECC dam for the DBI data is al o provided along wit the ECC data for the data itself. The ECC data for the data and the DBI data may he included in ICC data ECC (Data, DBI),

|027| As shown in Figure 1 , ECC (Data, DBI), Data, and DBI data are provided between the controller 10 and the memory 110, Although not shown in Figure i, it will he appreciated that the controller 10 further provi des commands, addresses, an clocks to the memory 110, Clocks may also be provided by the memory 110 to the controller 10 in some embodiments. The command may be provided to control opera tions of the memory i 10, and the addresses may be provided with memory access commands (e.g,, lead commands, write commands, etc.) to identify memory locations in the memory 110 to be accessed. The clocks provided by the controller 10 may be used by the memory 110 for timing receipt of signals and for various operations for the memory 1 JO. and in embodiments where the memory 1 10 provides clocks to the controller 10, the clocks may be used by the controller fortiming receipt of read data provided by the memory. Additional and/or alternative signals may he provided between the controller 10 and the memory 1 10 as well

|028| Figure 2 is a block diagram of an apparatus according to an embodiment of the disclosure. The apparatus may be a semiconductor device 200, an will be referred to as such. In some embodiments, the semiconductor device 200 may include, without limitation, a DRAM device, such as low power DDR (LPDDR) memory integrated into a single semiconductor chip, for example. The semiconductor device 200 may be included in the memory 1 10 of Figure l in some embodiments of the disclosure.

10201 The semiconductor device 200 includes a memory array 250. The memory 1 array 250 is shown as including plurality of banks. In the embodiment of Figure2, the memory array 250 is shown as including; eight banks BANK0~BANK7. Each bank includes a plurality of word lines W L. a plurality of bit lines BL and BL, and a plurali y of memory cells MC arranged at intersections of the plurality of word lines WL and the plurality of bit Sines BL and /BL, The selection of the word line WL is performed by a row decoder 240: and the selection of the bit lines BL and /BL is performed by a column decoder 245. In the embodiment of Figure 2, the row decoder 240 includes a respective row decoder for each bank and the column decoder 245 includes a respecti ve column decoder for each hank. The bit Sines BL and /BL are coupled to a respective sense amplifier (SAMP). Read data from the bit line BL or /BL is amplified by the sense amplifier S AMP, and transferred to an ECC control circuit 255 over complementary local data lines (LIOT/B), transfer gate (TO), and complementary main data Ikes (MIOT/B). The ECO control circuit 255 includes a respective ECC control circuit for each bank.

|030J As will be described in more detail below, when the read data is read front the memory cell array 250, corresponding LCC data is also simultaneously read. Conversely, write data and corresponding ECC data outputted from the EC control circuit 255 are transferred to the sense amplifier SAMP over the complementary main data lines MIOT/B. the transfer gate TG, and the complementary local data lines LlOT/B, and written in the memory cell MC coupled to the bit line BL or /BL. As will be described in more detail below, when the write data is written in the memory array 250, the corresponding ECC data is also simultaneously writen. h

f031 { Tile semiconductor device 200 may employ a plurality of externa! terminals that include command and address i chip select (CA/CS) terminals coupled to a command and address bus to receive commands and addresses, anda CS signal, clock terminals to receive clocks CK and /C , data terminals, and power supply terminals YDD. VSS, VDDCk and VSSQ.

|032 The CA/CS terminals may be supplie with memory' addresses. The memory addresses supplied to die CA-CS terminals are transferred, via a command/address input circuit 205, to an address decoder 212. Tire address decoder 212 receives the address and supplies a decoded row address X ADD· to the row decoder 240 and supplies a decoded column address YADD to the column decoder 245. The CA/CS terminals may be supplied with commands. The commands may be provided as internal command signals to a command decoder 215 via the conim id/address input circuit 205 The command decoder 2.15 includes circuits to decode the internal command signals to generate various internal signal and commands for performing operations. For example, the command decoder 215 may provide a row command signal ACT to select a word line and a column command signal R/W to select a bit line.

|033| When a read command is received, and a row address and a column address are timely supplied with the read command, read data and the corresponding ICC data are read from memory·' cells in th e memory array 250 designa ted by the row address and column address. The read command is received by the command decoder 21 S, which provides internal commands so that read data and the corresponding ICC data from the memory' array 250 are provided to the ECC control circuit 255 The ICC control circuit 255 executes ECC-decoding to produce corrected read data and corrected corresponding ECC data. For example, if the read data includes an error, as determined by the ECC control circuit 255 based on the corresponding ECC data, the read data is corrected. The corrected read data and the corrected corresponding ECC data are output to outside from the data terminals via the mpnt/output circuit 260.

|034| "Corrected data” generally refers to data produced following ECC decoding based on corresponding ECO data. The corrected data includes data that may have actually been corrected (e.g,, one or more hits of the data are changed), when necessary, as well as data that may not have been corrected because correction was unnecessar . For example, "corrected” read data provided following ECC decoding refers to the read data provided whether actually correcte or not based on the corresponding ECC data. Similarly·', ^correcte” ECC data provide following ECC decoding refers to the ECC data provided whether corrected or not. Thus, foe term "corrected” is not intended to refer to only data that has actually been corrected, but more generally refers to data that is provided following ECC decoding whether actually corrected or not. The term“corrected data" may also he applied to write data, DB1 data, ECC (DBI) data, and the like.

I ' b35| When the write command is received, an a row address and a column address are timely supplied with the write command, write data and corresponding ECC data supplied to the data terminals are written to a memory cells in die memory array 250 designated by the row address and column address. The write command is received by the command decoder 215, which provides Internal commands so that the write data and. the corresponding ECC are received by data receivers in the pufc'output circuit 260, and supplie via tire mputteiitpui circuit 260 to the ECC control circuit 255. The ECC control circuit 255 executes E€C~decoding to produce corrected write data and corrected corresponding ECC data. For example, if the write data includes an error, as determined bv the ECC control circuit 255 based on the corresponding ECC data, the write data is corrected. The corrected write data an corrected corresponding ECC data are provided by the ECC control circuit 255 to the memory array 250 to be written into the memory cell MC.

in some embodiments of the disclosure, data bus inversion (DBI) operations may be included in the semiconductor device 200. However, including DBI operations in the semiconductor device 200 is optional and some embodiments of the disclosure do not include DBl operations. Additionally, ECC operations for read data provided by the semiconductor device 200 and/or write data received by the semiconductor device 200 is optional, and some embodiments of the disclosure do not include ECC operations,

|037| hi embodiments of the disclosure that include ECC and DBI operations, wit regards to the semiconductor device 200 providing read data for a read command, the ECC control circuit 255 may execute ECC -decoding on rea data and correspondin ECC data to produce intermediate read data and corrected corresponding ECC data. The ECC control circuit 255 may execute DBI-encoding on the Intermediate read data to provide corrected rea data and DBI data, and further execute ECC-encoding on the DBI data to produce DBI ECC data. The corrected read data, corrected corresponding ECC data, the DBI data, and DBT ECC data are output to outside via the mput/output circuit 260

With regards to the semiconductor device 200 for a write command, write data (drat is DBI encoded), corresponding ECC data, DBI data, and DBI ECC data is received by the input/output circuit 260 and provided t the ECC control circuit 255. The ECC control circuit 255 may execute ECC-decodmg on the (DBI encoded) write data and the corresponding ECC data to produce intermediate (DBI encoded) write data and corrected corresponding ECC data. The ECC control circuit 255 may execute ECC-deeod g on the DBI data and the DBI ECC data to pro ace corrected DBI data, and execute DBl-deeoding on the intermediate (DBI encoded) write data based on the corrected DBI data to produce corrected write data. The corrected write data and the corrected corresponding ECC data are provided by the ECC con trol circuit 255 to the memory array 250 to he written into the eniory cell MC.

|039| Error correction performed by the ECC control circuit 255 may be used to maintain accuracy of data provided to and, from the semiconductor device 200 externally, for example, data provided between a controller and the semiconductor device 200. In some embodiments of the disclosure, the ECC control circui 255 may further perform error correction encoding/decoding to correct data errors that occur when reading data from aud/or wri ting data to the memory array 250, Such data errors may result from» for example, soft errors, weak memory cell charge retention, etc. Such embodiments of the disclosure may include embodiments where the ECC encoding/decoding for memory bank errors are performed separately (e,g„ serially) from the ECC encoding/decoding for data errors occurring over a link between the semiconductor device 200 and a controller, for example, as well as embodiments where the ECC encoding / decoding for memor bank errors an the ECC encoding/decoding: for data errors occurring over a link are combined.

|04Q{ The clock terminals CK an /CK are supplied with external clocks that are provided to an input buffer 220. The external clocks may he complementary. The clock input buffer 220 generates an internal clock ICLK based on the CK and /CK clocks. The ICLK clock is provided to the command decoder 21 and to an internal clock generator 222. The internal clock generator 222 provides various internal clocks LCLK based on the ICLK clock. The LCLK clocks may be use for timing the operation of various internal circuits. For example, the clocks may be provided to the mput/outpnt circuit 260 for timing the operation of the input/output circuit 260 to provide and receive data and corresponding ECC data, ari in embodiments of the disclosure that include DBI operation, provide and receive DBI data and DBI ECC data.

{04.1! The power supply terminals VDD and VSS are supplied with power supply potentials.

These power supply potentials are supplied to an internal voltage generator circuit 270, The internal voltage generator circuit 270 generates : various internal potentials VFE, VOD* VARY, VPERI, and the like based on the power supply potentials supplied to the power supply terminals VDD and VSS. The interna! potential VPP is mainly used in the row decoder 240, the internal potentials VOD and VARY are mainly used in the sense amplifiers SAMP included in the memory array 250, sad the internal potential VPERf is vised in many peripheral circuit blocks,

|042f The power supply terminals VDDQ and VSSQ are also supplied with power supply potentials. The power supply potentials are supplied to the input oirtput circuit 260 The power supply potentials supplied to the power supply terminals VDDQ and VSSQ ma be the same potentials as the power supply potentials supplied to the power supply terminals VDD and VSS in an embodiment of the disclosure. The power supply potentials supplied to the power supply terminals VDDQ and VSSQ may be differeM potentials from the power supply potentials supplied to the power supply terminals VDD and VSS in another embodiment of the disclosure. The power supply potentials supplied to the power supply terminals VDDQ and VSSQ are used for the inpu t/outpnt circuit 260 so that power supply noise generated by the input/ontput circuit 260 does not propagate to the other circuit blocks

{043} Figure 3 A is a block diagram of an F.CC control circuit 300 according to an embodiment of the disclosure The ECC control circuit 300 may be included in the ECC control circuit 255 of the semiconductor device 200 of F igure 2 in some embod imen ts of the disclosure.

f044| The ECC control circuit 300 includes a write data control circuit 310 and a read data control circuit 320 The write data control circui 310 receives data, ECC data and data bus inversion (DBI) data. The data may be DBI encode data "D Data,” and the ECC data“ECC (Data, DBI)” may include ECC data for the data“ECC (Data)” and ECC data for the DBIdata “ECC (DBl s” The ECC data, D Data, and DBI data may be provided to the ECC control circuit 30o by an iaput/output circuit, for example, the input/output circuit 260 of the semicond uctor dev ice 200 in some embodiments of the disclosure. The ECC data, DJData, and DM data may be provided to the input/output : circuit from a controller, tor example.

|04S| Although not shown in Figure 3A, the write data control circuit 310 uses the ECC (DBI) to correct the DBI ata to provide (e g., produce) corrected DBI data“C DBI” which is used by the write data control circuit 310 to DBS decode the DJ3ata to provide DBI decoded data “Data.” The Data is corrected by the write data control circuit 310 using the ECC (Data) to provide corrected data“C, Data " The write data, control circuit 310 further provides the ECC (Data) as corrected ECC data“C ECC (Data).” In some embodiments of the disclosure the CJECC (Data) is the same as the ECC (Data) used to correct the Data, and provided to the write data control circuit 310 along with ECC (DBI).

|040f The C . Data and the GJBCC (Data) may be provided for writing to memory ceils of a memory array (e.g., memory array 250 of the semiconductor device 2(H) of Figure 2, in some ΐ ΰ

embodiments of the disclosure) in some embodiments of the disclosure, the CJCJata and the CJECC (Data) may he written to memory cells of the memory array with additional error correction coding, such as a bank ECC. that maybe used to correct errors that can occur while the C Data and C ECC (Data) are stored in the memory array. Bank ECO may be used, for example, to correct soil errors, : memor cell retention errors, etc. The Bank ECC encoding may be performed on the data provided by the write data control circuit 31 , in some embodiments, in series, and in other embodiments, in combination. In some embodiments of the disclosure, the CJDaia and the CJBCC (Data) may be written to memory cells without any additional error correction coding.

| 7f The C_ECC (Data) may be based on tire ECC data ECC (Data) provided to the write data control circuit 310. In some embodiments of the disclosure, the C ECC (Data) pro vided by the write data control circuit 310 is the same as the ECC (Data) provided to the write data control circuit 310. By not perforating an ECC encoding operation on the data to provide the C JSCC (Data), the time to prepare the data and ECC data to be stored in memory may be reduced compared to the conventional approach.

f048| The read data control circuit 320 receives data and EC data for the dat ECC (Data), in some embodiments of die disclosure, the data and ECC (Data) may be stored in a memory array and provided to the read data control circuit 320 responsive to a read command. For example, in some embodiments of the disclosure the da ta find the ECC (Data) are stored in a memory array, and when a read command is received, the data and the ECC (Data) are provided irony the memory array to the ECC control circuit 300 without arty additional error correction decoding. In some embodiments of the disciosure, however, the data and ECC ( Data) from the memory array is ECC decoded before· : being provided to the ECC control circuit 300. Separate Bank ECC may be used for correcting any errors that may have occurred while stored in the memor array, for example, to correct soft errors, memory 1 cell retention errors, etc

1049f The read data control circuit 320 corrects the data it receives using the ECC (Data), performs DBI encoding on the corrected data to provide DBi encoded data DJData an generates DBI data accordingly. The read data control circuit 320 further generates ECC data ECC (DBI) for the DBI data. The read data control circuit 32n provides the D Data, DBI data, and ECC (Data, DBI), for example, to a controller. The ECC (Data) may be based on ECC data stored with the data in memory. In some embodiments of the disclosure, the ECC (Data) is the same ECC data that Is stored with the plain data (pre-DBI encoding). I I

fO50 Ttie read data control circuit 320 may provide the EC C (Data) without the need for performing an ECC encoding operation on the data that is provided with the ECC (Bata) from the memory array. The ICC (Data) provided by the read dat control circuit 320 with the read data may be based on the ECC ( Data) pro \ tded to the read data control circuit 320 for e sample, the ECC (Data) stared in the memor array along with the read data. In some embodiments of the disclosure, the ECC (Data) provide by the read data control circuit 320 is the same as the ECC (Data) provided to the read data control circuit 320 from the memory array. By not performing an ECC encoding operation on the data to provide the ECC (Data), the time to prepare the data and ECC data that is provided by the read data control circuit 320 may be reduced compared to the conventional approach .

|¾5Ii In some embodiments of the disclosure, the ECC operations performed by the write data control circuit 310 and the read data control circuit 320 are based on a common (e g., same) determinant (erg., H-Matrix), For example, both the write data control circuit 310 and the read data control circuit 320 may use a same H-Matrix for ECC decoding and/or ECC encoding. By using a common H-Mairix. as in some embodiments of the disclosure., one or more ECC encoding operations may be omitted compared to conventional approaches for using: ECC operations in memory systems,

{052! An example H-Mairix and error correction circuits are described in ITS. Patent No.

9,690, 653, file September 1 1 , 2015 and issue June 27, 2017, the entire disclosure of which is hereby incorporated by inference.

{0531 As previously described, additional error correction coding may be performed on data and ECC (Data) provided by an ECC control circuit 3(H) (e,g., ECC control circuit 300) in some embodiments of the disclosure, For example, Bank ECC encoding may be performed on the data an ECC (Data) provided by the FCC control circuit 300,

|054| Figure 3B is a block diagram of write data control circuit 313 accordin to an embodiment of the disclosure. The write data control circuit 313 is shown in Figure 3B as providing corrected data CJDfata and corrected ECC data CJECC (Bata) to a bank ECC encoding circuit 301. The write data control circuit 313 may be included in the write data control circuit 310 of the ECC control circuit 300 of Figure 3A in some embodiments of the disclosure,

(0551 The write data control circuit 313 includes de-serialize circuit 315 that is provided DBI encoded data“D . BataC ECC data“ECC (Bata, DBI);' and DBI data“DBIT The ECC (Data, DBI) provided to the de-serialke circuit 315 may include ECC data for the data that Is DBI encoded“ECC (Data)’ * and ECC data fertile DBI data“ECC (DBI).” The DJ3ata s ECC (Data, DBi), and DBI data may be ovided in a serial manner. The de-serialize circuit 315 deserializes the D Data, ECC {Data, DBI), and DBI data and provides the D Data, ECC (Data), ECC (DBI), and DBI data in a parallel manner. Serial and parallel manners of providing data are later described with reference to Figure 4.

{056f The wire data control circuit 313 includes n ECC decoding circuit 325, The ECC decoding circuit 325 is provided ECC (DBI) and the DBI data from the de-serfaSize circuit 315, The ECC decoding circuit 325 corrects the DBI data using the ECC (DBI) and provides corrected DBI. data TCCDBI.” The write data control circuit 313 further includes an ECC decoding circuit 340 The D Daia is. rovided along with the ECC (Data) to the ECC decoding circuit 340 which corrects the D Data ustnu the ECC i Data) to provide corrected DBI encoded data“CDJData” which may be considered to be intermediate data. The ECC decoding circuit 340 further provides the ECC (Data) as corrected ECC data“CJ6CC (Data),” In some embodiments of the disclosure, the C ECC (Data) is the same as the ECC (Data) used to correct the Data, and that was provided to the de-serialize circuit 315 along with ECC (DBI).

f0S7) The CDJData is provided along with the CJDBI to a DBI decoding circuit 330 that is also included in the write data control circuit 313. The DBI decoding circuit 330 decodes the CD Data using C DBI to provide corrected data“C . Data.” The C Data and CJECG (Data) are provided to bank ECC encoding circuit 301 , which ECC encodes the CJData and C_ ECC (Data) to provide ECC (Data) and the C Data. The ECC (Data) and the C Data may be provided to a memory stray for storage.

10581 In the write data control circuit 13, ECC decoding for (DBI encoded) D_ Data and ECC decoding for DBI data are performed in parallel by the ECC decoding circuit 340 and EGC decoding cucmt 325, respectively. In the arrangement of the write data control circuit 313, with the EC C decoding for D . Data and ECC decoding for DBI data performed in parallel, the ECC decoding of D_Data occurs prior to DBI decoding of (conected) DBI encoded data CO_l¾ita For embodiments of the disclosure, such as the write data control circuit 313, where DBI encoded data CD Data ts ECC decoded by an ECC decoding esreun. it is preferable that the results of ECC decoding of the DBI encoded data CD Data provides the same calculation results as for ECC decoding of plain: Data. That is, there would not he any problems wit ECC decoding to correct an error in the DBI encoded data C Data,

|05ff Figure 3C is a block diagram of a read data control circuit 323 according to an embodiment of the disclosure. The read data control circuit 323 is shown in Figure 30 as recei ing ECC (Data) and Data from hank ECC decoding circuit 303. The read data control circuit 323 may be included in the read data control circuit 320 of the EC control circuit 300of Figure 3A in some embodiments of the disclosure

The bank ECC decoding circuit 303 is provided“Date” and BCG data for the Data “£CC (Data)/’ for example, from a memory / array. The bank ECC decoding circu t 303 corrects the Data using the ECC (Data) to provide corrected data“C Data,’ 5 which may be considered to be intermediate data. The bank ECC decoding circuit 303 further provides the ECC (Data) as corrected ECC data“C BCC (Data)” Iti some embodiments of the disclosure ;, the C ECC (Data) is the same as the ECC (Data) used to correct the Data, and that was provided to the bank ECC decoding circuit 303 along with the Data. As previously described, bank error correction coding may be used for correcting any errors that may have occurre while stored

JU die memory array.

The C Data is provided to a DBI encoding circuit 318. The DBl encoding circuit 31.8 evaluates the C Data and encodes the C_Data accordingly to provide DBI encoded corrected Data“DCJData.” The DBI encoding circuit 318 further provides DBI data“DSD that indicate whether the DC_Data is true or the complement to the C_Data. The DBI data is provided to an ECC encoding circuit 328. The ECC encoding circuit 328 evaluates the DBI data and provides ECC data for the DBI data“ECC (DBI)” based on the DBl data. The ECC (DBI) may be used, for example, by a controller, to correct the DBI data. The DCJDaia is provided to an ECC encoding circuit 338. The ECC encoding circuit 338 evaluates the DC Data and provides ECC data for the DC Data“ECC (Data)” base on the DC .. .Data data. The ECC \ Data) may be used, for example, by the controller, to correct the DCJ ata. In the read data control circuit 323, ECC encoding for (DBl encoded) DC_Data and ECC encoding for DBI data are performed in parallel by the ECC encoding circuit 338 and ECC encoding circuit 328 , respectively.

The ECC (DBl) and the DBI data are provided by the ECC encoding circuit 328 to a serialize circuit 348. The serialize circuit 348 is also rovided the ECC (Data) an the DC JData by the ECC encoding circuit 338. The serialize circuit 348 is provided the DC . Data, ECC (Data), DBI data, and ECC (DBI) in parallel, and serializes the same to provide D Data, DBl data, and ECC data lor the DJData and the DBI data“ECC (Data, DBI}” in a serial manner. The D Data, DBI data, and ECC (Data, DBl) may be provided, for example, to a. controller.

The ECC data C ... ECC (Data) for the D Data may be provide by the read data control circuit 323 without the need for performing an ECC encoding operation on the Dat or CCData. For example, the ECC data CJBCC (Data) may have been encoded using a common (e,g., same) determinant (e g-, H-Mair ) as is used for ECC decoding of the D_T a based on the C ECC (Data), such as by the controller to which the C ECC (Data) and D Data are provided, and/or by a write data controller circuit which provides data and ECC (data) that is written to a memory array, an winch may be later provided to : the read data control circuit 3:23 for a rea operation. By having the same ECC operations performed (e.g,, by a controller an also by a semiconductor device) based on the same H- Matrix may allow for one or more ECC encoding operations of the D 3ata to be avoided.

(0641 i» embodiments of the disclosure that include the read dat control circuit 323, the write data control circuit 313 of Figure 3B may bet used to perfor operations for providing the € Data and C ECC (Data) that Is written to a memory array, which are later provided to the read data control circuit 323 responsive to a read operation. ECC decoding performed by the write data control circuit 313 may be executed based on a common H- atox also used for ECC decoding performed by the read control circuit 323 in some embodiments of the disclosure. In some embodiments of the disclosure, the read data control circuit 323 may be used with different wri te data control circuits,

(065} Figure 3D is a flow diagram for error correction coding between a controller and memory according to an embodiment of the disclosure. A flow for writing data to the memory is shown in the upper half of the diagram and a flow for read data from the memory Is shown in the lower half of the diagram . The flow for writing data for the memory may be performed in some embodiments ofthe disclosure by write data eontrol circuit 313. The flow for reading data for the memory may he performe in som embodiments of the disclosure by read data control circuit 323. As shown in Figure 3D, ECC decoding for write data and ECC decoding for DBI data are performed in parallel in the memory, and ECC encoding for rea data and ECC encodin for DBI data are performed in parallel in the memory. As also shown in Figure 3D, link ECC for correcting errors from transferring data between the controller and memory are performed separately {and serially) from bank ECC.

(066| Figure 4 is a block diagram of a rite data control circuit 400 according to an embodiment of foe disclosure. The write data control circuit 400 ma be included in the write data control circuit 310 of foe ECC control circuit 300 of Figure 3 A in some embodiments of the disclosure.

|067| The write data control circuit 400 includes a de-serialize circuit 410 that is provided DBI encoded data“DJDaia,” ECC data“E C (Data, DBI),” and DBI data“DBI.” The ECC (Data. DBl) provided to the de-serialize circuit 410 may include ECC data for the data that is DBl encoded“ECC (Dais)” and ECC data for the DBl data“ECC (DBl)” The DJData, ECC (Data, DBl), and DBl data may be provided to the de-serial i/e circuit 410 in a serial manner, that is, as a plurality of bits provided consecutively to the de-serialize circuit 410 Each of the bits ma be provided with a timing that is synchronized with a cfoefc, for example, a data ock. I The de-Serial i/e circuit 410 de-serializes the D Data, ECC (Data, DBl), and DBl data aid provides the D Data, (ECC Data), ECC (DBl), and DBl data in a parallel manner. For example, N bits of D >ata may be consecutively received one-bit at a time over M/2 clock cycles of a data clock, and the de-serialize circuit 410 collects the N bits into a group and then provides: all of the N bits of the DJData concurrently. The serially provided bits of the ECC (Data.. DBl), and DBl data am likewise collected into groups: and provided by the de-serialize circuit 410 in parallel .

| T he write data control circuit 400 further includes an ECC decoding circuit 420. The ECC decoding circuit 42f) is provided the ECC (DBl) and the DBl data from the de-serialize circuit 41(1 The ECC decoding circuit 420 corrects the DBl data using the ECC (DBl) and provides corrected DBl data *C_DBI.” The CJDB.T. is provided along with the DBl encoded data D Data to a DBl decoding circuit 430 that is also included in the write data control circuit 400. The DBl decoding circuit 430 decodes the D Data using C DBl to provide the plain (iraencoded)“Data,” which ay he considered to be intermediate data. The write data control circuit 400 further includes an ECO decoding circuit 440. The Data is provided along with the ECC (Data) to the ECO decoding circuit 440 that corrects the Data using the ECC (Data) to provide corrected data‘‘C Oata.” The ECC decoding circuit 440 further provides the ECC (Data) as corrected ECC data“C_£CC (Data).” In some embodiments of the disclosure, the C ECC (Data) is the same as the ECC (Data) used to correct the Data, and that was provided to the de-serialize circuit 410 along with ECC (DBl).

The CJData and CJECC (Data) may he provided by the write data control circuit 400 to be stored in a memory array, for example, in memory array 25< > of the semiconductor device 200 of Figure 2 in some embodiments of the disclosure.

The ECC data C ECC (Data) (bribe C Data may be provided by the write data control circuit 400 without the need tor performing an ECC encoding operation on the CCData prior to providing the C Data and C ECC ¾ Data) for storing in memory. The C ECC (Data) may be based on the ECC data ECC (Data) provided to the de-serialize circuit 410. For example, in some embodiments of the disclosure, the C_ECC (Data) is the same ECC (Data) that is provided to the de-seriaiize circuit 410. As previously described, by not performing an ECC encoding operation on the CJData to provide the CJBCC (Data), the time to prepare the data and ECC data provided by the write data control circuit 400 may be reduced compared to the conventional approach,

|ίί721 Figure 5 A is a block diagram of a read data control circuit 500 according· to an embodiment of the disclosure. The read data control circuit 500 may be included in the read data control circuit 320 of the ECC control circuit 300 of Figure 3A in some embodiments of the disclosure.

}073f The read data control circuit 500 includes an ECC decoding circuit 510. The ECC decoding circuit 510 i& provided“Data * and ECC data for the Data“ECC (Data). 55 The ECC decoding circuit 510 corrects the Data using the ECC (Data) to provide corrected data J aJ which may be considered to be intermediate data. The ECC decoding circuit 510 further provides the ECC (Data) as corrected ECC data X ECC (Data)/’ in some embodiments of the disclosure, the CJBCC (Data) is the same as the ECC (Data) used to correct the Data, and that was provided to the ECC decoding circuit 510 along with the Data,

}074| The CJData is provided to a DBI encoding circuit 520. The DBI encoding circui 520 evaluates the CJData and encodes the€ Data accordingly to provide DBI encoded corrected Data“DC DataT The DBI encodin circuit 520 further provides DBI data“DBF that indicates whether the DCJDatS is true or the complement to the CJData, The DBI data is provided to an ECC encoding circuit 530, The ECC encoding circuit 530 evaluates the DBI data and provides ECC data for the DBI data“ECC (DBI)’' based on the DBI data. The ECC (DBI) may be used, for example, a controller, to correct the DBI data.

(075} The ECC (DBI) and the DBI data are provided y the ECC encoding circuit 530 to a serialize circuit 540. The serialize circuit 540 is also provided the DC Data and the CJBCC (Data). The serialize circuit 540 is provided the DC Data, CJBCC (Data), DBI data, and ECC (DBI) in parallel, and serializes the same to provide foe DJTata, DBI data, and ECC data for the JOata and the DBI data“ECC (Data, DBI)” In a serial manner. The iXData, DBI data, and ECC (Data, DBI) may be provided, for example, to a controller.

(070] The ECC data C ECC (Data) for the D Data may be provided by the read data control circuit 50C) without the need for performing an ECC encoding operation on the Data or CJData. For example, the ECC data C . ECC (Data) may have been encoded using a common (e.g., same) determinant (e.g., H-Matrix) as is used tor ECC decoding of the D Data based on the CJBCC (Data), such as by the controller to which foe CJBCC (Data) an DJData are provided, aad/or by a write data controller circuit which provides data and ECO (data) that is written to a memory ar y, and which may be later provided to the read data control circuit 500 for a read operation. By having the same ECC operations perforated (e.g, by a controller arid also by a semiconductor device) based on the same B-Matrix may allow for one or more ECC encoding operations of the D_Dat to he avoided. The CJECC (Data) may be based on the ECC data ECC (Data) that is provided to the ECC decoding circuit 510 For example, the ECC (Data) may be stored in a memor ar y with the Data, lor example, which are provided together to the ECC' decoding circuit SKI in some embodiments of the disclosure, the ECC (Data) provided by the read data control circuit 500 is the same as the ECC (Data) provided to the ECC decoding circuit 510. By not performing an ECC encoding operation on the Dat or € Data. to provide the CJECC (Data), the time to prepare the data and ECC data provided by the read data control circuit 500 may be reduced compared to the conventional approach.

{0771 in embodiments of the disclosure that include the read data control eircui 1500, the write data control circuit 400 of Figure 4 ma be used to perform operations for providing the D Data and ECC (Data) that is written to a memory array, which are later provided to the read data control circuit 500 responsive to a rea operation. ECC decoding performe by the write data control circuit 400 may be executed based on a common H-Matrix also used for ECC decoding performed by the read control circuit 500 in some embodiments of the disclosure. In some embodiments of tire disclosure, the read data control circuit 500 may be used with different write data control circuits.

{078) Figure 58 is a flow diagram for error correction coding between a controller and memory according to a embodiment of the disclosure. A flow for writing data t the memory is shown in the upper half of the diagram and a flow for read data from the memory is shown in the lower half of the diagram. The flow for waiting data for the memory may he performed in some embodi ments of the disclosure by 'writs data control circuit 400 The flow for reading data for the memory may be performed in some embodiments of the disclosure byre-ad data control circuit 500. As shown in Figure SB, ECC deco· bug for DBI data and ECC decoding for write data are performed serially in the memory, and K decodin for read data and ECC encoding for DBI dat are performed serially In the memory. As also shown In Figure 5B, ECC encoding is performed before DBI encoding in the controller. The reverse flow of ECC decoding after DBI decoding is applied by the memory.

|079{ Figure 6A is a block diagram of a write data control circuit 600 according to an embodiment of the disclosure. The write data control circuit 600 may be included in the write data control circuitTK) of die ECC control circuit 300 of Figure 3A is some embodiments of the disclosure.

jOSOf The write data control circuit 600 includes de-serialize circuit 610 that is provided OBI encoded data“0 . Data” ECC data“ECC (Data, DBIIT and OBI data“DEL” The ECC (Data, DBI) provided to the de-serialize circuit 610 may include ECC data for the data that is DBI encoded“ECC (Data)'’ and ECC data for die DBI data“ECC (DBI),” The D Data, ECC (Data, DBI), and OBI data may be provided in a serial manner. The de-seriali/e circuit 610 deserializes ihe DJ ata, ECC (Data, DBI), and DBI data and provides the DJDaia, ECC (Data), ECC (OBI), and DBI data in a parallel manner. Serial and parallel manners of providing data were previously described with reference to Figure 4.

|Q8If The write data control circuit 600 includes an ECC decoding circuit 620. The ECC decoding circuit (00 is provided ECC * DBI) and the DBI data horn the de-serialize circa it 6 ri >. The ECC decoding circuit 620 corrects the DBI data using the ECC (DBI) and provides corrected DBI data“C. DBI.” The: rite data control circuit 600 further includes an ECC decoding circuit 640. The D Data is provided along with the ECC (Data) to the ECC decoding circuit 640 which corrects the DJData using the ECC (Data) to provide corrected DBI encoded data“CD Data,” which may be considered to be intermediate data, lire ECC decoding circuit 640 further provides the ECC (Data) as corrected ECC data“C ECC (Data).” in some embodiments of the disclosure, the CJ5CG (Data) is the same as the ECC (Data) use to correct the Data, and that was provide to the de-serialize circuit 610 along with ECC (DBI),

{0821 The CD Data is provided along with the C DBI to a DBI decoding circuit 630 that is also included in the write data control circuit 600. The DBI decoding circuit 630 decodes the CD_Data using CJDBI to provide corrected data“C Data.”

|083{ I contrast to the write data control circuit 400 of Figure 4, in the write data control circuit 600, ECC decoding for (DBI encoded) D Data and ECC decoding for DBI data are performed in parallel by the ECC decoding circuit 640 and ECC decoding circuit 620, respectively. In the write data control circuit 400, ECC decoding of the DBI data fey the ECC decoding circuit 420. DBI decoding of the D Data by the DBI decoding circuit 430 to recover plain Data, and ECC decoding of the plain Data by the EC decoding circuit 440 are performed serially. In such an arrangement, DBI decoding to provide the plain Data occurs prior to ECC decoding of tire Data. However, in tire arrangement of the write data control circuit 600, with the ECC decoding for D Data and ECC decoding for DBI data performed in parallel, the ECC decoding of D_Data occurs pri or to DBI decoding of (corrected) DBI encoded data CD_Daia As a result of the parallel operation of the write data control circuit 600, processing write data for writing to a memory army ma take less time compared to the write data control circuit 400.

|084J In embodiment ofthe disclosure that include the write data control circuit 600, the read data control circuit 500 of Figure 5A may be used to perform operations : for providing: the D Daiii, the DBI data, and ECC (Data, DBi) data for some embodiments in other embodiments of the disclosure, the write data control circuit 600 may be used with different read data control circuits,

f085| For embodiments of the disclosure, such as the write data control circuit 600, where DBI encoded data CEfoOata is ECC decoded by an ECC decoding circuit, if is preferable that the resuits of ECC decoding of the DBI encoded data CD Data provides the same calculation results as for ECC decoding of plain Data, That is, there would not be any problems with ECC decoding to correct an error in die DBI encoded dat CDJData.

|086i Figure 6B is a block diagram of a read data control circuit 605 according to an embodiment: of the disclosure. The d data control circuit 605 may be included in die read data control circuit 320 of the ECC control circuit TOO of Figure 3 A in some embodiments of the disclosure. The read data control circuit 605 may be used with the write data control circuit 600 in some embodiments of the disclosure.

1 . 0871 The read data control circuit 605 is shown in Figure 6B as receiving ECC (Data) and Data, The Data and: ECC (Data) may be provided, for example, from a memory array. The Data is provided to a DBI encoding circuit 615. The DBI encoding circuit 615 evaluates the Data and encodes the Data accordingly to provide DBI encode Data“DJData.” The DBI encoding circuit 615 further provides DBI data T)BF that indicates whether the BJDatg is true or the complement to the Data. The DBI data is provided to an ECC encoding circuit 6:25. The ECC encoding circuit 625 evaluates the DBi data an provides ECC data lor the DBI data “ECC (DBI)” based on the DBI data. The ECC (DBI) may be used, for example, by a controller, to correct the DBi data.

{0881 The D Data and die ECC (Data) are provide to an ECC decoding circuit 645. The ECC decoding circuit 645 corrects the D Data using tire ECC (Data) to provide corrected data “C D Da ta,” which may be considered to be intermediate data. The ECC decoding eirc u it 645 farther provides the ECC (Data), The ECC (Data) may be used, for example, by the controller, to correct the D Data. In some embodiments of the disclosure, the ECC (Data) provided by the ECC decoding circuit 645 is the same as the ECC (Data) used to correct the D_Datfi, and that was provided to the ECC decoding circui 645 along with the D Data.

089| I the read data control circuit 605. ECC decoding for D Data and ECC encoding for

DBI data are performed m parallel by ihe ECC decoding circuit 645 and ECC encoding circuit 625 * respectively:

|09O| The ECC (DBI) and the DBI data are provided by the ECC encoding circuit 625 to a serialize circuit 635 The serialize circuit 635 is also provided the ECC (Data) and the CD Data by the ECC encoding circuit 645 The serialize circuit 635 is provided the CDJ3ats, ECC (Data) DBI data, and ECC (DBI) in parallel, and serializes the same to provide C.O_Pata, DBI data, and ECC data for the D Data and the DBI data“ECC (Data, DBI)” in a serial manner. The CD Data, DBI data aud ECC (Data, DBI) may be provided, for example, to a controller

10911 The ECC data ECC (Data) for the CD Data may be provided by the read data control circuit 605 without the need for performing an ECC encoding operation on the Data or D D < tia. For example, the ECC data ECC (Data) may have been provided using a commo (e.g., same) determinant (e.g , il-Matrix) as is nsed for ECC decoding of the CDJData based on the ECC (Data) such as b the controller to which the ECC (Data) and CD_Data are provided, and/or by a rea data controller circuit which provides data an ECC (data) that is rea from a memory array. By having the same ECC operations performed (e,g„ by a controller and also by a semiconductor device) based on the same M-Mahix may allow for one or more ECC: encoding operations of the data to be avoided.

|0921 In embodiments of the disclosure that include the read data control circuit 605, the write data control circuit 600 of Figure 6A may be used to perform operations for providing the CJ¾ia and C_BCC (Data) that is written to a memory array, which are later provided to the read data control circuit 323 as Data and ECC (Data) responsive to a read operation. ECC decoding performed by the write data control circuit 600 may be executed based OH a common H~Matrix also used for ECC decoding performed by the read control circuit 605 in some embodiments of the disclosure in some embodiments of the disclosure, the read data control circuit 605 may be used with different write data control circuits.

f0¾S| Figures 7A~! , 7A-2* and 7A-3, and 7B are diagrams of determinants (e g. ; El-Matrices) for performing ECC encoding and/or decoding operations according : to an embodiment of the disclosure. Figure 7A-1 , 7A-2, and 7A-3 are examples determinants that may be used lor data. Figure 7 B is an example determinant that may be used tor DBI data. The example determinants of Figures 7A-1 » 7A-2, and 7A-3, an 7B have an even number oFT” and“0” in each byte (SO, SI , , S8). As a result, the example determinant of Figures 7A-I , 7A~2, and 7A-3, and 7B provide the same ECO calculation results for both plain data and DBI encoded data.

fi! f The determinants of Figures A.-1, 7A-2, and 7A-3, and 7B may be used with, for example, error correction circuits similar to those disclose in LIS. Patent No, 9,690,653, previously referenced, and as previously described, the entire disclosure of which is hereby incorporated by reference. As described in the ' 653 patent, each syndrome factor (Si) may be constructed by EXOR circuits through each data enters through 1 in an H-matrix, Syndrome S (not Siero) indicates the location of an error bit in case of 1 error ari S ::: 0, If the E-matrix has only an even number of“ in each byte, the EXOR circuits output the same result. For example, inputs of the EXQR circuits change from 00000000 to 1111111 1 if Data is DBI encoded, however, the calculation results are the same“0” (no error). ; Similarly to that, inputs of EXOR circuits change from QOiOOf mu to 1 t i t i l l, however, the calculation results are the same‘Ί " (error)

|0951 The example determinants of Figures 7A-1, 24-2. and 7A-3, and 7B may be used with

ECC decoding for DBI encoded data and ECC decoding for DBI data performed in parallel, and with ECC decoding of the DBI encoded data prior to DBI decoding of (corrected) DBI encoded data. Embodiments of the disclosur are not intended to be limited to the specific example determinants of Figures 7A-1, 7A-2, and 7A-3, and ?B, and as such, other embodiments of the disclosure use alternative determinants for the ECC decoding and/or encoding.

|096 Figure 8A is a block diagram of a write data control circuit 800 according to an embodiment: of the disclosure. The write data control circuit 800 may be included in the write data control circuit 310 of the ECC control circuit 300 of Figure 3 A in some embodiments of the disclosure,

1097} The write data control circuit 800 includes de-seriaiDe circuit 810 that is provided DBI encoded data“DJData” and DBI data“DBI.” The DJData and DBI data may be provided in a serial manner, and the de-serialDe circuit 810 de-serial es the !TJfata and DBI data and provides the D Data and DBI data in a parallel manner.

ft>98{ The write data control circuit B00 further includes ECC decoding circuit 820 and ECC decoding circuit 840. In the write data control circuit 800, it is assumed that the ECC decoding circuits 820 and 830 are disabled and bypassed (e.g„ skipped) because only DBI encoded data D Data and the DBI data are provided to the write data control circuit 800. As a result, the DJData and the DBI data are provided through the ECC decoding circuit 840 and the ECC decoding circuit 820, respectively, to a DBI decoding circuit 83 included in die write data control circuit 800. The DBI decoding circuit 830 decodes the D_Data using DBI data to provide DB! decoded data“Data.” The Data is provided by the write data control circuit 800 to an ECC encoding circuit 85<>. The ECC encoding circuit 850 evaluates the Data and provides ECC data for the Data ' ECC i Data 5 '* The Data and the ECC Data) may be stored in. a memory array, for example, in memory array 250 of the semiconductor device 200 of Figure 2. The ECC encoding circuit 850 provides bank error correction coding, which may be used to correct errors that may have occurred while stored in the e ory' array *

10991 In embodiments of the disclosure that include the write dat control circuit 800, the read d@ta control circuit 500 of Figure 5A may he include as well to perform operations for providing the D Data and DBI data, in such embodiments» the ECC deco ing circuit 510 does not provide corrected ECC data (e g., C ECC (Data)} and the ECC encoding circuit 530 is disabled so that ECC data for the DBI data (e.g.. ECC (DBI)) is als not provided. As a result, only DBI encoded data Q JData and DBI data are provided by the read data control circuit 500, The DJData and DBI data may be provided for example, to a controller. In other embo iments of the disclosure, the write data control circuit 800 may he used with different read data control circuits.

|0100j Figure 8B is a block diagram of a rea data control circuit 805 according to an embodiment of the disclosure. The read data control circuit 805 is shown in Figure 8B as receiving corrected data CJOata from bank ECC decoding circuit 803. The read data control circuit 8Q5 may be included in the read data control circuit 320 of the ECC control circuit 300 of Figure 3 A in some embodiments of the disclosure. The read data control circuit 80S may be used with the write data control circuit 8001h some embodiments of the disclosure.

10101 } The bank ECC decoding circuit 803 is provided“Data” and ECC data for the Data “ECC (Data),” for example, from a memory 1 array. The bank ECC decoding circuit 803 corrects the Data using the ECC (Data) to provide corrected data“CJDaia/ > which may be considered to be intermediate data. As previously described, bank error correction coding: may be used for correcting any errors that may have occurred while stored in the memory array.

|01 2| The mad data control circuit 805 is shown in Figure 8B as receiving C Data from the bank ECC decoding circuit 803. The C_Data is provided to a DBi encoding circuit 815. The DBI encoding circuit 815 evaluates the Data and encodes the Data accordingly to provide DBI encoded Data“DC Data.” The DBi encoding circuit 815 further provides DBI data“DBI” that indicates whether the DC_Data is true or the complemen to the CJ¾ia The DBI data is provided to an ECC encoding circuit 825 and the DCJData is provided to an ECC encoding circuit 845.

{0103} In the read data control circuit 805, it is assumed that the ECC encoding circuits 8:25 and 845 are disabled and bypassed and ECC data ECC (Data) and ECC (DBI) are not provided by the read data control circuit 80S. As a result, the DCjDaia and the DBI data are provide through the ECC decoding circuit 845 and the ECC decoding circuit 825, respectively, to a serialize circuit 835 that serializes the same to provide DC Data and DBI data in a serial maimer. The DCJData and DBI data may he provided, for example, to a controller.

10104} In embodiments of the disclosure that include the write data control circuit 800, the read data control circuit 805 may he included as well to perform operations for providing the

DC, Data and DBI data. In other embodiments of the disclosure, the read data control circuit 805 may be used with different write data control circuits. Figure 9 is a layout diagra for write data control circuits and read data control circuits according to various embodiments of the disclosure. The layout diagrams include a peripheral region 910 and a memory array region 920.

fOiOSj For write data control circuits, ECC decoding (DBI) and DBI decoding may he performed by circuits in the peripheral region 910, for example, circuits located in areas 913 and 915, respectively. ECC decoding (Data) for the write data control circuits may be performed by circuits in the peripheral region 910 or in the memor cell array region 920. When performed by circuits in the memory cell array region 920, the circuits may be located, for example, in areas 925. However, ECC decoding (Data) may be preferable in the peripheral region 910 in order to avoid having additional signal lines in the memory ceil army region 920.

{0106j For read data control circuits, ECC encoding (DBI) and DBI encoding may be performed by circuits in the peripheral regio 910, for example, circuits located in areas 913 and 15, respectively, ECC decoding (Data) for the rea data control circuits may be performed by circuits in the peripheral region 910 or In tire memory cell array region 920, in the same manner as previously described for the write data control circuits.

{0197] la embodiments of write data control cirenits that are provided DBI encoded data D Data and DBI data (no ECC data for either the data or DBI data), the additional ECC encoding (Data) may be arranged in the memory cell array region 920, which may reduce the number of signal lines ex ending from the peripheral region 910 to the memory cell array region 920, which may be relatively long signal lines. Reducing the number of relatively long signal Sines may decrease power consumption. Likewise. ECO decoding (Data) for read data control circuits may be arrange inthe memory cell array regions 920.

{0108} The layouts of Figure have been provided " by way o f example, and are not intended to limit the scope of the disclosure to the particular layouts in the examples of Figure 9. Consequently, other embodiments of the disclosure ma include layouts for the write data control circui s an read data control circuits other than those shown in Figure 9,

10109} From the foregoing it will be appreciated that, although specific embodiments of the disclosure have been described herein for purposes of illustration, various modifications may ¬ be made without deviating from the spirit and scope of the disclosure. Accordingly, the scope of the disclosure should not be limited any of the specific embodiments described herein.