**POWER AND PIN EFFICIENT CHIP-TO-CHIP COMMUNICATIONS WITH COMMON-MODE REJECTION AND SSO RESILIENCE**

SHOKROLLAHI, Amin (Lausanne, CH-1015, CH)

CRONIE, Harm (Lausanne, CH-1015, CH)

SHOKROLLAHI, Amin (Lausanne, CH-1015, CH)

**H03M5/04**US20110299555A1 | 2011-12-08 |

WHAT IS CLAIMED IS 1. A method of transmitting information over a data bus capable of transmission of data in physical form, the method comprising: receiving a first set of physical signals representing the information; mapping the first set of physical signals to a codeword of a spherical code, wherein a codeword is representable as a vector of a plurality of components and the data bus uses at least as many signal lines as components of the vector that are used; mapping the codeword to a second set of physical signals, wherein components of the second set of physical signals can have values from a set of component values having at least three distinct values for at least one component; and providing the second set of physical signals for transmission over the data bus in a physical form. 2. The method of claim 1, wherein the second set of physical signals are a set of voltage signals. 3. The method of claim 1, wherein the second set of physical signals are a set of current signals. 4. The method of claim 1, wherein the spherical code is a group code. 5. The method of claim 4, wherein the group code is defined by a binary linear error-correcting code. 6. The method of claim 5, wherein the binary linear error-correcting code is a Hamming code. 7. The method of claim 5, wherein the binary linear error-correcting code is a Hadamard code. 8. The method of claim 4, wherein the group code is a permutation modulation code. 9. The method of claim 8, wherein the permutation modulation code is a sparse permutation modulation code. 10. The method of claim 1, wherein the second set of physical signals is formed using an identity transform. 11. The method of claim 1 , wherein the second set of physical signals is formed using an orthogonal transform. 12. The method of claim 1 1, wherein the orthogonal transform is a Hadamard transform. 13. The method of claim 1 , wherein the components of the codewords of the spherical code sum to zero. 14. The method of claim 1, wherein the components correspond to real numbers. 15. The method of claim 1, wherein the components correspond to complex numbers. 16. The method of claim 1 , wherein the vector comprises at least four components and a sphere of at least four dimensions is used for the spherical codes. 17. The method of claim 1, wherein some codewords have negative values for at least some components and some have positive values for at least some other components. 18. The method of claim 1 , wherein the spherical code is a sparse permutation modulation code and the operation of mapping the first set of physical signals to a codeword of the permutation modulation code further comprises: accessing a storage location for a generating vector; selecting a distinguished position of the generating vector of the permutation modulation code; mapping the first set of physical signals to a first sequence of bits; subdividing the first sequence of bits into a second sequence of bits and a third sequence of bits; comparing the second sequence and the third sequence and putting a first predetermined value into the distinguished position of the generating vector if the second sequence and third sequence satisfy a predetermined relation, and putting a second predetermined value into a second position of the generating vector different from the distinguished position, wherein the second position is obtained from the second sequence using a predetermined process; when the second sequence and third sequence do not satisfy the predetermined relation, putting a first predetermined value into a first position of the generating vector obtained from the second sequence, and putting a second predetermined value into a second position of the generating vector obtained from the third sequence; and putting a third predetermined value into all the positions of the generating vector that are not equal to the first position or the second position. 19. The method of claim 18, wherein the first predetermined value is the negative of the second predetermined value. 20. The method of claim 18, wherein the third predetermined value is zero. 21. The method of claim 18, wherein the sum of the first predetermined value, the second predetermined value, and n times the third predetermined value is zero wherein n+2 is the length of the generating vector. 22. The method of claim 18, wherein the distinguished position is the last position. 23. The method of claim 18, wherein the second sequence comprises a first half of the sequence of bits and the third sequence comprises a second half of the sequence of bits. 24. The method of claim 18, wherein the predetermined relation between the second sequence and the third sequence is an equality relation. 25. The method of claim 18, wherein the first position is obtained from the second sequence by interpreting the second sequence as a binary representation of the first position. 26. The method of claim 18, wherein the second position is obtained from the third sequence by interpreting the third sequence as a binary representation of the second position. 27. A method of receiving information over a data bus capable of transmission of data in physical form, the method comprising: receiving a first set of physical signals in physical form; determining from the first set of physical signals a second set of physical signals representing a codeword of a spherical code, wherein the codeword is representable as a vector of a plurality of components which is at most as large as the number of signal lines of the bus; and mapping the second set of physical signals to a third set of physical signals representing an estimate of the information transmitted on the bus. 28. The method of claim 27, wherein the first set of physical signals are a set of voltage signals. 29. The method of claim 27, wherein the first set of physical signals are a set of current signals. 30. The method of claim 27, wherein the spherical code is a group code and the operation of determining the second set of physical signals further comprises determining an element of the spherical code that has the shortest distance from the plurality of the first set of physical signals. 31. The method of claim 30, wherein the group code is defined by a binary linear error-correcting code and the operation of determining an element of the spherical code comprises a decoding process in the binary linear error-correcting code. 32. The method of claim 31 , wherein the binary linear error-correcting code is a Hamming code. 33. The method of claim 32, wherein the binary linear error-correcting code is a Hadamard code. 34. The method of claim 27, wherein the group code is a permutation modulation code and the process of determining a codeword in the spherical code further comprises: permuting the plurality of the first physical signals to obtain a sorted set of physical signals and a corresponding permutation; and applying the corresponding permutation to the generating vector of the permutation modulation code. 35. The method of claim 34, wherein the permutation modulation code is a sparse permutation modulation code. 36. The method of claim 27, wherein the third set of physical signals is formed using an orthogonal transform. 37. The method of claim 36, wherein the orthogonal transform is a Hadamard transform. 38. The method of claim 27, wherein the components of the codewords of the spherical code sum to zero. 39. The method of claim 27, wherein the components correspond to real numbers. 40. The method of claim 27, wherein the components correspond to complex numbers. 41. The method of claim 27, wherein the codewords of the spherical code comprise at least four components and a sphere of at least four dimensions is used for the spherical codes. 42. The method of claim 27, wherein some codewords have negative values for at least some components and some have positive values for at least some other components. 43. The method of claim 27, wherein the spherical code is a sparse permutation modulation code and the operation of mapping the second set of physical signals to a third set of physical signals comprising the information further comprises: accessing a storage location for the plurality of the second set of physical signals; determining two positions in which the plurality of the second set of physical signals is not equal to a predetermined value; if none of the two determined positions is a distinguished position, determining a first bit-sequence from the first determined position and a second bit-sequence from the second determined position; if one of the two determined positions is a predetermined position, determining a first bit-sequence from the other determined position, and a second bit-sequence from the first bit-sequence such that the first and the second bit-sequence satisfy a predetermined relations; and returning the concatenation of the first and the second bit-sequence. 44. The method of claim 43, wherein the predetermined value is zero. 45. The method of claim 43, wherein the distinguished position is the last position. 46. The method of claim 43, wherein the predetermined relation between the second sequence and the third sequence is an equality relation. 47. The method of claim 43, wherein the first and the second bit-sequence are obtained as binary representations of the first and the second determined positions. |

CROSS REFERENCES

[0001] The following prior applications are herein incorporated by reference in their entirety for all purposes:

[0002] - U.S. Patent Application No. 12/784,414 filed May 20, 2010 naming Harm Cronie and Amin Shokrollahi and entitled "Orthogonal Differential Vector Signaling" (referred to herein as "Cronie I"); and

