Apparatus and method for read command with different level error correction code (ECC) capability

By providing different levels of read commands and parity bits in DRAM, more efficient error correction capabilities are achieved, solving the problems of insufficient read latency and error correction capabilities in the existing technology, and improving data reliability. .

CN118588148APending Publication Date: 2024-09-03MICRON TECHNOLOGY INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410148905.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-01
Filing Date
2024-02-02
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

During the read operation of existing dynamic random access memory (DRAM), the delay problem caused by the increase of parity bits and the existing error correction capability are insufficient, making it difficult to effectively detect and correct multiple errors.

Method used

By providing different levels of read commands (first type and second type), the default number and the greater than default number of parity bits are read respectively, and different levels of error correction are performed based on multiple parity bits, including a single Higher level corrections such as Single Error Correction (SEC) and Single Error Correction Dual Error Detection (SECDED).

Benefits of technology

Improved memory error detection and correction capabilities, reducing read operation latency and ensuring data accuracy in the presence of multiple errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588148A
    Figure CN118588148A
Patent Text Reader

Abstract

Embodiments of the invention relate to devices and methods for read commands with different levels of ECC capabilities. Devices, systems, and methods for read commands with different levels of error correction code (ECC) capabilities. The memory receives a first type of read command and reads data with a first level of ECC, and receives a second type of read command and reads the data with a second level of ECC. For example, a single error correction SEC may be used as part of the first type of read commands and more errors may be detected / corrected as part of the second type of read commands. A controller may read data using the first type of read command and may read the data again using the second type of read command in the event that a signal indicating that an error is detected is received.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to semiconductor devices, and more particularly to semiconductor memory devices. Background Art

[0002] In particular, the present disclosure relates to volatile memory, such as dynamic random access memory (DRAM). Information may be stored as physical signals (e.g., charge on a capacitive element) on individual memory cells of the memory. During an access operation, an access command may be received along with address information specifying which memory cells should be accessed.

[0003] Some memories may include on-device error correction. In such devices, the memory array may generate parity bits when data is written to the array, and then use the parity to check the data for errors during a read. The number of errors that can be detected and / or corrected may be based in part on the number of parity bits. Retrieving additional parity bits may increase the latency of a read operation, which may be undesirable. Summary of the invention

[0004] According to an embodiment of the present disclosure, a device is provided. The device includes: a memory array configured to provide data bits and a plurality of parity bits in response to a first type of read command or a second type of read command, wherein the memory array provides a first number of the plurality of parity bits in response to the first type of read command or provides a second number of the plurality of parity bits greater than the first number in response to the second type of read command; and an error correction code (ECC) circuit configured to correct one or more errors in the data bits based on the plurality of parity bits.

[0005] According to an embodiment of the present disclosure, a system is provided. The system includes: a controller configured to provide a first type of read command or a second type of read command; and a memory device. The memory device includes: a memory array configured to provide data and parity bits in response to the first type of read command or the second type of read command, wherein there are a first number of parity bits in response to the first type of read command and a second number of parity bits in response to the second type of read command; and an error correction code (ECC) circuit configured to perform a first level of error correction on the data in response to the first type of read command and to perform a second level of error correction on the data in response to the second type of read command, wherein more errors are detected or corrected in the second level of error correction than in the first level of error correction.

[0006] According to an embodiment of the present disclosure, a method is provided. The method includes: receiving a read command, which is a first type of read command or a second type of read command; reading a first number of parity bits and a plurality of data bits in response to the first type of read command; performing a first level of error correction on the plurality of data bits based on the first number of parity bits; reading a second number of parity bits and the plurality of data bits in response to the second type of read command; and performing a second level of error correction on the plurality of data bits based on the second number of parity bits. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a block diagram of a semiconductor device according to an embodiment of the present disclosure.

[0008] Figure 2 is a block diagram of a memory device according to some embodiments of the present disclosure.

[0009] Figure 3 is a block diagram of a write operation according to some embodiments of the present disclosure.

[0010] Figure 4 is a block diagram of a first type of read operation according to some embodiments of the present disclosure.

[0011] Figure 5 is a block diagram of a second type of read operation according to some embodiments of the present disclosure.

[0012] Figure 6 is a block diagram of a write operation according to some embodiments of the present disclosure.

[0013] Figure 7 is a block diagram of a second type of read operation according to some embodiments of the present disclosure.

[0014] Figure 8 is a flowchart of a method of writing data to a memory device according to some embodiments of the present disclosure.

[0015] Fig. 9 is a flowchart of a method of performing a read operation according to some embodiments of the present disclosure.

[0016] Fig.10 A method of reading data from a memory device according to some embodiments of the present disclosure. DETAILED DESCRIPTION

[0017] The following description of certain embodiments is merely exemplary in nature and is by no means intended to limit the scope of the present disclosure or its application or use. In the following detailed description of embodiments of the present system and method, reference is made to the accompanying drawings that form a part thereof and that show by way of illustration specific embodiments in which the described system and method may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the currently disclosed system and method, and it should be understood that other embodiments may be utilized and that structural and logical changes may be made without departing from the spirit and scope of the present disclosure. In addition, for the sake of clarity, when certain features are obvious to those skilled in the art, their detailed description will not be discussed in order to avoid obscuring the description of the embodiments of the present disclosure. Therefore, the following detailed description should not be considered as intended to be limiting, and the scope of the present disclosure is defined solely by the appended claims.

[0018] A memory array may typically include a number of memory cells arranged at the intersection of word lines (rows) and bit lines / digit lines (columns). Columns may be grouped together into column planes, and a column select (CS) signal may be used to select a set of columns within each of the active column planes to provide data. During a write operation, the device receives data, and an error correction code (ECC) engine generates parity bits based on the data. The data and parity are then written to the word lines specified by the row address and to the bit lines selected by the column address. During a read operation, the data and parity are read out to the ECC engine, which uses the data and parity to determine if there are errors and / or locate and correct one or more errors in the data. Corrected data is then output from the device.

[0019] The memory will typically include a set of data column planes for storing data, and additional column planes for storing parity bits. Therefore, the error correction scheme implemented may depend in part on how many parity bits are stored in the additional column planes. For example, the memory can typically read / write 8 bits from each column plane at a time, so there may be 8 parity bits associated with the data (e.g., for 128 data bits, from 16 data column planes), which can allow the ECC engine to perform a single error correction (SEC). However, if there are multiple errors, the ECC engine implementing SEC may incorrectly change one or more bits or otherwise fail to correct or even increase the number of errors. As the number of parity bits increases, additional error correction / detection is possible, but the memory architecture can be set so that a maximum default amount of parity bits (e.g., 8 bits) can be accessed while accessing data. In order to increase ECC capabilities, additional access passes may be required, which can increase latency. However, since memory devices typically receive many more read commands than write commands, the increase in latency may typically be a problem when it occurs as part of each read command.

