Method and system for computing log-likelihood ratios for coded quadrature amplitude modulated signals

Abstract
According to an embodiment of the invention, a method and system is disclosed for determining log-likelihood ratios for a coded set of individual bits (40) of a quadrature amplitude modulation (QAM) codeword. In the method at most two constant values (33,35) may be determined to perform a set of predetermined functions, the output of each of function is based on the constant values and at least one received component corresponding to the codeword, to determine log-likelihood ratios (37) for each individual bit of the set of individual bits of the codeword. The QAM codeword may correspond to at least a portion of a signal of a wireless device, such as a mobile third-generation device operating according to a Wideband Code-Division Multiple Access (WCDMA) standard.
Description
FIELD OF TEE INVENTION

This invention relates to the demodulation of quadrature amplitude modulation (QAM) signals in redundantly coded systems, and specifically to determining log-likelihood ratios for coded QAM signals.


BACKGROUND

In the transmission of streams of information bits in communication systems error correction codes and modulation schemes are required. One modulation scheme that is typically implemented is QAM. Error correction codes that often complement QAM are turbo codes, concatenated codes, convolutional codes, low density parity check (LDPC) codes or the like.


To decode a turbo coded QAM signal, a turbo decoder comprising of two maximum a posteriori (MAP) decoders, requires knowledge of the log-likelihood ratio of the received turbo coded bits. An approach to determine log-likelihood ratios for 16-QAM signals is disclosed in Goff et al., “Turbo-codes and High Spectral Efficiency Modulation”, Proceedings of ICC, p. 645-649, May 1994.


In conventional systems, the computational complexity to calculate exact log-likelihood ratios is high, and approximations lead to degradation in receiver sensitivity.


Currently there is no known technology that provides a system or method for computing exact log-likelihood ratios for coded QAM signals without introducing a significant amount of computational complexity.


SUMMARY OF THE INVENTION

An aspect of the invention provides a method for determining log-likelihood ratios for quadrature amplitude modulation (QAM) signals of a set of bits of a QAM codeword, the method comprising determining log-likelihood ratios using a set of functions, the output of which is based on signal energy and noise power spectral density characteristics of the received signal corresponding to the codeword, to determine a log-likelihood ratio for each bit of the set of bits of the codeword.


In accordance with an embodiment the codeword is a turbo coded codeword. The signal being demodulated may be for a wireless system. The wireless system may be a mobile third-generation cellular system. The wireless system may operate according to a Code-Division Multiple Access (CDMA) standard. The wireless system may operate according to a High-Speed Downlink Packet Access (HSDPA) portion of the Wireless Code-Division Multiple Access (WCDMA) standard.


In other embodiments the codeword is a 16-QAM codeword. The set of individual bits of the codeword comprise four information bits mapped to the 16-QAM codeword. Two constant values may be determined that comprise an offset constant and a pre-scale constant. The first constant given by 8a2ES/N0, and a second constant given by 4a√ES/N0, where a is a normalization constant may also be determined.


In other embodiments a log-likelihood ratio A for an individual bit i1, given that the at least one received component is rI, and a scaled received component r′I is defined as rI multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:

Λi1(r′I)=r′I+max*(r′I,Δ)−max*(−r′I,Δ)