[0003] - U.S. Provisional Patent Application No. 61/351,845 filed June 4, 2010 naming Harm Cronie and Amin Shokrollahi entitled "Error Control Coding for Differential

Signaling" (referred to herein as "Cronie Π").

[0004] The following references are cited in this application using the labels set out in brackets:

[0005] [Slepian] Slepian, D., "Permutation Modulation", Proceedings of the IEEE, Vol. 53, No. 3, pp. 228-236 (March 1965);

[0006] [Cornelius] U.S. Patent 6,661,355 to William Cornelius and William Althas entitled "Methods and Apparatus for Constant- Weight Encoding & Decoding" (2003);

[0007] [Stan-Burelson] Stan, M., and Burelson, W., "Bus-Invert Coding for Low-power I/O", IEEE Transactions on VLSI systems, Vol. 3, No. 1 , pp. 49-50 (March 1995); and

[0008] [Tallini] Tallini, L., and Bose, B., "Transmission Time Analysis for the Parallel Asynchronous Communication Scheme", IEEE Transactions on Computers, Vol. 52, No. 5, pp. 558-571 (2003).

FIELD OF THE INVENTION

[0009] The present invention relates to communications in general and in particular to transmission of signals capable of conveying information between integrated circuits. BACKGROUND OF THE INVENTION

[0010] When an electronic device contains more than one integrated circuit ("IC"), signals typically need to be conveyed from chip to chip over a communication bus. Communication may also take place over a communication bus between two ICs that are part of two different devices. In either case, the communication bus might comprise one or more wires. The ICs might be mounted on a printed circuit board ("PCB") with the wires being striplines or microstrips. For communication between devices or boards, the wires might be the copper wires of a cable or optical fibers connecting the devices/boards. As is well known, the communication requires electrical energy and can generate electrical noise and errors can occur when the conditions of communication are not ideal.

[0011] For an increasing number of applications, the speed of the communication bus is a limiting factor. One way to increase the speed is to increase the number of wires that make up the bus. However, this also increases the number of pins of the ICs that are needed and many times, IC pins are a scarce resource. Another limiting factor is the power consumption of the bus and the circuitry driving the bus. Simply increasing the transmit power might not result in a better performance of the bus, because that might increase the amount of noise and lower performance.

[0012] Signals transmitted on a communication bus are subjected to several types of noise. One source of noise is thermal noise that can be modeled as independent Gaussian noise. The resilience against Gaussian noise can be improved by increasing signal swings or by the use of well-designed signaling schemes. Another type of noise is interference that may result from neighboring wires of the communication bus. Some noise and interference has a component that is common to the several wires of the bus and this noise is called

common-mode noise. Another source of noise is simultaneous switching output ("SSO") noise that is caused by a bus driver current that varies in time. SSO noise can cause major problems in modern high-speed bus communication systems. Yet another source of noise is crosstalk noise, which is caused by interference of the signals on the different wires of the same bus. Crosstalk noise is one of the main sources of noise for high-frequency buses and is hard to eliminate by just increasing the energy of the signals on the bus, since an increase of energy leads directly to an increase of interference to nearby wires on the bus, and will lead to even worse crosstalk noise. [0013] There are several approaches to signaling for chip-to-chip communications that may address one or more of the above constraints.

[0014] One approach is single-ended signaling where an information-carrying signal is transmitted on a single wire with respect to a common reference. Although single-ended signaling is efficient in terms of the number of wires used, it is susceptible to common-mode noise and it introduces SSO noise. Furthermore, for the detection of a single-ended signal, a reference is required at the receiver. Inaccuracies in the generation of the reference signal lead to higher error rates of the communication system. Hence, a signaling method that does not require a reference is preferred over a signaling method that does require one.

Single-ended signaling is also not very efficient in terms of transmission power that is required to achieve certain Gaussian noise resilience, and it is also not efficient in terms of crosstalk noise.

[0015] Another signaling method is differential signaling. In differential signaling, an information-carrying signal is transmitted on a pair of wires. The original

information-carrying signal is encoded into the difference between the signals transmitted on the pair of wires. The advantage of differential signaling is that it rejects noise that is common on both wires.

[0016] For chip-to-chip communications, the information-carrying signal is often a non-return-to-zero ("NRZ") encoded signal and, as such, differential signaling does not introduce SSO. Another advantage is that differential signaling is less sensitive to interference and crosstalk. The reason for this is interference and crosstalk mainly couple into the common mode and are cancelled at the receiver. Moreover, in terms of resilience against Gaussian noise, differential signaling is more power-efficient compared to single-ended signaling. The main disadvantage of differential signaling is that it uses twice the number of pins compared to differential signaling.

[0017] The ratio between the number of bits transmitted in a cycle of time T and the number of bus wires is referred to as the pin efficiency of the bus. While communication buses based on differential signaling provide good noise resilience, their pin efficiency is low. Differential signaling is more power efficient than single-ended signaling but still a substantial amount of the power consumption of a bus communication system is used in the drivers of the bus wires. [0018] One approach to addressing this issue is explained in Cronie I, which describes a method for bus communication that achieves a higher pin-efficiency than differential signaling while using less transmit power and provides resilience to common-mode noise and SSO noise. One approach described therein, referred to as "Orthogonal Differential Vector Signaling" or "ODVS", achieves a pin-efficiency that is close to one when the number of wires is large. In some applications, it is preferable to increase the noise resilience of a communication system as described above at the expense of the pin-efficiency.

[0019] Cronie II teaches a method referred to as "Coded Differential Vector Signaling" or "COVECS" that uses methods of forward error correction to use some of the pins saved by ODVS to increase the noise resilience.

[0020] While the methods of Cronie I and Cronie II offer substantial improvements regarding the tradeoff of pin-efficiency and noise resilience as compared to other approaches, there are some applications wherein additional improvements are possible. For example, since embodiments of ODVS might use a number of wires that are a power of two, applications where that is not a convenient number of wires might need another approach.

[0021] With the methods of Cronie II, improving the noise resilience of the system might use up a significant number of pins saved by ODVS and the circuitry needed for encoding and decoding according to the teachings of Cronie II may be complex and may not be applicable in situations where the data transfer is of very high rate, thus requiring another approach.

[0022] Another application is where the pin-efficiency needs to exceed one. What is needed is a method that provides a wider range of possible pairs of pin-efficiency and noise resilience, allows for very efficient encoding and decoding, and leads to new tradeoffs between pin-efficiency and noise resilience.

BRIEF SUMMARY OF THE INVENTION

[0023] In methods and apparatus for bus communications according to aspects of the present invention, a first set of physical signals representing the information to be conveyed over the bus is provided, and mapped to a codeword of a spherical code, wherein a codeword is representable as a vector of a plurality of components and the bus uses at least as many signal lines as components of the vector that are used, mapping the codeword to a second set of physical signals, wherein components of the second set of physical signals can have values from a set of component values having at least three distinct values for at least one component, and providing the second set of physical signals for transmission over the data bus in a physical form.

[0024] In an specific embodiment, the spherical code is a sparse permutation modulation code and the operation of mapping the first set of physical signals to a codeword of the permutation modulation code further comprises accessing a storage location for a generating vector, selecting a distinguished position of the generating vector of the permutation modulation code, mapping the first set of physical signals to a first sequence of bits, subdividing the first sequence of bits into a second sequence of bits and a third sequence of bits, comparing the second sequence and the third sequence and putting a first predetermined value into the distinguished position of the generating vector if the second sequence and third sequence satisfy a predetermined relation, and putting a second predetermined value into a second position of the generating vector different from the distinguished position, wherein the second position is obtained from the second sequence using a predetermined process, when the second sequence and third sequence do not satisfy the predetermined relation, putting a first predetermined value into a first position of the generating vector obtained from the second sequence, and putting a second predetermined value into a second position of the generating vector obtained from the third sequence, and putting a third predetermined value into all the positions of the generating vector that are not equal to the first position or the second position.