[0020] The present disclosure relates to apparatus, systems and methods for read commands with different levels of ECC capabilities. A memory device may receive a write command and generate a number of parity bits. The parity bits may include a default number of parity bits and a number of additional parity bits. The memory device may use two access passes to write the parity bits to a memory array. The memory device may receive a first type of read command, and in response to the first type of read command, data and a default number of parity bits may be read. An ECC circuit may determine an error based on the data and the default number of parity bits. For example, in response to a first type of read command, the ECC circuit may perform a first level of ECC, such as single error correction (SEC).

[0021] The memory device may receive a second type of read command, and in response to the second type of read command may perform two access passes, one for reading data and default parity and one for reading additional parity. The ECC circuit may determine errors based on the data and the default and additional parity bits. Due to the increase in the amount of parity, an increased number of errors may be detected / corrected by the ECC circuit. For example, in response to the first type of read command, the ECC circuit may perform SEC, and in response to the second type of read command, the ECC circuit may perform a second level of ECC, such as single error correction double error detection (SECDED), double error correction (DEC), triple error correction (TEC), or other forms of multi-bit error detection and / or correction.

[0022] A controller of the memory may determine when to perform a first type of read operation and when to perform a second type of read operation. For example, the controller may generally perform the first type of read operation. If the controller receives a signal from the memory indicating that an error was detected in the read data, the controller may issue a second type of read command for the same data (e.g., the same memory address) to increase detection / correction capabilities.

[0023] In some embodiments, a single ECC circuit can be used, which can selectively switch between processing a default amount of parity bits or a default amount of bits plus an additional parity bit. For example, the ECC engine can adapt to both SEC based on the parity bits of the default amount or SECDED based on the default plus an additional parity bit. In some embodiments, multiple ECC engines can be used, one for a first type of read operation, and one for a second type of read operation. For example, two ECC engines can generate corresponding first and second multiple parity bits separately during a write operation, wherein the second multiple parity bits have more bits than the first multiple parity bits. During the first type of read operation, the first multiple parity bits can be read and used by the first ECC engine. During the second type of read operation, the second multiple parity bits can be read and used by the second ECC engine. The second ECC engine can implement a higher number of detected / corrected bits than the first ECC engine.

[0024] As used herein, the term data may represent any information bit that the controller wishes to store and / or retrieve from the memory. The term metadata may represent any information bit about the data that the controller writes to the memory and / or receives from the memory. For example, metadata may be information generated by the controller about the data, about the way or location of the data stored in the memory, about the number of errors detected in the data, etc. Data and metadata together represent information written to the memory by the controller and then also read from the memory by the controller, wherein the data and metadata differ in terms of content and how they are generated because the metadata is based on information about the data. The term parity may represent any bit generated by the error correction circuit of the memory based on data, metadata, or a combination thereof. Parity may generally be retained within the memory. In some embodiments, the amount of data and / or metadata retrieved as part of a single access operation may represent a group of bits as a larger piece of information. For example, metadata bits (e.g., 4 bits) retrieved as part of a single access operation may not have any meaning by themselves, but may have meaning when combined with metadata bit groups retrieved as part of other access operations (e.g., to other memory arrays and / or to the same array at different times).

[0025] Figure 1 1 is a block diagram of a semiconductor device according to an embodiment of the present disclosure. The semiconductor device 100 may be a semiconductor memory device, such as a DRAM device integrated on a single semiconductor chip. The device may be operated by a controller 150 such as a processor.

[0026] The semiconductor device 100 includes a memory array 118. The memory array 118 is shown as including a plurality of memory banks. Figure 1In the embodiment of the present invention, the memory array 118 is shown to include 8 memory banks BANK0 to BANK7. More or fewer memory banks may be included in the memory array 118 of other embodiments. Each memory bank includes a plurality of word lines WL, a plurality of bit lines BL, and a plurality of memory cells MC arranged at intersections of the plurality of word lines WL and the plurality of bit lines BL. The selection of the word lines WL is performed by the row decoder 108 and the selection of the bit lines BL is performed by the column decoder 110. Figure 1 In an embodiment of the present invention, row decoder 108 includes a respective row decoder for each memory bank and column decoder 110 includes a respective column decoder for each memory bank.

[0027] The bit lines BL are coupled to corresponding sense amplifiers (SAMPs). Read data from the bit lines BL are amplified by the sense amplifiers SAMPs and transmitted to the ECC circuit 120 via the local data lines (LIOs), the transfer gates (TGs), and the global data lines (GIOs). Conversely, write data output from the ECC circuit 120 are transmitted to the sense amplifiers SAMPs via the complementary main data lines GIOs, the transfer gates TGs, and the complementary local data lines LIOs and written in the memory cells MCs coupled to the bit lines BL.

[0028] The semiconductor device 100 may employ a plurality of external terminals, such as pads, including a command and address (C / A) terminal coupled to a command and address bus to receive commands and addresses, a clock terminal for receiving clocks CK and / CK, a data terminal DQ coupled to a data bus to provide data, and a power terminal for receiving power supply potentials VDD, VSS, VDDQ, and VSSQ.

[0029] The clock terminal is supplied with external clocks CK and / CK provided to the input circuit 112. The external clocks may be complementary. The input circuit 112 generates an internal clock ICLK based on the CK and / CK clocks. The ICLK clock is provided to the command decoder 106 and the internal clock generator 114. The internal clock generator 114 provides various internal clocks LCLK based on the ICLK clock. The LCLK clock can be used for timing operations of various internal circuits. The internal data clock LCLK is provided to the input / output circuit 122 to time the operation of the circuit included in the input / output circuit 122, for example, to the data receiver to time the reception of write data. The input / output circuit 122 may include several interface connections, each of which may be coupled to one of the DQ pads (e.g., a pad that may serve as an external connection to the device 100).

[0030] The C / A terminal may be supplied with a memory address. The memory address supplied to the C / A terminal is transmitted to the address decoder 104 via the command / address input circuit 102. The address decoder 104 receives the address and supplies the decoded row address XADD to the row decoder 108 and supplies the decoded column address YADD to the column decoder 110. The decoded row address XADD can be used to determine which row should be turned on, which can cause the data along the bit line to be read out along the bit line. The column decoder 110 can provide a column select signal CS, which can be used to determine which sense amplifiers provide data to LIO. The address decoder 104 can also supply a decoded memory bank address BADD, which can indicate the memory bank of the memory array 118 containing the decoded row address XADD and the column address YADD.

