Energy-efficient error-correction-detection storage
Abstract
A memory system employs an addressing scheme to logically divide rows of memory cells into separate contiguous regions, one for data storage and another for error detection and correction (EDC) codes corresponding to that data. Data and corresponding EDC codes are stored in the same row of the same bank. Accessing data and corresponding EDC code in the same row of the same bank advantageously saves power and avoids bank conflicts. The addressing scheme partitions the memory without requiring the requesting processor to have an understanding of the memory partition.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 0.
Claims (17 — 3 Independent, 14 Dependent)
- Claim 1Independent Claim
An integrated-circuit (IC) to service an external read request specifying a read address directed to memory having rows and columns of memory cells, the rows of memory cells having contiguous first and second regions of memory cells, the IC comprising: an external interface to receive the external read request specifying the read address; and a memory interface to issue successive local read requests to the memory and responsive to the external read request, the local read requests including: a first local read request specifying one of the rows of the memory cells and to a first of the columns of the memory cells in the first region to read first data; a second local read request directed to the one of the rows of the memory cells and to a second of the columns of the memory cells in the first region to read second data; and a third local read request directed to the one of the rows of the memory cells and to a third of the columns of the memory cells in the second region to read third data; and error-detection-and-correction (EDC) circuitry to receive and issue error-corrected data responsive to the first data, the second data, and the third data from the specified one of the rows of the memory cells.
- Claim 2Depends on #1
The IC of claim 1, wherein the first column of the columns of memory cells and the second of the columns of memory cells are contiguous memory cells in the one of the rows, and the third column of the memory cells is separate from the first column of memory cells and the second column of memory cells in the one of the rows.
- Claim 3Depends on #1
The IC of claim 1, wherein the read address has fewer than N address bits and the memory has at least 8 × 2 N usable memory cells.
- Claim 4Depends on #1
The IC of claim 1, wherein the memory interface performs a row activation on the row of memory cells and stores the first and second read data responsive to the row activation.
- Claim 5Independent Claim
A method of accessing a memory comprising memory cells arranged in rows of the memory cells and columns of the memory cells, the rows of memory cells having separate contiguous first and second regions of memory cells, the first region having more of the memory cells than the second region, the method comprising: receiving an external read requests specifying respective read addresses; and responsive to each of the external read requests: issuing a first internal read request to a row and to a first of the columns of the memory cells at a first column address in the first region; mapping the first column address to a second column address in the second region using a mapping that maps every column address in the first region to the second region; issuing a second internal read request to the row and to a second of the columns of the memory cells at the second column address in the second region; receiving first and second data from the row and responsive to the first and second internal read requests; and issuing error-corrected data responsive to the first and second data.
- Claim 6Depends on #5
The method of claim 5, further comprising, for each of the external read requests, issuing a third internal read request to the row and to a third of the columns of the memory cells at a third column address in the first region to receive third data, and issuing the error-corrected data responsive to the first, second, and third data.
- Claim 7Depends on #6
The method of claim 6, wherein each of the first of the columns of the memory cells is adjacent to one of and the third of the columns of memory cells and each of the second of the columns of memory cells is separate from all of the first of the columns of the memory cells.
- Claim 8Depends on #6
The method of claim 6, further comprising activating the one of the rows of memory cells for a row activation and reading the first, second, and third data during the row activation.
- Claim 9Depends on #6
The method of claim 6, wherein the first, second, and third data include a key, the method further comprising decrypting some of the first, second, and third data using the key.
- Claim 10Depends on #9
The method of claim 9, wherein the row of the memory cells includes a total number of the memory cells and the key includes a total number of bits that is 1/512 of the total number of the memory cells in the row.
- Claim 11Independent Claim
A circuit for aggregating write data with a corresponding error-correction code in a row of an array of rows and columns of memory cells, the rows of memory cells divided into first and second contiguous regions, the circuit comprising: an external interface to receive an external write request specifying a write address and accompanied by the write data; an internal memory interface to the memory cells; and a local controller to respond to the external write request, the local controller to: calculate the error-correction code from the write data; and write the write data to the row in first and second columns of the memory cells in the first region and write the error-correction code to the same row of memory cells in a third column of the row of memory cells.
- Claim 12Depends on #11
The circuit of claim 11, the local controller to further calculate at least one of two column addresses for the respective columns from the other of the column addresses.
- Claim 13Depends on #12
The circuit of claim 12, wherein the calculating comprising applying an offset to one of the column addresses.
- Claim 14Depends on #13
The circuit of claim 13, the local controller further to write the write data to two of the columns of the memory cells in the row of memory cells and the error-correction code in a third of the columns of memory cells in the row of memory cells.
- Claim 15Depends on #14
The circuit of claim 14, wherein the two of the columns of the memory cells with the write data are contiguous columns in one of the rows and the third of the columns of memory cells in the one of the rows is separate from the contiguous columns.
- Claim 16Depends on #11
The circuit of claim 11, the local controller to activate the one of the rows of memory cells for a row activation and write the data and the error-correction code during the row activation.
- Claim 17Depends on #11
The circuit of claim 11, the local controller further to write a key with the error-correction code in the same column of the row of memory cells.
Technical Overview & Description
FIELD OF THE INVENTION The subject matter presented herein relates generally to computer memory. BACKGROUND Personal computers, workstations, and servers commonly include at least one processor, such as a central processing unit (CPU), and some form of memory system that includes dynamic, random-access memory (DRAM). The processor executes instructions and manipulates data stored in the DRAM. DRAM stores binary bits by alternatively charging or discharging capacitors to represent the logical values one and zero. The capacitors are exceedingly small. Their ability to store charge can be hindered by manufacturing variations or operational stresses, and their stored charges can be upset by electrical interference or high-energy particles. The resultant changes to the stored instructions and data produce undesirable computational errors. Some computer systems, such as high-end servers, employ various forms of error detection and correction to manage DRAM errors, or even more permanent memory failures. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 details a memory system 100 that employs an addressing scheme to logically divide rows of memory cells into separate contiguous regions, one for data storage and another for error detection and correction (EDC) codes corresponding to that data. FIG. 2 shows an example of row Row[i] of FIG. 1 with a flowchart 200 outlining a succession of read accesses to that row, all of which can be initiated by a single read request from an external processor seeking 64B of read data. FIG. 3 illustrates how the extra four bytes 241 of 32B column-block Col[63] is used to store repair elements in one embodiment. FIG. 4 details a memory system 400 that employs an addressing scheme similar to the one detailed above in connection with FIG. 1 . FIG. 5 illustrates how mapping logic 500 remaps physical addresses PA[39:0] responsive to an Apso configuration value stored in a local register 505 , an Apso value of six in this configuration. FIG.
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (22)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (5)
- Doe Hyun et al.
- “
- Virtualized and Flexible ECC for Main Memory
- ”
- , Fifteenth International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Mar. 17, 2010. 26 pages.