[0025] The following detailed description together with the accompanying drawings will provide a better understanding of the nature and advantages of the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Fig. 1 illustrates an environment in which the present invention might be used.

[0027] Fig. 2 is a schematic diagram illustrating the communication bus of Fig. 1 in greater detail.

[0028] Fig. 3 is a schematic diagram illustrating the environment of Fig. 1 wherein a vector signal encoder and a vector signal decoder are used.

[0029] Fig. 4 is a signal plot illustrating a signaling scheme that might be used on the bus lines of Fig. 3. [0030] Fig. 5 is a block diagram illustrating the vector signal decoder of Fig. 3 in greater detail.

[0031] Fig. 6 is a block diagram illustrating the vector signal encoder of Fig. 3 in greater detail.

[0032] Fig. 7 is a block diagram illustrating functionality of the code map unit of Fig. 6.

[0033] Fig. 8 is a block diagram illustrating functionality of an alternative code map unit that can be used in the vector signal encoder of Fig. 6.

[0034] Fig. 9 provides examples of spherical codes as might be used by the code map unit of Fig. 7; Fig. 9a gives an example of spherical codes in three dimensions and size 8; Fig. 9b gives an example of spherical codes in three dimensions and size 16.

[0035] Fig. 10 is a block diagram illustrating functionality of the transform unit of Fig. 6.

[0036] Fig. 1 1 is an illustration of an example Hadamard matrix that might be used by the transport unit of Fig. 10.

[0037] Fig. 12 is a block diagram illustrating an embodiment of the vector signal encoder of Fig. 3 in greater detail.

[0038] Fig. 13 is a flowchart of an example encoding process for encoding input bits into a vector signal that can be used on the communication bus.

[0039] Fig. 14 is a flowchart of another example encoding process for encoding input bits into a vector signal that can be used on the communication bus.

[0040] Fig. 15 is a flowchart of an example of a lower pin-efficiency encoding process for encoding input bits into a vector signal that can be used on the communication bus.

[0041] Fig. 16 is a flowchart of another example of a lower pin-efficiency encoding process for encoding input bits into a vector signal that can be used on the communication bus.

[0042] Fig. 17 is a flowchart illustrating an encoding process for a PM code.

[0043] Fig. 18 is a chart of values that might be stored in memory or generated in various steps of the process illustrated in Fig. 17, for various example inputs.

[0044] Fig. 19 is a flowchart illustrating a demodulating process for a PM code.

[0045] Fig. 20 is a flowchart illustrating a decoding process for a PM code. [0046] Fig. 21 is a table of values that might occur during the decoding process of Fig. 20.

[0047] Fig. 22 illustrates an encoding procedure for sparse PM codes; in the procedure of Fig. 22a, the number n is not a power of 2, and m is chosen such that 2m- 1 < n < 2m; in the procedure of Fig. 22b, the number n is a power of 2 and m is chosen such that n = 2m+l .

[0048] Fig. 23 illustrates a decoding procedure for sparse PM codes, wherein the number n is assumed to not be a power of 2, and m is chosen such that 2m- 1 < n < 2m.

[0049] Fig. 24 illustrates a decoding procedure for sparse PM codes, wherein the number n is assumed to be a power of 2, and m is chosen such that n = 2m+l .

[0050] Fig. 25 is a table of values that might be used for sparse PM coding.

[0051] Fig. 26 is a block diagram illustrating an embodiment of the vector signal encoder of Fig. 3 that uses multilevel PM codes.

DETAILED DESCRIPTION OF THE INVENTION

[0052] Fig. 1 illustrates an environment in which the present invention might be used. As illustrated there, an information source 1 10 provides a sequence of k information symbols periodically, at an interval of T seconds, for example. Without loss of generality, assume that these information symbols are bits. These bits are to be transmitted by a bus transmitter 120 over a communication bus 130 to a bus receiver 140 at a destination 150. The

communication bus 130 comprises n physical wires 135.

[0053] In the case where the n physical wires are easily allowed for and the transmission of k/Tn bits per second on each wire does not create noise problems, no special circuit would be needed - each T seconds, kin bits could be placed on a wire and sent from source to destination. However, there are many cases where the number of physical wires needs to be kept low and/or simply transmitting whatever bits are present at the source would cause noise sufficient to introduce errors for the values of k/T that are needed for the particular use.

[0054] Examples of communication bus 130 might include a bus between a processor and memory, wherein the physical wires take the form of striplines or microstrips on a printed circuit board ("PCB") and the processor is the source for some information bits (while the memory is the destination) and the memory is the source for other information bits (while the processor is the destination). Another example of a communication bus 130 is a set of wires connecting two devices. Generally, the methods disclosed herein are applicable for a wide variety of communication buses. Some buses operate using electrical signals that are added to the wires by controlling voltage changes, whereas others are added to the wires by controlling current changes, and in yet others, the wires conduct light (and possibly not electricity) and the signals are optical signals imposed on optical fibers or other

light-conducting medium. Striplines and microstrips typically operate with electrical signals.

[0055] In operation, the information bits of source 110 are fed to a bus transmitter 120, which has the task of transforming those bits into a set of physical signals that can be transmitted on bus 130. At the other end of bus 130, bus receiver 140 maps the received signals back to information bits for use at destination 150.

[0056] Fig. 2 is a schematic diagram illustrating communication bus 130 in greater detail. As illustrated there, bus 130 comprises / wires 220. Bus transmitter 120 generates a set of n waveforms 240, which are labeled x _{\ }(f) to x„(f) (and collectively as x(t)) and can represent voltage signals, current signals and/or optical signals. In this example, n is some integer greater than 5, but it should be understood that it could be four, eight, 64, 256 or some integer that is not a whole power of two, for example three. The waveforms 250 that are received at bus receiver 140 might not be exactly the same as waveforms 240, due to shifting of signals, amplification, shifting, noise and other effects. The received signals are labeled herein as y _{\ }(t) to y _{n }(t) (and collectively as y(t)). The main task of the bus receiver is to recover the original information bits based on the waveforms y _{\ }(t) to y _{n }(t). To facilitate this process, the bus transmitter 120 and the bus receiver 140 may perform several tasks such as amplification, filtering, demodulation, synchronization, equalization, and bus termination.

Noise Effects

[0057] As explained herein, there are novel techniques described here for addressing issues of common-mode noise rejection, resilience against SSO noise, resilience against Gaussian noise, and favorable properties with respect to crosstalk noise.

[0058] Common-mode Noise: Where there is a noise signal that disturbs x(t) such that each wire is affected in the same way, the received signals might be represented as .

y t) = {i) + c(t), for = 1 , 2, where c(t) denotes the common-mode noise signal. Of course, it is assumed that the bus receiver does not exactly know c(t).

[0059] SSO Noise: Simultaneous Switching Output ("SSO" noise) is typically caused when the circuitry that drives the bus wires has a power consumption that varies over time. The instantaneous power consumption, P(t), of driver circuitry is typically proportional to the sum of the squares of the amplitudes of the signals on each individual wire.

Model of Vector Signal Encoder that Addresses Common-Mode and SSO Noise