[0031] The C / A terminal may be supplied with commands. Examples of commands include timing commands for controlling the timing of various operations, access commands for accessing memory (e.g., read commands for performing read operations and write commands for performing write operations), and other commands and operations. The access command may be associated with one or more row addresses XADD, column addresses YADD, and bank addresses BADD to indicate memory cells to be accessed.

[0032] The command may be provided as an internal command signal via the command / address input circuit 102 to the command decoder 106. The command decoder 106 includes circuits for decoding the internal command signal to generate various internal signals and commands for performing operations. For example, the command decoder 106 may provide a signal indicating whether to read, write data, etc.

[0033] The memory includes a mode register 130 that can be used to control various aspects of the memory 100. For example, the mode register 130 may include one or more setting registers that specify various settings of the memory. The controller 150 may perform a mode register write operation to set the value of the one or more setting registers. The controller 150 may perform a mode register read operation to check the values ​​of various registers, which may contain information about various settings, conditions of the memory (e.g., temperature), error reports (e.g., error checking and erasure information), other information, or a combination thereof. In some embodiments, the mode register 130 may be used to enable the operation of the additional parity bit as described herein. In some embodiments, the mode register 130 may also set various properties, such as how many additional parity bits are used. In some embodiments, the mode register 130 may enable metadata, which may be stored in a manner similar to the additional parity, but provided by the controller 150 rather than generated by the ECC circuit 120.

[0034] The device 100 may receive an access command as a write command. When the write command is received and the bank address, row address, and column address are supplied in time by the controller 150 together with the write command, the write data supplied by the controller 150 to the data terminal DQ is provided along the data bus and written to the memory cell corresponding to the row address and the column address in the memory array 118. The write command is received by the command decoder 106, which provides an internal command so that the write data is received by the data receiver in the input / output circuit 122 together with any additional information (e.g., metadata and / or additional parity). The ECC circuit 120 generates a number of parity bits based on the received data, and the data and parity are provided by the ECC circuit 120 to the memory array 118 to be written into the memory cell MC specified by the row and column address.

[0035] The ECC circuit 120 may generate a number of parity bits including a default number of parity bits and an additional number of parity bits. For example, a default number of parity bits (e.g., 8 parity bits) may be associated with a first type of ECC operation (e.g., SEC) and default+extra parity may be associated with a second type of ECC operation (e.g., SECDED). In some embodiments, there may be two separate ECC circuits, and the first ECC circuit may provide the default parity bits (e.g., 8 parity bits) associated with the first type of ECC operation, and the second ECC circuit may provide the extra parity bits (e.g., 9, 10, 11, 12, etc. extra parity bits) associated solely with the second type of ECC operation. The default bits may be written to the memory array 118 along with the data as part of a first access operation, and the extra parity bits may be written to different locations as part of a second access operation.

[0036] The device 100 may receive an access command as a read command. The read command may be of the first type or the second type. For example, the controller 150 may provide an additional bit that specifies which type of read command is being sent. When the read command is received and the bank address, row address, and column address are supplied in time by the controller 150 together with the read command, read data is read from the memory cell corresponding to the row address and column address in the memory array 118. The read command is received by the command decoder 106, which provides an internal command so that the read data and the read parity bit from the memory array 118 are provided to the ECC circuit 120. The ECC circuit receives the data and the parity bit from the array and detects and / or corrects errors in the data. Correct read data is provided along the data bus and output to the outside from the data terminal DQ via the input / output circuit 122.

[0037] If the read command is a first type of read command, the data and default parity may be read out as part of a single access pass. For example, 8 parity bits and 128 data bits may be read out to the ECC circuit 120, which may perform an ECC operation (e.g., SEC) based on the information. If an error is detected and / or corrected, the memory 100 may provide a signal ErrDet to the controller indicating that an error was detected. For example, the signal ErrDet may be provided directly to the controller (e.g., via a DQ pin) or may be provided indirectly (e.g., as part of a sideband communication to tell the controller to check an error register of the mode register 130, one of which may include the signal ErrDet).

[0038] If the read command is a read command of the second type, two access passes may be used to read out the data and the additional parity (potentially along with the default parity, depending on the embodiment). For example, a first access may read out the additional parity from the memory array 118, and a second access pass may read out the data (and the default parity). The data and the additional parity (which may be combined with the default parity in some embodiments) are provided to the ECC circuit 120, which performs error correction (e.g., SECDED, DEC, TEC, etc.). If an error is corrected and / or detected, the memory 100 may provide a signal ErrDet to the controller 150 indicating (directly or indirectly) that an error was detected, potentially along with additional information such as how many errors were detected.

[0039] The use of additional or extra parity bits may allow for increased protection of data in a second type of read operation compared to a first type of read operation. For example, a first type of read operation may retrieve 128 data bits, and 8 default parity bits. Using this combination, the ECC circuit 120 may implement a single error correction (SEC) scheme, in which at most one error bit is located and corrected. However, when a second type of read operation is performed, 128 data bits and more than 8 parity bits (e.g., the default 8 plus 1, 2, 3, etc. extra parity bits or 9, 10, 11, 12, etc. extra parity bits) are then read out from the same location, which may enable single error correction, double error detection (SECDED), double error correction (DEC), triple error correction (TEC), and / or other error correction schemes.

[0040] Controller 150 may determine whether to execute a first or second type of read command. For example, a read command may include a bit that may specify the type of read command. Controller 150 may typically execute a first type of read command. Controller 150 may use internal logic to determine when a second type of read command should be used instead. For example, controller 150 may include error logic 152. The controller may provide a first type of read command along with row and column addresses and receive data from memory 100. Error logic 152 may receive a signal from memory 100 indicating that an error was detected in the read data. In response, error logic 152 may instruct controller 150 to execute a second type of read command for the same row and column address so as to check the data in a higher ECC form than SEC. Since SEC may introduce new errors in the presence of more than one error bit, using a higher ECC may allow correct data to still be recovered (at the expense of reserving storage space for the additional ECC and reserving additional latency for write operations).

