Devices, systems, and methods for storing memory metadata
By storing metadata in some column planes in the DRAM memory array, and using mode register configuration to optimize metadata addressing, the problem of memory array space waste and low metadata addressing efficiency is solved, and efficient storage and fast reading of metadata are achieved. effect.
Patent Information
- Application Number
- CN202480001530.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-02-09
- Filing Date
- 2024-01-30
- Publication Date
- 2024-10-15
AI Technical Summary
When existing DRAM memory stores metadata, it is difficult to efficiently utilize the array space, resulting in a waste of space for user data, and the addressing efficiency of metadata is low, which increases data reading time.
By using part of the column plane in the memory array to store metadata, and using the mode register configuration to decide whether to provide metadata based on the column address bits, it reduces the waste of array space and optimizes the addressing mode of metadata, allowing Flexible allocation of metadata bits in x4 or x8 mode.
It achieves efficient storage of metadata without reducing memory density, reduces metadata addressing time, improves data reading efficiency, and supports single error correction and double error detection functions.
Smart Images

Figure CN118786418A_ABST
Abstract
Description
[0001] CROSS REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of U.S. Provisional Application No. 63 / 484,091, filed on February 9, 2023. This application is incorporated herein by reference in its entirety and for all purposes. Background Art
[0003] The present disclosure relates generally to semiconductor devices, and more specifically to semiconductor memory devices. In particular, the present disclosure relates to memory, such as dynamic random access memory (DRAM). Information can be stored in memory cells, which can be organized into rows (word lines) and columns (bit lines) of an array. Various types of information can be stored in the array, such as data, error correction code (ECC) data, and metadata. ECC data can provide information that can be used to detect and / or correct errors in the data. Metadata can provide information about conventional data, ECC data, memory devices, and / or devices (such as controllers) that communicate with the memory devices.
[0004] Although the demand for metadata has increased, many DRAM users are sensitive to losing array space for storing user data. Therefore, techniques for efficiently storing metadata to reserve array space for user data are desired. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1 is a block diagram of at least a portion of a computing system according to some embodiments of the present disclosure.
[0006] Figure 2 is a block diagram of a semiconductor device according to some embodiments of the present disclosure.
[0007] Figure 3 is a block diagram of a mode register according to an embodiment of the present disclosure.
[0008] Figure 4 is an example of metadata to data mapping according to an embodiment of the present disclosure.
[0009] Figure 5 is an example of metadata to data mapping according to an embodiment of the present disclosure.
[0010] Figure 6 is a flow chart illustrating a two-pass memory access operation according to an embodiment of the present disclosure.
[0011] Figure 7 is a flow chart of a method according to an embodiment of the present disclosure.
[0012] Figure 8 is a flowchart of a method according to an embodiment of the present disclosure.
[0013] Fig. 9 is a flowchart of a method according to an embodiment of the present disclosure.
[0014] Fig.10 is a flowchart of a method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0015] The following description of certain embodiments is merely exemplary 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, which constitute a part of the present disclosure and are illustrated to show specific embodiments in which the described systems and methods may be practiced. These embodiments are described in sufficient detail to enable a person skilled in the art to practice the presently disclosed systems and methods, 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 clarity, when a detailed description of certain features is obvious to a person skilled in the art, it will not be discussed so as not to obscure 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.
[0016] Semiconductor memory devices can store information in multiple memory cells. Information can be stored as binary code, and each memory cell can store a single bit of information as a logical high (e.g., "1") or a logical low (e.g., "0"). Memory cells can be organized at the intersection of word lines (rows) and bit lines (columns) of an array. The memory can be further organized into one or more memory banks. Memory banks can be organized into memory bank groups, where each memory bank group includes one or more memory banks. Each memory bank can include multiple rows and columns. During operation, the memory device can receive commands and addresses specifying one or more rows and one or more columns and then execute commands on memory cells at the intersection of the specified rows and columns (and / or along the entire row / column). The address can further specify the memory bank group and / or memory bank used to execute the command. In some applications, rows can be specified by 17-bit row addresses and columns can be specified by 12-bit column addresses. However, the number of bits used for the address can vary depending on the size and / or organization of the memory.
[0017] Columns may be generally organized into column planes, each of which includes an array of individual columns all activated by a column select signal (CS). Each memory bank may include some number X of column planes. A column plane may receive some number N of column select (CS) signals, each of which may activate some number M of individual bit lines. As used herein, a column select group or CS group may generally refer to a group of bit lines activated by a given value of a CS signal within a column plane. A column select signal may be represented by (all or part of) a column address (CA). In response to the column select signal, data may be provided from a corresponding location from a column plane. The data from a column plane associated with a column select signal may be referred to as a cache line.
[0018] In some embodiments, each bank of the memory array may include seventeen (X=17) column planes. In some embodiments, sixteen (16) column planes may be designated for data and one column plane may be designated for ECC data. Each column plane may receive sixty-four (N=64) CS signals, each of which may activate eight (M=8) bit lines. When column select is activated, each column plane may provide 8 bits, resulting in a 128-bit prefetch (e.g., 8 bits x 16 column planes), such as when operating in x4 mode. Optionally, in some embodiments, one or more banks may include an additional column plane for redundancy (X=18), which may be used for repair, but the bits from the redundant column planes "replace" the bits from the damaged column plane, resulting in the same prefetch. In embodiments where the memory array includes an additional column plane for ECC data, the memory array may provide a cache line of data plus 8 bits of additional ECC data.
[0019] DRAM users are increasingly utilizing metadata to supplement the data stored in the memory array. For example, metadata can be used to store a "poison bit" that indicates that the data associated with the metadata is erroneous and should be discarded and / or replaced by an external device (such as a controller, host, and / or single-chip system). In another example, metadata can store a pointer to a storage location that allows an external device to determine what location in the array to use to access the next associated data. In some applications, this can be similar to the head and / or tail of a linked list. These are just examples and other uses of metadata are possible.
[0020] As users look for more applications for metadata, the metadata must be stored somewhere on the memory device, typically in the memory array. Some users are sensitive to losing space to store "regular" user data to store metadata. These users want to give up as little array density as possible while still taking advantage of metadata. In some applications, users only want 4 bits of metadata, even for a module containing 8 DRAM devices. In addition, addressing the metadata must be efficient so as not to increase the time (tAA) between an internal read and the time the data is provided from the array.
[0021] According to an embodiment of the present disclosure, portions of individual column planes may be used to store metadata. In some embodiments, one of the column select signals may be used to access metadata stored in portions of the column planes. For example, column selects 0 to 62 may be used to access data in the column planes, and column select 63 may be used to access metadata in the column planes. In some embodiments, each column plane may store one or more bits of metadata (e.g., 1 bit, 4 bits, 8 bits). In some embodiments, 1 bit of metadata may be associated with each cache line (e.g., data associated with one column select). In some embodiments, one or more bits of a column address used to access data may be used to address metadata to map metadata to associated data. In some embodiments, one or more bits of a column address may be used to determine whether a memory device provides metadata.
[0022] In some embodiments, not all bits associated with the column selection are required to be used to store metadata. Optionally, in these embodiments, the remaining space associated with the metadata column selection can be used to store additional ECC data. In some embodiments, this can allow the memory to provide not only single error correction but also double error detection (SECDED). For example, 64 of the 128 bits associated with the column selection can be allocated to metadata and the remaining 64 bits can be allocated to additional ECC data. In some embodiments, the same bits of the column address used to address metadata can be used to address additional ECC data.
[0023] Figure 1 1 is a block diagram of at least a portion of a computing system according to some embodiments of the present disclosure. Computing system 100 includes a memory module 102 and a controller 106 in communication with memory module 102. In some embodiments, controller 106 may be included in a processor (not shown) or in communication with a processor. Memory module 102 may include one or more memory devices 104. Figure 1 In the example shown in FIG. 1 , there are eight memory devices 104 (0 to 7). However, in other embodiments, there may be more or fewer memory devices. In some embodiments, additional memory devices 104 may be included to provide redundancy. In some embodiments, memory module 102 may be a dual in-line memory module (DIMM). In some embodiments, Figure 1 The memory modules shown in may represent only half of a DIMM (eg, one of two channels).
[0024] Controller 106 may provide commands, addresses, and / or data (e.g., data, metadata, or both) to and receive data from one or more of memory devices 104. In some embodiments, memory device 104 may be a x4 or x8 memory device. That is, 4 or 8 DQ terminals (e.g., pins) may be activated. In some embodiments, memory device 104 may support both x4 and x8 operations. In some embodiments, whether memory device 104 operates in x4 or x8 mode may be based at least in part on a mode register ( Figure 1 The values in (not shown) are
[0025] In some applications, each of the memory devices 104 may provide 4 bits of metadata for a total of 4 bytes of data. When memory density is a priority, according to embodiments of the present disclosure, each memory device 104 may provide 1 bit of metadata. In some applications, only four bits of metadata are desired. However, when the memory module 102 includes 8 memory devices 104, addressing problems arise because each memory device 104 cannot store half a bit.
[0026] According to embodiments of the present disclosure, only some of the memory devices 104 provide metadata based at least in part on a column address (e.g., CA<11:0>) provided by the controller 106. For example, when a portion of the column address is one value, the memory devices 104 (0 to 3) may provide metadata, and when a portion of the column address is another value, the memory devices 104 (4 to 7) may provide metadata. In some embodiments, which value of the portion of the column address is used for which memory device 104 to provide metadata may be based at least in part on a value stored in a mode register of the memory device 104. In some embodiments, the mode register may be programmed (e.g., written) with a value by the controller 106. In some embodiments, the controller 106 may be configured to ignore metadata provided from one or more of the memory devices 104 (0 to 7) based on a portion of the column address. In some examples, the portion of the column address may include CA10. When the number of desired metadata bits is less than the total number of memory devices, using a portion of the column address to determine which memory devices provide metadata and / or which metadata is ignored may reduce addressing and / or data management issues.
[0027] In some embodiments, whether metadata is stored at all may be based on a value stored in a mode register of the memory device 104. For example, when one value is stored in the mode register, metadata may be stored and provided as described herein. When another value is stored in the mode register, metadata may not be stored. When this value is stored, all column selects may be used to cause data to be provided to and from the array. Thus, the same memory may be used for applications where metadata is desired and for applications where metadata is not desired.
[0028] As will be described in greater detail herein, memory device 104 may include a memory array including one or more memory banks organized as a plurality of column planes. Each of the column planes may be associated with a plurality of column selects. One of the column selects may be associated with metadata, while the remaining column selects are associated with data. The metadata may be associated with the data (e.g., pointers, poison bits, etc.). In order for metadata stored in one location of the memory array to be correctly associated with data stored in another location of the memory array, the metadata may be mapped (e.g., assigned addresses) based on the column addresses of the data.
[0029] According to an embodiment of the present disclosure, a portion of a column address may be used to generate a metadata address to map metadata to appropriate data. In some embodiments, the metadata address may be based on 6 bits or 7 bits of the column address. In some embodiments, when the memory device 104 is configured to operate in x8 mode, 6 bits may be used, and when the memory device 104 is configured to operate in x4 mode, 7 bits may be used. In some embodiments, the address may be generated by a mode register. By using a portion of the column address, the metadata address may be efficiently generated. This may minimize the impact on tAA.
[0030] Optionally, in some embodiments, bits associated with column selection for metadata that are not required to store metadata may be used to store ECC data. In some embodiments, the ECC data may be mapped to corresponding data using some or all of the bits of the same column address as the metadata. In some applications, when the ECC data stored with the metadata is used together with ECC data stored in another column plane of the memory device 104, the memory device 104 is able to provide not only single error correction but also double error detection.
[0031] Figure 2 2 is a block diagram of a semiconductor device according to some embodiments of the present disclosure. The apparatus may be semiconductor device 200 and will be referred to as such. In some embodiments, semiconductor device 200 may include, but is not limited to, a dynamic random access (DRAM) device integrated into a single semiconductor chip. In some examples, the DRAM may be a double data rate (DDR) memory. In some embodiments, one or all of memory devices 104 (0-7) may include semiconductor device 200.
[0032] The semiconductor device 200 includes a memory die. The die may be mounted on an external substrate, such as a memory module substrate, a motherboard, or the like (Package on Package (PoP)). The semiconductor device 200 may further include a memory array 250. The memory array 250 includes a plurality of memory banks BANK0 to 15, each memory bank including 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. Although Figure 2 16 memory banks are shown in FIG. 2 , but the memory array 250 may include any number of memory banks. The selection of the word lines WL is performed by the row decoder 240 and the selection of the bit lines BL is performed by the column decoder 245. The sense amplifier (SAMP) is positioned for its corresponding bit line BL and connected to at least one corresponding local I / O line pair (LIOT / B), which in turn is coupled to at least one corresponding main I / O line pair (MIOT / B) via a transfer gate (TG) used as a switch. The TG may be coupled to one or more read / write amplifiers (RWAMP) 255, which may be coupled to an error correction code (ECC) circuit 235. The ECC circuit 235 may be coupled to an IO circuit 260, which may be coupled to one or more external terminals of the semiconductor device 200. The read data from the bit lines BL is amplified by the sense amplifier SAMP and transmitted to the read / write amplifier 255, to the ECC circuit 235 through the complementary local data line (LIOT / B), the transfer gate (TG) and the complementary main data line (MIOT / B). In contrast, write data output from the ECC circuit 235 is transferred to the sense amplifier SAMP through the complementary main data line MIOT / B, the transfer gate TG, and the complementary local data line LIOT / B and written into the memory cell MC coupled to the bit line BL.
[0033] The semiconductor device 200 may employ a plurality of external terminals, including command and address terminals coupled to a command / address (C / A) bus to receive command and address signals, a clock terminal for receiving clock signals CK_t and CK_c, data terminals DQ, RDQS, and power supply terminals VDD, VSS, VDDQ, and VSSQ.
[0034] The C / A terminal may be supplied with an address and a bank address signal from the outside, such as from the controller 202. The address signal and the bank address signal supplied to the address terminal are transmitted to the address decoder 212 via the command / address input circuit 205. The address decoder 212 receives the address signal and supplies a decoded row address signal XADD to the row decoder 240 and a decoded column address signal YADD to the column decoder 245. The address decoder 212 also receives a bank address signal BADD and supplies the bank address signal to the row decoder 240 and the column decoder 245.
[0035] The C / A terminal may be further supplied with a command signal from, for example, the controller 202. In some embodiments, the controller 202 may be implemented or included in the controller 106. The command signal may be provided to the command decoder 215 as an internal command signal ICMD via the command / address input circuit 205. The command decoder 215 includes a circuit for decoding the internal command signal ICMD to generate various internal signals and commands for performing operations, such as a row activation signal (ACT) for selecting a word line and a column select signal (CS) (or simply column select) for selecting one or more bit lines. Another example may be providing an internal signal for enabling a circuit for performing an operation, such as an internal signal for enabling a signal input buffer that receives a clock signal. The internal command also includes output and input activation commands.
[0036] In some embodiments, each memory bank BANK0 to 15 may be organized into multiple column planes. Each column plane may be associated with multiple column selections (e.g., CS0 to 63). According to an embodiment of the present disclosure, a portion of one or all of the column planes may be used to store metadata. For example, a portion of each column plane associated with a column selection (e.g., CS63) may be used to store metadata. The remaining portion of the column plane (e.g., CS0 to 62) may be used to store data associated with metadata. During a read operation, read data from each column plane associated with a column selection may be provided by the memory array 250. Metadata associated with the read data may be provided, even if the metadata is associated with different column selections. During a write operation, write data may be written to the memory array 250 in a portion of each column plane associated with a column selection signal, and metadata associated with the write data may be written to a portion of the column plane.
[0037] In some embodiments, data and metadata may be accessed by a "two-pass" approach. For example, during a read operation, metadata may be accessed in a first pass by activating a column select associated with metadata, and data may be accessed in a second pass by activating a column select associated with data. In some embodiments, metadata may be stored in the array 250 and / or in a buffer (not shown) outside the array while data is being accessed. This may reduce storage requirements in embodiments where there is less metadata than data. Metadata and data may be concatenated prior to being output by the semiconductor device 200. For example, metadata may be appended to the front or back of the data (e.g., it may be output first or last from the semiconductor device 200, respectively).
[0038] The C / A terminal can receive an access command as a read command. When the read command is received and the memory bank address, row address, and column address are supplied in time with the read command, a codeword containing read data, metadata, and read ECC data (e.g., parity bits) is read from the memory cell corresponding to the row address and column address in the memory array 250. The read command is received by the command decoder 215, which provides an internal command so that the read data from the memory array 250 is provided to the ECC circuit 235. The ECC circuit 235 can use the parity bits in the codeword to determine whether the codeword contains any errors and if any errors are detected, they can be corrected to generate a correction codeword (e.g., by changing the state of the error identification bit). The corrected codeword (without the parity bit) is output from the data terminal DQ via the input / output circuit 260.
[0039] The C / A terminal may receive an access command as a write command. When a write command is received and a bank address, a row address, and a column address are supplied in time as part of a write operation, the write data is supplied to the ECC circuit 235 through the DQ terminal. The write data supplied to the data terminal DQ (which may include write data and metadata) is written to the memory cell corresponding to the row address and the column address in the memory array 250. The write command is received by the command decoder 215, which provides an internal command so that the write data is received by the data receiver in the input / output circuit 260. The write data is supplied to the ECC circuit 235 via the input / output circuit 260. The ECC circuit 235 may generate ECC data (e.g., a number of parity bits) based on the write data, and the write data and the parity bits may be provided to the memory array 250 as a codeword to be written into the memory cell MC.
[0040] The ECC circuit 235 can be used to ensure the fidelity of data read from a particular group of memory cells to data written to the memory cells of the group. The semiconductor device 200 may include several different ECC circuits 235, each of which is responsible for a different portion of the memory cells MC of the memory array 250. For example, there may be one or more ECC circuits 235 for each memory bank of the memory array 250. Typically, each memory bank BANK0 to 15 includes a column plane for storing ECC data (e.g., parity bits) and an additional column plane (e.g., 16 column planes) for storing data. In these applications, the ECC circuit 235 generates eight bits of ECC data (e.g., 8 bits of ECC data) for each cache line of 128 bits. This allows the ECC circuit 235 to provide single-bit error correction.
[0041] According to an embodiment of the present disclosure, the ECC circuit 235 may generate extra bits of ECC data (e.g., one extra bit per cache line). In some applications, this may allow the ECC circuit 235 to provide SECDED. In some embodiments, some ECC data may be stored in the column plane for the ECC data and other ECC data may be stored in portions of other column planes for storing data. For example, in some embodiments, the ECC data may be stored in portions of other column planes associated with the same column selection associated with the metadata. In some embodiments, the ECC data stored with the metadata may be accessed in the same pass as the metadata. In some embodiments, the ECC circuit 235 may generate the ECC data based on the data, but in other embodiments, the ECC circuit 235 may generate the ECC data based on both the data and the metadata.
[0042] The command decoder 215 may access a mode register 275 that is programmed with information for setting various operating modes and features of the semiconductor device 200. For example, the mode register 275 may provide parameters that allow the semiconductor device 200 to operate at different frequencies, provide different burst lengths, allow memory banks BANK0-15 to be organized into different groups, operate in x4, x8, or x16 modes, and / or other different operating conditions. In some embodiments, the mode register 275 may include multiple registers.
[0043] The information in the mode register 275 can be programmed by providing a mode register write command to the semiconductor device 200, which causes the semiconductor device 200 to perform a mode register write operation. In some embodiments, the data written to the mode register 275 is provided via the C / A terminal and / or the DQ terminal. The command decoder 215 accesses the mode register 275 and provides internal signals to control the circuits of the semiconductor device 200 accordingly based on the programming information and the internal command signal. The information programmed in the mode register 275 can be provided externally by the semiconductor device 200 using a mode register read command, which causes the semiconductor device 200 to access the mode register 275 and provide the programming information (e.g., to the memory controller 202). In some embodiments, the information can be provided via the C / A terminal and / or the DQ terminal.
[0044] According to an embodiment of the present disclosure, the mode register 275 may be programmed with a value that determines whether the semiconductor device 200 provides metadata in response to a read command based at least in part on the column address. In some embodiments, when one value is stored in the mode register, the semiconductor device 200 provides metadata when a portion of the column address is a first value (e.g., one or more bits of the address have certain states), and when another value is stored in the mode register, the semiconductor device 200 provides metadata when the portion of the column address is a second value. For example, when the first value is stored in the mode register, the semiconductor device may provide metadata when CA10 of the column address is '0', and when the second value is stored in the mode register, the semiconductor device may provide metadata when CA10 of the column address is '1'. In some embodiments, when the semiconductor device 200 is one of a plurality of devices (e.g., memory devices 104 (0 to 7)) included in a memory module, the semiconductor device 200 may cause one value to be stored in the mode register 275 when another device causes another value to be stored in its mode register, and vice versa.
[0045] Optionally, the mode register 275 may be programmed with a value that determines whether the semiconductor device 200 stores metadata. In some embodiments, this value may be stored in a register of the mode register that is different from the register that stores the value that determines when metadata is provided by the semiconductor device 200. When one value is stored in the register, metadata may not be stored. When another value is stored in the register, metadata may also be stored.
[0046] Optionally, the mode register 275 may be programmed with a value that determines whether additional ECC data is generated by the ECC circuit 235 and stored in the memory array 250 (as previously described). In some embodiments, this value may be stored in a register different from the mode register that stores a value that determines when metadata is provided by the semiconductor device 200. When one value is stored in the register, additional ECC data is generated and stored in the memory array 250 in the portion of the column plane associated with the same column selection as the metadata. In this mode, the semiconductor device 200 may provide SECDED. When another value is stored in the register, no additional ECC data is generated or stored. In this mode, the semiconductor device 200 may provide SEC.
[0047] According to an embodiment of the present disclosure, when the semiconductor device 200 is programmed to store metadata and / or ECC data, the mode register 275 may generate an address for the metadata and / or ECC data. In some embodiments, the metadata address and / or the ECC data address may be based at least in part on the column address. In some embodiments, only some bits of the column address may be used to generate the metadata and / or ECC address. The metadata address and / or the ECC address may be provided from the mode register 275 to the column decoder 245. The address provided by the mode register 275 may allow the metadata and / or ECC data associated with the data indicated by the column address to be read from and / or written to the correct location in the memory array 250.
[0048] Turning to the explanation of the external terminals included in the semiconductor device 200, the clock terminal and the data clock terminal are supplied with an external clock signal and a complementary external clock signal. The external clock signals CK_t, CK_c can be supplied to the clock input circuit 220. When enabled, the input buffer included in the clock input circuit 220 passes the external clock signal. For example, the input buffer passes the CK_t and CK_c signals when enabled by the CKE signal from the command decoder 215. The clock input circuit 220 can use the external clock signal passed by the enabled input buffer to generate an internal clock signal ICK. The internal clock signal ICK is supplied to the internal clock circuit 230 for providing one or more clock signals to various components of the semiconductor device 200.
[0049] The internal clock circuit 230 includes circuits that provide various phase and frequency controlled internal clock signals based on the received internal clock signal. For example, the internal clock circuit 230 may include a clock path ( ) that receives the ICK clock signal and provides the internal clock signals ICK and ICKD to the command decoder 215. Figure 2 Optionally, the input / output circuit 260 may include a clock circuit and a driver circuit for generating and providing the RDQS signal to the controller.
[0050] The power supply terminal is supplied with power supply potentials VDD and VSS. These power supply potentials VDD and VSS are supplied to the internal voltage generator circuit 270. The internal voltage generator circuit 270 generates various internal potentials VPP, VOD, VARY, VPERI and the like and a reference potential ZQVREF based on the power supply potentials VDD and VSS. The internal potential VPP is mainly used in the row decoder 240, the internal potentials VOD and VARY are mainly used in the sense amplifier included in the memory array 250, and the internal potential VPERI is used in many other circuit blocks.
[0051] The power supply terminal is also supplied with a power supply potential VDDQ. The power supply potential VDDQ is supplied to the input / output circuit 260 together with the power supply potential VSS. In one embodiment of the present disclosure, the power supply potential VDDQ may be the same potential as the power supply potential VDD. In another embodiment of the present disclosure, the power supply potential VDDQ may be a potential different from the power supply potential VDD. However, a dedicated power supply potential VDDQ is used for the input / output circuit 260 so that the power supply noise generated by the input / output circuit 260 is not propagated to other circuit blocks.
[0052] Figure 3 300 is a block diagram of a mode register according to an embodiment of the present disclosure. In some embodiments, the mode register 300 may be included in Figure 2 In the mode register 275 shown in FIG. Figure 3 In the example shown in FIG. 3 , mode register 300 includes three registers 302 , 304 , 306 . However, mode register 300 may include any number of registers, each of which may store one or more values of various operating parameters of a device such as semiconductor device 200 .
[0053] Mode register 300 may receive a command and a value. The command may indicate a register read or write command and which register 302 to 306 is to be read or written. For a mode register write command, the value may indicate the value written to the register targeted by the mode register write command. The command and value may be received from a command decoder, such as command decoder 215.
[0054] Register 302 may be programmed with a value indicating whether the device including mode register 300 should store metadata. For example, if a '0' is stored in register 302, the device may not store metadata, and if a '1' is stored in register 302, the device may store metadata. In some embodiments, register 302 may be omitted, and the device may always store metadata.
[0055] Register 304 may be programmed with a value indicating when the device provides metadata. For example, if '0' is stored in register 304, the device may provide metadata when a portion of the column address (which may be indicated by YADD or CA) is in a first state and not provide metadata when a portion of the column address is in a second state. For example, the device may provide metadata when CA10 of the column address is '0' and not provide metadata when CA10 is '1'. If '1' is stored in register 304, the device may provide metadata when a portion of the column address is in the second state and not provide metadata when a portion of the column address is in the first state. For example, the device may provide metadata when CA10 of the column address is '1' and not provide metadata when CA10 is '0'. In some embodiments, if the semiconductor device operates in x8 mode, register 304 may be disabled or omitted.
[0056] Register 306 may be programmed with a value indicating whether a device including mode register 300 should store ECC data with the same column selection as metadata (additional ECC data may be stored in the ECC column plane). For example, if a '0' is stored in register 306, then the device may not store ECC data and metadata, whereas if a '1' is stored in register 306, then the device may store ECC data and metadata. In some embodiments, register 306 may be omitted, and the device may always store ECC data and metadata or may not store ECC data and metadata, depending on the embodiment.
[0057] Mode register 300 may receive a column address YADD (or CA). The column address may be provided by an address decoder (e.g., address decoder 212). The column address may be provided to address generator circuit 308. Address generator circuit 308 may generate a metadata address (MD_ADD) and / or an ECC address (ECC_ADD) associated with appropriate metadata and / or ECC data based at least in part on the column address. The address may be provided to a column decoder, such as column decoder 245. In some embodiments, the column address is a plurality of bits (e.g., 12 bits), and the metadata and / or ECC address is based on less than all bits of the column address (e.g., 6 bits, 7 bits). In some embodiments, address generator circuit 308 may include one or more logic circuits (not shown) that generate addresses based on a mapping of data stored in the memory array to metadata and / or ECC data stored in the memory array.
[0058] Optionally, in some embodiments, address generator circuit 308 may be enabled or disabled based on the values stored in registers 302, 304, and 306. For example, if the value in register 302 indicates that metadata is not stored, address generator circuit 308 may be disabled. In another example, if the value in register 306 indicates that ECC data is not stored with the same column selection as metadata, address generator 308 may only generate metadata addresses. In another example, address generator circuit 308 may flip one or more bits of the column address when generating an address based on the value stored in register 304. In some examples, this may ensure that the device responds consistently regardless of which mode is indicated by the value stored in register 304.
[0059] Figure 4 is an example of a mapping of metadata to data according to an embodiment of the present disclosure. In some embodiments, mapping 400 may be implemented by a mode register, such as mode register 300. Mapping 400 may be implemented when a device, such as memory device 104 and / or semiconductor device 200, operates in x8 mode. Mapping 400 maps 1 bit of metadata to 1 cache line of data.
[0060] A full column address (e.g., CA<11:0>) indicates the location of the data to be accessed (e.g., the location in the memory array where data is read or written). The metadata address can be generated based on the column address. In some embodiments, less than all bits of the column address are used to generate the metadata address. In the example mapping for x8 mode, CA<9:4> is used to generate the metadata address. The first two columns of mapping 400 provide a range of column addresses for CA<9:4>. The range is marked as "start" and "end". For example, the first row indicated by arrow 402 provides a mapping with column addresses of CA<9:4> from 000000 to 000111.
[0061] The next two columns of map 400 indicate metadata addresses. The metadata address includes CA<9:4> of the column address. That is, the metadata address is 6 bits and corresponds to the ninth to fourth bits of the column address. CA<9:7> provides an address whose column plane includes metadata associated with the data. Although there are 16 column planes, only 63 bits of metadata are stored when 1 bit of metadata is associated with the data of each of the remaining column selections. Although the column selection is associated with 128 bits, only 63 bits of the space (just less than half) are used. Therefore, in some embodiments, metadata may be stored in half of the column planes (e.g., 8 of the 16). Therefore, 3 bits instead of 4 bits can be used to indicate the column plane of metadata. CA<6:4> provides the position within the column plane of the bit of metadata associated with the data. As previously explained, each column plane provides 8 bits in response to the column select signal. Therefore, 3 bits are used to indicate which of the 8 bits of metadata is associated with the data at the column address.
[0062] Under the x8 1-bit header of map 400, "Start CS" and "End CS" indicate the range of column selects for data associated with the column addresses in the first two columns. For example, in the row indicated by arrow 402, column selects 0 to 7 are associated with CA<9:4> from 000000 to 000111. These column selects are associated with data stored in the memory array. The last column indicates the column selects and column planes for metadata associated with the data for the column selects in a given range. In the row indicated by arrow 402, metadata stored in column plane (CP) 0 accessed by CS63 is associated with data for CS0 to 7.
[0063] Figure 5 is an example of a mapping of metadata to data according to an embodiment of the present disclosure. In some embodiments, mapping 500 may be implemented by a mode register (e.g., mode register 300). Mapping 500 may be implemented when a device such as memory device 104 and / or semiconductor device 200 operates in x4 mode. Mapping 500 maps 1 bit of metadata to 1 cache line of data.
[0064] Similar to Figure 4Mapping 400 is shown, and not all bits of the column address are used to generate the metadata address of mapping 500. In the example mapping of x4 mode, CA<10:4> is used to generate the metadata address. When operating in x4 mode, not all memory devices may provide bits of metadata, depending on the column address (e.g., when CA10=1 or when CA10=0). Therefore, in some embodiments, additional bits (e.g., CA10) may be used to store metadata in a manner that facilitates correct receipt and provision of metadata. Similar to mapping 400, the first two columns of mapping 500 provide a range of column addresses of CA<10:4>. The range is marked as "start" and "end". For example, the first row indicated by arrow 502 provides a mapping with column addresses of CA<10:4> from 0000000 to 0000111.
[0065] The next two columns of mapping 500 indicate metadata addresses. The metadata address includes CA<10:4> of the column address. That is, the metadata address is 7 bits and corresponds to the tenth to fourth bits of the column address. The fourth most significant bit provides an address whose column plane contains metadata associated with the data. However, the column address bits are provided "out of order" to generate the metadata address. Therefore, instead of CA<10:7> indicating the column plane of metadata, CA<9,8,10,7> indicates the plane of metadata. By using 4 bits for the column plane, metadata can be stored in any of the 16 column planes. This allows the memory to respond correctly as to when it provides or does not provide metadata based on the mode of the memory device. In some embodiments, although all 16 column planes are addressable, metadata may be located in only half of the column planes. Similar to mapping 400, in mapping 500, CA<6:4> provides the location within the column plane of the bits of metadata associated with the data. As previously explained, each column plane provides 8 bits in response to a column select signal. Thus, 3 bits are used to indicate which of the 8 bits of metadata is associated with the data at the column address.
[0066] Under the x4 1-bit header of map 500, "Start CS" and "End CS" indicate the range of column selects for data associated with the column addresses in the first two columns. For example, in the row indicated by arrow 502, column selects 0 to 7 are associated with CA<10:4> from 0000000 to 0000111. These column selects are associated with data stored in the memory array. The last column indicates the column selects and column planes for metadata associated with the data for the column selects in a given range. In the row indicated by arrow 502, metadata stored in column plane (CP) 0 accessed by CS63 is associated with data for CS0 to 7.
[0067] Mappings 400 and 500 are for illustration only, and other mappings may be used without exceeding the scope of the present disclosure.
[0068] As mentioned, when only 1 bit of metadata is associated with each prefetch, not all available bits associated with column selection may be used. Optionally, in some embodiments, "extra" space may be used to store ECC data. In some embodiments, an addressing scheme similar to the metadata may be used to address the ECC data to map it to the data. In some embodiments, the same addressing scheme may be used (e.g., an address with CA10=1 may be associated with metadata and an address with CA10=0 may be associated with ECC data). In some embodiments, the ECC data may be accessed simultaneously with the metadata. In some embodiments, the ECC data may be accessed before or after the metadata. In some embodiments, the ECC data may be cascaded or otherwise combined with additional ECC data stored in a column plane for storing the ECC data. The ECC data and the additional ECC data may be combined before being provided to the ECC circuit (e.g., ECC circuit 235) or may be combined by the ECC circuit.
[0069] Figure 6 is a flowchart illustrating a two-pass memory access operation according to an embodiment of the present disclosure. In some embodiments, the access operation shown in flowchart 600 may be performed by memory device 104 and / or semiconductor device 200.
[0070] When the column address YADD (or CA) indicates the location of the data to be accessed in the memory array, it may be delayed (e.g., a delay circuit, a buffer, etc.) before being provided to the column decoder, as indicated by block 602. The column address may be used (e.g., by a mode register) to generate a metadata address (e.g., based on a mapping such as mapping 400 and / or 500), as indicated by block 604. All or part of the metadata address MD_ADD may be provided to the column decoder to cause the array indicated by block 606 to provide metadata indicated by 608. Activating a column selection of metadata (e.g., CS63) may cause more than 1 bit of metadata to be provided from the array 606. The metadata address MD_ADD may be further used to select which bit or bits of the metadata provided from the array corresponds to the data. The "extra" metadata provided by the memory array may be ignored or discarded. The selected metadata may be saved in an array, register, buffer, or other storage area. After accessing the metadata, the delayed column address is provided to the column decoder to cause the array to provide the data, as indicated by block 610. The data and metadata may be concatenated, as indicated by block 612. Next, the combined data and metadata may be provided (eg, via IO circuitry to a DQ pin), indicated by block 614.
[0071] Figure 7 is a flow chart of a method according to an embodiment of the present disclosure. In some embodiments, method 700 may be at least partially performed by a device (eg, memory device 104, semiconductor device 200) and / or a computing system (eg, computing system 100).
[0072] At block 702, a “receive mode register write command” may be performed. In some embodiments, the command may be received from a controller (e.g., controller 106 and / or controller 202). At block 704, a “write first value or second value to mode register” may be performed. In some embodiments, block 704 may be performed in response to a mode register write command. In some embodiments, the mode register may include mode registers 275 and / or 300.
[0073] At block 706, "RECEIVE COLUMN ADDRESS" may be performed. In some embodiments, the column address may include multiple bits.
[0074] At least in part in response to the column address, at box 708, "when a first value is stored in the mode register, providing metadata from the memory device when a portion of the plurality of bits is in a first state" may be executed, and at box 710, "when a second value is stored in the mode register, providing metadata from the memory device when a portion of the plurality of bits is in a second state" may be executed.
[0075] In some embodiments, method 700 may further include receiving a read command associated with the column address, and providing metadata is further responsive to the read command. In some embodiments, method 700 may further include providing data in response to the read command. In some embodiments, the metadata is appended to the data by the memory device.
[0076] In some embodiments, such as when the apparatus or system includes more than one memory device (e.g., memory device 104 (0 to 7)), method 700 may further include: receiving a second mode register write command at a second memory device; writing a first value or a second value to a second mode register of the second memory device in response to the second mode register write command; receiving a column address at the second memory device; and providing second metadata from the second memory device when a portion of the plurality of bits is in a first state when the first value is stored in the second mode register and providing second metadata from the memory device when a portion of the plurality of bits is in a second state when the second value is stored in the second mode register at least partially in response to the column address.
[0077] In some embodiments including multiple memory devices, a first value may be written to a second mode register when a second value is written to a mode register, and a second value may be written to a second mode register when a first value is written to a mode register. In some embodiments, this may result in the memory devices providing metadata at different times from each other and / or for different column addresses from each other.
[0078] Figure 8is a flow chart of a method according to an embodiment of the present disclosure. In some embodiments, the method 800 may be at least partially performed by a controller (eg, the controller 106 and / or the controller 202).
[0079] At block 802 , “provide a mode register write command to a memory device” may be performed. In some embodiments, the memory device may include one or all of the memory devices 104 ( 0 - 7 ) and / or the semiconductor device 200 .
[0080] At block 804, "providing a first value or a second value written to a mode register of a memory device" may be performed. In some embodiments, the first or second value may include a bit. In some embodiments, the first value may be '0' and the second value may be '1'.
[0081] At block 806, "providing a column address to a memory device, wherein the column address comprises a plurality of bits" may be performed. In some examples, the column address may include 12 bits.
[0082] At box 808, when a first value is written to the mode register, "receiving metadata from a memory device when a portion of the plurality of bits is in a first state" may be executed, and at box 810, when a second value is written to the mode register, "receiving metadata from a memory device when a portion of the plurality of bits is in a second state" may be executed.
[0083] In some embodiments, method 800 may further include providing a read command to the memory device and receiving data associated with the column address from the memory device, wherein the data is associated with the metadata. In some embodiments, the controller receives data from 4 DQ pins of the memory device.
[0084] In some embodiments, when the controller is in communication with multiple memory devices, method 800 may include: providing a second mode register write command from the controller to a second memory device; providing a first value or a second value written to a second mode register of the second memory device from the controller; providing a column address to the second memory device; receiving second metadata from the memory device when a portion of the plurality of bits is in a first state when the first value is written to the second mode register; and receiving second metadata from the memory device when a portion of the plurality of bits is in a second state when the second value is written to the second mode register. In some of these embodiments, the controller may program different values into different ones of the memory devices. This may result in the memory devices providing metadata at different times from each other and / or providing metadata for different column addresses from each other.
[0085] Fig. 9is a flow chart of a method according to an embodiment of the present disclosure. In some embodiments, method 900 may be at least partially performed by a memory device such as memory device 104 and / or semiconductor device 200. In some embodiments, method 900 may be at least partially performed by a mode register such as mode register 275 and / or 300. In some embodiments, method 900 may be at least partially performed by an ECC circuit such as ECC circuit 235.
[0086] At block 902, "receive column address" may be performed. At block 904, "generate metadata address and error correction code (ECC) address based on a portion of the column address" may be performed. In some embodiments, the portion may be less than the entire column address. In some embodiments, the address may be generated by a mode register. In some embodiments, addressing may be based at least in part on a map such as maps 400 and / or 500.
[0087] At block 906, “retrieve metadata and ECC data associated with the metadata address and the ECC address, respectively, from a memory array of a memory device” may be performed. In some embodiments, the ECC data may include 1 bit.
[0088] At block 908, "retrieve data and additional ECC data associated with the column address from the memory array" may be performed. In some embodiments, the additional ECC data may be stored in a column plane of the memory array used to store the ECC data. In some embodiments, the data and additional ECC data are retrieved after the metadata and ECC data.
[0089] At block 910, "providing data and metadata from a memory device" may be performed.
[0090] In some embodiments, the ECC data and the additional ECC data are used by the ECC circuit to correct the data and remain internal to the memory device. In these embodiments, at block 912, "providing data, ECC data, and additional ECC data to the ECC circuit" may be performed. In some embodiments, the method 900 may further include concatenating the ECC data and the additional ECC data. At block 914, "providing single error detection and double error detection (SECDED) for the data with the ECC circuit based on the ECC data and the additional ECC data" may be performed. In some embodiments, metadata may also be provided to the ECC circuit, and the ECC circuit may provide SECDED for the data and the metadata.
[0091] Fig.10is a flow chart of a method according to an embodiment of the present disclosure. In some embodiments, method 1000 may be performed at least in part by a memory device such as memory device 104 and / or semiconductor device 200. In some embodiments, method 900 may be performed at least in part by a mode register such as mode register 275 and / or 300. In some embodiments, method 900 may be performed at least in part by an ECC circuit such as ECC circuit 235.
[0092] At block 1002, receiving a column address at a memory device may be performed. At block 1004, receiving write data at a memory device may be performed. At block 1006, generating ECC data and additional ECC data with an error correction code (ECC) circuit based at least in part on the write data may be performed.
[0093] At block 1008, "storing the write data in at least one of a plurality of column planes of the memory array at a first location associated with the column address" may be performed.
[0094] At block 1010, “storing ECC data in at least one of a plurality of column planes of a memory array at a second location associated with a portion of a column address, wherein the portion is smaller than the entire column address” may be performed. In some embodiments, the location may be based on an ECC address generated based on the column address. In some embodiments, the ECC address may be generated by a mode register based on a mapping, such as reference Figure 4 and 5 described.
[0095] At block 1012, storing additional ECC data in an additional column plane of the memory array at a location associated with the column address may be performed.
[0096] Optionally, method 1000 may further include receiving metadata and storing the metadata in at least one of a plurality of column planes of the memory array at a third location associated with a portion of the column address. In some embodiments, the metadata and the ECC data are associated with the same column select signal of a plurality of column select signals. In some embodiments, the data is associated with different ones of the plurality of column select signals. In some embodiments, the ECC data and the additional ECC data provide single error detection and double error detection (SECDED) for the data or for both the data and the metadata.
[0097] Examples of the present disclosure:
[0098] In some examples, a device may include: an address decoder configured to receive a column address comprising a plurality of bits; a memory array comprising a plurality of column planes, wherein a portion of the plurality of column planes associated with a column selection is configured to store metadata; and a mode register configured to store a first value or a second value, wherein: when the first value is stored in the mode register, the memory array is configured to provide the metadata when the portion of the plurality of bits of the column address is a first state, and when the second value is stored in the mode register, the memory array is configured to provide the metadata when the portion of the plurality of bits is a second state.
[0099] In some instances of the apparatus, the portion of the plurality of bits includes 1 bit.
[0100] In some examples of the apparatus, the portion of the plurality of bits of the column address includes a tenth bit of the column address.
[0101] In some examples of the apparatus, the memory is configured to operate in x4 mode.
[0102] In some instances of the apparatus, the metadata comprises a single bit.
[0103] In some examples of the apparatus, the mode register is configured to store a third value or a fourth value, wherein the portion of the plurality of planes is configured to store the metadata when storing the third value, and the portion of the plurality of planes is configured to store data when storing the fourth value.
[0104] In some examples of the apparatus, the metadata stored in the portion of the plurality of column planes is associated with data stored in a remaining portion of the plurality of column planes.
[0105] In some examples, a system may include: a first plurality of memory devices, each of which includes one of a first plurality of mode registers; and a second plurality of memory devices, each of which includes one of a second plurality of mode registers; wherein the first plurality of mode registers and the second plurality of mode registers are configured to store a first value or a second value, and when the first value is stored in the first plurality or the second plurality of mode registers, the first plurality or the second plurality of mode registers are configured to provide metadata when a portion of a plurality of bits of a column address is a first state, and when the second value is stored in the first plurality or the second plurality of mode registers, the first plurality or the second plurality of mode registers are configured to provide the metadata when the portion of the plurality of bits of the column address is a second state.
[0106] In some examples of the system, when the first plurality of mode registers store the first value, the second plurality of mode registers store the second value, and when the first plurality of mode registers store the second value, the second plurality of mode registers store the first value.
[0107] In some examples, the system may further include a controller, wherein the controller is configured to provide the first value or the second value to the first plurality of mode registers or the second plurality of mode registers. In some examples, the controller is further configured to provide the column address. In some examples, the controller is configured to ignore metadata provided from the first plurality of memory devices or the second plurality of memory devices when the portion of the plurality of bits is in the first state or the second state based at least in part on whether the first value or the second value is stored in the first plurality of mode registers or the second plurality of mode registers. In some examples, the controller is configured to provide a mode register write command to cause the first value or the second value to be stored in the first plurality of mode registers or the second plurality of registers.
[0108] In some examples of the system, the first plurality of memory devices includes 4 memory devices and the second plurality of memory devices includes 4 memory devices.
[0109] In some examples of the system, the first and second pluralities of memory devices are configured to operate in x4 mode.
[0110] In some examples of the system, the portion of the plurality of bits includes a bit. In some examples, the bit includes a tenth bit of the column address.
[0111] In some embodiments, a method may include: receiving a mode register write command at a memory device; writing a first value or a second value to a mode register of the memory device in response to the mode register write command; receiving a column address at the memory device, wherein the column address includes a plurality of bits; at least partially in response to the column address: when the first value is stored in the mode register, providing metadata from the memory device when a portion of the plurality of bits is a first state; and when the second value is stored in the mode register, providing the metadata from the memory device when the portion of the plurality of bits is a second state.
[0112] In some examples, the method may further include receiving a read command associated with the column address, wherein providing the metadata is further responsive to the read command. In some examples, the method may further include providing data in response to the read command. In some examples, the metadata is appended to the data by the memory device.
[0113] In some examples, the method may further include storing the metadata in a portion of a plurality of column planes of a memory array of the memory device. In some examples, the metadata is associated with data stored in a remaining portion of the plurality of column planes. In some examples, the metadata includes bits associated with data associated with column selections of the plurality of column planes.
[0114] In some examples of the method, the portion of the plurality of bits of the column address includes a tenth bit of the column address.
[0115] In some embodiments, the method may further include: receiving a second mode register write command at a second memory device; writing the first value or the second value to a second mode register of the second memory device in response to the second mode register write command; receiving the column address at the second memory device; at least partially in response to the column address: when the first value is stored in the second mode register, providing second metadata from the second memory device when the portion of the plurality of bits is the first state; and when the second value is stored in the second mode register, providing the second metadata from the memory device when the portion of the plurality of bits is the second state. In some examples, when the second value is written to the mode register, the first value is written to the second mode register, and when the first value is written to the mode register, the second value is written to the second mode register.
[0116] In some examples, a method may include providing a mode register write command from a controller to a memory device; providing a first value or a second value that is written to a mode register of the memory device; providing a column address to the memory device, wherein the column address comprises a plurality of bits; when the first value is written to the mode register, receiving metadata from the memory device when a portion of the plurality of bits is a first state; and when the second value is written to the mode register, receiving the metadata from the memory device when the portion of the plurality of bits is a second state.
[0117] In some embodiments, the method may further include: providing a read command to the memory device; and receiving data associated with the column address from the memory device, wherein the data is associated with the metadata. In some examples, the controller receives the data from 4 DQ pins of the memory device.
[0118] In some embodiments, the method may further include: providing a second mode register write command from the controller to a second memory device; providing from the controller the first value or the second value written to a second mode register of the second memory device; providing the column address to the second memory device; receiving second metadata from the memory device when the portion of the plurality of bits is the first state when the first value is written to the second mode register; and receiving the second metadata from the memory device when the portion of the plurality of bits is the second state when the second value is written to the second mode register. In some examples, the memory device is one of a first plurality of memory devices and the second memory device is one of a second plurality of memory devices, wherein all of the first plurality of memory devices receive the first value and all of the second plurality of memory devices receive the second value. In some examples, when the controller provides the second value to the memory device, the controller provides the first value to the second memory device, and when the controller provides the first value to the memory device, the controller provides the second value to the second memory device.
[0119] In some examples of the method, the first value or the second value is provided to at least one command / address pin of the memory device.
[0120] In some instances of the method, the portion of the plurality of bits includes a bit. In some instances, the bit includes a tenth bit of the column address.
[0121] The apparatus, systems, and methods disclosed herein may allow efficient storage of metadata and / or solve problems when less than 1 bit of metadata is desired per memory device. The addressing of metadata disclosed herein may minimize the impact on the time (tAA) between internal reads and the time data is provided from the array. The apparatus, systems, and methods disclosed herein may allow storage of additional ECC data, which may permit SECDED.
[0122] 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 between separate devices or device portions in accordance with the present systems, devices, and methods.
[0123] Finally, the above discussion is intended only to illustrate 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 description 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: an address decoder configured to receive a column address comprising a plurality of bits; a memory array comprising a plurality of column planes, wherein a portion of the plurality of column planes associated with a column selection is configured to store metadata; and a mode register configured to store a first value or a second value, wherein: When the first value is stored in the mode register, the memory array is configured to provide the metadata when a portion of the plurality of bits of the column address is in a first state, and When the second value is stored in the mode register, the memory array is configured to provide the metadata when the portion of the plurality of bits is a second state. 2 . The apparatus of claim 1 , wherein the portion of the plurality of bits comprises 1 bit. 3 . The apparatus of claim 1 , wherein the portion of the plurality of bits of the column address comprises a tenth bit of the column address.
4. The apparatus of claim 1 , wherein the mode register is configured to store a third value or a fourth value, wherein the portion of the plurality of planes is configured to store the metadata when storing the third value, and the portion of the plurality of planes is configured to store data when storing the fourth value.
5. A system comprising: a first plurality of memory devices each comprising one of a first plurality of mode registers; and a second plurality of memory devices each comprising one of the second plurality of mode registers; wherein the first plurality of mode registers and the second plurality of mode registers are configured to store a first value or a second value, and when the first value is stored in the first plurality of mode registers or the second plurality of mode registers, the first plurality of mode registers or the second plurality of mode registers are configured to provide metadata when a portion of a plurality of bits of a column address is in a first state, and when the second value is stored in the first plurality of mode registers or the second plurality of mode registers, the first plurality of mode registers or the second plurality of mode registers are configured to provide the metadata when the portion of the plurality of bits of the column address is in a second state.
6. The system of claim 5, wherein when the first plurality of mode registers store the first value, the second plurality of mode registers store the second value, and when the first plurality of mode registers store the second value, the second plurality of mode registers store the first value.
7. The system of claim 5, further comprising a controller, wherein the controller is configured to: providing the first value or the second value to the first plurality of mode registers or the second plurality of mode registers; providing the column address; Ignoring metadata provided from the first plurality of memory devices or the second plurality of memory devices based at least in part on whether the first value or the second value is stored in the first plurality of mode registers or the second plurality of mode registers when the portion of the plurality of bits is in the first state or the second state; and providing a mode register write command to cause the first value or the second value to be stored in the first plurality of mode registers or the second plurality of registers.
8. The system of claim 5, wherein the first plurality of memory devices comprises 4 memory devices and the second plurality of memory devices comprises 4 memory devices.
9. The system of claim 6, wherein the first plurality and the second plurality of memory devices are configured to operate in a x4 mode.
10. The system of claim 5, wherein the portion of the plurality of bits comprises a bit, wherein the bit comprises a tenth bit of the column address.
11. A method comprising: receiving a mode register write command at a memory device; writing a first value or a second value to a mode register of the memory device in response to the mode register write command; receiving a column address at the memory device, wherein the column address comprises a plurality of bits; Responsive at least in part to the column address: providing metadata from the memory device when a portion of the plurality of bits is in a first state when the first value is stored in the mode register; and When the second value is stored in the mode register, the metadata is provided from the memory device when the portion of the plurality of bits is a second state.
12. The method of claim 11, further comprising receiving a read command associated with the column address, wherein providing the metadata is further responsive to the read command.
13. The method of claim 11, further comprising storing the metadata in a portion of a plurality of column planes of a memory array of the memory device, wherein the metadata is associated with data stored in a remaining portion of the plurality of column planes.
14. The method of claim 11, wherein the portion of the plurality of bits of the column address comprises a tenth bit of the column address.
15. The method according to claim 11, further comprising: receiving a second mode register write command at a second memory device; writing the first value or the second value to a second mode register of the second memory device in response to the second mode register write command; receiving the column address at the second memory device; Responsive at least in part to the column address: providing second metadata from the second memory device when the portion of the plurality of bits is in the first state when the first value is stored in the second mode register; and providing the second metadata from the memory device when the portion of the plurality of bits is in the second state when the second value is stored in the second mode register, When the second value is written into the mode register, the first value is written into the second mode register, and when the first value is written into the mode register, the second value is written into the second mode register.
16. A method comprising: providing a mode register write command from the controller to the memory device; providing a first value or a second value written to a mode register of the memory device; providing a column address to the memory device, wherein the column address comprises a plurality of bits; receiving metadata from the memory device when a portion of the plurality of bits is in a first state when the first value is written to the mode register; and When the second value is written to the mode register, the metadata is received from the memory device when the portion of the plurality of bits is a second state.
17. The method according to claim 16, further comprising: providing a read command to the memory device; and Data associated with the column address is received from the memory device, wherein the data is associated with the metadata.
18. The method according to claim 16, further comprising: providing a second mode register write command from the controller to a second memory device; providing, from the controller, the first value or the second value written to a second mode register of the second memory device; providing the column address to the second memory device; receiving second metadata from the memory device when the portion of the plurality of bits is in the first state when the first value is written to the second mode register; and receiving the second metadata from the memory device when the portion of the plurality of bits is in the second state when the second value is written to the second mode register, wherein the memory device is one of a first plurality of memory devices and the second memory device is one of a second plurality of memory devices, wherein all of the first plurality of memory devices receive the first value and all of the second plurality of memory devices receive the second value, Wherein when the controller provides the second value to the memory device, the controller provides the first value to the second memory device, and when the controller provides the first value to the memory device, the controller provides the second value to the second memory device.
19. The method of claim 16, wherein the first value or the second value is provided to at least one command / address pin of the memory device.
20. The method of claim 16, wherein the portion of the plurality of bits comprises a bit, wherein the bit comprises a tenth bit of the column address.
21. An apparatus comprising: an address decoder configured to receive a column address comprising a plurality of bits; and A memory array comprising a plurality of column planes, wherein a portion of individual ones of the plurality of column planes are configured to store metadata, wherein the metadata is associated with data associated with other portions of the plurality of column planes, Wherein the metadata is mapped to the data via a metadata address based on a portion of the column address, wherein the portion includes less than all of the plurality of bits.
22. The apparatus of claim 21, wherein the metadata is stored in half of the plurality of column planes.
23. An apparatus according to claim 21, wherein the seventh, eighth and ninth bits of the column address indicate a column plane among the multiple column planes that includes the metadata of the data mapped to another portion of the multiple column planes, and the fourth, fifth and sixth bits of the column address indicate the location of the metadata in the column plane of the data mapped to another portion of the multiple column planes, wherein the metadata associated with the data of the first 8 consecutive column selections among a plurality of column selections is stored in a first column plane among the multiple column planes, and the metadata associated with the data of the third 8 consecutive column selections among the multiple column selections is stored in a third column plane among the multiple column planes.
24. An apparatus according to claim 21, wherein the seventh, eighth, ninth and tenth bits of the column address indicate a column plane among the multiple column planes that includes the metadata of the data mapped to another portion of the multiple column planes, and the fourth, fifth and sixth bits indicate the location of the metadata in the column plane of the data mapped to another portion of the multiple column planes.
25. The apparatus of claim 24, wherein the metadata is stored in a location of the portion of the individual ones of the plurality of column planes associated with an address, wherein the tenth bit is a first value.
26. The apparatus of claim 24, wherein the address of the column plane associated with the metadata includes the ninth bit as the most significant bit, the eighth bit as the second most significant bit, the tenth bit as the third most significant bit, and the seventh bit as the least significant bit.
27. The apparatus of claim 24, wherein: The metadata associated with the data of a first 8 consecutive column selections of a plurality of column selections is stored in a first column plane of the plurality of column planes, The metadata associated with a second 8 consecutive column selections in the plurality of column selections is stored in a second column plane in the plurality of column planes, the metadata associated with the data of a third 8 consecutive column selections in the plurality of column selections is stored in a fifth column plane in the plurality of column planes, the metadata associated with the data of a fourth 8 consecutive column selections in the plurality of column selections is stored in a sixth column plane in the plurality of column planes, the metadata associated with the data of a fifth 8 consecutive column selections in the plurality of column selections is stored in a ninth column plane in the plurality of column planes, the metadata associated with the data of a sixth 8 consecutive column selections of the plurality of column selections is stored in a tenth column plane of the plurality of column planes, The metadata associated with the data of a seventh 8 consecutive column selections of the plurality of column selections is stored in a thirteenth column plane of the plurality of column planes, and The metadata associated with the data of last 7 consecutive column selections of the plurality of column selections is stored in a fourteenth column plane of the plurality of column planes.
28. The apparatus of claim 21, wherein the portion of the plurality of column planes storing the metadata is associated with a first column selection of a plurality of column selections and the data is associated with others of the plurality of column selections.
29. The apparatus of claim 21, further comprising a mode register configured to receive the column address and generate the metadata address.
30. A method comprising: receiving a column address at a memory device; generating a metadata address based on a portion of the column address, wherein the portion is smaller than the entire column address; retrieving metadata associated with the metadata address from a memory array of the memory device; retrieving data associated with the column address from the memory array; and The data and the metadata are provided from the memory device.
31. The method of claim 30, wherein the data is retrieved after the metadata.
32. The method of claim 30, wherein the metadata address is generated by a mode register of the memory device.
33. The method of claim 30, wherein generating the metadata address comprises selecting fourth through ninth bits of the column address as the metadata address.
34. The method of claim 30, wherein generating the metadata address comprises selecting fourth through tenth bits of the column address as the metadata address.
35. A system comprising: A plurality of memory devices, wherein each memory device comprises: A memory array comprising a plurality of column planes, wherein a portion of individual ones of the plurality of column planes are configured to store metadata, wherein the metadata is associated with data associated with other portions of the plurality of column planes, Wherein the metadata is mapped to the data via a metadata address based on a portion of a column address comprising a plurality of bits, wherein the portion comprises less than all of the plurality of bits.
36. The system of claim 35, wherein each of the plurality of memory devices is configured to provide 1 bit of metadata.
37. The system of claim 35, wherein half of the plurality of memory devices are configured to provide 1 bit of metadata based at least in part on the column address.
38. The system of claim 35, further comprising a controller coupled to the plurality of memory devices, wherein the controller is configured to ignore the data, the metadata, or a combination thereof from one or more of the plurality of memory devices based at least in part on the column address.
39. The system of claim 35, wherein the portion of the column address associated with the metadata address comprises 6 or 7 bits.
40. A system according to claim 35, wherein the seventh, eighth and ninth bits of the column address indicate a column plane among the multiple column planes that includes the metadata of the data mapped to another portion of the multiple column planes, and the fourth, fifth and sixth bits of the column address indicate the location of the metadata in the column plane of the data mapped to another portion of the multiple column planes.
41. An apparatus comprising: an address decoder configured to receive a column address comprising a plurality of bits; and A memory array comprising: a plurality of row planes, wherein a portion of individual ones of the plurality of row planes are configured to store metadata and error correction code (ECC) data and other portions of the plurality of planes are configured to store data; and an additional column plane configured to store additional ECC data; wherein the metadata, ECC data, and additional ECC data are associated with data associated with other portions of the plurality of column planes, The metadata and ECC data are mapped to the data by a metadata address and an ECC address, respectively, based on a portion of the column address, wherein the portion includes less than all of the plurality of bits, wherein the ECC data and the additional ECC data are configured to provide single error correction and double error detection.
42. The apparatus of claim 41, wherein the ECC data comprises at least one bit per cache line or prefetch.
43. The apparatus of claim 41, wherein the column address comprises 10 bits and the portion comprises 7 bits.
44. An apparatus according to claim 41, wherein the seventh, eighth, ninth and tenth bits of the column address indicate a column plane among the multiple column planes that includes the metadata or ECC data of the data mapped to another portion of the multiple column planes, and the fourth, fifth and sixth bits indicate the location of the metadata or the ECC data in the column plane of the data mapped to another portion of the multiple column planes.
45. An apparatus according to claim 44, wherein the metadata is stored in the location of the portion of the individual ones of the multiple column planes associated with the address in which the tenth bit is a first value, and the ECC data is stored in the location of the portion of the individual ones of the multiple column planes associated with the address in which the tenth bit is a second value.
46. The apparatus of claim 44, wherein the ECC address of the column plane associated with the ECC data includes the ninth bit as the most significant bit, the eighth bit as the second most significant bit, the tenth bit as the third most significant bit, and the seventh bit as the least significant bit.
47. The apparatus of claim 41, wherein the portion of the plurality of column planes storing the ECC data is associated with a first column selection of a plurality of column selections and the data is associated with others of the plurality of column selections.
48. The apparatus of claim 41, further comprising a mode register configured to receive the column address and generate the ECC data address.
49. The apparatus of claim 41 , further comprising an ECC circuit configured during a write operation to generate the ECC data and the additional ECC data based at least in part on the data and to provide the ECC data and the additional ECC information to the memory array, wherein the ECC circuit is further configured to generate the ECC data and the additional ECC data based on the metadata.
50. A method comprising: receiving, at a memory device, a read command and a column address associated with the read command; generating a metadata address and an error correction code (ECC) address based on a portion of the column address, wherein the portion is smaller than the entire column address; retrieving metadata and ECC data associated with the metadata address and the ECC address, respectively, from a memory array of the memory device; retrieving data and additional ECC data associated with the column address from the memory array; and The data and the metadata are provided from the memory device.
51. The method of claim 50, wherein the data and the additional ECC data are retrieved after the metadata and the ECC data.
52. The method of claim 50, further comprising: providing the data, the ECC data, and the additional ECC data to an ECC circuit; providing single error detection and double error detection (SECDED) for the data using the ECC circuit based on the ECC data and the additional ECC data; providing the metadata to the ECC circuit; and The SECDED is provided for the data and the metadata using the ECC circuit.
53. The method of claim 50, wherein generating the ECC address comprises selecting fourth through tenth bits of the column address as the ECC address.
54. A method according to claim 50, wherein the data is retrieved from multiple portions of corresponding ones of a plurality of column planes associated with a first one of a plurality of column selections, and wherein the ECC data is retrieved from a portion of one of the plurality of column planes associated with a second one of the plurality of column selections that is different from the plurality of portions.
55. The method of claim 54, wherein the ECC data comprises 1 bit.
56. A method comprising: receiving a column address at a memory device; receiving write data at the memory device; generating, with an error correction code (ECC) circuit, ECC data and additional ECC data based at least in part on the write data; storing the write data in at least one of a plurality of column planes of a memory array at a first location associated with the column address; storing the ECC data in at least one of the plurality of column planes of the memory array at a second location associated with a portion of the column address, wherein the portion is smaller than the entire column address; and The additional ECC data is stored in an additional column plane of the memory array at a location associated with the column address.
57. The method of claim 56, further comprising: receiving metadata; and The metadata is stored in the at least one of the plurality of column planes of the memory array at a third location associated with the portion of the column address.
58. The method of claim 57, wherein the metadata and the ECC data are associated with a same column select signal of a plurality of column select signals, wherein the data is associated with a different one of the plurality of column select signals.
59. The method of claim 56, wherein the ECC data and the additional ECC data provide single error detection and double error detection (SECDED) for the data.
60. The method of claim 56, wherein the ECC data and the additional ECC data provide SECDED for the data and metadata.