[0060] As explained elsewhere herein, a vector signal encoder that obtains some of information bits to be conveyed and generates a signal for a plurality of lines, i.e., a "vector signal", can often provide common-mode noise resilience by having the sum of the components of the vector signal sum to zero, i.e., by satisfying Equation 1.

[0061] Where the vector signal might contribute to SSO noise, this can be reduced by maintaining a constant total power consumption of the bus drivers, which can be expressed as shown in Equation 2, wherein _{0 } is a constant related to the energy of the signals.

(Eqn. 2)

Example Vector Signal Encoder

[0062] Fig. 3 is a schematic diagram illustrating use of a vector signal encoder and a vector signal decoder. Bus transmitter 120 might include a vector signal encoder 310 and a bus driver 320, while bus receiver 140 might include a vector signal decoder 340 and a bus receiver 330. Vector signal encoder 310 preferably encodes the information provided by source 1 10 such that Equations 1 and 2 hold.

[0063] In one example, vector signal encoder 310 uses a form of vector pulse amplitude modulation, wherein a basic pulse shape, /?(/), with a finite duration of T seconds is defined and the amplitude of this pulse is modulated according to a signaling scheme. Two examples of pulse shapes are shown in Fig. 4. The left hand-side of Fig. 4 shows a rectangular pulse 410 of duration T. Pulse 410 is often used as an approximation for modeling purposes. A more practical pulse 420 is shown in the right hand-side of Fig. 4. Pulse 420 has a finite rise time, t _{r }. In one preferred embodiment, vector signal encoder 310 generates a signal, Xj(t) = Cip(t), for each z ^{' }-th symbol period of duration T, where c, is a real number defining the pulse for that symbol period. Herein, the label "c" refers to a vector containing the c, values and the set of all possible such c is denoted by C. Herein, the set C is referred to as the signal constellation. In embodiments where this form of pulse amplitude modulation is used, Equation 1 and Equation 2 reduce to Equation 3 and Equation 4, respectively. ∑ , = 0 (Eqn. 3) , ^{2 } =^o (Eqn. 4)

[0064] Fig. 5 illustrates an example of a vector signal decoder 340 that incorporates a common-mode cancellation unit 510, and effectively satisfies Equation 1. A set of signals 520 enters vector signal decoder 340 and an adder 530 computes their sum. The sum is fed to a set of subtractors 540 (which can be differential circuits) that "subtract" the sum signal (or a proportion of the sum signal) from each of the signals 520 entering the vector signal decoder. As a result, common-mode noise is cancelled if it is common on the entire width of the bus.

[0065] In addition to common-mode noise and SSO noise, which can be addressed by particular circuits, there is also Gaussian noise, which is independently added to the signals on the bus, and external interference, which is added to the signals that traverse the bus. A bus can be made resilient to those types of noise, as explained herein, by proper selection of the signaling on the bus. As is known, resilience can be obtained by ensuring that the possible values of the vector c have a large Euclidean distance from one other. To that end, vector signal decoder 340 may include an additional processing unit 550 that decodes the set of received signals to the corresponding original information bits, while having signal constellations, C, with a good minimal distance while satisfying Equation 1 and 2.

[0066] One preferred embodiment of a vector signal encoder 310 is exemplified in Fig. 6. The input to vector signal encoder 310 is a sequence of k source bits that are to be transmitted on the bus with / wires in a time interval of T seconds. The vector signal encoder 310 may include a code map unit 610, a transform unit 620 and a modulator 630.

[0067] Code map unit 610 takes the k source bits as its input and generates n values, which can be either real or complex numbers, such that the sum of the squares of the absolute values of these numbers is a given constant, or belongs to a small set of possible values.

[0068] Transform unit 620 takes as its input the n values from the code map unit and transforms these values to another set of n values, where the transformation is as explained further below. Modulator 630 modulates the output of transform unit 620 to create the signals for the bus lines. An example might be pulse amplitude modulation according to a predefined pulse shape, p(t), that results in signals corresponding to i(t) to x„{t), which are sent to bus driver 320 to be transmitted on the bus. [0069] The values sent on the bus are carefully chosen so as to maximize or increase their robustness to various types of noise as described above. This can be accomplished by a proper choice of code map unit 610 and transform unit 620. For example, code map unit 610 may generate the values in such a way that the vectors generated have good mutual distance properties with respect to Euclidean distance so as to provide resilience against Gaussian and thermal noise. Furthermore, code map unit 610 may be configured to ensure that every vector is of equal Euclidean norm so that Equation 2 is satisfied. Transform unit 620 may be such that after the transform, the mutual distance properties of the input vectors are preserved and Equation 1 is satisfied.

[0070] Examples and preferred embodiments of code map unit 610 and transform unit 620 will now be described, with reference to Figs. 7-12.

Code Map Unit

[0071] An example code map unit is shown in Fig. 7, comprising a mechanism to apply a generator matrix, G, of a binary error-correcting code to the vector of input bits, s, from the source to obtain a vector of bits c, as set out in Equation 5. c = Gs (Eqn. 5)

[0072] The resulting vector c is provided to unit 720, which applies a map, to the individual components of the vector c. There are many choices for such a map, and depending on the underlying application, one choice may be preferred over another.

[0073] For example, if the signals transmitted on communication bus 130 belong to the set {-1,+1 }, then the map / might be defined by/x) = (-l) ^{x } for a bit x. If communication bus 130 allows for transmission of signals belonging to a set of size larger than two, the map / may have a different form; for example, it could take pairs of bits and map them to one of the elements of a predefined set of four elements, or it may take triples of bits and map them to one of the elements of a predefined set of eight elements, etc. Where /is of the form above, the output of vector signal encoder 610 is a vector v that is given by v=f[c) wherein/c) is understood as the vector for which the z ^{' }-fh entry is the application of / to the z ^{' }-th entry of c. Upon straightforward calculation, it should be apparent that the components of v satisfy Equation 2 with a value of PQ being equal to the number of entries of the vector c.

Furthermore, there are ample of possibilities to choose G such that the resulting vectors have good mutual distance properties. An example of a matrix G for k=4 and 77=7 is shown by Equation 6, which happens to the generator matrix of the binary [7,4,3] Hamming code.

Other options are possible.

[0074] In general, if the generator matrix of a code of length n, dimension k, and minimum Hamming distance d is used, then the minimum Euclidean distance between any two distinct vectors generated by signal encoder 610 is twice the square root of the Hamming distance, whereas the energy (i.e., Euclidean norm) of every vector generated is the square root of n, and thus the ratio between the minimum distance and the Euclidean norm of the generated vectors is as shown in Equation 7.

[0075] Therefore, if a small minimum distance is desired, then the chosen code should have a large minimum Hamming distance compared to n.

[0076] Fig. 8 is a block diagram illustrating functionality of an alternative code map unit that can be used in the vector signal encoder. It comprises a spherical code unit 820 and a spherical encoder L. The vector of input bits is given to spherical encoder 810 which, based on the input vector and the spherical code 820, outputs one of the elements of the spherical code. As is known to those of skill in the art, a spherical code is a finite set of vectors of equal norm in the ^-dimensional Euclidean space. Often, it is required that the minimum Euclidean distance between the elements of the spherical code is large, so that small perturbations of said elements do not result in confusion of one for another. There are many examples of spherical codes known to those of skill in the art. For example, the four vertices of a regular tetrahedron on the unit sphere in three dimensions is a spherical code given by Equation 8. The minimum Euclidean distance between these vectors is the square root of 8, which is considered to be very large.