[0041] The device 100 includes refresh control circuits 116, each of which is associated with a bank of the memory array 118. Each refresh control circuit 116 can determine when to perform a refresh operation on the associated bank. The refresh control circuit 116 provides a refresh address RXADD (and one or more refresh signals, Figure 1 1. The row decoder 108 performs a refresh operation on one or more word lines associated with RXADD. The refresh control circuit 116 may perform a variety of types of refresh operations, which may determine how to generate the address RXADD, and other details such as how many word lines are associated with the address RXADD.

[0042] The power supply terminal is supplied with power supply potentials VDD and VSS. The power supply potentials VDD and VSS are supplied to the internal voltage generator circuit 124. The internal voltage generator circuit 124 generates various internal potentials VARY and the like based on the power supply potentials VDD and VSS supplied to the power supply terminal.

[0043] The power supply terminal is also supplied with power supply potentials VDDQ and VSSQ. The power supply potentials VDDQ and VSSQ are supplied to the input / output circuit 122. In an embodiment of the present disclosure, the power supply potentials VDDQ and VSSQ supplied to the power supply terminal may be the same potential as the power supply potentials VDD and VSS supplied to the power supply terminal. In another embodiment of the present disclosure, the power supply potentials VDDQ and VSSQ supplied to the power supply terminal may be different potentials from the power supply potentials VDD and VSS supplied to the power supply terminal. The power supply potentials VDDQ and VSSQ supplied to the power supply terminal are used for the input / output circuit 122 so that the power supply noise generated by the input / output circuit 122 is not propagated to other circuit blocks.

[0044] Figure 2 is a block diagram of a memory device according to some embodiments of the present disclosure. In some embodiments, the memory device 200 may represent Figure 1 A portion of the memory device 100. Figure 2 The view of FIG. 1 shows a portion of memory arrays 210 to 214 and 220 to 224, which may be banks (e.g., Figure 1 118) and selected circuits used in the data path (e.g., ECC circuit 232 (e.g., Figure 1 120) and IO circuit 234 (e.g., Figure 1 122)). For the sake of clarity, Figure 2 The view omits certain circuits and signals.

[0045] The memory device 200 is organized into a number of column planes 210-214. Each of the column planes represents a portion of a memory bank. Each column plane 210-214 includes a number of memory cells at the intersection of a word line WL and a bit line. A word line may extend across multiple column planes 210-214. The bit lines may be grouped together into a plurality of memory cells that are decoded by a column decoder (e.g., Figure 1 110) provides a column selection signal CS to activate the group.

[0046] For clarity, only a single vertical line is used to represent the bit lines of each column select group in a given column plane, however, there may be multiple bit lines accessed by each CS value in each column plane. For example, each vertical line may represent 8 bit lines, all of which are commonly accessed by the value of CS. As used herein, a "value" of CS may refer to a decoded signal provided to a bit line group. Thus, a first value may represent the first value of a multi-bit CS signal, or the first value after decoding a separate binary signal (e.g., signal line valid). For example, if the (pre-decoded) CS signal is a 6-bit signal (e.g., having 64 values), then there may be 64 differently decoded CS signals.

[0047] The memory 200 includes a set of data column planes 210 and an additional column plane or ECC column plane 212. The additional column plane 212 may be used to store default parity bits. In some embodiments, the memory 200 may also include an optional global column redundancy (GCR) column plane 214. In some embodiments, the GCR plane 214 may have fewer memory cells (e.g., fewer column select groups) than the data column plane 210. The GCR CP 214 includes several redundant columns that may be used as part of a repair operation. For example, if the value of the CS signal is identified as including a defective memory cell in one of the data column planes 210, the memory may be remapped so that the information that would have been stored in that column plane for the value of CS is instead stored in the GCR CP 214.

[0048] An example memory device 200 according to some embodiments of the present disclosure may include 16 data column planes 210(0) to 210(15). Each of the data column planes 210 includes 64 groups of bit lines (e.g., CS groups) activated by the value of a column select signal, and each group of bit lines includes 8 bit lines. Therefore, when a word line is turned on in response to a row address, and a column select signal is provided to each of the 16 column planes, then 8 bits are accessed from each of the 16 column planes, for a total of 128 bits. The column select signal is also provided to the ECC CP 212, which accesses an additional 8 default parity bits associated with the 128 bits. If repair has been performed, the GCR CP 214 may also be accessed and information accessed in the GCR CP 214 may be swapped for information accessed from the repaired CP (e.g., by multiplexing the GCR local input / output lines onto the repaired LIO lines). Thus, the maximum number of bits that can be retrieved as part of an access pass in the example memory device is 128 bits from the data column plane 210 (8 bits replaced from the GCR CP 214 if a repair already exists) and 8 additional bits from the extra CP 212. For consistency, reference will generally be made throughout to these example values, however, it should be understood that embodiments of the present disclosure may have different architectures involving more or fewer column planes, more or fewer bit lines per CS group, more or fewer CS groups per column plane, and so forth.

[0049] When performing a first type of read operation, a single-pass access operation is performed, where the row decoder may activate the word line (based on the received row address) and the column decoder activates the CS set in each CP 210 and 212 (and 214 if repair has been performed) based on the received column address. When performing a write operation or a second type of read operation, a two-pass operation may be performed, where two access passes are performed, one accessing the memory cells storing the data and the default parity, and one accessing the codeword of additional information including additional information associated with the data (e.g., metadata and additional parity). Figure 3 and 6 The example write operation is described in more detail in . Figures 4 to 5 An example read operation is described in more detail in and 7.

[0050] During a write operation or a read operation of the second type, the column decoder may generate two CS signals for each access operation (e.g., in response to a received column address), one for a first access pass and one for a second access pass. In some embodiments, the same word line may be used for both access passes (e.g., both data and its associated information may be stored in memory cells along the same word line). The codeword of additional information may include additional information associated with multiple data codewords (e.g., groups of 128 data bits) along a row. The additional information may include additional parity and, in some embodiments, also metadata about the associated data. Depending on the number of bits of additional information enabled, there may be multiple codewords of additional information along each row. Each codeword of additional information is stored in the data column plane 210, and similar to the data codewords, each codeword of additional information has an associated parity stored in the ECC CP 212.

[0051] In an example embodiment, if there are 4 additional information bits enabled for each data codeword (e.g., 2 metadata bits and 2 additional parity bits), and there are 16 column planes, each with 64 CS groups, each containing 8 bit lines, then the data may be stored in CS0-CS61 of the data column plane 210, while the additional information is stored in CS62-63 of the data column plane. The codeword of additional information may also have associated parity bits (e.g., a default number of parity bits) that may be stored in CS62-63 of the ECC CP 212. When a column address is received, during access passes that access data, the column decoder may provide CS signals in the range of CS0-CS61, and during access passes that access additional information, the column decoder may provide CS signals in the range of CS62-63. Other arrangements of data and additional information may be used in other example embodiments.

[0052] As described in more detail herein, the additional information may include additional parity bits. When performing the second type of read operation, the additional parity bits may increase the amount of protection provided by the ECC circuit 232. For example, if the default amount of parity (e.g., 8 parity bits per 128 data bits) enables SEC, then when the additional parity is enabled, the ECC circuit 232 may perform SECDED on the data.

[0053] In some embodiments, a single ECC circuit may be used for both types of read operations. Thus, the ECC circuit 232 may have optional components that are not enabled when a default number of parity bits are used, but are enabled when additional parity is used. For example, the ECC circuit 232 may include a logic tree that combines inputs such as data to generate parity bits. The logic tree may include a portion that generates additional parity bits and is disabled when additional parity is not used. Similarly, the ECC circuit 232 may include additional inputs for additional parity bits that are used during read operations and are not used when additional parity bits are not enabled. Figures 3 to 5 An example embodiment having a single ECC circuit is described in more detail.

[0054] In some embodiments, two separate ECC circuits may be used, one for write operations and read operations of the first type and one for write operations and read operations of the second type. For example, during a write operation, the first and second ECC circuits may both receive the same data and each generate parity bits separately. The first ECC circuit generates the default ECC parity bits and the second ECC circuit generates the extra parity. In this embodiment, the extra parity may be "independent", rather than representing extra bits that provide error correction only when added to the default parity. Although in this embodiment, the extra parity may represent more total bits, it may still be written (and read) as part of a two-pass access. Figures 6 to 7 An example embodiment using two ECC circuits is described in more detail.

[0055] Different read operations may have different amounts of latency. For example, there may be a longer inter-column delay time tCCD_L, which indicates the minimum amount of time before two access passes can be performed on the same memory bank. Both write operations and second type of read operations may incur two additional tCCD_Ls compared to the first type of read operations, since both involve a second access pass as a read / modify / write cycle, as described in more detail herein. However, since the first type of read operations may be much more common than write operations or the second type of read operations, the overall increase in device latency may not be a problem.

[0056] Figures 3 to 5 Block diagrams are shown representing example write and first and second type read operations, respectively. The figure represents a simplified view of the flow of information during first and second access passes, both of which are performed in response to a single access operation to a memory (e.g., both passes are in response to the same address and command provided by a controller). Figures 3 to 5 In , the solid line indicates the first access pass, and the dashed line indicates the second access pass. For simplicity, Figures 3 to 5Some components of may be generally similar to each other, and therefore may not be described in detail with respect to both figures. Similarly, Figures 3 to 5 Components between will generally be referenced using the same reference numbers because in some embodiments they may be implemented by the same hardware. Figures 3 to 5 The operations described in . Figures 3 to 5 An embodiment is shown that uses a single ECC circuit that generates a default set of parity bits for SEC, and then generates additional parity bits that can be used with the default parity for more error correction.

[0057] Figure 3 FIG. 3 is a block diagram of a write operation according to some embodiments of the present disclosure. FIG. 3 shows a memory device 300, which may be implemented in some embodiments. Figure 1 The memory device 100 and / or Figure 2 For example, the memory device 300 includes a memory array 302 (e.g., Figure 1 118), the memory array 302 includes a data column plane 304 (e.g., Figure 2 210) and ECC column plane 306 (e.g., Figure 2 212). Also includes an ECC engine 310 (e.g., Figure 1 120 and / or Figure 2 232) and column decoder YDEC 316 (e.g., Figure 1 of 110).

[0058] As part of a write operation, the memory receives (e.g., from a controller) X data bits (e.g., 128 data bits) along with row and column addresses and a write command. The X data bits are provided to an ECC engine, which generates Y parity bits based on the X data bits. The Y parity bits include A default bits and B additional parity bits. For example, there may be X=128 data bits, which are used to generate 9 parity bits (e.g., A=8 and B=1).

[0059] The Y parity bits are divided into two parts, a first part including a default parity bit A and a second part including B additional parity bits. The B additional parity bits are stored in latch 312.

[0060] As part of the first access pass, column decoder 316 provides a first column select signal CS and a write command Wr to the memory array. X data bits are written to data column plane 304 and a first portion of parity bits including A default parity bits are written to ECC column plane 306 .

[0061] As part of the second access pass, the memory 300 performs a read / modify / write (RMW) operation on the codeword of additional information, which is to be modified to include a second portion of parity bits including B additional parity bits. As part of the RMW operation, the column decoder provides a second column select signal based on the column address YADD and the read command. The codeword including J bits of additional information is read out from the data column plane 304, and the K parity bits associated with the J additional information bits are read out from the ECC CP 306. In some embodiments, J may generally be equal to X, and K may generally be equal to A. For example, there may be J=128 additional information bits and K=8 parity bits associated with the additional information codeword.

[0062] The J additional information bits and the K parity bits are read out to the ECC engine 310, which checks for errors in the J additional information bits based on the K parity bits. For example, the ECC engine 310 may perform SEC on the J additional information bits and provide corrected additional information J'. The corrected additional information J' is provided to the logic circuit 314, which performs the modification portion of the RMW operation. The logic circuit 314 replaces one or more bits of the corrected additional information J' with the additional parity bit B stored in the latch 312. This may produce modified additional information J(B)'. For example, if B=1 bit, then one of the 128 bits of J' may be replaced with the value of the additional parity bit B. The logic 314 may select which bit of J' to replace based on the column address (and / or a signal such as CS' based on the column address).

[0063] As the write portion of the RMW operation, the ECC engine 310 receives the modified additional information J(B)' and generates an updated parity K' based on the modified additional information J(B)'. Then, the column decoder provides a write command Wr (and a second CS signal CS') to the memory array 302, and the modified additional information J(B)' is written to the data column plane 304 and the updated parity K' is written to the ECC CP 306. In this way, the first part of the parity (default parity bit A) is written to the ECC CP 306 and the second part of the parity (extra parity bit B) is written to the data CP 304.

[0064] If metadata is enabled over extra parity bits, then as part of the write operation, memory 300 may receive M metadata bits along with the X data bits. ECC engine 310 may generate Y parity bits based on the X data bits and the M metadata bits, and may then store both the B extra parity bits and the M metadata bits in latch 312. During a second access pass, the corrected additional information may be modified to include both the B parity bits and the M metadata bits.

[0065] Figure 4 is a block diagram of a first type of read operation according to some embodiments of the present disclosure. Figure 4 exhibit Figure 3 The memory device 300 is shown here for retrieving the Figure 3 The example read operation of the information stored in the description of the write operation is shown in Figure 1. Figure 3 The same reference numerals are used throughout and for the sake of brevity, the Figure 3 Details and description of the description.

[0066] The first type of read operation is a single-pass access operation because the data and the default parity bits are accessed instead of the additional parity bits. Figure 1 The command decoder 106 of the embodiment of the present invention receives a first type of read command Rd1. The column decoder 316 receives the column address YADD and provides a column select signal CS and a read command. Along the row (activated by the row decoder in response to the row address), the bit lines associated with the column select signal CS in the data column plane 304 and the ECC CP 306 are activated. X data bits are read out from the data CP 304, and A default parity bits are read out from the ECC CP 306. The ECC engine 310 detects and / or corrects errors based on the X data bits and the A default parity bits. For example, the ECC engine 310 may perform SEC. The corrected data X' is provided to the controller (e.g., Figure 1 of 150).

[0067] Figure 5 is a block diagram of a second type of read operation according to some embodiments of the present disclosure. Figure 5 exhibit Figure 3 300, but this time for retrieving the memory device 300 containing the Figure 3 The second type of read operation is described as part of a write operation and stores additional parity information. For consistency, the same Figure 3 The same reference numerals are used throughout and for the sake of brevity, the Figure 3 Details and description of the description.

[0068] As part of a read operation, the memory 300 receives a second type of read command Rd2 and an address including a row and column address. Figure 3 The write operation described may perform two access passes. The first access pass is for reading a codeword for retrieving the additional information J(B)', which may be a modified codeword including an additional parity bit B. The column decoder provides a second column select signal CS' and a read command Rd. The modified codeword of the additional information J(B)' is read out from the data CP 304 and the updated K' parity bits associated therewith are read out from the ECC CP 306. The ECC engine corrects the J(B)' bits based on the K' parity bits (e.g., by performing SEC) to generate the corrected modified additional information J(B')".

[0069] Logic circuit 414 extracts the corrected additional parity bits B' from the corrected modified additional information J(B')". For example, logic circuit 414 may use the row address or one or more signals derived therefrom (e.g., CS') to determine which bits of J(B') are B'. In some embodiments, logic circuit 414 may be connected to Figure 3 The extracted corrected extra parity bit B′ is stored in the latch 312 .

[0070] As part of the second access pass, the column decoder 316 provides a first column select signal CS and a read command. In response, X data bits are read from the data CP 304 and the default A parity bits are read from the ECC CP 306. The A parity bits are combined with the B' parity bits stored in the latch 312 to transform the Y parity bits (e.g., A+B'). The ECC engine 310 receives the X data bits and the Y parity bits and detects and / or corrects errors based on the information. For example, the ECC engine 310 may perform SECDED on the data based on the parity Y. The ECC engine 310 provides corrected data X', which is provided to the controller. In some embodiments, if the ECC engine 310 corrects an error and / or if the ECC engine detects an error that it cannot correct (e.g., a double-bit error), it will provide a signal indicating that an error has been detected.

