The present inventions relate to, among other things, circuitry and techniques of dynamic random access memory and more particularly to methods and apparatus for generating, storing, reading, encoding, and decoding storage data.
Random Access Memory (“RAM”) is a form of data storage that is used in modem computing devices and other electronic devices to store information. RAM can be embodied in a dedicated RAM chip that has as its only purpose the storage of information, or it can be part of a chip or circuit that has other functions, such as a system-on-a-chip that has RAM, a processor and other elements on a chip. While not intending any limitation to particular examples, RAM examples herein will assume that the RAM is present on a chip (or a plurality of chips) where the chip is made using semiconductor processing techniques or other techniques to all for information to be written to the RAM and later read back out of the RAM.
RAM is generally understood to be only capable of storing its contents while some power is applied to the RAM chip. “Storage” is a process that might encompass accepting data and address locations, writing that data to the specified address locations, maintaining some state of the RAM chip and/or the data, receiving read requests for data from address locations specified in the read requests and outputting that data. Preferably, unless there is a power interruption, the data read from a given address location of a RAM chip is the same as the data written to that address location with greater than some probability.
For a RAM to have storage capability, it has some structures that store data/stage. This can be through the use of electronic devices or elements, such as transistors, capacitors, and the like. Some RAM is referred to as Dynamic Random Access Memory (“DRAM”), in that the information is stored in devices or elements that need to be maintained or refreshed in order to hold onto the stored data. For example, in some modes of operation, a DRAM stores information as charge on a capacitor and the charge is maintained until power is removed or the charge is changed during a write operation. Information can be read and/or written using a transistor coupled with the capacitor.
In a known DRAM chip, there are a number of addressable data cells and each data cell comprises one transistor and one capacitor. This is often referred to as a 1-transistor-1-capacitor (1T1C) DRAM data cell. To store one bit of data into a 1T1C DRAM cell, the capacitor is charged to one of two signal levels, with the particular one of the two signal levels determined by the bit being written to the cell. Without loss of generality, when one bit is being referenced, the two possible values for the bit are referred to as “0” and “1”.
To read a value of the DRAM cell, the cell is connected to a bitline BL and to a word line WL. During sensing, the cell capacitance is connected to a much larger BL capacitance and the resulting attenuated cell signal on the BL is compared by a sensitive differential sense amplifier with a similarly attenuated reference voltage obtained, as an example, from a similar BL having no activated cells. The amplified cell signal can then be stored back into the cell. This operation is often called the “refresh” operation. Refresh operations are necessary in a DRAM since the capacitors used to store the information exhibit leakage and therefore need to be refreshed to guarantee the integrity of the data stored. In such a scheme, storing the data “0” can correspond to the voltage level Vss whereas storing the data “1” could correspond to the voltage level Vdd, with Vss typically being a higher voltage level relative to Vdd. Of course, this relationship is not required. The voltage levels might be referred to by values relative to a ground plane, or some other circuit or chip reference. In many examples herein, voltages are relative to Vss and for clarity, this is not specified each time. Thus, when voltages are referred to as numbers or quantities, it might be that Vss=0. Unless otherwise indicated, the units for such numbers or quantities are volts, but other scales might be used instead.
Two parameters of importance in the design of a DRAM are the “density” and the energy consumption. The density of a DRAM can be described by the number of bits that can be stored in a given unit of area. Generally, DRAMs of higher density are preferred over DRAMs of lower density because of the smaller packaging, and several other economic advantages. A large portion of the energy consumption of a DRAM is spent in the “refresh” operation whereby the information in each cell is read, amplified, and written back to the cell. This refresh operation is necessitated by the fact that the capacitors used to store information have small capacitance because of their physical size, and hence lose charge over time. Because of process variations of the electronic components used in a DRAM, the refresh interval, i.e., the amount of time passed between two successive refreshes of a cell, has to be short enough so that the worst cells still have not lost their information at the time of refresh. According to the standards set forth by the “Joint Electron Devices Engineering Council” (JEDEC), DRAM manufacturers need to make sure that the process variations which their devices are subject to are such that with the refresh interval of 64 ms (milliseconds), their devices do not lose data (with some level of certainty).
The response of the DRAM industry to the problem of storage density has been mostly confined to feature size reduction due to process technology improvements, reduction of the footprint of a storage cell, and sometimes other approaches such as 3D-stacking. Feature size and footprint reduction need to obey the rule that the cell size has to be F2 or larger, wherein F is the so-called minimum feature size and depends on the process technology used. A process technology of 32 nm, for example, has 32 nm as the value of F. DRAM units in use today have a cell size equal to 6*F2. Experimental designs have been reported that reduce this size even further, but reducing cell size is still a big challenge for the industry.
In operation, to write to a memory cell in response to DRAM device 100 receiving an input comprising the value to be written and a memory location to be written to, DRAM device 100 conveys the memory location (or at least part of it) to row decoders 110, which then activates one of wordlines 150 and DRAM device 100 conveys part of the memory location to column decoder 130, which then activates one or more of bitlines 133. DRAM device 100 might store the data temporarily in I/O buffers 120 and then move the data into the selected memory cell(s) via sense amplifiers 145. DRAM device 100's on-board logic (not explicitly shown) can charge the cell capacitance or discharge it, using the bitlines and the wordlines, based on the data to be written.
Capacitor 250 stores a charge that corresponds to the data state of the data stored in memory cell 135. During a write operation, when wordline 150(j) is activated (by row decoders 110; see
With bitlines 320 pre-charged to Vdd/2, bitlines 330 will be read by opening wordlines 312 and the difference of the charge to the pre-charged values of bitlines 320 are measured by sense amplifiers 350. These readings are then forwarded to row decoders (not shown) for obtaining the bit values in each cell. Thus, in conventional DRAM, each memory cell stores a charge in its associated capacitor and outputs a charge from the associated capacitor that corresponds directly to the value of the data received by the DRAM's I/O buffers and output from the I/O buffers.
The measurements of the charges in each cell are done with respect to the fixed reference Vdd/2. This has some significant implications. One of the implications is that the charges in the cells cannot fall below Vdd/2 if appropriate data state is to be reliably and repeatedly determined, and a suitable threshold depends on the sensitivity of the sense amplifiers.
The voltage read, Vr, from the capacitor at time t in a typical model, can be expressed as in Equation 1, wherein V is the original voltage applied to the capacitor, t is the time passed since the original voltage was applied, α is a decay parameter, and τ is a normal random variable modeling the process variation of the cells.
From Equation 1, it should be apparent that memory cells storing a greater charge in their capacitor decay faster than cells storing a smaller charge. To guarantee the integrity of the DRAM device, appropriate refresh intervals are therefore necessary.
This constraint is more significant for multilevel DRAMs, where information is stored as more than two charge levels. In multilevel DRAMs, the decay between some levels is faster than others and refreshing needs to take into account these variations. Note that, per Equation 1, the charge on the capacitor would go from Vdd to below Vdd/2, for example, in about the same time that it needs to drop, for example, from Vdd/2 to below Vdd/4.
In embodiments of storage devices, circuitry is provided for storing data using groups of memory cells, wherein each memory cell of a group is capable of storing charge at three or more specified levels. A group of memory cells forms a vector storage element capable of storing codewords of a voltage code, wherein the number of possible codewords is greater than or equal to 2n, thereby allowing distinct codewords to encode for each possible n-bit value. The vector storage element comprises k cells and the corresponding codewords comprise k entries, wherein a cell in an i-th position of the vector storage element can store an electrical quantity, such as a voltage, current, etc., corresponding to an i-th entry of the corresponding codeword. The set of possible entry values and stored electrical quantities is greater than two for at least some of the vectors and some of the vector's entries. In some embodiments, there are 2n k-entry codewords and n>k. A voltage code has a “code rate” of n/k that is determined by the number of distinct codewords and the number of cells needed to store codewords. The voltage code is such that, for at least one position of a vector, there are at least three vectors having distinct entry values at that position and, for at least a subset of the possible codewords, when the entry values are assigned numerical summable values, the sum of the entry values over the positions of the each vector is constant from vector to vector in that subset. The assigned numerical summable values might correspond to voltages relative to some reference or otherwise, such as a voltage stored as charge on a capacitor.
In specific embodiments, the storage device might be an integrated circuit device, a discrete memory device, or a device having embedded memory. The storage device might include row decoder circuitry and column decoder circuitry such that row and column signals input to the storage device access, indicate, designate, identify, and/or select a subset of the memory cells, such as one or more vector storage elements. The memory cells might form a memory area on the device, with the memory cells arranged in a matrix of rows and columns. The storage device also includes data inputs/outputs and data encoder/decoder circuitry to generate vectors from input data and determine output data from vectors read from a vector storage element.
In specific embodiments, the data encoder circuitry receives an input corresponding to n input bits and generates a voltage codeword comprising k values that sum to a constant and can vary among three or more values, with n<k, while the data decoder circuitry receives a voltage codeword comprising k values, determines intended values for the k values (which might be altered by physical processes between reading and writing) and generates an output corresponding to n output bits.
Other objects and/or advantages of the present invention will be apparent to one of ordinary skill in the art upon review of the Detailed Description and the included figures.
Various embodiments in accordance with the present disclosure will be described with reference to the drawings in
There are many inventions described and illustrated herein, as well as many aspects and embodiments of those inventions. In one aspect, the present inventions relate to, among other things, circuitry and techniques for use with dynamic random access memory (for example, a discrete type or embedded type configuration or architecture). In one aspect, the circuitry and techniques encode n bits of storage data to generate a codeword of length k bits based on a voltage code, where n is greater than k. In a storage device, circuitry is provided for storing data using groups of memory cells, wherein each memory cell of a group is capable of storing charge at three or more specified levels. A group of memory cells forms a vector storage element capable of storing codewords of a voltage code, wherein the number of possible codewords is greater than or equal to 2n, thereby allowing distinct codewords to encode for each possible n-bit value. The vector storage element comprises k cells and the corresponding codewords comprise k entries, wherein a cell in an i-th position of the vector storage element can store an electrical quantity, such as a voltage, current, etc., corresponding to an i-th entry of the corresponding codeword. The set of possible entry values and stored electrical quantities is greater than two for at least some of the vectors and some of the vector's entries. In some embodiments, there are 2n k-entry codewords and n>k. A voltage code has a “code rate” of n/k that is determined by the number of distinct codewords and the number of cells needed to store codewords. The voltage code is such that, for at least one position of a vector, there are at least three vectors having distinct entry values at that position and, for at least a subset of the possible codewords, when the entry values are assigned numerical summable values, the sum of the entry values over the positions of the each vector is constant from vector to vector in that subset. The assigned numerical summable values might correspond to voltages relative to some reference or otherwise, such as a voltage stored as charge on a capacitor.
The target voltages might be selected from a set of possible target voltages having a maximum value and a minimum value, relative to some reference. For example, the reference might be the ground plane (Vss) and the set of possible target voltages being somewhere between 0 volts and Vdd volts (a supply voltage). As but one example, the set of possible target voltages is {0.75*Vdd, 0.50*Vdds, 0.25*Vdd, 0} or as another example, {0.5*Vdd, 0.4*Vdd, 0.3*Vdd, 0}. The individual entries of the vector may be interpreted as voltages, which are written or injected into associated memory cells. After encoding the storage data, the codeword is stored in k associated memory cells. During a read operation, the data stored in the k associated memory cells are read and decoded to recover the n bits of original storage data. The memory cells may be dynamic random access memory (“DRAM”) cells.
Some advantages of some embodiments are that memory density is enhanced in that n data bits of storage data (after encoding) are stored in k associated memory cells as a codeword, where n>k, and/or that refresh considerations are relaxed, wherein refresh considerations are based, at least in part, on the relative charge retention characteristics of the memory cells storing the coded storage data of the codeword.
The circuitry and techniques described herein may provide a dynamic random access memory implementing read operations that require no reference signal (voltage or current) to read the data states stored in the memory cells and/or decode the encoded storage data to recover the original data. Here, in one embodiment, the read and decode circuitry may recover the original data based on, for example, the relative voltage levels stored in the k associated memory cells (which stored the codeword that is representative of the original storage data).
Notably, as intimated above, the dynamic random access memory described herein may be implemented in a discrete type configuration/architecture (for example, a stand-alone memory device) and/or embedded type configuration/architecture (for example, an integrated circuit device having logic circuitry and one or more dynamic random access memory cells and/or arrays incorporated therein or thereon). Moreover, one or more aspects of the circuitry and techniques described herein (for example, the encoding and/or decoding circuitry and techniques) may be implemented in circuitry which is located “off-chip” relative to the discrete type and/or embedded type configuration/architectures. Other physical configurations or architectures which implement the techniques described herein might be used.
In this example, storage data encoder circuitry 404 generates a codeword of length k bits using the n bits of storage data 401a, where n is greater than k. Storage data encoder circuitry 404 generates the codeword based on a voltage code, such as the voltage codes described herein.
In one embodiment, storage data encoder circuitry 404 includes mixed signal circuitry to generate the voltage levels for the individual entries of code data 406a. In addition, storage data encoder circuitry 404 may also include one or more state machines, processors (suitably programmed) and/or field programmable gate arrays (or combinations thereof); indeed, any circuitry (for example, discrete or integrated logic, state machine(s), processor(s) (suitably programmed) and/or field programmable gate array(s) (or combinations thereof)) now known or later developed may be employed to calculate, generate and/or determine the codeword using the storage data.
In operation, storage data encoder circuitry 404 may perform or execute one or more applications, routines, programs and/or data structures that implement particular methods, techniques, tasks or operations described and illustrated herein. The functionality of the applications, routines or programs may be combined or distributed among a plurality of circuits (which may be integrated with storage data encoder circuitry 404 or separate therefrom). Further, the applications, routines or programs may be implemented by storage data encoder circuitry 404 using any programming language whether now known or later developed, including, for example, assembly, FORTRAN, C, C++, and BASIC, whether compiled or uncompiled code.
In one embodiment, storage data encoder circuitry 404 encodes storage data 401a to be stored in memory area 440 into groups of k values or memory cells 435. These values need not be binary, i.e., a memory cell might be charged to a target voltage where the target voltage is one of three or more possible target voltages. The row and column decoder circuitry indicates, identifies, and designates the address of the specific memory cells. The memory cells may be organized in groups of at least two cells and preferably in groups of k memory cells. In general, the vector of k values or memory cells obtained may belong to a voltage code. For purposes of this description, a voltage code of length k (which is stored in k memory cells) is a collection of vectors of length k such that, for at least one coordinate position 1, . . . , k, there are at least three vectors having distinct values for their entry at that coordinate position, and the collection of vectors is such that the sum of the entries of each vector in the collection is the same value, where the sum is the sum of numerical values, such as voltages or otherwise, of each of the entries.
Notably, the second condition may have an advantage that it makes the voltage code invariant to common leakage of the cells: if the cells leak at the same rate, then the vector read from the cells after leakage also satisfies the second condition above. In certain embodiments, this leads to better refresh properties of the new DRAM architecture, as the refresh intervals may be made longer without running the risk of losing information stored in the cells.
Elements of a voltage code are collectively referred to as “voltage codewords” or simply “codewords” hereinafter. Voltage codes can be used to store information in the following way: where the voltage code has 2n elements, n bits can be used to uniquely address one of the codewords. The operation of computing the codeword of length k from the n bits is referred to as the “encoding operation.” The operation of recovering the n bits from a codeword is referred to as the “decoding operation.” The ratio between n, the number of bits stored, and k, the number of cells used to store those bits, is called the “code rate” of the voltage code, or just “rate.” In applications, a larger rate is typically preferred over a smaller rate, all else being equal.
Suppose the set of possible target voltages is {0.5*Vdd, 0.4*Vdd, 0.3*Vdd, 0} and suppose further that k=4. For the voltage codeword (0, 0.5, 0.4, 0.3), voltages might be written or injected into the associated memory cells, for example, using mixed signal circuitry of storage data encoder circuitry 404, so that a voltage of 0 v is written into a first memory cell of the four cells, a voltage of 0.5*Vdd is written or applied to the second memory cell, a voltage of 0.4*Vdd to the third memory cell, and finally a voltage of 0.3*Vdd to the fourth memory cell in the associated group of memory cells.
When information is read from the cells, storage data read/decoder circuitry 408 receives code data 406b stored in associated memory cells (the data, in combination, being the codeword of k bits stored in k memory cells) and, based thereon, decodes the codeword to retrieve the original storage data of n bits (storage data 401b). Storage data read/decoder circuitry 408 includes mixed signal circuitry (which may, in part or in whole, be the same circuitry employed by or in storage data encoder circuitry 404) to generate the codeword of the voltage code from the voltages stored in the associated memory cells and which are sensed by the mixed signal circuitry of storage data read/decoder circuitry 408.
Notably, these values read from the memory cells may be amplified and stored back into the associated memory cells, which may be the situation during a refresh operation, or they may be provided to decoder circuitry of the storage data read/decoder circuitry 408 which may generate and/or output the original n bits of storage data 401b from the information. In some embodiments, the refresh may also first perform a decoding, and then an encoding operation followed by an application of voltages to the various cells in the group.
The storage data read/decoder circuitry 408 may also include one or more state machines, processors (suitably programmed) and/or field programmable gate arrays (or combinations thereof); indeed, any circuitry (for example, discrete or integrated logic, state machine(s), processor(s) (suitably programmed) and/or field programmable gate array(s) (or combinations thereof)) now known or later developed may be employed to calculate, generate and/or determine the codeword using the storage data. In operation, the storage data read/decoder circuitry may perform or execute one or more applications, routines, programs and/or data structures that implement particular methods, techniques, tasks or operations described and illustrated herein. The functionality of the applications, routines or programs may be combined or distributed. Further, the applications, routines or programs may be implemented by the storage data encoder circuitry using any programming language whether now known or later developed, including, for example, assembly, FORTRAN, C, C++, and BASIC, whether compiled or uncompiled code.
With reference to
Upon receiving the bits to be stored, the write/read circuit 445 encodes them into groups of k values. As noted above, these values may not be binary, and in general the vector of k values obtained may belong to a voltage code.
With continued reference to
When information is read from the cells, the Write/Read circuit 445 creates a codeword of the voltage code from the sensed voltages. Again, these values may be amplified and stored back, which may be the case during a refresh operation, or they may be forwarded to a decoder circuit which may create the original n bits from the information read. In some embodiments the refresh may also first perform a decoding, and then an encoding operation followed by an application of voltages to the various cells in the group.
In one embodiment, the storage device employs a voltage code in which the vectors have length 6, and which has 256 elements, thereby allowing the storage of 8 bits into 6 cells. The rate of this voltage code is thus 8/6=4/3.
The elements of this voltage code comprise vectors of the form (a0, . . . , a5)+(b0, . . . , b5) wherein (a0, . . . , a5) is a permutation of the vector (0,0,0,1/4,1/4,1/4) and (b0, . . . , b5) is a permutation of the vector (0,0,0,1/2,1/2,1/2). The factors ½ and ¼ in the scheme presented here are only for illustrative purposes, and may not be optimal. They can be optimized depending on the parameters of the random variable in Equation 1.
There are 20 vectors of each kind, leading to 400 codewords. To choose 256 of them, we may proceed as follows: for a given vector (x[0],x[1],x[2], . . . , x[7]) we apply the process of
¼*(a0, . . . ,a5)+12*(b0, . . . ,b5).
The process of
A=y[0]̂y[1]y[̂]y[2]̂y[3]
B=(y[0]&y[1])̂(y[2]&y[3])̂((y[0]̂y[1])&(y[2]̂y[3]))
C=y[0]&y[1]&y[2]&y[3]
where “̂” denotes the XOR operation, and & is the logical AND. In Step 2030 a determination is made to whether C=0 and at the same time not both A and B are 0. If that is the case, then the bit vector (y[0],y[1],y[2],y[3],B,NAND(A,B)) is output in Step 2050 wherein B is the negation of B, and NAND(A,B) is the NAND of A and B, i.e., (A&B). If the result of the test in Step 2030 was negative, then Step 2040 tests whether the negative test was due to (A,B) being (0,0) or not. If that was the case, then the vector (1,1,0,0,1,0) is output in Step 2060. If that was not the case, then the vector (1,0,1,0,1) is output in Step 2070.
A table of values of the process in
As an example of the entire process, where the bit sequence (x[0], . . . , x[7])=(1,0,0,1,1,1,0,0), the process of
¼*(1,0,0,1,0,1)+½*(1,1,0,0,0,1)=(¾, ½,0,¼,0,¾).
The decoding process for this voltage code is implemented by the storage data encoder circuitry. When reading the word (c0, . . . , c5), we may start by determining the positions of the three largest entries. If these positions are denoted by j, k, l, then these positions may determine a vector (v0, . . . , v5) wherein vj=vk=Vl=1, and the other entries are zero. If (v4 &v5)=1, then x[4]=x[5]=x[6]=x[7]=v2, and otherwise x[4]=v0, x[5]=v1, x[6]=v2, and x[7]=v3. Next, the vector
is subtracted from the vector (c0, . . . , c5) to obtain another vector (d0, . . . , d5), and the positions of the three largest entries of this vector are determined. Here β is a parameter that may depend on the refresh time used in the particular DRAM element using this voltage code. If these positions are denoted by m, n, p, then these positions may determine a vector (w0, . . . , w5) wherein wm=wn=wp=1, and the other entries are zero. If (w4 & w5)=1, then x[0]=x[1]=x[2]=x[3]=w2, and otherwise x[0]=w0, x[1]=w1, x[2]=w2, and x[3]=w3.
An example is provided by the voltage codeword (¾, ½, 0, ¼, 0, ¾). Using Equation 1 above to model the leakage of the individual cells, and picking for the mean and the standard deviation of the random variable X the values 0.3 and 0.03, for the time t the value of 0.04 seconds (40 milliseconds), and for the parameter α the value 0.5, then the vector read after 0.04 seconds may have been changed to the vector
(c0,c1, . . . ,c5)=(0.358,0.236,0,0.147,0,0.405).
Here we may choose for β the average value of the random variable in Equation 1 after 0.04 seconds which may be calculated to be approximately equal to 0.51. The entries with indices 0, 1, 5 are the largest ones in the read vector, and the vector (v0, . . . , v5) is therefore computed as (1,1,0,0,0,1). Since (v4 & v5)=(0 & 0)=0, we obtain x[4]=1,x[5]=1,x[6]=0, x[7]=0. Subtracting
from (c0, . . . , c5) leads to the vector
(0.358,0.236,0,0.147,0,0.405)−(0.255,0.255,0,0,0,0.255)=(0.103,−0.019,0,0.147,0,0.15).
The entries with indices 0, 3, 5 are the largest ones in this vector, and the vector (w0, . . . , w5) is therefore equal to (1,0,0,1,0,1). Since (w4 & w5)=(0 & 0)=0, we have x[0]=1, x[1]=0, x[2]=0, x[3]=1. In total, we therefore obtain (x[0], . . . , x[7])=(1,0,0,1,1,1,0,0) which is indeed equal to the original bit vector.
Compared to traditional storage of bits on a DRAM, this voltage code has the advantage of higher density. Compared to storage of bits using conventional multilevel DRAM, this encoding technique may have an additional advantage that no external reference is necessary to compare the level of each cell against: in traditional multilevel DRAMs the capacitance of a cell is sensed, converted into a voltage, and then measured against several external references that are pre-charged to the various threshold values of the DRAM. The preparation of the external signals is often rather difficult. In contrast, with the voltage code described in this section, and more generally with all the voltage codes described in this disclosure, there is no need to for an external reference as can be seen in the decoding process described above: in the embodiment of this particular voltage code only the positions of the three largest charges of cells in a group have to be identified; in particular, there is no comparison is needed against a reference.
In another embodiment, the storage device employs a voltage code in which the vectors have length 4, and which has 64 elements, thereby allowing the storage of 6 bits into 4 cells. The rate of this voltage code is thus 6/4=1.5.
The elements of this voltage code comprise vectors of the form (a0, . . . , a3)+(b0, . . . , b3) wherein (a0, . . . , a3) is a permutation of the vector (0,0, 1/9, 2/9) and (b0, . . . , b3) is a permutation of the vector (0,0,1/3, 2/3). The factors 1/9, 2/9, 1/3, 2/3 in the scheme presented here are only for illustrative purposes, and may not be optimal. They can be optimized depending on the parameters of the random variable in Equation 1.
There are 12 vectors of each kind, leading to 144 codewords. To choose 64 of them, we may proceed as follows: all the memory cells may first be reset to have zero charge. Thereafter, given the vector (x[0], . . . , x[5]), we inject a charge of 2/9 into the cell with index x[0]+2*x[1], a charge of 1/9 into the cell with index (x[0]̂x[2])+2*(x[1]̂x[2]), add a charge of 2/3 into the cell with index x[3]+2*x[4], and add a charge of 1/3 into the cell with index (x[3]̂x[5])+2*(x[4]̂x[5]). For example, where (x[0], . . . , x[5]) is equal to (1,0,1,1,1,0), the charge of cell with index 0 will be 0, the charge of the cell with index 1 will be 2/9+1/3=5/9, the charge of cell with index 2 will be 1/9, and the charge of the cell with index 3 will be 2/3. The voltage codeword written to the cells is thus equal to (0, 5/9, 1/9, 2/3).
An embodiment of the decoding process for this voltage code is implemented by the decoding circuitry (for example, of storage data read/decoder circuitry 408 in
An example is provided by the voltage codeword (0, 5/9, 1/9, 2/3) above. Using Equation 1 above to model the leakage of the individual cells, and picking for the mean and the standard deviation of the random variable X the values 0.3 and 0.03, for the time t the value of 0.04 seconds (40 milliseconds), and for the parameter α the value 0.5, then the vector read after 0.04 seconds may have been changed to the vector
(c0,c1,c2,c3)=(0,0.276,0.0574,0.356).
The largest entry of this vector is at position k=3=1+2*1, and the second largest entry is at position 1=1=1+2*0. We obtain x[3]=x[4]=1. Furthermore, (l̂k)=2, so (l̂k) mod 2=0. This means that x[5]=0.
Here we may choose for β the average value of the random variable in Equation 1 after 0.04 seconds which may be calculated to be approximately equal to 0.51. We therefore subtract from the vector (c0, c1, c2, c3) the vector (0, 0.51/3, 0, 2*0.51/3)=(0, 0.17, 0, 0.34) and obtain the vector (0, 0.106, 0.0574, 0.016). The largest entry of this vector is at position m=1=1+2*0, and the second largest entry is at position n=2=0+2*1. We therefore obtain x[0]=1 and x[1]=0. Furthermore, (m̂n)=3, so x[2]=(m̂n) mod 2=1. In total, the bit sequence obtained is (1,0,1,1,1,0) which coincides with the original bit sequence.
Compared to traditional storage of bits on a DRAM, this voltage code has the advantage of higher density. As with the previous exemplary embodiment, compared to storage of bits using conventional multilevel DRAM, this encoding technique may have an additional advantage that no external reference is required to compare the level of each cell against: in traditional multilevel DRAMs the capacitance of a cell is sensed, converted into a voltage, and then measured against several external references that are pre-charged to the various threshold values of the DRAM. The preparation of the external signals is often rather difficult. In contrast, with the voltage code described in this section, and more generally with all the voltage codes described in this disclosure, there is no need to for an external reference as can be seen in the decoding process described above: in the embodiment of this particular voltage code only the positions of the three largest charges of cells in a group have to be identified; in particular, there is no comparison is needed against a reference.
The previous exemplary embodiments can be extended to a voltage code in which the vectors have length 4, and which has 128 elements, thereby allowing the storage of 7 bits into 4 cells. As such, in another embodiment, the storage device may employ a voltage code rate of 7/4=1.75.
As in the previous embodiment, the elements of this voltage code comprise vectors of the form (a0, . . . , a3)+(b0, . . . , b3) wherein (a0, . . . , a3) is a permutation of the vector (0,0, 1/9, 2/9) and (b0, . . . , b3) is a permutation of the vector (0,0,1/3, 2/3). The factors 1/9, 2/9, 1/3, 2/3 in the scheme presented here are only for illustrative purposes, and may not be optimal. They can be optimized depending on the parameters of the random variable in Equation 1.
There are 12 vectors of each kind, leading to 144 codewords of which we choose 128 according to the following process:
For example, where (x[0], . . . , x[6]) is equal to (1,0,1,1,1,0,1), we have x[6]=1 and x[5]=0. Therefore, a charge of 2/9 is injected into the cell with index x[0]+2*x[1]=1, a charge of 1/9 into the cell with index (x[0])+2*(x[1])=2, a charge of 2/3 is added to the cell with index x[3]+2*x[4]=3, and a charge of 1/3 is added into the cell with index (x[3]̂x[2])+2*(x[4]̂x[2])=2. The voltage codeword obtained is therefore (0, 2/9, 4/9, 2/3).
The decoding process for this voltage code is implemented by the decoding circuitry (for example, of storage data read/decoder circuitry 408 in
x[0]=z[0],x[1]=z[1],x[3]=w[0],x[4]=w[1],
x[6]=w[0]̂w[1]̂v[0]̂v[1]̂u[0]̂u[1]̂z[0]̂z[1].
We may then proceed as follows.
1. If x[6]=0, then we obtain x[2]=w[0]̂v[0], x[5]=z[0]̂u[0].
2. If x[6]=1, then we obtain x[5]=w[0]̂w[1]̂v[0]̂v[1].
An example is provided by the voltage codeword (0, 2/9, 4/9, 2/3) above. Using Equation 1 above to model the leakage of the individual cells, and picking for the mean and the standard deviation of the random variable Xthe values 0.3 and 0.03, for the time t the value of 0.04 seconds (40 milliseconds), and for the parameter α the value 0.5, then the vector read after 0.04 seconds may have been changed to the vector
(c0,c1,c2,c3)=(0,0.11,0.23,0.356).
The largest entry of this vector is at position k=3=1+2*1, and the second largest entry is at position l=2=0+2*1. Here we may choose for β the average value of the random variable in Equation 1 after 0.04 seconds which may be calculated to be approximately equal to 0.51. Subtracting the vector (0,0,0.17, 0.34) from (c0, c1, c2, c3) we obtain the vector (0, 0.11, 0.06, 0.016). The largest entry of this vector is at position m=1=1+2*0, and the second largest is at position n=2=0+2*1. We therefore have
z[0]=1,z[1]=1,u[0]=0,u[1]=1,w[0]=1,w[1]=0,u[0]=0,u[1]=1.
It follows that
x[0]=1,x[1]=0,x[3]=1,x[4]=1,x[6]=1.
Further, x[5]=w[0]̂w[1]̂v[0]̂v[1]=0. In this embodiment, x[2]=u[0]̂z[0]=1. The final bit sequence is therefore (1,0,1,1,1,0,1) which is equal to the original bit sequence.
Compared to the previous embodiments, this voltage code provides a higher density.
In another embodiment, the device may employ a class of voltage codes which are related to permutation modulation codes and will be referred to as “voltage PM codes” hereinafter. Thus, in these embodiments, the encoder circuitry and decoder circuitry implement one or more voltage PM codes to encode the storage data and decode the encoded storage data, respectively.
Notably, voltage PM codes have several advantages over other types voltage codes. For example, they don't require an absolute reference to determine the values of the bits stored in the memory cells. As such, in certain embodiments implementing voltage PM codes, the device may employ a higher refresh cycle and to lowering the overall energy consumption of the device using such a PM code. Moreover, some voltage PM codes exhibit a large rate, leading to a higher storage density than a conventional DRAM.
In applications, a voltage PM code is a PM code in which the codewords are permutations of a fixed vector a=(x0, x1, . . . , xk−1). This vector is called the “generator” of the voltage PM code. The voltage code is called q-ary if the number of distinct elements of the vector a is q.
Briefly, by way of background, conventional binary voltage PM code may employ the set {(0,1),(1,0)}which is a full voltage PM code with generator (0,1). In one embodiment, the code is used by storing the values of a codeword on two adjacent cells. The decoder circuitry may calculate the difference between the voltage levels of the two cells; if the difference is positive, the bit may be regarded as 1, whereas in the other case the bit may be regarded as 0. An advantage of the use of this type of code is increased reliability of the cells: even when the cell which contains the one discharges heavily, as long as the difference between the cells can be detected, the stored value can be read reliably. A disadvantage of this type of coding is the obvious decrease in the storage density since two cells are needed to store one bit. The density is thus decreased by 50%. Such a method is, for example, disclosed in Ferrant.
Other binary voltage PM codes can be constructed starting from the binary voltage PM code using the concept of constant weight codes. In this embodiment, the generator of the code (storage data encoder circuitry) is binary, and we may assume that the entries are 0 or 1. For example, the binary voltage PM code may be generated by the vector (1,1,1,0,0,0). As is clear to those of moderate skill in combinatorics, this code has 20 elements. An encoder for this code could take 4 bits x[0], x[1], x[2], x[3]. The goal would be to compute a bit vector (a0, . . . , a5). In a first step, we calculate the quantities A, B, C, given as
A=x[0]̂x[1]̂x[2]̂x[3]
B=(x[0]&x[1])̂(x[2]&x[3])̂((x[0]̂x[1])&(x[2]̂x[3]))
C=x[0]&x[1]&x[2]&x[3]
where ̂ denotes the XOR operation, and & is the logical AND. If C=0 and (A,B) is not (0,0), then we set the vector (a0, . . . , a5) to (x[0],x[1],x[2],x[3],B,NAND(A,B)), where B is the negation of B, and NAND(A,B) is the NAND of A and B, i.e., ((A&B). If A=B=C=0, then we set (a0, . . . , a5) to (1, 1, 0, 0, 1, 0). Otherwise, A=B=0 and C=1. In this embodiment we set (a0, . . . , a5) to (1, 0, 1, 0, 1, 0). The decoding process for this voltage code is implemented by the decoding circuitry (for example, of storage data read/decoder circuitry 408 in
This voltage PM code has similar advantages as the conventional binary voltage PM code mentioned above: the cells can decay for a much longer time than for a normal DRAM since comparison of the levels of each cell is not to the fixed reference of Vdd/2; in fact, as long as the values of the cells that are originally equal to 1 are such that the corresponding positions can be determined to contain the largest positions, the decoding process will be successful. As an example, we may suppose that the cells decay according to the process given in Eq. (A) wherein the random variable X may have a mean of 0.19 and a variance of 0.01. Moreover, we assume that the parameter α equals 0.5. These parameters are only examples used for illustrative purposes and no claim is made as to their accuracy in a real process. Similar results as reported below may hold when other numbers are used for the mean and the variance. To fix the example further, we may suppose that the comparators used have a sensitivity of 20 mV. In a normal DRAM, there will be a cell error if the charge of the cell falls below a value of Vdd/2+20 mV. Assuming that Vdd=1V, the probability that this happens is the same as the probability that the value of a zero-mean normal random variable with standard deviation 1 is below (−√{square root over (t)}/ln(0.52)−0.19)/0.01.
To achieve a cell bit error rate of 1e-15, for example, would need a refresh time t of 0.00523 seconds for a standard DRAM. In contrast, for the DRAM implementing a conventional binary voltage PM code, the error probability is equal to the probability that the value of 1 decays to below 20 mV, which means that the error probability is the probability that a zero-mean normal random variable with standard deviation 1 is below (−√{square root over (t)}/ln(0.02)−0.19)/0.01. To have this probability, called q in the following, below 1e-15 requires a refresh rate of t=0.1872 seconds which is more than 35 times larger than for a standard DRAM. The error probability of the voltage PM code above is 1-(1-q)3. To have it below 1e-15 requires a refresh rate t of 0.1827 seconds. If there is an error, then at least one bit in a group of 4 bits will be in error. To have a fair comparison between these codes, we could ask to have groups of 4 bits intact with probability at least 1-1e-15. In this embodiment, we could achieve this with a refresh rate of t=0.1827 seconds for the above voltage PM code, we could achieve this with a refresh rate of t=0.1815 for the voltage code of conventional binary voltage PM code, and we could achieve this with a refresh rate of 0.00507 for the standard DRAM. Therefore, in terms of refresh time the above voltage code has the best value (even better than the code of the conventional binary voltage PM code discussed above) whereas its density is 66% of that of the standard DRAM, i.e., 33% more than the density of the code of such conventional binary voltage PM code.
Very similar results hold if the generator is chosen to be [1,1,1,1,0,0,0,0]. In this embodiment it is possible to store 6 bits on 8 cells. This code stores 6 bits in 8 cells, hence its density is 75% that of a standard DRAM, and 50% more than that of the aforementioned conventional binary voltage PM code. The refresh time for this code is also more than 35 times larger than that of a standard DRAM.
As mentioned above, the storage devices may employ voltage PM codes wherein the encoder circuitry and decoder circuitry implement one or more voltage PM codes to encode the storage data and decode the encoded storage data, respectively. In one embodiment, the storage devices employ an n-ary voltage PM code used for storage on volatile memory. Briefly, the input to this procedure of this exemplary embodiment is a target error rate ε, the mean μ and the variance σ of the probability distribution in Eq. (A), the parameters α of the distribution, integers l0, . . . , ln−1, a refresh time t and a sensitivity v. The procedure tries to find values x0, . . . , xn−2 such that for a voltage code with generator
wherein the first group has l0 elements, and the last group has ln−1 elements. The entries of this vector are between 0 and 1, and the last ln−1 entries are all zero. A permutation of this vector is used to store the values on N cells wherein N=l0+ . . . +ln−1. The stored values are denoted by y0, . . . , yN−1. After a time t has elapsed, the values that are read from the cells will be
y
0
e
−t
/X
, . . . ,y
N−1
e
−t
/X
,
An error is made if there are two indices i and j such that yi>yj but yie−t
As mentioned above, the value of xn−1 is set to zero.
Thereafter, the value of xn−2 is calculated in such a way that
wherein X is a normal Gaussian random variable with mean μ and variance σ and Pr denotes the probability. This is easily seen to be equivalent to
where
This means that the value of xn−2 is calculated as
Next the value of xn−3 is calculated in such a way as to establish
wherein X and Y are independent Gaussian random variables with mean μ and variance σ. This probability is an upper bound on the probability that any of the ln−3 entries in group n-3 of the vector a becomes smaller than any of the ln−2 entries in group n-2 of a. The last equation can be relaxed to the following equation
The value of xn−3 can be calculated from this.
The procedure continues in a similar fashion to compute the values of xi for all i from n-4 down to 0. If the value of xi+1 is known, that of xi is obtained from the equation
In the exemplary coding techniques (which are employed by the encoder circuitry and decoder circuitry) described below, we choose ε=10−15, μ=0.19, σ=0.01, α=0.5. The refresh time τ for a standard DRAM with these settings is 0.005229 seconds, as was shown above. The refresh time needed for the DRAM using the voltage PM codes given below is given as a multiple r of τ, i.e., t=rτ.
The parameters employed here are only for illustrative purposes. Other values for these parameters can be chosen and similar results can be obtained. All parameters consistent with this description may be employed and, as such, the coding techniques resulting therefrom are intended to fall within the scope of the present inventions. The various embodiments are identified by the number of bits stored in a cell group and the number of cells in the group. Thus, 8B6C identifies an embodiment storing eight bits in a six cell memory group.
8B6C: In this embodiment, the generator a is of the form a=(x,y,z,u,0,0), wherein the parameters x,y,z, u are distinct and may be determined in such a way as to optimize the code with respect to some cost function. For example, where the cost function is the refresh time needed, and the objective is to maximize this time, a may be chosen as a=(0.992371, 0.491736, 0.223515, 0.07643, 0, 0). In this embodiment r=4.15, which means that the refresh time for the corresponding DRAM will be 4.15 times larger than that of a standard DRAM. There are 360 different permutations of the vector a, so 8 bits can be encoded into this codebook. The bits can be encoded into a permutation in a variety of ways. For example, in one embodiment, a table lookup can be used. In another embodiment, circuitry that encodes/decodes a byte into a permutation may be employed in the encoder circuitry and decoder circuitry. Other variations or embodiments may also be employed.
The density of this design is 8/6=1.33, which means that with this design the density is improved by 33% while the refresh time is increased by a factor of 4.15. Since during this refresh time 1.33 times more cells are refreshed, the amount of energy used by the refresh operation is in fact 4.15*4/3 times less, i.e., the refresh energy used is 5.533 times less than that of a standard DRAM.
8B8C: In this embodiment the generator a is of the form a=(x,x,y,y,0,0,0,0), wherein the parameters x,y are distinct and may be determined in such a way as to optimize the code with respect to some cost function. For example, where the cost function is the refresh time needed, and the objective is to maximize this time, a may be chosen as a=(0.976712, 0.976712, 0.234784, 0.234784, 0,0,0,0). In this embodiment r=14, which means that the refresh time for the corresponding DRAM will be 14 times larger than that of a standard DRAM. There are 420 different permutations of the vector a. 8 bits can be encoded into this codebook using for example the methods taught in Cronie-2. This means that the density of this voltage code DRAM is the same of that of a standard DRAM while its refresh time is 14 times larger.
15B10C: In this embodiment the generator a is of the form a=(x,y,z,z,z,u,u,u,0,0), wherein the parameters x,y,z,u are distinct and may be determined in such a way as to optimize the code with respect to some cost function. For example, where the cost function is the refresh time needed, and the objective is to maximize this time, a may be chosen as a=(0.984720, 0.491025, 0.222455, 0.222455, 0.222455, 0.075221, 0.075221, 0.075221, 0, 0). In this embodiment r=4.05, which means that the refresh time for the corresponding DRAM will be 4.05 times larger than that of a standard DRAM. There are 50400 different permutations of this vector which means that we can encode 15 bits into the corresponding codebook. In one embodiment, for example, a table lookup is executed in conjunction with methods disclosed in Cronie-2. This means that the density of the voltage code DRAM is 50% more than that of a standard DRAM while its refresh time is more than 4 times larger. Since during this refresh time 1.5 times more cells are refreshed, the amount of energy used by the refresh operation is in fact 4.05*1.5 times less, i.e., the refresh energy used is 6.075 times less than that of a standard DRAM while the density is 50% larger.
18B10C: In this embodiment the generator a is of the form a=(x,y,z,u,w,w,t,t,0,0), wherein the parameters x,y,z,u,w,t are distinct and may be determined in such a way as to optimize the code with respect to some cost function. For example, where the cost function is the refresh time needed, and the objective is to maximize this time, a may be chosen as a=(0.983564, 0.629365, 0.386984, 0.225519, 0.117969, 0.117969, 0.046942, 0.046942, 0, 0). In this embodiment r=1.68, which means that the refresh time for the corresponding DRAM will be 1.68 times larger than that of a standard DRAM. There are 453600 different permutations of this vector which means that we can encode 18 bits into the corresponding codebook. This embodiment may be implemented, for example by combining a table lookup with methods disclosed in Cronie-2. This means that the density of the voltage code DRAM is 80% more than that of a standard DRAM while its refresh time is 1.68 times larger. Since during this refresh time 1.8 times more cells are refreshed, the amount of energy used by the refresh operation is in fact 1.68*1.8 times less, i.e., the refresh energy used is 3.024 times less than that of a standard DRAM while the density is 80% larger.
An exemplary high level architecture of the Write/Read circuits of 447 of
Notably, where the 8B8C code introduced above is used, the positions of the cells with the two largest values, and the positions of the cells with the two second largest values may be sufficient to decode the codeword. After the ranking circuit 740 has created its output, this output is forwarded to a ranking decoder 720 which uses the output of the ranking circuit to produce the bits b[0], . . . , b[K−1]. Some examples of these circuits will be provided later.
Using the write and read circuits of
Notably, in those embodiments where the encoder and/or decoder circuitry employ ranking and/or sorting techniques, the encoder and/or decoder circuitry may implement any or all of the circuitry and techniques described in Cronie-3.
For the code 8B6C given above, the generator a is of the form a=(x, y, z, u, 0, 0) wherein x, y, z, u are distinct. One embodiment of a possible ranking encoder 620 of
As will be clear to those of moderate skill in the art, the values v[0], . . . , v[3] will always be distinct, and will be integers in the set {0, 1, 2,3,4,5}.
An example is now provided for the embodiment where the input vector is (b[0], . . . , b[7])=(0,1,1,0,1,1,0,1). In this embodiment, the number M is calculated in Step 920 as M=182 and S is initialized to {0, 1, 2,3,4,5}. In Step 930 v[0] is calculated as floor(182/60)=3, and S becomes {0, 1, 2,4,5}. Moreover, M becomes M mod 60=2. Since floor(M/12)=0, the value of v[1] is calculated to be S[0]=0 in Step 940, S is updated to {1,2,4,5}, and M is updated to M mod 12=2. The value of v[2] is computed as S[0]=1 in Step 950, S is updated to {2,4,5}, and Mkeeps its value 2. Finally, the value of v[3] is S[2]=5, so that (v[0], . . . , v[3])=(3,0,1,5).
An exemplary operation of the ranking decoder circuit of
where (τ[0], τ[1], τ[2], τ[3])=(60,12,3,1). Thereafter, the bits b[0], . . . , b[7] may be obtained from the binary expansion of M: M=b[0]+b[1]+ . . . +128b[7].
As an example, consider the embodiment where the input to the ranking decoder is (π[0], π[1], π[2], π[3])=(3,0,1,5), i.e., the output of the ranking encoder example above. This means that the largest charge is to be put in cell with index 3, the second largest into cell with index 0, etc. From this vector we calculate the value M according to the following formula:
j=0→π[0]−|{i<0|π[i]<π[0]}|=π[0]=3
j=1→π[1]−|{i<1|π[i]<π[1]}|=π[1]=0
j=2→π[2]−|{i<2|π[i]<π[2]}|=π[2]−1=0
j=3→π[3]−|{i<3|π[i]<π[3]}|=π[3]−3=2
We therefore obtain M=3*60+0*12+0*3+2=182, from which we obtain the bits (b[0], . . . , b[7])=(0,1,1,0,1,1,0,1) through binary expansion.
A “full voltage PM code” is a voltage PM code in which the coordinates of the generator a are all distinct. As is clear to those of skill in the art, among all possible voltage PM codes of length k, the rate of a full voltage PM code is the largest possible. Moreover, a full voltage PM code of length n is necessarily n-ary.
We describe the operation of the ranking encoder circuit 620 and the ranking decoder circuit 720 for full voltage PM codes. For ease of presentation we will assume that the length of the generator (and the number of cells) is a power of 2: K=k=2m.
The input of the ranking encoder process is a vector b=(b[0], . . . , b[N−1]) where N=mK/2. So, for example, when K=8. Then N=12. The output of the ranking encoder process is a permutation (π(0),π(1), . . . , π(K−1)) of the set {0, 1, 2, . . . , K−1}. The ranking encoder process is described by a procedure given in the pseudocode listing of
The ranking decoder process receives a permutation (π(0),π(1), . . . , π(K−1)) and creates Nbits b[0], . . . , b[N−1] according to the process given in the pseudocode of
The loops given above can be optimized and unrolled for any specific value of K. One such example is given with reference to
Assume now that b[4]=1, b[5]=0, b[6]=b[7]=1. The circuits 1030 described in
As a matter of example, assume that b[8]=b[10]=b[11]=1, and b[9]=0. The SWAP circuits 1040 described in
π=(7,0,4,5,2,6,1,3).
An unrolled version of the rank decoding procedure outlined above in pseudocode is now explained for the embodiment where K=8 with reference to
As an example, consider the permutation π=(7, 0, 4, 5, 2, 6, 1, 3) from the previous example. They correspond to the binary representations 111, 000, 100, 101, 010, 110, 001, 011. The first condition swap circuit compares 111 and 010. Sine bit 2 of the first input 111 is 1, it swaps these inputs and reveals the value of b[8] as 1. The second conditional swap circuit compares the inputs 000 and 110. Bit 2 of the first input is 0, so b[9]=0, and the inputs are not swapped. Similarly, the third conditional swap circuit compares 100 and 001, deduces that b[10]=1, and swaps the values. The fourth conditional swap circuit compares 101 and 011, deduces b[11]=1, and swaps its inputs. Therefore, the values of the second set of circles from the right in
It should be noted that applying lower voltages to the memory cells to store data translates to spending lower energy on charging the cells to the appropriate levels. For example, using as a proxy of the energy the square of the Euclidean norm of the generator of the voltage PM code, in conventional DRAM storage the energy would be on average 12 per cell. For the embodiments implementing the voltage PM codes in this disclosure, the energy can be substantially lower—for example, the voltage PM code 8B8C exhibits a static energy reduction/improvement of almost a factor of 4. Moreover, the codes can be optimized for static energy usage, or a combination of dynamic and static energy usage.
There are many embodiments described and illustrated herein. While certain embodiments, features, attributes and advantages have been described and illustrated, it should be understood that many others, as well as different and/or similar embodiments, features, attributes and advantages of the present invention, are apparent from the description and illustrations. As such, the above embodiments of the inventions are merely exemplary. They are not intended to be exhaustive or to limit the inventions to the precise forms, techniques, materials and/or configurations disclosed. Many modifications and variations are possible in light of this disclosure. It is to be understood that other embodiments may be utilized and operational changes may be made without departing from the scope of the present inventions. As such, the scope of the inventions is not limited solely to the description above because the description of the above embodiments has been presented for the purposes of illustration and description.
Importantly, the present inventions are neither limited to any single aspect nor embodiment, nor to any combinations and/or permutations of such aspects and/or embodiments. Moreover, each of the aspects of the present inventions, and/or embodiments thereof, may be employed alone or in combination with one or more of the other aspects and/or embodiments thereof. For the sake of brevity, many of those permutations and combinations will not be discussed and/or illustrated separately herein.
For example, in one embodiment, the voltage code implemented by the encoder circuitry to encode the storage data (and by the decoder circuitry to decode and recover the storage data) may be fixed or programmable, for example, one time programmable (for example, programmed during test or at manufacture) or more than one time programmable (for example, during test, start-up/power-up, during an initialization sequence and/or during operation of the circuitry or device (for example, in situ)).
With reference to
In another embodiment, the voltage code program circuitry may include fuses or anti-fuses, DRAM, SRAM, ROM, PROM, EPROM, EEPROM and/or flash memory cells, to store data which is representative of the voltage code for use by the storage data encoder circuitry and the storage data read/decoder circuitry. In one embodiment, the data which is representative of the voltage code to be implemented may be provided to the storage data encoder circuitry and the storage data read/decoder circuitry, for example, at start-up/power-up, during an initialization sequence, by external integrated circuit device and/or in response to one or more user or operator instructions or inputs. Indeed, in one embodiment, the voltage code may be determined at start-up/power-up, during an initialization sequence, by external circuitry and/or in response to user or operator instructions based on information that is representative of the output data length (for example, x4, x8 or x16) and thereafter the voltage code which, for example, is most efficient for the output data length, is provided to the storage data encoder circuitry and the storage data read/decoder circuitry.
For example, where the output data length is x4, x8 or x16, it may be advantageous to employ a rate of voltage code of 1.5 wherein the storage data encoder circuitry generates a codeword of length 4 from 6 bits of storage data. That is, a voltage code in which the vectors have length 4, and which has 64 elements, thereby allowing the storage of 6 bits into 4 cells. The rate of this voltage code is thus 6/4.
Notably, the memory (for example, register) may be a permanent, semi-permanent or temporary (i.e., until re-programmed) storage; for example, a DRAM, SRAM, ROM, PROM, EPROM, EEPROM and/or Flash memory cells that are resident on (i.e., integrated in) the interface circuitry, device or system, or external thereto (i.e., not integrated in). Indeed, the voltage code for the storage data encoder circuitry and the storage data read/decoder circuitry may be defined via a particular fixed configuration of the state of switch(es) or certain pin(s) on the package of the device (which may be, for example, defined or established during manufacturing). All circuitry and techniques of (i) storing scaling information and/or (ii) programming the storage data encoder circuitry and the storage data read/decoder circuitry during before or during operation are intended to fall within the scope of the present invention.
Further, as noted above, the dynamic random access memory may be implemented in a discrete type configuration/architecture (for example, a stand-alone memory device—see
Notably, the embodiments disclosed herein may exhibit one or more of the following attributes:
1. Longer refresh cycles relative to conventional DRAMs: lower dynamic energy.
2. Lower energy to write the cells relative to conventional DRAMs: lower static energy.
3. Higher density relative to conventional DRAMs.
4. Robustness to imperfections: it is not necessary to hit the exact values of the generator a. Moreover, imperfections of these values can be taken into account when designing the voltage PM code. This leads to a more robust operation.
Combination with an Outer ECC
In one embodiment, the circuitry and techniques may be combined with an outer error-correcting code (ECC) to provide a higher reliability of the memory cells. An exemplary embodiment is described with reference to
An example of an outer ECC is now provided with reference to the code 8B6C above. The outer encoder may take some number L of bytes (wherein each byte comprises eight bits) and encode these L bytes using a Reed-Solomon code of length T over GF(256). These 8T bits are grouped into T groups of size 8, and each group is then fed to the rank encoder of the 8b6C code. The combined cell efficiency of this scheme is 4 L/3 T, and the outer coding can provide resilience to up to (T-L)/2 errors on groups of 6 cells.
The above description is exemplary and illustrative and is not meant to be restrictive. Many other methods and combinations of ECC schemes with encoders according to the various embodiments are possible and will become apparent to those of moderate skill in the art upon study of this disclosure. For example, the outer code may be a binary code with an efficient encoding and decoding procedure, such as an LDPC code. Or it may be a code derived from curves on a finite field (AG-code), or another type of code well suited for the application in memory storage. The application claims priority on all such schemes as well.
It should be noted that the term “circuit” may mean, among other things, a single component or a multiplicity of components, which are active and/or passive, and which are coupled together to provide or perform a desired function. The term “circuitry” may mean, among other things, a circuit, a group of such circuits, one or more processors, one or more state machines, one or more processors implementing software, one or more gate arrays, programmable gate arrays and/or field programmable gate arrays, or a combination of one or more circuits (whether integrated or otherwise), one or more state machines, one or more processors, one or more processors implementing software, one or more gate arrays, programmable gate arrays and/or field programmable gate arrays. The term “data” may mean, among other things, a current or voltage signal(s) whether in an analog or a digital form, which may be a single bit (or the like) or multiple bits (or the like).
It should be further noted that the various circuits and circuitry disclosed herein may be described using computer aided design tools and expressed (or represented), as data and/or instructions embodied in various computer-readable media, for example, in terms of their behavioral, register transfer, logic component, transistor, layout geometries, and/or other characteristics. Formats of files and other objects in which such circuit expressions may be implemented include, but are not limited to, formats supporting behavioral languages such as C, Verilog, and HLDL, formats supporting register level description languages like RTL, and formats supporting geometry description languages such as GDSII, GDSIII, GDSIV, CIF, MEBES and any other suitable formats and languages. Computer-readable media in which such formatted data and/or instructions may be embodied include, but are not limited to, non-volatile storage media in various forms (e.g., optical, magnetic or semiconductor storage media) and carrier waves that may be used to transfer such formatted data and/or instructions through wireless, optical, or wired signaling media or any combination thereof. Examples of transfers of such formatted data and/or instructions by carrier waves include, but are not limited to, transfers (uploads, downloads, e-mail, etc.) over the Internet and/or other computer networks via one or more data transfer protocols (e.g., HTTP, FTP, SMTP, etc.). The embodiments described are also directed to such representation of the circuitry described herein (for example, storage data encoder circuitry and the storage data read/decoder circuitry), and/or techniques implemented thereby, and, as such, are intended to fall within the scope of the present inventions.
Indeed, when received within a computer system via one or more computer-readable media, such data and/or instruction-based expressions of the above described circuits may be processed by a processing entity (e.g., one or more processors) within the computer system in conjunction with execution of one or more other computer programs including, without limitation, net-list generation programs, place and route programs and the like, to generate a representation or image of a physical manifestation of such circuits. Such representation or image may thereafter be used in device fabrication, for example, by enabling generation of one or more masks that are used to form various components of the circuits in a device fabrication process.
Moreover, the various circuits and circuitry, as well as techniques, disclosed herein may be represented via simulations and simulation instruction-based expressions using computer aided design, simulation and/or testing tools. The simulation of the circuitry described herein, including the storage data encoder circuitry and the storage data read/decoder circuitry and/or techniques implemented thereby, may be implemented by a computer system wherein characteristics and operations of such circuitry, and techniques implemented thereby, are simulated, imitated, replicated, analyzed and/or predicted via a computer system. Simulations and testing of the devices and/or circuitry described herein, and/or techniques implemented thereby, and, as such, are intended to fall within the scope of the present inventions. The computer-readable media and data corresponding to such simulations and/or testing tools are also intended to fall within the scope of the present inventions.
This application claims priority from the U.S. Provisional Patent Application No. 61/697,515, filed Sep. 6, 2012, entitled “Differential Vector Storage for Dynamic Random Access Memory”, and is incorporated by reference herein for all purposes. The following prior applications are herein incorporated by reference in their entirety for all purposes: [Cronie-2]U.S. patent application Ser. No. 12/982,777, filed Dec. 30, 2010, naming Harm Cronie and Amin Shokrollahi, entitled “Power and Pin Efficient Chip-to-Chip Communications with Common-Mode Resilience and SSO Resilience.” [Cronie-3]U.S. Provisional Patent Application 61/697,540, filed Sep. 6, 2012, naming Harm Cronie and Brian Holden, entitled “Sorting Decoder.”
Number | Date | Country | |
---|---|---|---|
61697515 | Sep 2012 | US |