Vertices (Eqn. 8)

[0077] Figs. 9a and 9b give further examples of spherical codes in dimension 3 of sizes 8 and 16, respectively. The elements in Fig. 9a all have norm approximately equal to 1.16342285. Those in Fig. 9b have norm approximately equal to 0.942858. These spherical codes have a property that the minimum Euclidean distance between the vectors is rather large. These spherical codes are well-known to researchers in fields related to the transmission of information on noisy channels, such as wireless communication, satellite communication, communication on a modem line, and the like. Other spherical codes are possible.

[0078] When using spherical codes in applications, a process needs to determine, for every given vector of bits that is used, a unique element of the spherical code associated with that particular vector of bits. Herein "spherical code encoding process" is used to refer to that process.

[0079] Spherical coding is a general case of the encoding performed by the encoder of Fig. 7. In that case, the possible outputs of the function /form a spherical code. In the situation of Fig. 7, the spherical code encoding process uses an encoding process for the underlying code. In case of general spherical codes, the encoding process can be more elaborate and may depend on the particular spherical code used. Such a procedure might comprise a table matching every possible array of bits of a specified length with one of the elements of the spherical code. For example, for the regular tetrahedron above, the mapping could be as shown in Table 1 (where "s" represents the square root of three).

TABLE 1.

Input Bits Vector

00 [l,U]/s

01 [-l,l ,-l]/s

10 [l ,-l ,-l]/s

1 1 [-l,-U]/s

[0080] Using the teachings herein, tables can be created for other spherical codes (such as those illustrated by Figs. 9a and 9b) as well. One of the disadvantages of some encoding methods is the amount of memory they use, for storing an indication of an element of the spherical code for each possible sequence of input bits. Where the number of elements in the spherical code is small, for example, 4, 8, or 16, such an encoding method may be possible to use without sacrificing resources such as area, storage, or speed. In other cases, it may be prudent to use spherical codes that are equipped with fast encoders, and also fast decoders. Permutation modulation codes, as described below, provide such a class and may be used in embodiments of bus systems according to the present invention. Differential Signaling, Single-ended Signaling, and Spherical Codes

[0081] Differential signaling and single-ended signaling are known and can be viewed as special cases of signaling using spherical codes, as explained below. In the case of single ended signaling on n wires, the signals transmitted on these wires are of the form (a _{\ }, aj) where the entries of this vector can independently take on one of two possible values. The set of such elements constitutes a spherical code according to the definitions above, and herein this particular spherical code is referred to as a "hypercube" code.

[0082] In the case of differential signaling on 2n wires, the signals transmitted on these wires are of the form (a _{\ }, -a _{\ }, <¾ -<¾, ..., a„, -a _{n }) where each of the entries α,- is an element from a set {b, -b). The set of such elements constitutes a spherical code according to the definitions above, and herein this particular spherical code is referred to as a "reflected hypercube" code.

The Transform Unit

[0083] An example transform unit is given in Fig. 10. Transform unit 620 may comprise circuits or elements that perform a transform defined by a matrix T. The matrix T may have the property that its columns are all of Euclidean norm one, and are mutually orthogonal, and that the sum of the rows of the matrix has substantially more zeros than non-zeroes, such as at least as many zeroes as non-zeroes, or at least two or three or more times as many zeroes. For example, the matrix T may have the property that the sum of its rows is zero in all coordinate positions except possibly the first. Cronie I contains examples of such matrices. One class of examples is furnished by Hadamard matrices. An example of such a matrix is given in Fig. 1 1.

[0084] If the matrix T has the property that the sum of its rows is zero in all except possibly in the first position, then in one embodiment, the transform unit 620 may form a vector, v ', from the vector v as shown by Equation 9.

[0085] In this embodiment, the transform unit 620 will apply the matrix T directly to ' to obtain x\{t) to „(/)- Combined Code Map Unit and Transform Unit

[0086] In several cases, the combination of a binary-error correcting code or an appropriate spherical code with a transform leads to a signal constellation wherein each vector is a permutation of some base vector x _{0 }. As an example, consider a vector signal encoder that employs the binary [7,4,3] Hamming code for its code map unit, and employs the Hadamard matrix of size 8 of Fig.11 for its transform unit. The code map unit and the transform unit define the signal set that is shown Fig.12. The resulting signal vectors are permutations of the vectors [-7,1,1,1,1,1,1,1] and -[-7,1,1,1,1,1,1,1].

[0087] A spherical code for which all the elements are permutations of a single base element is called a "permutation modulation code." These codes are explained further in [Slepian] and since they are known, some details of them need not be described herein. Thus, the Hamming code and the Hadamard transform described above define a permutation modulation code. In one embodiment, the code map unit and the transform unit are combined into a single permutation encoder 1210, as shown in Fig.12. In the example above, permutation encoder 1210 may apply the map shown in Table 2 to generate a signal vector from a set of four bits.

TABLE 2.

Input Bits Vector inR"

0000 [-7,1,1,1,1,1,1,1]

0001 [1,-7,1,1,1,1,1,1]

0010 [1,1,-7,1,1,1,1,1]

0011 [1,1,1,-7,1,1,1,1]

0100 [1,1,1,1,-7,1,1,1]

0101 [1,1,1,1,1,-7,1,1]

0110 [1,1,1,1,1,1,-7,1]

0111 [1,1,1,1,1,1,1,-7]

1000 -[-7,1,1,1,1,1,1,1]

1001 -[1,-7,1,1,1,1,1,1]

1010 -[1,1,-7,1,1,1,1,1]

1011 -[1,1,1,-7,1,1,1,1]

1100 -[1,1,1,1,-7,1,1,1]

1101 -[1,1,1,1,1,-7,1,1]

1110 -[1,1,1,1,1,1,-7,1]

mi -[1,1,1,1,1,1,1,-7]

[0088] A process for performing this encoding efficiently is shown in Fig.13. There, the input bits x[0], x[l], x[2], x[3] are read in (from memory or some other input)(step 1310). In step 1320, a variable s is calculated where s = -1 if x[0] = 1, and s = 0 otherwise. Thereafter, an index t is calculated in step 1330. This index is a number between 0 and 7, and its bit-representation is given by (x[l], x[2], x[3]). In step 1340, the entry with index t of the output vector is set to -7, and all other indices are set to one. Finally, in step 1350 the vector J*(V[0], v[l], v[7]) is returned.

[0089] In yet another embodiment, the code vector signal encoder may employ a code map unit defined by the vertices of the tetrahedron and a Hadamard transform of size 4. This combination results in a permutation modulation code where the elements of x _{0 } = [-3, 1, 1, 1] are permuted based on the input bits. In an embodiment, the permutation encoder 1210 may generate the signal vectors directly by mapping pairs of bits to signal vectors as defined in Table 3.

TABLE 3.

Input Bits Vector inR"

00 [-3,1,1,1]

01 [1,-3,1,1]

10 [1,1,-3,1]

11 [1,1,1,-3]

[0090] A process for performing this encoding efficiently is shown in Fig. 14. There, the input bits x[0], x[l] are provided to the process in step 1410. In step 1420, an index / is calculated that is a number between 0 and 3, and has a bit-representation given by

(x[0], [l]). In step 1430, the entry with index t of the output vector is set to -3, and all other indices are set to one. Finally, in step 1440, the vector (v[0], v[l], v[2], v[3]) is returned.