[0071] Figures 6 to 7 An example embodiment is shown using two separate ECC engines, one of which performs SEC for a first type of read operation and one of which performs a higher form of ECC, such as SECDED, double error correction (DEC), triple error correction (TEC), etc. Figures 6 to 7 Roughly similar to Figures 3 to 5 For the sake of brevity, we will not discuss Figures 6 to 7 Description has been about Figures 3 to 5 Similarly, the same reference numerals will generally be used to describe certain features and components. Figure 6 and 7 Both, because the same components can be used for both read and write operations.

[0072] Figure 6 is a block diagram of a write operation according to some embodiments of the present disclosure. The write operation may be generally similar to Figure 3 write operation, but in Figure 6 In the write operation of Figure 3 FIG. 6 shows a memory device 600, which in some embodiments may implement Figure 1 The memory device 100 and / or Figure 2 For example, the memory device 600 includes a memory array 602 (e.g., Figure 1 118), the memory array 602 includes a data column plane 604 (e.g., Figure 2 210) and ECC column plane 606 (e.g., Figure 2 212). It also includes an ECC circuit 610 (e.g., Figure 1 120 and / or Figure 2 232) and column decoder YDEC616 (for example, Figure 1 of 110).

[0073] Controller (for example, Figure 1 150) provides a write command and a column address YADD. The column decoder 616 provides a first column select signal CS and a write command as part of the first access pass. The controller also provides data bits X (e.g., 128 data bits) to the ECC circuit 610. The first ECC engine 611 generates a default parity bit Y, and the second ECC engine 613 generates an additional parity bit Z. The number of bits of Z can be greater than the number of bits of Y. For example, Y can be 8 bits, and Z can be 9, 10, 11, 12, or more bits. Different from Figures 3 to 5 In the embodiment of Figures 6 to 7 In the embodiment of , the sets of parity bits Y and Z are independent of each other. In other words, the parity bit Y does not necessarily represent a subset of the bits of Z.