where the function max* is defined as max*(x,y)=max(x, y)+ln(1+exp[−|x−y|] A log-likelihood ratio (Λ) may be determined for an individual bit i2, given that the at least one received component is rI, and a scaled received component r′I is defined as rI multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:

Λi2(r′I)=−max$(−r′I−Δ,r′I−Δ)


where the function max$ is defined by:
max$(x,y)=max(x,y)+ln[1+exp[-x-y]-exp[-x-y2]].

A log-likelihood ratio (Λ) may be determined for an individual bit q1, given that the at least one received component is rQ, and a scaled received component r′Q is defined as rQ multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:

Λq1(r′Q)=r′Q+max*(r′Q,Δ)−max*(−r′Q,Δ)


where the function max* is defined as max*(x,y)=max(x, y)+ln(1+exp[−|x−y|]. A log-likelihood ratio (Λ) may be determined for an individual bit q2, given that the at least one received component is rQ, and a scaled received component r′Q is defined as rQ multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:

Λq2(r′Q)=−max$(−rQ−Δ,r′Q−Δ)


where the function max$ is defined by:
max$(x,y)=max(x,y)+ln[1+exp[-x-y]-exp[-x-y2]].


In other embodiments, a custom-coded instruction may be used to configure a reconfigurable execution unit to perform at least a portion of a determination of a log-likelihood ratio for at least one of the individual bits, the determination comprising using at least one of the at most two constant values. The value of an input of the reconfigurable execution unit may be set based on the at least one constant value used in the log-likelihood ratio determination. The reconfigurable execution unit may be used to complete a calculation of the log-likelihood ratio for the at least one individual bit in two cycles. The reconfigurable execution unit may be used to complete a calculation of the log-likelihood ratio for the at least one individual bit in one cycle. The reconfigurable execution unit may comprise a single instruction multiple data lane of a computer system. The computer system may comprise a separate control execution path and a separate data execution path. The reconfigurable execution unit may form a portion of the separate data execution path.


An aspect of the invention provides a computer system, the system comprising a dedicated control execution path comprising a branch unit and a control execution unit; and a dedicated data execution path comprising a reconfigurable execution unit; wherein the reconfigurable execution unit comprises a single instruction multiple data (SIMD) lane of the computer system, and wherein the reconfigurable execution unit is capable of being configured by a custom-coded instruction to perform at least a portion of a determination of a log-likelihood ratio for an individual bit of a quadrature amplitude modulation (QAM) codeword.


In embodiments the determination of the log-likelihood ratio is made using a function, the output of which is based on received signal characteristics corresponding to the codeword, to determine a log-likelihood ratio for each bit of the set of bits of the codeword. The received signal characteristics corresponding to the codeword may comprise signal energy and noise power spectral density. The determination of the log-likelihood ratio may further comprise determining two constant values that comprise an offset constant and a pre-scale constant. A first constant given by 8a2ES/N0, and a second constant given by 4a/ES/N0, where a is a normalization constant may be determined. An input value of the reconfigurable execution unit may be determined based on at least one constant value used in the log-likelihood ratio determination. The reconfigurable execution unit may be capable of calculating the log-likelihood ratio for the at least one individual bit in two cycles. The reconfigurable execution unit may be capable of calculating the log-likelihood ratio for the at least one individual bit in one cycle.




BRIEF DESCRIPTION OF THE DRAWINGS

A system and method for incorporating the present invention will now be described, by way of an example only, with reference to the accompanying drawings, in which:



FIG. 1 shows a block diagram of a communication system having turbo coded QAM signals in accordance with the prior art;



FIG. 2 shows a block diagram of a soft-decision module in accordance with an embodiment of the invention;



FIG. 3A-B show a bit-to-codeword mapping for 16-QAM modulation mode, and a bit-to-symbol mapping to the modulated constellation symbols for 16-QAM modulation, respectively;



FIG. 4 shows a partitioning of the bit-to-symbol mapping of FIG. 3A, for bit i1, in accordance with an embodiment of the invention;



FIG. 5 shows a graph of the log-likelihood ratio for bit i1 as a function of the received component rI, determined in accordance with an embodiment of the invention;



FIG. 6 shows a partitioning of the bit-to-symbol mapping of FIG. 3A, for bit i2, in accordance with an embodiment of the invention;



FIG. 7 shows the decreasing value of a correction term in accordance with an approximation used in an embodiment of the invention;



FIG. 8 shows a graph of the log-likelihood ratio for bit i2 as a function of the received component rI, determined in accordance with an embodiment of the invention;



FIG. 9 shows the performance gain, for full turbo decoder iterations 1 through 6 in accordance with an embodiment of the invention;



FIG. 10 shows a block diagram of a computer system in which log-likelihood ratios may be determined in accordance with an embodiment of the invention;



FIG. 11 shows a schematic of a reconfigurable execution unit, configured for performing a first step of a calculation of the log-likelihood ratios for i1 and q1, in accordance with an embodiment of the invention;



FIG. 12 shows a schematic of a reconfigurable execution unit, configured for performing a second step of a calculation of the log-likelihood ratios for i1 and q1, in accordance with an embodiment of the invention;



FIG. 13 shows a schematic of a reconfigurable execution unit, configured for determining the log-likelihood ratios for i2 and q2, in accordance with an embodiment of the invention;



FIG. 14 shows an architectural block diagram of a computer system having separate control and data execution paths, in which log-likelihood ratios may be determined according to an embodiment of the invention;



FIG. 15 shows a block diagram of a reconfigurable deep execution unit of the computer system of FIG. 14, in which log-likelihood ratios may be determined in accordance with an embodiment of the invention; and



FIG. 16 shows a method in accordance with an embodiment of the invention.




DETAILED DESCRIPTION

In embodiments according to the invention, a method and system is disclosed for determining log-likelihood ratios of individual bits of information symbols of a QAM signal for a turbo decoder.


The embodiments of the invention described herein are provided for illustrative purposes and are particularly suitable for deriving log-likelihood ratios in 16-QAM/turbo coded systems operating in additive white Gaussian noise channels (AWGN). Such a system is supported in the 3rd Generation Partnership Project (3GPP) high speed downlink shared channel (HS-DSCH) of wide band code division multiple access (WCDMA) standards, technical specification Release 5 [3G TS 25.213] (WCDMA Release 5).


However, it is to be noted that embodiments of the invention may be applied to other QAM/coded systems, for example 32, 64, 256, etc. QAM systems, and other applications for example modem, communicating high definition television signals, or the like. Additionally, other error correction codes, other than turbo coding, may be implemented. Such error correction codes include concatenated codes, low density parity check (LDPC) codes, convolutional codes and the like. The scope of the invention is not to be limited to the specific turbo coded 16-QAM level of modulation embodiments.



FIG. 1 shows a block diagram of a conventional communication system 10 having a transmitter 12 and a receiver 14. The transmitter is provided with input data bits/frame from a source 20 to turbo encoder 22. Turbo encoder encodes the input data providing systematic and parity bits to a channel interleaver 24 prior to QAM modulator 26. The modulated signal is transmitted by transmission means 28 to receiving means 38 of receiver. Upon the demodulation of the turbo coded QAM signals received at a QAM demodulator 30, channel state information and soft-decisions for each incoming information symbol bit associated with the turbo coded QAM signals are performed at module 32 for a turbo decoder 36 to decode the signal via channel deinterleaver 34 to provide output data 39.


The soft-decisions calculated in the module 32 are log-likelihood ratios. FIG. 2 shows a block diagram of soft-decision module 32 in accordance with an embodiment of the invention. The demodulated QAM signal 31 is received at module 32 and constant sub-modules 33,35 process the constants to calculate in log-likelihood ratio sub-module 37 the functions stored in look up table (LUT) 41. The log-likelihood ratios 43 may be stored in memory 39 and sent to the turbo decoder. Implementations of the module 32 in accordance with an embodiment of the invention are discussed in more detail with respect to FIG. 11-13.


A log-likelihood ratio in accordance with an embodiment of the invention may be derived for each of the individual bits i1, q1, i2, and q2 of the bit-to-codeword mapping 40 as a function of the received signal from QAM demodulator as shown in FIG. 3A. The resulting four information bits 40 are mapped to the constellation symbols as shown in the 16 QAM constellation 42 of FIG. 3B to define which 16-QAM symbol to transmit. The received signal from the demodulator is represented by the complex number r=rI+jrQ, where the variances of rI and rQ are equal to N0/2 and each have independent means of:

{−3a√{square root over (ES)},−a√{square root over (ES)},+a√{square root over (ES)},+3a√{square root over (ES)}}

depending on the transmitted signal, where ES is the coded symbol energy and N0 is the single sided noise power spectral density. Here, a is a constant used to normalize the average symbol energy of the entire constellation, and may be set to equal 1/√10. It should be noted that other values may be used. For example in the WCDMA Release 5, a is set to equal 1/√5.


As evident from the bit-to-symbol mapping of FIG. 3A-B, detection of i1 and i2 depends only on rI, and detection of q1 and q2 depends only on rQ. To detect bit i1 in accordance with an embodiment of the invention, the set of 16-QAM symbols of FIG. 3B is split into two halves, as shown in FIG. 4. The constellation cluster comprised of the two left columns 46 correspond to 16-QAM symbols with i1=1, and the constellation cluster comprised of right two columns 48 correspond to 16-QAM symbols with i1=0. In order to determine the log-likelihood ratio for i1, it is necessary to compute the posterior probabilities, defined as

P(i1=0|r′I) and
P(i1=1|r′I)


The ratio of these probabilities, or the logarithm of the ratio, is passed to the turbo-decoder.


In order to compute the log-likelihood ratio for i1. Bayes' theorem is used to relate the conditional probabilities:
P(i1=0|rI)=p(rI|i1=0)P(i1=0)p(rI|i1=0)P(i1=0)+p(rI|i1=1)P(i1=1)(EQUATION1)P(i1=1|rI)=p(rI|i1=1)P(i1=1)p(rI|i1=0)P(i1=0)+p(rI|i1=1)P(i1=1)(EQUATION2)


An assumption may be made that the symbols are equiprobable, i.e. P(i1=0)=P(i1=1)=1/2, such that:
P(i1=0|rI)P(i1=1|rI)=p(rI|i1=0)p(rI|i1=1)(EQUATION3)


Accordingly, the two required conditional probabilities may be written as:
p(rI|i1=0)=12N0πexp[-(rI-aES)2N0]+12N0πexp[-(rI-3aES)2N0]p(rI|i1=1)=12N0πexp[-(rI+aES)2N0]+12N0πexp[-(rI+3aES)2N0](EQUATION4)


Manipulating EQUATION 4, the log-likelihood ratio of i1 may be represented as:
Λi1(rI)=ln(exp[2arIES/N0]+exp[-8a2ES/N0+6arIES/N0]exp[-2arIES/N0]+exp[-8a2ES/N0-6arIES/N0])or,equivalently,Λi1(rI)=4arIESN0+max*(4arIESN0,8a2ESN0)-max*(-4arIESN0,8a2ESN0)(EQUATION5)

where the function max* is defined as:

max*(x,y)=max(x,y)+ln(1+exp[−|x−y|].


Approximating max*(x,y)=max(x,y) breaks EQUATION 5 into three regions. Approximation may be conducted in this manner, however, approximating is not limited to this example, other approximating methods may be used. Approximating in this example provides:
Λi1(rI)={8a2ES/N0+8arIES/N04arIES/N0-8a2ES/N0+8arIES/N0forforrI-2aES-2aESrI2aESforrI2aES(EQUATION6)


Substituting rI for rQ, and following an identical approach, we may obtain the log-likelihood ratio for q1, for which the analogous version of EQUATION 5 is as follows:
Λq1(rQ)=4arQESN0+max*(4arQESN0,8a2ESN0)-max*(-4arQESN0,8a2ESN0)


Normalizing N0 to unity in EQUATION 5 results in the graph 50 shown in FIG. 5 of the log-likelihood ratio for bit i1 as a function of the received component rI, for ES/N0=10 dB, determined in accordance with an embodiment of the invention. At this ratio of ES/N0 the difference between the approximation 52 and the exact 54 expression is quite small, and this difference reduces with increasing ES/N0. The similarity of EQUATION 5, for the log-likelihood ratio Λi1 of bit i1, with the above equation for the log-likelihood ratio Λq1 of bit q1, it is clear that a graph having a similar pattern to the function Λi1 shown in FIG. 5, may be made for the log-likelihood ratio Λq1 of bit q1 as a function of the received component rQ.


Repeating the above approach, the log-likelihood ratio for bit i2 may be obtained in accordance with an embodiment of the invention. FIG. 6 shows a partitioning of the 16-QAM constellation for the i2 bit. The constellation cluster comprised of the left column 62 and right column 62 correspond to 16-QAM symbols with i2=1, and the constellation cluster comprised of the middle two columns 64 correspond to 16-QAM symbols with i2=0. The different partitioning of the 16-QAM constellation for bit i2 yields a different set of probability density functions, and hence results in a different function. For i2, the conditional probabilities are given by:
p(rI|i2=0)=12N0πexp[-(rI-aES)2N0]+12N0πexp[-(rI+aES)2N0]p(rI|i2=1)=12N0πexp[-(rI-3aES)2N0]+12N0πexp[-(rI+3aES)2N0](EQUATION7)


The distribution of rQ is independent of i2,

p(rQ/i2=0)=p(rQ|i2=1)  (EQUATION 8)

which reduces the log-likelihood ratio for i2 to:
Λi2(rI)=ln(exp[2arIES/N0]+exp[-2arIES/N0]exp[-6arIES/N0-8a2ES/N0]+exp[6arIES/N0-8a2ES/N0])=8a2ESN0-max*(6arIESN0,-6arIESN0)+max*(2arIESN0,-2arIESN0)=-max(4arIESN0-8a2ESN0,-4arIESN0-8a2ESN0)-ln[1+exp(-12arIESN0)][1+exp(-4arIESN0)]

re-written as:
Λi2(rI)=-max$(4arIESN0-8a2ESN0,-4ar1ESN0-8a2ESN0)(EQUATION9)

by defining the function:
max$(x,y)=max(x,y)+ln[1+exp[-x-y]-exp[-x-y2]]

EQUATION 9 may be split into two regions, positive and negative, by approximating

max$(x,y)−max(x,y) i.e.: Λi2(rI)={4arIES/N0+8a2ES/N0forrI0-4arIES/N0+8a2ES/N0forrI0(EQUATION10)


The approximation of EQUATION 10 holds true by ignoring the last term (the logarithm term) in the definition of the max$(x,y) function given above. The graph 70 of FIG. 7 shows the approximation is a good approximation as |x−y| gets larger, for ignoring the last term in both the max* and max$ functions, the x-axis is |x−y|, while the top curve 72 is the last term for the max* function, and the bottom curve 74 is the last term for the max$ function. In FIG. 7, both correction terms approach zero as |x−y| increases, and therefore the approximation made for EQUATION 10 holds true as |x−y| increases.


Substituting rQ for rI, and following an identical approach, we may obtain the log-likelihood ratio for q2, for which the analogous version of EQUATION 9 is as follows:
Λq2(rQ)=-max$(4arQESN0-8a2ESN0,-4arQESN0-8a2ESN0)


Using EQUATION 9, FIG. 8 shows a graph 80 of the log-likelihood ratio for bit i2 as a function of the received component rI, determined in accordance with an embodiment of the invention. Because of the similarity of EQUATION 9, for the log-likelihood ratio Λi2 of bit i2, with the equation above for the log-likelihood ratio Λq2 of bit q2, it is clear that a graph having a similar pattern to the function Λi2 shown in FIG. 8, may be made for the log-likelihood ratio Λq2 of bit q2 as a function of the received component rQ.


Based on EQUATION 5 and 9 and their analogues for q1 and q2, the log-likelihood ratio calculations for each bit may be summarized as follows in TABLE 1, in accordance with an embodiment of the invention. In TABLE 1, an offset constant Δ, and a pre-scale constant k, are defined for constants that appear in EQUATION 5 and 9. Using these constant definitions, and letting r′I=krI, and r′Q=krQ, the resulting log-likelihood ratio calculations for each bit may be as follows;

TABLE 1BitLog-likelihood RatioI1Λi1 (r′I) = r′I + max*(r′I, Δ) − max*(−r′I, Δ)I2Λi2 (r′I) = −max$(−r′I − Δ, r′I − Δ)Q1Λq1 (r′Q) = r′Q + max*(r′Q, Δ) − max*(−r′Q, Δ)Q2Λq2 (r′Q) = −max$(−r′Q − Δ, r′Q − Δ)


In accordance with an embodiment of the invention, the log-likelihood ratio calculations of TABLE 1 and the above derivation may be implemented using a reconfigurable deep execution processor, discussed in more detail with reference to FIG. 11-15. As may be seen from TABLE 1 and the associated definitions, only two constants, i.e. the offset constant Δ and the pre-scale constant k used to define r′I and r′Q, need to be computed, at a very low frequency, in order to determine all four log-likelihood ratios. These may be computed for a block of data, and the pre-scaling applied as part of the Maximal Ratio Combining (MRC) process.



FIG. 9 shows a graph 90 of the performance gain (BER and Eb/N0), for full turbo decoder iterations 1 through 6, that may be achieved with an embodiment of the invention 92, compared with the conventional approach 94 taken by Goff et al. Thus, as may be seen from FIG. 9, an embodiment according to the invention may be used to either improve the sensitivity of the receiver by approximately 0.25 dB.


By way of a non-limiting example and with reference to FIG. 16 shows a method 300 in accordance with an embodiment of the invention. The method of FIG. 16 is described in conjunction with reference to FIG. 10-13. In an embodiment of the invention, the only two constants computed 304 are the offset constant and the pre-scale constant. This embodiment may be implemented in a reconfigurable execution processor 200 or soft-decision module 32,100, as shown in the embodiments of FIG. 10-13. FIG. 10 shows a block diagram of a computer system 100 in which log-likelihood ratios may be determined. Constant/input selector 102 and LUT 204 may correspond to constant sub-modules 33,35 and LUT 41 of FIG. 2. In the log-likelihood ratio sub-module 37, MAX* unit 104 and accumulator register 202 with reference to LUT 204 determine the log-likelihood ratio for i1,q1, and MAX* unit 106 with reference to LUT 204 determines the log-likelihood ratio for i2,q2. FIG. 11 and FIG. 12 show in more detail the connections in bold that need to be created by custom-coded instructions for the reconfigurable processor, in order to calculate the log-likelihood ratios 308 for i1 and q1 302, in a first step FIG. 11 and second step FIG. 12. Similarly, FIG. 13 shows the connections in bold that are created in the reconfigurable processor 200 in order to calculate i2 and q2. The values of the inputs of the processing units in FIG. 11-13 may be set and based on the offset constant and the pre-scale constant, and stored values in lookup table 204. The look up table 204 may store the correction value to implement MAX* function 306 to complete the state-metric computation to calculate the log-likelihood ratios, and may demodulate QAM signals with other values. In other words, the input value r′ may be set to either r′I (for determining components i1 and i2), or to r′Q (for determining components q1 and q2) using the pre-scale constant k. Similarly, the input value off may be set to Δ using the offset constant Δ (for determining all four bits i1, i2, q1, q2), in order to compute the log-likelihood ratios using the configurations of FIG. 11-13. In FIG. 11 the result of r′+MAX* is stored in the accumulator register 202 when r′ is off, in the first step in the calculation of i1 and q1. In FIG. 12 the value MAX* with −r′ off is subtracted from the result stored in the accumulator register in the second step for the calculation of i1 and q1. FIG. 13 shows the single step required for the calculation of i1 and q1 when −MAX$ is calculated when −r′ and r′ is off. In this way, the log-likelihood ratios for either i1 or q1 may be calculated in two cycles in every SIMD lane, and the log-likelihood ratios for either i2 or q2 may be calculated in one cycle in every SIMD lane. A configuration of a SIMD lane is discussed in greater detail with reference to FIG. 14-15.


In an embodiment, log-likelihood ratios may be determined in the context of a reconfigurable execution unit used in a computer system having separate control and data execution paths. This embodiment is shown for illustrative purposes, however, it will be appreciated that embodiments of the invention may be implemented on other computer system architectures. FIG. 14 shows an architectural block diagram of such a computer system, in which log-likelihood ratios may be determined according to an embodiment of the invention. An instruction decode unit 1401 separates individual instructions of a set of instruction packets 1400 into instructions for execution by a dedicated control execution path 1402, and instructions for execution by a dedicated data execution path 1403. Each dedicated execution path 1402 and 1403 has its own register file, in control register file 1404 and data register file 1405. Control execution path 1402 has its own functional units, such as branch unit 1406 and execution unit 1407. The data execution path 1403 has functional units such as a SIMD fixed execution unit 1409, and a reconfigurable deep execution unit 1410. The control execution path 1402 and the data execution path 1303 share a load store unit 1408.



FIG. 15 shows a block diagram of the reconfigurable deep execution unit 1510, in which log-likelihood ratios may be determined, according to an embodiment of the invention. This embodiment is provided for illustrative purposes, and it will be appreciated that embodiments of the invention may be implemented on other computer system architectures. In operation, the reconfigurable execution unit 1510 of the embodiment of FIG. 15 is pipelined as follows. All instructions for the execution unit 1510 have a five cycle latency, for example, four instruction issue slots to fill between an instruction executed by the execution unit 1510 and any other data-side instruction consuming its result. Four pipeline stages for the execution unit 1510 may include the READ stage 1532, the XBAR stage 1533, the EXO-3 stage 1526-1529, and the WRITE stage 1541. The READ stage 1532 may read the data register file 1538 and selects the 64-bit XBAR stage inputs 1539 and 1540. The two 64-bit operands src11530 and src01531 are fetched from the data register file 1538. The values of the 64-bit XBAR stage inputs 1539 and 1540 are then determined using selectors 1543 and 1544, each of which selects either a 64-bit operand 1530, 1531 or a scratchpad read vector (spval) 1545 to be a XBAR stage input 1539, 1540. The XBAR stage 1533 may steer the eight 16-bit operands in inputs 1539 and 1540 to the lane inputs P, Q, R, and S of the SIMD lanes 1526-1529, and may comprise sixteen, five-way, 16-bit wide multiplexers (one for each input of each lane). 48-bits are required to control the multiplexers, and the bits are a function of an opcode found in each instruction for the reconfigurable execution unit 1510, which may be looked up in configuration lookup tables. The EXO-3 stage may comprise the SIMD lanes 1526-1529, which may include reconfigurable adders, shifters, multipliers, etc. The WRITE stage 1541 may write to a data register 1542. The four 16-bit Z-lane outputs of the SIMD lanes 1526-1529 may then be bypassed back to the READ stage 1532 using bypass muxes 1547, completing the five-cycle latency for the execution unit 1510.


With regard to the description of the embodiment of FIG. 15 as a reconfigurable execution unit, it is noted that, herein, “configurable” signifies the ability to select an operator configuration from amongst a plurality of pseudo-static operator configurations, at least some of which are selectable by an operation code portion of a data processing instruction. Also in accordance with embodiments herein, a “configurable” instruction allows the performance of customized operations at the level of multibit values, for example, at the level of four or more multibit values, or at the level of words. In accordance with an implementation of an embodiment of the invention shown in FIG. 15, the operators of the execution lanes 1526-1529 are advantageously pre-configured into various operator classes. For example, operators may be pre-configured in the class of multiply operators, ALU operators, state operators, cross-lane permuters, and other pre-configured classes may be possible. However, even though the classes of operators are pre-configured, there is run-time flexibility for instructions to be able to arrange: (i) connectivity of the operators within each class; and (ii) connectivity with operators from the other classes, for the final arrangement of a specific configuration for implementing a given algorithm, such as the configurations shown in FIG. 11-13 for determining log-likelihood ratios.


It will be understood that the system and method for determining turbo decoder inputs in a QAM digital modulation system as described above provides advantages, such as providing accurate inputs for the turbo decoder to minimize the number of turbo decoder iterations without jeopardizing system performance and introducing further complexity to the system. Additionally, embodiments of the invention may be applied to other QAM systems (n-QAM), for example 32, 64, 256, etc. QAM systems, and the scope of the invention is not limited to the specific 16-QAM level of modulation embodiments. Similarly, the scope of the invention is not limited to the specific turbo coded embodiments. Other embodiments may be envisaged with other coding types. It will be appreciated that specific embodiments of the invention are discussed for illustrative purposes, and various modifications may be made without departing from the scope of the invention as defined by the appended claims.

Claims
  • 1. A method for determining log-likelihood ratios for quadrature amplitude modulation (QAM) signals of a set of bits of a QAM codeword, the method comprising: determining log-likelihood ratios using a set of functions, the output of which is based on signal energy and noise power spectral density characteristics of the received signal corresponding to the codeword, to determine a log-likelihood ratio for each bit of the set of bits of the codeword.
  • 2. A method according to claim 1 wherein the codeword is a turbo coded codeword.
  • 3. A method according to claim 1, wherein the signal being demodulated is for a wireless system.
  • 4. A method according to claim 3, wherein the wireless system is a mobile third-generation cellular system.
  • 5. A method according to claim 3, wherein the wireless system operates according to a Code-Division Multiple Access (CDMA) standard.
  • 6. A method according to claim 3, wherein the wireless system operates according to a High-Speed Downlink Packet Access (HSDPA) portion of the Wireless Code-Division Multiple Access (WCDMA) standard.
  • 7. A method according to claim 1, wherein the codeword is a 16-QAM codeword.
  • 8. A method according to claim 7, wherein the set of individual bits of the codeword comprises four information bits mapped to the 16-QAM codeword.
  • 9. A method according to claim 1 further comprising determining two constant values that comprise an offset constant and a pre-scale constant.
  • 10. A method according to claim 1 further comprising determining a first constant given by 8a2ES/N0, and a second constant given by 4a√ES/N0, where a is a normalization constant.
  • 11. A method according to claim 1, further comprising determining a log-likelihood ratio Λ for an individual bit i1, given that the at least one received component is r′I, and a scaled received component r′I is defined as r′I multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:
  • 12. A method according to claim 1, further comprising determining a log-likelihood ratio (Λ) for an individual bit i2, given that the at least one received component is r′I, and a scaled received component r′I is defined as r′I multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:
  • 13. A method according to claim 1, further comprising determining a log-likelihood ratio (Λ) for an individual bit q1, given that the at least one received component is rQ, and a scaled received component r′Q is defined as rQ multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:
  • 14. A method according to claim 1, further comprising determining a log-likelihood ratio (Λ) for an individual bit q2, given that the at least one received component is rQ, and a scaled received component r′Q is defined as rQ multiplied by a pre-scale constant k, and for an offset constant Δ, in accordance with the function:
  • 15. A method according to claim 1, further comprising using a custom-coded instruction to configure a reconfigurable execution unit to perform at least a portion of a determination of a log-likelihood ratio for at least one of the individual bits, the determination comprising using at least one of the at most two constant values.
  • 16. A method according to claim 15, further comprising setting the value of an input of the reconfigurable execution unit based on the at least one constant value used in the log-likelihood ratio determination.
  • 17. A method according to claim 15, further comprising using the reconfigurable execution unit to complete a calculation of the log-likelihood ratio for the at least one individual bit in two cycles.
  • 18. A method according to claim 15, further comprising using the reconfigurable execution unit to complete a calculation of the log-likelihood ratio for the at least one individual bit in one cycle.
  • 19. A method according to claim 15, wherein the reconfigurable execution unit comprises a single instruction multiple data lane of a computer system.
  • 20. A method according to claim 19, wherein the computer system comprises a separate control execution path and a separate data execution path.
  • 21. A method according to claim 20, wherein the reconfigurable execution unit forms a portion of the separate data execution path.
  • 22. A computer system, the system comprising: a dedicated control execution path comprising a branch unit and a control execution unit; and a dedicated data execution path comprising a reconfigurable execution unit; wherein the reconfigurable execution unit comprises a single instruction multiple data (SIMD) lane of the computer system, and wherein the reconfigurable execution unit is capable of being configured by a custom-coded instruction to perform at least a portion of a determination of a log-likelihood ratio for an individual bit of a quadrature amplitude modulation (QAM) codeword.
  • 23. A computer system according to claim 22 wherein the QAM codeword is a turbo coded codeword.
  • 24. A computer system according to claim 22, wherein the signal being demodulated is for a wireless system.
  • 25. A computer system according to claim 24, wherein the wireless system is a mobile third-generation cellular system.
  • 26. A computer system according to claim 24, wherein the wireless system operates according to a Code-Division Multiple Access (CDMA) standard.
  • 27. A computer system according to claim 24, wherein the wireless device operates according to a High-Speed Downlink Packet Access Portion (HSDPA) of the Wireless Code-Division Multiple Access (WCDMA) standard.
  • 28. A computer system according to claim 22, wherein the codeword is a 16-QAM codeword.
  • 29. A computer system according to claim 28, wherein the set of individual bits of the codeword comprises four information bits mapped to the 16-QAM codeword.
  • 30. A computer system according to claim 22, wherein the determination of the log-likelihood ratio is made using a function, the output of which is based on received signal characteristics corresponding to the codeword, to determine a log-likelihood ratio for each bit of the set of bits of the codeword.
  • 31. A computer system according to claim 30 wherein the received signal characteristics corresponding to the codeword comprise signal energy and noise power spectral density.
  • 32. A computer system according to claim 30, wherein the determination of the log-likelihood ratio further comprises determining two constant values that comprise an offset constant and a pre-scale constant.
  • 33. A computer system according to claim 22, further comprising determining a first constant given by 8a2ES/N0, and a second constant given by 4a√ES/N0, where a is a normalization constant.
  • 34. A computer system according to claim 30, wherein an input value of the reconfigurable execution unit is determined based on at least one constant value used in the log-likelihood ratio determination.
  • 35. A computer system according to claim 30, wherein the reconfigurable execution unit is capable of calculating the log-likelihood ratio for the at least one individual bit in two cycles.
  • 36. A computer system according to any of claim 30, wherein the reconfigurable execution unit is capable of calculating the log-likelihood ratio for the at least one individual bit in one cycle.
Provisional Applications (1)
Number Date Country
60625126 Nov 2004 US