[0091] The two examples given above lead to coded vector signaling methods with a pin-efficiency of 0.5. Other similar coded vector signaling methods can be obtained using this procedure, albeit at the expense of a lower pin-efficiency. Such a procedure is described with reference to Figs. 15 and 16. The input 1510 to the process in Fig. 15 is a sequence of n bits denoted x[0], ..., x[n-\]. In step 1520, these bits are interpreted as the binary expansion of an integer t and this integer is calculated. In step 1530, the entry / of the output vector v is set to the value -2"+l and all other values are set to 1. This vector is output in step 1540. The pin-efficiency of this procedure is nil". For n=2, this leads to the tetrahedron map of Fig. 14 with a pin-efficiency of 0.5.

[0092] The input to the process in Fig. 16 is a sequence of n+\ bits denoted x[0], x[n]. In step 1620, a variable 5 is calculated where s = -1 if x[0] = 1 , and s = 1 otherwise. In step 1630, the sequence x[l], x[2], ..., x[n] is interpreted as the binary expansion of an integer and this integer is calculated. In step 1640, the entry t of the output vector v is set to the value -(2")+l and all other values are set to 1. This vector is output in step 1650. The pin-efficiency of this procedure is (n+l)/2". For «=3, this leads to the Hamming map of Fig. 13 with a pin-efficiency of 0.5.

[0093] In specific applications, the vectors of the spherical code obtained may be multiplied with the same scaling factor that accounts for the transmit energy of the signals. The output of the processes in Figs. 13-16 may therefore, in certain applications, undergo a further step in which all the entries of the output vector are multiplied by a common constant value.

Permutation Modulation Codes

[0094] The use of a code map unit and the transform unit leads to several signal sets that satisfy Equation 1 and 2. Furthermore, these signal sets have a good noise performance. Several of these schemes result in permutation modulation codes. As mentioned above, a permutation modulation code (hereinafter "PM code" for short) is a spherical code in which all elements are permutations of a basic vector x _{0 }. The basic vector x _{0 } is called the

"generator" of the PM code, and the PM code is said to be generated by x _{0 }. Because of this property, Equation 2 above is always satisfied for the elements of a PM code. Moreover, the sum of the coordinates of x _{0 } is 0, then Equation 1 above is also always satisfied for the elements of a PM code. In preferred embodiments, the vector x _{0 } has the shape shown in Equation 10, where no, n _{\ }, ..., n _{t } are positive integers summing up to the number n of coordinates of x _{0 }, and where a _{0 }, a _{\ }, ..., a _{t } are real numbers ao > a _{\ } > ... > a, such that

Equation 1 1 is satisfied.

XQ — (i?Q ,...,i? I Ω] , ..., £?] (Eqn. 10)

nocio + n a , + ... + n _{t }a, = 0 (Eqn. 1 1)

[0095] It should be apparent from reading this disclosure that the elements of the PM code generated by x _{0 } can be enumerated by the different partitions of the set { 1 , 2, ... , n} into subsets of sizes no, _{\ }, ..., n _{t }. Therefore, the PM code generated by x _{0 } has n\l(n _{$ }\n _{\ } ! ...n,\) elements.

[0096] The encoding procedure for a PM code described in this way is quite simple and will be described with reference to Figs. 17 and 18. For convenience of the presentation, the function mult(«;«o, if none of the n, is negative, and equal to zero if at least one of the n _{t } is equal to zero. Given a sequence x[0], x[m] of bits such that m is smaller than or equal to the binary logarithm of mult(«;«o, n _{\ }, n _{t }), the encoding of this sequence starts by interpreting the bit sequence as the binary representation of an integer / as / = x[0] + 2x[l] + ... + 2 ^{m }x[m]. The inputs to the procedure described in Fig. 17 are the integer / to be encoded, and the integers no, n _{\ } , ..., n _{t }. The additional input n is redundant as it is the sum of no, n _{\ }, ..., n _{t }. However, it has been added as an input for simplifying the presentation. The output of the procedure in Fig. 18 is a set of flags FLAG[0], FLAG[1], FLAG[«-1]. The interpretation of this output is as follows: The z ^{' }-th element of the vector is equal to a _{s } where s=FLAG[z ^{' }].

[0097] In step 1710, a variable, e, is set to zero. In step 1720, a decision is made as to whether n is still positive or not. If not, then the process stops at step 1730 and outputs the values FLAG[0], FLAG[1], FLAG[w-l]. If n is still positive, then in step 1740, the quantities Ao, ..., A _{t } are calculated using the function mult() described above. Thereafter, in step 1750, an integer in the set {0, 1, t-1 } is found such that the expression of Equation 12 is satisfied.

A _{0 } + A _{x } + ^{■ } · ^{■ } +4_i ≤ < A _{0 } + A _{x } + ^{■ }· · + A _{i } (Eqn. 12)

[0098] Then, in step 1755, the flag FLAG[e] is set to i, and the counter e is incremented by 1. In step 1760, the value of / is reduced by Ao + A _{\ } + ... + A _{t }. _{\ } , that of n and n _{t } by one. At this point, the process goes back to step 1720 again.

[0099] An example of the procedure in Fig. 17 is now described with reference to Fig. 18. In this example, the input to the procedure is given by /=198, «=8, «o=2, n _{\ }= , and «2= . In every row of Fig. 18, the values of the variables /, n, no, n _{\ } , «2, e, and FLAG[e] are given at the end of step 1755 of Fig. 17. The output is the FLAG vector (1 ,1,1 ,0,1 ,0,2,2),

corresponding to the element (a _{\ }, a _{\ }, a\, _{0 }, a _{\ }, _{0 }, <¾, <¾).

[0100] A demodulator for a PM code implements a procedure that maps a given element of the PM code to its corresponding bit-representation, wherein the corresponding

bit-representation is the sequence of bits which, upon using the procedure of Fig. 17, yield the subset.

[0101] A demodulator for PM codes is now described with reference to Fig. 19. The input to this process, given in step 1905, are the integers n, no, ηχ,. , .,η,, and the vector FLAG for which FLAG[e] is the index of the subset to which coordinate position e belongs. The output of this process is an integer / greater than or equal to zero, and smaller than mult(«;«o, n _{\ }, n _{t }). In step 1910, a counter, e, is set to zero, as is the current value of the variable /. In step 1920, a decision is made as to whether n is still positive. If not, then the process stops at step 1930 and outputs the value /. If n is still positive, then in step 1940, the quantities AQ, .. . , A _{T } are calculated using the function mult() described above. Thereafter, in step 1950, the integer i is set to the value of FLAG [e] and / is incremented by

AQ + A _{\ } + ... + Aj-i. In step 1960, the values of n and of are reduced by one and the value of the counter e is incremented by one. At this point, the process returns to step 1920.

Decoding PM Codes

[0102] One reason for using PM codes is the existence of a simple procedure for decoding elements of such codes when they are subjected to various types of noise. A decoding process for PM codes is now described with reference to Fig. 20. The input to this process, shown in step 2005, is a vector (y _{0 }, y\,..., y„. _{\ }) of real numbers. In some embodiments, this vector may be what has been received by unit 140 of Fig. 1 after transmission of an element of a PM code on the wires 135. In such embodiments, this vector constitutes a perturbed version of the element of the PM code that was sent by transmitter 120. The task of the decoding process in Fig. 20 is to determine the bit-representation of the transmitted element wherein the bit-representation of the element is the representation giving rise to the input / of the process in Fig. 17.