[0074] In response to the first column select signal CS and the write command Wr, data bit X is written to the data column plane 604 and default parity bit Y is written to the ECC column plane 606. Extra parity bit Z is stored in latch 612.

[0075] As part of the second access operation, the column decoder provides a second column select signal CS' and a read command, followed by a write command. In response to CS', the codeword of the additional information J is read from the data column plane 604 and its associated parity K is read from the ECC column plane 606. The number of bits in J and K may match the number of bits in X and Y (e.g., 128 bits and 8 bits), respectively. The first ECC engine 611 may correct errors in bit J based on J+K (e.g., by performing SEC on J) to produce a corrected codeword of the additional information J'. The logic circuit 614 may insert the parity bit Z into the corrected codeword J' to produce J'(Z). For example, bit Z may overwrite a bit previously located at that position. The logic circuit 614 may use the column address YADD (and / or a signal derived therefrom, such as CS) to determine the position in the codeword J' to insert bit Z.

[0076] The corrected codeword modified with the second set of parity bits J'(Z) is provided to the first ECC engine 611, which generates updated parity bits K' based on the codeword J'(Z). In response to the second CS signal CS' and the write signal Wr, the codeword J'(Z) is written to the data column plane 604 and the updated parity bits K' are written to the ECC column plane 606.

[0077] Figure 7 is a block diagram of a second type of read operation according to some embodiments of the present disclosure. Figure 7 exhibit Figure 6 600, but this time for retrieving the memory device 600 containing the Figure 6 The second type of read operation is described as part of a write operation and stores additional parity information. For consistency, the same Figure 6 The same reference numerals are used throughout and for the sake of brevity, the Figure 6 Details and description of the description.

[0078] Although not shown in a separate figure, the first type of read operation can be generally similar to Figure 4 The first type of read operation described in , where data X and parity Y are provided to the first ECC engine 611.

