Transformation of binary signals read from a memory
11262948 · 2022-03-01
Assignee
Inventors
Cpc classification
G06F3/0659
PHYSICS
G06F3/0604
PHYSICS
G11C11/56
PHYSICS
G11C7/1006
PHYSICS
International classification
Abstract
What is specified is a method for transforming a first binary signal read from a memory, wherein the first binary signal is transformed into a second binary signal provided that the first binary signal is a code word or a predefined code word of a k-out-of-n code, wherein the first binary signal is transformed into a predefined signal provided that the first binary signal is not a code word or is not a predefined code word of the k-out-of-n code, wherein the predefined signal is different than the second binary signal. A corresponding device is furthermore specified.
Claims
1. A method for transforming binary signals read from a memory, comprising: transforming a first binary signal into a second binary signal in response to determining that the first binary signal is a predefined code word of a k-out-of-n code, wherein n and k are positive integers and n>k, and transforming a third binary signal into a predefined signal in response to determining that the third binary signal is not a predefined code word of the k-out-of-n code, wherein the predefined signal is different than the second binary signal and indicates that the third binary signal is not a predefined code word of the k-out-of-n code.
2. The method as claimed in claim 1, wherein the first binary signal is read from n memory cells of the memory.
3. The method as claimed in claim 2, wherein a memory cell of the memory is configured to assume two or more states.
4. The method as claimed in claim 1, wherein the predefined signal comprises at least one of: a predefined bit sequence, a predefined bit sequence having a validity signal, in particular a validity bit, and a predefined bit sequence having a same number of digits as the second binary signal.
5. The method as claimed in claim 1, wherein the first binary signal has n binary values, wherein the second binary signal has a number of binary values which is less than or equal to n.
6. The method as claimed in claim 1, wherein the second binary signal or the predefined signal is stored in an arrangement of latches, wherein a number of latches corresponds to a number of binary values of the second binary signal.
7. The method as claimed in claim 1, wherein the first binary signal and the second binary signal each have n binary values.
8. The method as claimed in claim 1, wherein n states are read from memory cells of a memory, wherein k fastest states or (n−k) fastest states of the first binary signal are determined in a time domain.
9. The method as claimed in claim 8, wherein the k fastest states or the (n−k) fastest states are 0-states.
10. The method as claimed in claim 9, wherein remaining states that do not belong to the k fastest states or the (n−k) fastest states are correspondingly set as 1-states.
11. The method as claimed in claim 1, wherein the memory comprises at least one of: Floating gate cells; PCRAM, RRAM, MRAM, MONOS components, Nanocrystal cells, and ROM.
12. A device comprising a processing circuit configured to: determine that a first binary signal, which is n bits in length and which has a first n-bit pattern, matches an n-bit pattern of a predefined code word, wherein the predefined code word is one of a predetermined number of predefined code words of a k-out-of-n code, wherein n and k are positive integers and n>k, wherein each predefined code word is n-bits in length and has a different n-bit pattern from that of the other respective predefined code words of the predetermined number of predefined code words; provide a second binary signal based on the first binary signal in response to determining that the first binary signal matches the n-bit pattern of the predefined code word; determine that a third binary signal, which is n bits in length and which has a third n-bit pattern, differs from each n-bit pattern of the predetermined number of predefined code words; and provide a predefined signal in response to determining that the third binary signal differs from each n-bit pattern of the predetermined number of predefined code words, wherein the predefined signal is different than the second binary signal.
13. A non-transitory computer-readable storage medium, comprising computer-executable instructions that upon execution cause a computer to perform acts, comprising: transforming a first binary signal into a second binary signal in response to determining that the first binary signal is a predefined code word of a k-out-of-n code, wherein n and k are positive integers and n>k, and transforming a third binary signal into a predefined signal in response to determining that the third binary signal is not a predefined code word of the k-out-of-n code, wherein the predefined signal is different than the second binary signal and indicates that the third binary signal is not a predefined codeword of the k-out-of-n code.
14. The method as claimed in claim 1, wherein each predefined code word of the k-out-of-n code has a total of n bits, wherein k bits of each predefined code word of the k-out-of-n code have a first binary value, and wherein n minus k bits of each predefined code word of the k-out-of-n code have a second binary value, opposite the first binary value.
15. The method as claimed in claim 1, wherein the first binary signal is transformed into the second binary signal at a first time and the third binary signal is transformed into the predefined signal at a second time, different from the first time.
16. The device as claimed in claim 12, further comprising: an arrangement of latches, wherein the second binary signal or the predefined signal is stored in the arrangement of latches, wherein a number of latches corresponds to a number of binary values of the second binary signal.
17. The device as claimed in claim 12, wherein the second binary signal is provided to be identical to the first binary signal in response to determining that the first binary signal matches the n-bit pattern of the predefined code word.
18. The device as claimed in claim 12, wherein k bits of each code word of the k-out-of-n code have a first binary value, and wherein n minus k bits of each code word of the k-out-of-n code have a second binary value, opposite the first binary value.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
DETAILED DESCRIPTION
(16) The use of new memory technologies such as MRAM, RRAM or PCRAM affords cost advantages and improves compatibility with respect to the CMOS production process.
(17) However, it is a challenge to cope with small read windows between the individual states, e.g. between 0-states and 1-states.
(18)
(19) Positioning of the reference value Rref for separating the two distributions 101 and 102 is problematic with regard to a high reliability and robustness of the differentiation of the states of the distributions 101 and 102. That is owing to the fact, firstly, that the available read window between the distributions is intended to be divided for the purpose of differentiation into logic 1 and logic 0. Secondly, the unambiguous differentiation between HRS and LRS is made more difficult by the fact that the memory alters its properties as a result of aging and/or under temperature influences: By way of example, the size and/or position of the read window 103 can change as a result. Moreover, it is possible as a result for the distributions 101 and 102 to approach or even overlap one another.
(20) In order to alleviate this problem, complementary memory cells can be used. By way of example, two or a plurality of complementary memory cells can be used. In complementary memory cells, a data bit is represented by (at least) two physical memory cells, which have complementary states in the error-free case. By way of example, if two complementary memory cells A1 and A2 are used to represent a logic data bit, then the following can hold true:
(21) A logic value “0” is present if the following holds true for the complementary memory cells A1 and A2: A1=0 and A2=1.
(22) A logic value “1” is present if the following holds true for the complementary memory cells A1 and A2: A1=1 and A2=0.
(23) In the error-free case, the two memory cells A1 and A2 thus always have complementary values: if the memory cell A1 carries the value 0, then the memory cell A2 carries the value 1, and vice versa.
(24) Complementary memory cells can be used e.g. for arbitrary k-out-of-n codes. The example embodiment explained here describes an example implementation based on a 3-out-of-6 code. A code word of the 3-out-of-6 code has 6 bits (which correspond to physical states of the memory cells), of which 3 always have either the value 0 or the value 1 and the remaining 3 memory cells then have the value complementary thereto.
(25) By way of example, 6 physical memory cells can be provided, which are utilized by means of a complementary approach for coding e.g. 4 bits.
(26)
(27) For a k-out-of-n code it generally holds true that there are
(28)
code words, each having k first values and (n−k) second values. The following holds true
(29)
(30) and thus for the 3-out-of-6 code
(31)
(32) Thus, in the case of the 3-out-of-6 code, there are a total of 20 code words in which three bits have a first value and the other three bits have a second value. These code words can be used to map e.g. 2^4=16 states (that is to say to code 4 bits), wherein 4 of the 20 code words remain unused for this.
(33)
(34)
(35) By way of example, the 0-state (e.g. the LRS) can be measured faster than the 1-state (e.g. the HRS): if, therefore, in accordance with the above example of the 3-out-of-6 code, the 0-state was determined three times, then, in the error-free case, it is already certain upon the determination of the third 0-state that the remaining three states that have not yet been determined must be 1-states. Consequently, the code word can already be determined prematurely as soon as just the three faster 0-states have been determined. There is no need to wait for the arrival of the slower 1-states.
(36) It should be noted that it is assumed here by way of example that the 0-states on average can be determined before the 1-states. In principle, it suffices if a first state can be determined faster than a second state.
(37) One example embodiment for determining three fastest 0-states is described for example in U.S. Pat. No. 9,805,771 B2, which also describe in detail how, proceeding from a hold signal determined by a logic, a multiplicity of latches (e.g. a latch can be realized as a D-type flip-flop, see e.g. https://de.wikipedia.org/wiki/Latch) are halted or the state of these latches is frozen. This mechanism of freezing the latches can also be realized for the present implementation.
(38)
(39) Memory cell 401: State “1”,
(40) Memory cell 402: State “0”,
(41) Memory cell 403: State “1”,
(42) Memory cell 404: State “0”,
(43) Memory cell 405: State “0”,
(44) Memory cell 406: State “1”.
(45) As has already been explained, the 0-state corresponds for example to a low resistance value (LRS) in accordance with the distribution 102 and the 1-state then corresponds to a high resistance value (HRS) in accordance with the distribution 101. The transformation into the time domain has the result that the LRS “0” can be determined earlier than the HRS “1”.
(46) A memory cell in the 0-state (having the value 0) has a lower resistance value than a memory cell in the 1-state (having the value 1); therefore, a higher current flows through the memory cell having the value 0. If said current is integrated over time by means of a capacitance, a voltage results. This voltage rises more steeply with time and reaches a predefined threshold value significantly earlier than if the memory cell had the value 1 and accordingly was more highly resistive (and a lower current thus flowed for the same voltage). It follows from this that memory cells having the value 0 can be determined earlier in time than memory cells having the value 1.
(47) Of course, the memory cell in its 1-state could also have the lower resistance value than the memory cell in its 0-state. In that case, the 1-state would be reached faster and the explanations would be correspondingly reversed. For the sake of clarity, it is assumed below that the memory cell in the 0-state has the lower resistance value.
(48) The illustration chosen in
(49) Accordingly, the measurement begins at a point in time t=t0 (“Start”) and the first three 0-states for the memory cells 404, 402 and 405 were already able to be determined at a point in time t=t1 (“Finish line”). The other memory cells 401, 403 and 406 have not yet reached the finish line, i.e. have not yet reached the voltage threshold value by means of the integration described.
(50) During the measurement, the temporal sequence in which the memory cells reached the finish line (that is to say the threshold value in the case of the integration of the current) is known; that being in the present case: firstly the memory cell 404, then the memory cell 402 and lastly the memory cell 405.
(51) In the present example of the 3-out-of-6 code, exactly 3 of the 6 memory cells have the 0-state and the remaining three memory cells have the 1-state. Since the 0-state can be ascertained earlier than the 1-state, the measurement can be ended as soon as the third (and thus last) 0-state was able to be determined. This holds true under the assumption that the 0-states can actually be determined earlier than the 1-states.
(52) Consequently, the finish line 407 subdivides the possible states of the memory cells 401 to 406 into two ranges, a range 408 for the 1-states and a range 409 for the 0-states. Distinctly more time would thus be required for the memory cells having the 1-state to reach the predefined voltage threshold value. These memory cells (the memory cells 401, 403 and 406 in the example in
(53) To summarize, the code word can thus be determined as soon as the first three states “0” are present. In the example shown in
(54) It is proposed below to combine a plurality of different k-out-of-n codes in order thus to create additional states, such that a total of 2m states are attained, for example, which can be represented by m bits, wherein it advantageously holds true that m is less than n.
Example 1
(55) By way of example, it is proposed to combine the following k-out-of-n codes
(56)
(code is also used as notation for this):
(57) the
(58)
code yields 20 states (code words);
(59) the
(60)
code yields 6 states (code words);
(61) the
(62)
code yields 6 states (code words).
(63) Overall, therefore, this results in
20+6+6=32=2.sup.5
code words, which can be represented by m=5 bits. In this case, it is necessary to be able to distinguish efficiently the code words of the different codes from one another, i.e. the intention is to be able to determine efficiently whether a code word of the
(64)
code, of the
(65)
code or of the
(66)
code is present. In other words, a plurality of different k-out-of-n codes (where a different value for k is used per code) can thus be combined in order to utilize as far as possible all 2m states which can be represented by m bits.
Example 2
(67) In another example, the following k-out-of-n codes are combined:
(68) the
(69)
code yields 70 states (code words);
(70) the
(71)
code yields 28 states (code words);
(72) the
(73)
code yields 28 states (code words);
(74) the
(75)
code yields 1 state (code word);
(76) the
(77)
code yields 1 state (code word).
(78) Overall, therefore, this results in
70+28+28+1+1=128=2.sup.7
code words, which can be represented by m=7 bits. In this example, too, n>m (8>7) once again holds true.
(79) Example 1 is taken as a basis below, in which code words of the
(80)
code, of the
(81)
code and of the
(82)
code are combined.
(83)
(84) A block 501 comprises an associated logic circuit, which is explained in even greater detail below. By way of example, each logic circuit which enables the k fastest 0-states to be identified can be accommodated in the block 501.
(85) Measurement amplifiers SA0 to SA5 supply states S0 to S5 of the memory cells of a memory. These states are fed to the block 501 via latches 505 to 510 (e.g. realized as D-type flip-flops). In the block 501, the k fastest 0-states are detected and the states of the latches 505 to 510 are then frozen (“latched”) via a connection 502.
(86) In the block 501, a hold signal (freeze signal) 502 is formed for the latches 505 to 510 and is passed to the inputs for inputting the hold signal of said latches 505 to 510. The state of a latch is frozen for example if the hold signal assumes the value 1.
(87) As soon as an output signal of the block 501 thus switches over from 0 to 1 via the connection 502, the k fastest 0-states have been detected and the latches 505 to 510 are halted in such a way that the output signals provided by them no longer change. At this “frozen” point in time, therefore, the k fastest 0-states are present at the outputs of the latches 505 to 510. At the outputs of the latches 505 to 510, the states can be tapped off in the form of the bits B0 to B5 and processed further and/or stored.
(88)
(89) The output signal 601 serves as a hold signal of the latches 505 to 510 and is determined on the basis of the six states S0 to S5 of the memory cells. In this case, each state is provided as a signal for a memory cell by the measurement amplifier (sense amplifier) SA0 to SA5, which initially assume the value “1”, for example. Accordingly, the states S0 to S5 correspond to signals (0 or 1) of the 6 memory cells.
(90) The states S0 to S5 are provided in the form of binary values.
(91) In the case of the 3-out-of-6 code, after the third 0-state has arrived, it can be deduced that the remaining states have the value 1. Following this example, the circuit in accordance with
(92) The circuit in accordance with
(93) In this regard, by way of example, the inputs of the NOR gate 602 are connected to the states S0, S1 and S2. Correspondingly, the inputs of the NOR gate 603 are connected to the states S0, S1 and S3. Finally, the inputs of the NOR gate 604 are connected to the states S2, S4 and S5. The inputs of the NOR gate 605 are connected to the states S3, S4 and S5.
(94) Consequently, each of these NOR gates 602 to 605 yields the value 1 at its output only if all of its inputs have the value 0.
(95) The subsequent example implementation comprising five NOR gates 606 to 607 (each having four inputs) and one NAND gate 608 (having five inputs) corresponds to an ORing of the outputs of all the NOR gates 602 to 605 to form the output signal 601.
(96) In this regard, in
(97) The output signal 601 has the value 1 only if three fastest bits have been identified. If three fastest bits have not yet been identified, then all the output signals of the NOR gates 602 to 605 have the value 0, the outputs of the NOR gates 606 to 607 are all 1 and the output signal 601 has the value 0. However, as soon as the value 0 is present at three of the six possible states S0 to S5, the relevant NOR gate 602 to 605, which maps exactly this combination of three at its inputs, switches from 0 to 1 at its output; the output of the relevant NOR gate 606 to 607 thus also switches from 1 to 0, as a result of which the output signal 601 of the NAND gate 608 toggles from 0 to 1.
(98) Generally, the identification of the k fastest 0-states can be carried out by means of a circuit having in a first level a number of NOR gates which corresponds to the k-out-of-n possible combinations. In this case, each of the NOR gates has k inputs and each of the NOR gates maps at its inputs one of the k-out-of-n possible combinations in which k 0-states can occur. The outputs of the NOR gates are then logically ORed to form an output signal. By way of example, this logic ORing can be realized by a two-stage use of NOR gates and a NAND gate, as shown in
(99) A plurality of such logic circuits can be used to determine different numbers k1, k2, etc. of 0-states. Whenever the output signal of the respective logic circuit has the value 1, the 0-states are registered. It is thus possible to determine which k1, k2, etc. 0-states occur or have occurred.
(100) In accordance with the above example, the three fastest bits, the (one) fastest bit and the five fastest bits are thus intended to be detected. A circuit arrangement in accordance with
(101) The state of the latches 505 to 510 in
(102) If the combinational circuit is realized as in
(103) In comparison with the point in time t, at which the three fastest zeros are present at three inputs of the latches 505 to 510, the values present at the inputs of the latches 505 to 510 are frozen only at the point in time t+Δt.
(104) If a further zero, for example a fourth zero, is then present at one of the inputs of the latches 505 to 510 at the point in time t+Δt, then this fourth zero, too, is disadvantageously stored in one of the latches. Thus, as a result, erroneously, no code word of the 3-out-of-6 code is stored.
(105) Consequently, on account of the time delay Δt, under certain conditions, it is not possible to differentiate the first three zeros from the first four zeros.
(106) Examples that enable improved differentiability are shown below.
(107)
(108) For this purpose, the circuit 701 comprises a combinational logic circuit, in particular, which, in accordance with the present example, provides a code word of a 3-out-of-6 code at its output only if a code word of the 3-out-of-6 code is also present at its input. By contrast, if no code word of the 3-out-of-6 code is present at the input of the circuit 701, then the circuit 701 provides at its output a predefined signal (e.g. as a predefined bit sequence), which itself is not a code word of the 3-out-of-6 code. The predefined signal is “000000”, for example.
(109) This approach has the advantage that the fastest three 0-values can be detected with the aid of the circuit 701 even if a further 0-value follows the third fastest 0-value with a very short delay. If a fourth 0-value is present at one of the inputs of the circuit 701, then the values 0 . . . 0 are output by the circuit 701.
(110) This approach has the advantage that the fastest three 0-values can be detected (almost) without delay with the aid of the circuit 701. The output signal of the circuit 701 is “000000” in this example if one of the following conditions applies:
(111) there are more than three 1-values (there are fewer than three 0-values),
(112) there are more than three 0-vlaues (i.e. there are fewer than three 1-values).
(113) The latches 710 to 715 connected downstream correspondingly provide at their outputs the bits B0 to B5 in accordance with the signals provided by the circuit 701.
(114)
(115) By way of example, the measurement amplifiers SA0 to SA5 supply the following values in a temporal sequence from t1 to t7:
(116) TABLE-US-00001 SA.sub.5 SA.sub.4 SA.sub.3 SA.sub.2 SA.sub.1 SA.sub.0 t1 1 1 1 1 1 1 t2 1 1 1 1 0 1 t3 1 1 1 1 0 0 t4 1 0 1 1 0 0 t5 1 0 1 0 0 0 t6 0 0 1 0 0 0 t7 0 0 0 0 0 0
(117) Consequently, the 1-values initially predefined deterministically in this example gradually toggle to the value 0. During a time duration 803, the values 101100 (in the order A5 . . . A0), that is to say a code word of the 3-out-of-6 code, are present as output signal at the terminals A0 to A5. For all other values, the output signal is 000000. The circuit 701 can comprise a DNF logic (in this respect, see further below), which assigns the input signals coming from the measurement amplifiers SA0 to SA5 correspondingly to the terminals A0 to A5. For this purpose, the circuit 701 can comprise a multiplicity of logic gates or an assignment table (lookup-table).
(118) The arrangement of latches 710 to 715 ensures that the three fastest 0-states in this example, which are output by way of example as 1-values at the terminals A0 to A5, are provided as the bits B0 to B5 permanently during a read process.
(119) It should be noted that the input signals 801 are input signals of a memory area having for example 6 memory cells which are accessed by read access. After the read process requiring a time duration 804, for example, the latches 710 to 715 are reset again, such that a new read process can be carried out.
(120) Accordingly, a plurality of prelogic circuits can be provided, which e.g. in parallel effect read access to the same memory cells and detect different code words.
(121) In line with
(122) In this respect,
(123) This approach can be extended correspondingly to more than three states per memory cell.
(124)
(125) By way of example, a code shall be assumed in which in each case 2 of the 6 memory cells have the same state A, B and C. There is a total of 90 possibilities for distributing respectively two states A, respectively two states B and respectively two states C among six places.
(126) Said 90 possibilities thus represent 90 possible code words of the code used here by way of example having the ternary components A, B and C, wherein a 6-component code word has two components having the value A, two components having the value B and two components having the value C. In this case, A, B and C can each assume one of three different values.
(127) Consequently, there are various possibilities for coding for example 64 bit combinations, corresponding to 6-bit values, as code words with 90 code words.
(128) Consequently, the 90 code words can be assigned to the 26=64 possible (binary) bit combinations in various ways.
(129) In
(130) The circuit 901 is a prelogic which determines the positions of the two fastest cells (i.e. of those memory cells which have the state A with the smallest cell resistance Rcell), and the circuit 902 is a prelogic which determines the positions of the four fastest cells (i.e. of those memory cells which have the state A and the state B, wherein the state B as described is characterized in that the affected cells have the second smallest cell resistance Rcell). Two memory cells remain, which can automatically be allocated the state C.
(131) In accordance with the illustration in
(132) An arrangement of latches 903 is disposed downstream of the circuit 901, said arrangement storing the two fastest 0-values.
(133) Correspondingly, an arrangement of latches 904 is disposed downstream of the circuit 902, said arrangement storing the fastest four 0-values.
(134) It should be noted that two individual fastest 0-values necessitate that the remaining four values be logic 1. Furthermore, the detection of four 0-values means that two 1-values are furthermore present. Consequently, the states A, B and C, as described above, can be differentiated from one another.
(135) A logic circuit 905 determines the allocation of the six memory cells by means of the two fastest 0-values (at the output of the arrangement of latches 903) and the fastest four 0-values (at the output of the arrangement of latches 904). Said allocation can be output correspondingly directly or in the form of a further coding at outputs 911 to 916 of the logic circuit 905. Furthermore, the logic circuit 905 has an output 906 used to indicate whether or not the values present at the outputs 911 to 916 are valid. By way of example, the output 906 can have the value 0 if the values at the outputs 911 to 916 are invalid. The output 906 correspondingly has the value 1 if the values at the outputs 911 to 916 are valid.
(136) The table below shows by way of example, on the basis of the values provided by the measurement amplifiers SA0 to SA5, the values at the outputs of the arrangements 903 and 904 and the values at the output of the logic circuit 905:
(137) TABLE-US-00002 Values at the output of the Values at the Values at the Values at the Values measurement output of the output of the output of the at the amplifiers arrangement arrangement logic circuit output Time SA.sub.5 to SA.sub.0 903 904 905 906 t1 111111 000000 000000 DC invalid t2 111101 000000 000000 DC invalid t3 111100 111100 000000 DC invalid t4 101100 111100 000000 DC invalid t5 101000 111100 101000 010001 valid (CBCBAA) t6 001000 111100 101000 010001 valid (CBCBAA) t7 000000 111100 101000 010001 valid (CBCBAA)
(138) The values at the output of the logic circuit 905 are invalid at the points in time t1 to t4 (this is indicated by “DC” standing for “don't care”) and are valid starting from the point in time t5. Consequently, by means of the output 906, it is possible to decide whether or when a valid signal is present at the outputs 911 to 916 and can accordingly be processed further.
(139) It should be noted here that the value supplied by the measurement amplifier SA0 corresponds to the least significant bit (LSB).
(140) The following sequence of 0-values results from the second column of the table above:
(141) at the bit position 1 at the time t2,
(142) at the bit position 0 at the time t3,
(143) at the bit position 4 at the time t4,
(144) at the bit position 2 at the time t5,
(145) at the bit position 5 at the time t6 and
(146) at the bit position 3 at the time t7.
(147) Starting from the time t3, the first two 0-values are identified at the bit positions 0 and 1 and the signal 111100 (having two 0-values) is present at the output of the arrangement of latches 903.
(148) Starting from the time t5, the first four 0-values are identified at the bit positions 0, 1, 4 and 2 and the signal 101000 (having four 0-values) is present at the output of the arrangement of latches 904.
(149) At the same time, which two bit positions are the slowest bit positions is determined unambiguously (in the example the bit positions 5 and 3, which still have 1-values at the time t5).
(150) It is thus possible for the logic circuit 905 to determine a signal CBCBAA already starting from the point in time t5, as is shown in
(151) By way of example, 64 possible allocations of 6 bits can be mapped onto 64 of the 90 code words possible in total (see explanations above), as is shown in
(152) In accordance with the table shown in
(153)
(154) The circuit 1001 comprises a combinational logic circuit, which, in accordance with the present example, transforms a code word e.g. of a 3-out-of-6 code into a predefined bit sequence—4 bits in the present example. The latches 1010 to 1013 connected downstream then provide the corresponding bits B0 to B3 at their outputs.
(155) One example transformation of the input signals present at the circuit 1001 into the bits B0 to B3 could be implemented as follows:
(156) TABLE-US-00003 Values at the output of the Values of the measurement amplifiers SA.sub.0 bits B0 to B3 to SA.sub.5 (SA.sub.0 corresponds to (B0 is the least the least significant bit): significant bit): SA.sub.5 . . . SA.sub.0 B3 . . . B0 1 000111 0000 2 001011 0001 3 010011 0010 4 100011 0011 5 001101 0100 6 010101 0101 7 100101 0110 8 011001 0111 9 101001 1000 10 110001 1001 11 001110 1010 12 010110 1011 13 100110 1100 14 011010 1101 15 101010 1110 16 110010 1111 17 011100 0000 18 101100 0000 19 110100 0000 20 111000 0000 Other 0000
(157) There are 20 code words of the 3-out-of-6 code. Only 16 code words thereof can be assigned to different 4-bit values. Four code words of the 3-out-of-6 code remain for which no 4-bit value not yet used exists (rows 17 to 20 in the table above). For these 4 code words of the 3-out-of-6 code and for all other bit combinations at the input of the circuit 1001, the transformation yields the bit sequence 0000 as output signal.
(158) Optionally, the circuit 1001 can also be extended in such a way that at least one additional parity bit is provided: by way of example, a parity bit “0” can be added in the case of an odd number of 1-values, and otherwise a parity bit “1”.
(159) Each of the circuits provided as prelogic here can be implemented in such a way that the transformation that is to be carried out by the prelogic is implemented by means of a table or some other specification. Moreover, a logic circuit can implement the transformation by virtue of the transformation specification being realized by means of a disjunctive normal form (DNF) on the basis of gates (AND, OR, NOR gates) (see e.g. https://de.wikipedia.org/wiki/Disjunktive_Normalform).
(160) By way of example, it is evident from the table above that the output bit B0 (here as LSB on the far right) has the value 1 if the outputs of the measurement amplifiers assume the values shown in rows 2, 4, 6, 8, 10, 12, 14 or 16. Accordingly, the allocations shown in said rows are ORed in accordance with the DNF as follows:
B0=(¬x5∧¬x4∧x3∧¬x2∧x1∧x0)∨∨(x5∧¬x4∧¬x3∧¬x2∧x1∧x0)∨∨(¬x5∧x4∧¬x3∧x2∧¬x1∧x0)∨∨(¬x5∧x4∧x3∧¬x2∧¬x1∧x0)∨∨(x5∧x4∧¬x3∧¬x2∧¬x1∧x0)∨∨(¬x5∧x4∧¬x3∧x2∧x1∧¬x0)∨∨(¬x5∧x4∧x3∧¬x2∧x1∧¬x0)∨∨(x5∧x4∧¬x3∧¬x2∧x1∧¬x0),
(161) wherein
(162) x0 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA0,
(163) x1 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA1,
(164) x2 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA2,
(165) x3 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA3,
(166) x4 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA4,
(167) x5 corresponds to that input of the circuit 1001 which is connected to the measurement amplifier SA5.
(168) This can accordingly be carried out correspondingly for the remaining bits B1 to B3. As a result, four Boolean equations defining the values of the bits B0 to B3 on the basis of the input values x0 to x5 are thus obtained. These relationships can be implemented in a simple manner by means of gate circuits.
(169) Example system implementation and further advantages
(170)
(171) The prelogic with latch arrangement 1112 is coupled to a system bus 1114 via an error processing 1113.
(172) The error processing 1113 can use an error code, for example. The error code can be an error detecting code that has check bits formed from the bits from different groups of n bits. In one embodiment, the check bits are formed by means of a bit-group-correcting code. The error processing 1113 can comprise, as explained, error detection and/or error correction.
(173) One option is to realize the error handling for the bits from groups of n bits and to use a byte-error-correcting and/or byte-error-detecting code, for example a known Reed-Solomon code.
(174) A further option is to realize the error handling for the bits of the bit groups and to use a bit-error-correcting and/or bit-error-detecting code.
(175) In addition, a multilevel memory 1115 can be coupled via measurement amplifier 1116 to a prelogic with latch arrangement 1117, which supplies bits to an error processing 1118. The error processing 1118 is in turn coupled to the system bus 1114.
(176) The measurement amplifier can access the memory in each case in groups of n bits. A bit sequence read from n memory cells in each case can thus be processed further as a group of n bits. In the error-free case, each of the bit sequences represents a code word of a k-out-of-n code. By way of example, n can be equal to 6 or equal to 8.
(177) Although the disclosure has been more specifically illustrated and described in detail by means of the at least one example embodiment shown, nevertheless the disclosure is not restricted thereto and other variations can be derived therefrom by the person skilled in the art, without departing from the scope of protection of the disclosure.