[0103] As used herein, it should be understood that when a decoding process or other process is performed or has a task, that performance or task is performed by hardware circuits, by software executed by as special-purpose or general purpose processor, but that in the case of small, fast circuits, the process is likely performed by special purpose hardware elements. Not all of the elements of each possible hardware element are shown or described herein. In many cases, once the functionality of a process or elements are fully described, implementation in hardware is straightforward for circuits designers.

[0104] In step 2010 of the decoding process in Fig. 20, the elements yo, y\,•••, JVi are sorted, and a permutation, pi, of the set {0, 1 , ..., n-\ ) is obtained such that Equation 13 is satisfied.

^pi(0)≥^pi( D - · · - y≠{n- ) (Ε ^{1 }· ^{13 })

[0105] Thereafter, in step 2020, a vector FLAG comprising n entries is obtained, wherein Equations 14(0)-14(t) are satisfied.

FLAG[pi(0)] = ... = FLAG[pi(« _{0 }- 1 )] = 0 (Eqn. 14(0)) FLAG[piO?o)] = ... = FLAG[pi(wo+Hi-l)] = 1 (Eqn. 14(1))

FLAG[pi(«o+/n+...+« _{M })] = ... = FLAG[pi(«- (Eqn. 14(0)

[0106] In step 2030, this vector FLAG is used to recover an integer /. The procedure for recovering / is in similar to the procedure in Fig. 19. The output of process of Fig. 20 is the binary representation of /.

Optimized PM codes

[0107] It is straightforward to calculate the probability of error of the process in Fig. 20 under the assumption that the individual entries of the PM code element transmitted on the wires 135 are subjected to Gaussian noise of mean 0 and a given variance. Based on such calculation, a best basic vector corresponding to a given value of t can be determined. The table in Fig. 21 gives some of these optimized PM codes. Other examples are possible, with values of t=3 or other values of t. In these examples the basic vector x _{0 } is of the form shown in Equation 15. x _{0 } = (a, - δ,.,.,α - δ,α - 2δ,....,α - 2δ,α - ίδ,...,α— ίδ) (Eqn. 15)

[0108] The first entry in the table is the vector [no, n _{\ }, m, n [. The second and the third entries are the numbers δ and a, respectively. The fourth entry is the number of bits that can be transmitted with this PM code, and the fifth entry is equal to the number n (which is the sum of no, n _{\ }, n , « _{3 }). In selected embodiments, this is the number of wires 135. The last column in the table is the power improvement in dB compared to differential signaling of the same number of bits (over possibly a larger number of wires).

[0109] As can be seen from these examples, it is possible to use PM codes that lead to pin-efficiencies that are much larger than the pin-efficiency of differential signaling (which is 0.5) and are more power efficient. For example, it is possible to transmit 6 bits over 8 wires and use only roughly 70% of the energy required for sending the same number of bits using differential signaling. This method can be combined with a lowering of the transmission speed per wire to obtain a transmission that has the same throughput as differential signaling, but uses significantly less energy. Alternatively, by increasing the transmission speed per wire, it is possible to obtain a transmission that is faster than differential signaling by a factor of 2, and uses roughly the same energy. Another example is the transmission of 12 bits on 12 wires. This scheme has the same pin-efficiency as single ended signaling, but uses less than half the energy of the latter. Yet another example is the last entry of the table. Here, it is possible to transmit 25 bits on 16 wires, hence achieving a pin-efficiency of 25/16, or 1.5625. The corresponding transmission scheme would use less than half the energy of single ended signaling, which achieves a pin-efficiency of 1.0.

[0110] Many other examples can be found upon reading this disclosure that lead to even higher pin-efficiencies and yet are more energy efficient than the single ended signaling method.

Sparse PM codes

[0111] In a variety of applications, it is beneficial to have a PM code generated by a sparse vector, i.e., by a vector containing many zeroes. For example, where the vector is of length n but has only d non-zero entries, wherein d is smaller than n, only d of the wires need to be driven at any point in time, and hence the total current or voltage used could be significantly reduced. For example, if the basic vector has only two nonzero coordinates, and these are equal to some real number a and its negative -a, a procedure similar to differential signaling could be used to drive the voltages through the two wires corresponding to these nonzero positions. Using the corresponding PM code would enable transmission of about 2*lg(«) many bits, where \g(ri) is the binary logarithm of n. For values of n that are not too large, the number of voltage carrying (and hence energy consuming) wires is significantly reduced with respect to differential signaling, while keeping the pin-efficiency to at least 0.5.

[0112] Another reason for using sparse PM codes in some embodiments is to deal with crosstalk. This source of noise appears when information is transmitted on a bus at very high frequencies and is the primary source of noise at such frequencies. For sparse PM codes, crosstalk typically leads to the erroneous excitation of wires that carry zero voltage. Often, this excitation appears as Gaussian noise when decoding the signals. Since the PM code is designed to have good resistance against such noise, sparse PM codes typically show good robustness against crosstalk.

[0113] For these reasons, benefits are obtained with an encoding procedure and a decoding procedure for sparse PM codes that are simpler and require less computational resources than the procedures outlined in Fig. 17 and in Fig. 19.

[0114] Such a method is now disclosed with reference to Figs. 22-24. In the case of Fig. 22a, the number n is not a power of 2, and m is chosen such that 2 ^{mA } <n < 2'". The input to this process are two vectors of m bits each, called x and y. The output is a vector v that has only two nonzero coordinates with values a and -a. In step 2210, the bits of x and y are used to obtain two indices i and j in the set {0, 1, 2 ^{m }-\ ). Next, in step 2220, it is checked whether i and j are equal. If so, then v[i] is set to a, and v[2 ^{m }] to -a. Otherwise, v[i] is set to a, and vj] to -a. All other entries of v are zero because of the initialization in step 2210.

[0115] In the case of Fig. 22b, the number n is a power of 2 equal to 2 ^{m+x }. The input to this process are two vectors x andy of lengths m+l and m, respectively. In step 2245, two indices i and j are calculated whose bit-representations are x and y, respectively. In addition, the output vector v is initialized to all zeros. In step 2250, the process tests whether i-j. If so, then v[i] is set to a, whereas v[2 ^{w"1 }] is set to -a. If the test in step 2250 is negative, then v[z] is set to a, and v[ ] to -a.

[0116] The decoding procedures are exemplified in Figs. 23 and 24. Similar to the situation in Fig. 22a, in Fig. 23 the number n is assumed to not be a power of 2, and the number m is such that 2 ^{mA } <n < 2 ^{m }. The input to the process in Fig. 23 is a vector (z _{0 }, z _{\ }, z„_i) of real numbers. In some embodiments, this vector may be what has been received by unit 140 of Fig. 1 after transmission of an element of a PM code on the wires 135. In such embodiments, this vector constitutes a perturbed version of the element of the PM code that was sent by transmitter 120. The task of the process in Fig. 23 is to determine the bit-representation of the transmitted element. In step 2310, two indices i and j are determined such that z, and z, are the maximum and the minimum element among

z _{0 }, zi, ..., z„. _{\ }, respectively. In addition, the bit representations of these indices are also determined and stored in vectors x and y as shown. In step 2315, it is checked whether j is bigger than 2 ^{mA } . If so, then there is a decoding error, and the process halts in step 2320, possibly by flagging an error. If the test in step 2315 is negative, then step 2325 checks whether j equals 2 ^{mA } . If so, then the vector (x _{0 }, · · · , x _{m }-\ , *o, · · ·■ _{> } ^{x }»,-\) comprising 2m bits is output in step 2320. If the test in step 2325 is negative, then the vector

(x _{0 }, ..., x _{m }.\, yo, ..., y _{m }-\) is output.

[0117] In the situation of Fig. 24, the number n is assumed to be a power of 2, and the number m is such that n=2 ^{m+l }. The input to the process in this figure is the same as the input to the process in Fig. 23. In step 2410, two indices / and j are determined such that z, and z _{j } are the maximum and the minimum element among z _{0 }, z _{\ }, z„.\, respectively. In addition, the bit representations of these indices are also determined and stored in vectors x and y as shown. The test in step 2415 determines whether j is bigger than 2'" ^{"1 }. If so, then there is an error, and the process halts in step 2420. If not, then step 2425 tests whether j equals 2"' ^{~ } If so, then step 2430 checks whether x _{m } equals 0. If not, then the process halts with an error. If yes, then the process outputs, in step 2440, the vector (xo, x _{m }-\, 0, xo, x _{m }-\) comprising 2w+l bits. If the test in step 2425 is negative, i.e., if j is less than then the process outputs in step 2435 the vector (Λ¾,■■·, x _{m }, yo, · · ·, W-i) comprising of 2m+l bits.

[0118] As can be appreciated by those of skill in the art, the processes described in Figs. 22-24 are simpler than their counterparts in Figs. 17 and 19. For example, it is not necessary to completely sort the input vector; only the largest and the smallest elements of this vector need to be determined. In a variety of applications, this can be a lot simpler to accomplish than full sorting.

[0119] Many variations of these processes are possible and can be easily obtained upon a careful study of this enclosure. The descriptions given are for illustrative purposes only, and are not meant to be limiting.

Examples of sparse PM codes

[0120] Fig. 25 gives examples of some sparse PM codes according to the descriptions above. The basic vector corresponding to the PM code is of the form shown in Equation 16.

[0121] In Fig. 25, the first column is the value of n _{\ }, and the second column is the value of a. The third column is the number of bits that are transmitted according to the description above, and n is the number of wires, which is equal to n _{\ } + 2. The last column gives the improvement in power with respect to differential signaling.

Connections with Constant Weight Coding

[0122] Another type of coding which has been used in connection with transmitting signals on a bus of the type presented in Fig. 1 is constant weight coding. In this coding method, only a given number, d, of the wires carry voltages or currents, while the other n-d do not. Constant weight coding has been studied by a large number of researchers. For example [Cornelius] and the references therein describes a constant- weight parallel encoding technique which maintains constant current in the parallel-encoded data lines and the high and low potential driver circuits for the signal lines, and hence can resist various forms of switching noise. [Stan-Burelson] and [Tallini] describe related methods in which a given sequence of bits is transformed into a generally longer sequence of bits in which only exactly d or at most d bits equal one. Such constant weight coding satisfies Equation 2 above, but does not satisfy Equation 1.

[0123] Constant weight coding can be viewed as a special case of PM coding, if done properly. For example, it the basic vector _{0 } is a vector in which the first d coordinates equal some number a (typically equal to 1 in applications) and the residual n-d coordinates equal some other number b (typically equal to 0 in applications), this can work. In particular, the methods described above can also be used to perform encoding and decoding operations for constant-weight codes with the basic vector having at least three distinct coordinates (and not two, as is the case in constant-weight coding). This leads to a much larger pin-efficiency, and resistance to many different types of noise to which constant-weight coding is not resilient.

Multilevel PM Codes

[0124] In some cases, one may want to further increase the pin efficiency of a

communication system that builds upon the methods disclosed herein. A way to accomplish this is further explained with reference to Fig. 26. The information source 1 10 provides a set of d bits to a level modulator 2610. In earlier-described embodiments, the permutation encoder 1210 would use a basic vector XQ for the encoding process. In the multilevel PM codes version, this basic vector is supplied by level modulator 2610 and this vector is referred to as xo■ The task of the level modulator is to modify a basic vector xo of a PM code in such a way that the value of the d bits is embedded into the basic vector. The modified basic vector is sent to the permutation encoder 1310 that performs permutation modulation encoding based on another set of k bits that is received from the information source 1 10. The way the bits are embedded may depend on the basic vector x _{0 } referenced in Equation 10.

[0125] In a selected embodiment, the basic vector x _{0 } has the property that for i≠ j we have that a,≠ ci _{j }. In that case, a set 5" is defined where the number of elements of S is given by 2 ^{d }. The level modulator 2710 selects one of the elements of S which we denote by 5 and produces a basic vector XQ as shown in Equation 17. x' _{0 } = s x (a _{Q } ,...,a _{0 } | α, ,...,α, | · · · | α _{ι } ..,α, ) (Eqn. 17)

[0126] One of skill in the art should recognize, from this disclosure, that Equations 1 and 2 remain valid, which implies that embedding information in this manner preserves the excellent common-mode rejection properties of the scheme. The scheme will incur more SSO noise, but the higher number of bits that is transmitter per cycle may be more important than the increased noise. Furthermore, one of skill in the art will recognize that for some PM codes, especially, those that are sparse, the problems with SSO are less severe.

[0127] In case there exist indices i and j for which a _{t } = <¾·, the level modulator 2710 may produce a basic vector _{0 }' from x _{0 } as shown in Equation 18, where the set S should be chosen in such a way that the ordering of the elements of the basic vector remains valid, i.e., that do > a _{\ } > ... > di > ... > ci _{j } > ... > a _{t }. x _{0 } = s x (a _{Q },...,a _{0 } \ α _{λ } ,...,α \ sa _{j },...,sa _{i } {•••\ sa _{J },...,sa _{j } \ a _{t } ,...,a _{t } ) (Eqn. 18)

"o "l "\ i _{j } ",

[0128] It is possible to embed more bits into the PM code by identifying another pair of indices k, I for which £¾ ^{>== } -« and repeating the same process. The process of embedding more bits into the original PM code may lead to higher error probabilities. However, to overcome this, the bits supplied by 110 can be encoded with an error-correcting code before passing them to the vector signal encoder.

[0129] It should be apparent from this description that each of the features and/or functions described herein in mathematical terms, such as equations, inequalities, relations and functions, and/or in programmatic terms, such as a sequence of operations, can be

implemented in some physical manner, such as by the use of hardware circuits that effect the operations represented by those features and/or functions. As such, particular description of specific hardware elements, such as wires, resistors, transistors, active or passive electronic components, is not required for a full understanding of the inventions and embodiments described herein.

[0130] Some features and/or functions might be implemented by program code or instructions executed by a programmable processor or general purpose computer. However, it should be understood that in some cases, that would be impractical. For example, where the communications is over a bus between two chips with low power limits and pin constraints, it might make no sense to spend more power running a programmable processor using up more power than would be saved relative to a basic chip-to-chip communications channel that did none of the operations described herein.

[0131] Of course, some operations that can be done ahead of time, such as generating tables of values and storing them in memory for repeated use, or configuring an FPGA one time, might be done ahead of time to allow for the encoding and decoding to proceed efficiently and with lower power consumption per transmission period than otherwise. Of course, where chip-to-chip communications are involved, there may also be constraints on how much chip real estate is available for the encoders and decoders.

[0132] In the foregoing specification, the invention has been described with reference to specific embodiments thereof. It will be, however, evident that various modifications and changes may be made thereto without departing from the broader scope and spirit of the invention. The specifications and drawings are, accordingly, to be regarded in an illustrative, rather than restrictive, sense.

**Previous Patent:**ARTIFICIAL LIFT TOOL

**Next Patent: VULCANIZABLE COMPOSITIONS BASED ON NITRILE RUBBERS CONTAINING EPOXY GROUPS**