[0079] As part of the second type of read operation, a controller (e.g., Figure 1150) provides a second type of read command Rd2 and a column address YADD. In response to these commands, the column decoder provides a second column select signal CS' and a read command. In response to the second column select signal CS' and the read command Rd, the codeword J'(Z) is read from the data column plane 604 and the associated parity K' is read out from the ECC column plane 606. The first ECC engine 611 performs a first level of ECC (e.g., SEC) on the codeword J'(Z) based on the parity bit K' to generate a corrected codeword J" (Z'). Here, the symbol Z' indicates that the parity bit Z has been corrected.

[0080] Logic circuit 714 extracts bit Z' from codeword J" (Z'). Which bits are extracted from the string of J" is determined by column address YADD (and / or one or more signals derived therefrom, such as CS).

[0081] As part of the second access pass, the column decoder provides a first column select signal CS and a read command Rd. In response to the read command and CS, data bit X is read from the data column plane 604 (default parity Y may also be read from the ECC CP 606, but is omitted in this read operation). The data bit is provided to the second ECC engine 613 along with the parity bit Z'. The second ECC engine 613 performs a second level (e.g., SECDED, DEC, TEC, etc.) of ECC on bit X based on the parity bit Z' and provides a corrected data bit X'.

[0082] Figure 8 800 is a flowchart of a method for writing data to a memory device according to some embodiments of the present disclosure. In some embodiments, method 800 may be implemented by one or more of the devices or systems described herein. For example, Figure 1 The memory device 100, Figure 2 The memory device 200, Figures 3 to 5 The memory device 300 and / or Figures 6 to 7 The memory device 600 implements the method 800.

[0083] Method 800 may generally begin at block 810, which describes receiving a plurality of data bits as part of a write operation. The data bits may be received from a controller (e.g., Figure 1 The data can be received together with the row address and the column address.

[0084] Block 810 may generally be followed by block 820, which describes generating a first number of parity bits and a second number of parity bits based on the data bits. For example, the first number of parity bits may represent a default number of parity bits (e.g., Figures 3 to 7 Method 800 may include utilizing an ECC circuit (e.g., Figure 1 120 and / or Figure 2 232) to generate parity bits. In some embodiments, the method may include utilizing the same ECC engine (e.g., Figures 3 to 5 310) to generate a first number of parity bits and a second number of parity bits. For example, the first number of parity bits may represent a default number of parity bits (e.g., 8 parity bits) and the additional parity bits may represent additional parity bits generated by the same ECC engine (e.g., 1, 2, 3, etc. additional parity bits). In some embodiments, method 800 may include utilizing a first ECC engine (e.g., Figures 6 to 7 611) to generate a first number of parity bits and utilize a second ECC engine (eg, Figures 6 to 7 613) to generate a second number of parity bits. For example, the first number of parity bits may represent a default number of parity bits (e.g., 8 parity bits) and the second number of parity bits may represent more parity bits (e.g., 9, 10, 11, 12, etc.).

[0085] Block 820 may generally be followed by block 830, which describes writing a plurality of data bits and a first number of parity bits to a memory array as part of a first access operation. For example, method 800 may include generating a first column select signal and writing data to a data column plane (e.g., Figure 2 210 Figures 3 to 5 304 and / or Figures 6 to 7 604) and write the first number of parity bits to the ECC column plane (eg, Figure 2 212, Figures 3 to 5 306 and / or Figures 6 to 7 606). Data and a first number of parity bits may be written to memory cells along the same word line.

[0086] Block 830 may generally be followed by block 840, which describes writing a second number of parity bits to the memory array as part of a second access operation. For example, method 800 may include generating a second column select signal and performing a read / modify / write RMW operation as the second access operation. Method 800 may include reading a codeword of additional information from a memory cell along a word line specified by the second column select signal (the same word line used in block 830). Method 800 may include modifying the codeword of additional information to include a second number of parity bits and writing the modified codeword back to the array.

[0087] Fig. 9is a flowchart of a method for performing a read operation according to some embodiments of the present disclosure. In some embodiments, method 900 may be implemented by one or more of the devices or systems described herein. For example, Figure 1 The memory device 100, Figure 2 The memory device 200, Figures 3 to 5 The memory device 300 and / or Figures 6 to 7 The memory device 600 implements the method 900. In some embodiments, the method 900 may be used to read the memory device 600 using Figure 8 The same data written by method 800.

[0088] Method 900 may generally begin at block 910, which depicts, for example, a controller (e.g., Figure 1 150) receives a read command. Method 900 may include determining whether the read command is a first type of read command or a second type of read command. For example, a bit of the read command may indicate the type of the read command. Method 900 may also include receiving a row and column address and a read command.

[0089] If the read command is a first type of read command, method 900 may proceed to block 920, which describes reading a first number of parity bits and a plurality of data bits. The first number of parity bits and the plurality of data bits may be read as part of a single access pass (e.g., as described in FIG. 1 ). Figure 4 ). The method 900 may include generating a first column select signal and activating a word line and reading data bits from memory cells in a data column plane and parity bits from an ECC column plane.

[0090] Block 920 may generally be followed by block 930, which depicts performing a first level of ECC on the plurality of data bits based on a first number of parity bits. For example, the first level may be SEC.

[0091] If the read command is a second type of read command, then method 900 may proceed from block 910 to block 940, which describes reading a second number of parity bits and a plurality of data bits. The second number may generally be greater than the first number. In some embodiments, the first number of parity bits may represent a subset of the second number (e.g., as in Figures 3 to 5 In some embodiments, the second number may be separated from the first number of parity bits (e.g., as in Figures 6 to 7). Method 900 may include performing two access passes to read the data and the second number of parity bits. For example, in some embodiments, method 900 may include performing a first access pass to read a first portion of the second number of parity bits and performing a second access pass to read the second number of parity bits and a second portion of the data bits. In some embodiments, method 900 may include performing a first access pass to read the second number of parity bits and performing a second access pass to read the data bits. The first access pass may retrieve a codeword of the additional information and method 900 may include extracting the second number of parity bits (or a portion thereof) from the codeword of the additional information. Method 900 may include generating a first column select signal for the data (and, if applicable, the second portion of the parity bits) and generating a second column select signal for the codeword of the additional information.

[0092] Block 940 may generally be followed by block 950, which describes performing a second level of ECC on the plurality of data bits based on the second number of parity bits. The second level may involve detecting / correcting more bits than the first level described in block 930. For example, block 950 may include performing SECDED, DEC, TEC, or other levels of ECC.

[0093] In some embodiments, the first ECC engine (eg, Figures 6 to 7 611) performs the correction described in block 930 and may be performed by a second ECC engine (e.g., Figures 6 to 7 613) performs the second level ECC described in box 950.

[0094] Method 900 may include directly or indirectly providing an error signal (eg, in block 930 or block 950) in response to detecting or correcting an error in the plurality of data bits. Figure 1 ErrDet).

[0095] Fig.10 is a method of reading data from a memory device according to some embodiments of the present disclosure. In some embodiments, a controller (e.g. Figure 1 Controller 150) executes method 1000.

[0096] The method 1000 includes block 1010, which depicts sending a first type of read command to a memory device.For example, the method 1000 may include providing the first type of read command along with row and column addresses along a CA bus coupling a controller to a memory.

[0097] Block 1010 is followed by block 1020, which depicts receiving data and a signal indicating that an error was detected in the data. For example, the data may be received along a DQ terminal and a DQ bus between the memory and the controller. In some embodiments, the error detection signal (e.g., Figure 1 In some embodiments, the error detection signal may be received indirectly. For example, method 1000 may include receiving an alarm signal from a memory and performing a mode register read operation to retrieve the error detection signal.

[0098] If an error is detected, method 1000 may include block 1030, which describes sending a second type of read command to the memory device. For example, block 1030 may include providing the same row and column addresses as provided in block 1010, but with a second type of read command. Similar to block 1020, method 1000 may include receiving data and a signal indicating whether an error is detected.

[0099] Method 1000 may include Fig. 9 The memory may perform a second level of ECC in response to a second type of read operation that is higher than a first level of ECC performed in response to a first type of read operation.

[0100] Of course, it should be understood that any of the examples, embodiments, or processes described herein may be combined with one or more other examples, embodiments, and / or processes or separated and / or performed in a separate device or device portion according to the systems, devices, and methods of the present invention.

[0101] Finally, the above discussion is intended to be illustrative only of the inventive system and should not be construed as limiting the appended claims to any particular embodiment or group of embodiments. Therefore, although the inventive system has been described in particular detail with reference to exemplary embodiments, it should also be understood that a person of ordinary skill in the art may devise numerous modifications and alternative embodiments without departing from the broader and intended spirit and scope of the inventive system as set forth in the appended claims. Therefore, the specification and drawings should be viewed in an illustrative manner and are not intended to limit the scope of the appended claims.

Claims

1. A device comprising: a memory array configured to provide data bits and a plurality of parity bits in response to a first type of read command or a second type of read command, wherein the memory array provides a first number of the plurality of parity bits in response to the first type of read command or provides a second number of the plurality of parity bits greater than the first number in response to the second type of read command; An error correction code (ECC) circuit is configured to correct one or more errors in the data bits based on the plurality of parity bits.

2. The apparatus of claim 1 , wherein in response to the first type of read command, the ECC circuit is configured to correct a single bit error in the data, and wherein in response to the second type of read command, the ECC circuit is configured to detect and / or correct more than one single bit error in the data.

3. The apparatus according to claim 1, further comprising: A column decoder configured to provide a first column select signal in response to the first type of read command and configured to provide the first column select signal and a second column select signal in response to the second type of read command.

4. The apparatus of claim 1 , wherein in response to the first type of read command, the data and the plurality of parity bits are read as part of a single access pass to the memory array, and in response to the second type of read command, the data and the plurality of parity bits are read as part of two access passes to the memory array.

5. The apparatus of claim 4, wherein in response to the second type of read command, a portion of the plurality of parity bits is read as part of a first access pass and a remaining portion of the plurality of parity bits and the data is read as part of a second access pass.

6. The apparatus of claim 4, wherein in response to the second type of read command, the plurality of parity bits are read as part of a first access pass and the data is read as part of a second access pass.

7. The apparatus of claim 1, wherein the ECC circuit is configured to provide an error detection signal in response to correcting the one or more errors and wherein the controller is configured to provide the second type of read command in response to the error detection signal.

8. A system comprising: a controller configured to provide a first type of read command or a second type of read command; and A memory device comprising: a memory array configured to provide data and parity bits in response to the first type of read command or the second type of read command, wherein there is a first number of parity bits in response to the first type of read command and a second number of parity bits in response to the second type of read command; and and an error correction code (ECC) circuit configured to perform a first level of error correction on the data in response to the first type of read command and to perform a second level of error correction on the data in response to the second type of read command, wherein more errors are detected or corrected in the second level of error correction than in the first level of error correction.

9. The system of claim 8, wherein the memory is configured to provide an error detection signal if an error is detected or corrected by the ECC circuit, and wherein the controller is configured to provide the second type of read command in response to the error detection signal.

10. The system of claim 8, wherein the controller is configured to provide the data and a write command, and wherein the ECC circuit is configured to generate the parity bits based on the data.

11. The system of claim 10, wherein the ECC circuit is configured to generate the second number of parity bits in response to the write command, and wherein the first number of the parity bits represents a portion of the second number of parity bits.

12. The system of claim 10, wherein the ECC circuit comprises: a first ECC engine configured to provide the first number of parity bits in response to the write command; and a second ECC engine configured to provide the second number of parity bits in response to the write command, Wherein the first number of parity bits are read in response to the first type of read command and the second number of parity bits are read in response to the second type of read command.

13. The system of claim 8, wherein the first level of error correction is single error correction (SEC).

14. The system of claim 8, wherein the memory further comprises a column decoder configured to perform a single access pass on the memory array in response to the first type of read command and to perform two access passes on the memory array in response to the second type of read command.

15. A method comprising: receiving a read command, which is a first type of read command or a second type of read command; reading a first number of parity bits and a plurality of data bits in response to a read command of the first type; performing a first level of error correction on the plurality of data bits based on the first number of parity bits; reading a second number of parity bits and the plurality of data bits in response to a read command of the second type; and A second level of error correction is performed on the plurality of data bits based on the second number of parity bits.

16. The method according to claim 15, further comprising: sending a read command of the first type from the controller to the memory; receiving from the memory the plurality of data bits and a signal indicating that an error was detected in the plurality of data bits; and A read command of the second type is sent from the controller to the memory in response to the signal.

17. The method of claim 16, further comprising sending the first type of read command and the second type of read command with the same row and column addresses.

18. The method of claim 15, wherein the second level is greater than the first level.

19. The method according to claim 18, further comprising: performing a single error correction as the first level of error correction; and Single error correction, double error detection, double error correction, or triple error correction is performed as the second level of error correction.

20. The method of claim 15, further comprising: receiving a write command and the plurality of data bits; generating the first number of parity bits and the second number of parity bits based on the data bits; writing the plurality of data bits and the first number of parity bits as part of a first access operation; and The second plurality of parity bits are written as part of a second access operation.