Apparatus and method for performing SISO decoding

Abstract: A device and method for performing SISO (Soft In-Soft Out) decoding, particularly for turbo decoders, moving the forward-backward decoding approximation of MAP (Maximum a Posteriori probability) decoding. The method comprises the steps of: (a) providing a trellis representative of an output of a convolutional encoder, the convolutional encoder has a coding rate of R, the trellis having a block length T. (b) assigning an initial conditions to each starting node of the trellis for a forward iteration through the trellis. (c) computing a forward metric for each node, starting from the start of the trellis and advancing forward through the trellis and storing forward metrics of nodes of a plurality of starting stages of windows. (d) repeating stages d(1)-d(3) until all lambdas of the trellis are calculated; d(1) retrieving forward metrics of nodes of a starting stage of a window, the retrieved forward metrics were computed and stored during step (c). d(2) computing and storing forward metrics for each node, starting from a second stage of the window and ending at the ending stage of the window. d(3) computing backwards metrics for each node, starting from the ending stage of the window and ending at the starting stage of the window; wherein when backward metrics of nodes of a stage are computed and the forward metrics of the nodes of an adjacent stage were previously computed, the computation of backward metrics is integrated with the computation of lambda from the stage of the adjacent stage and a storage of the claculated lambdas in order to accelerate the decoding operation.

Description: Field of the invention Apparatus and method for performing Soft Input -Soft Output decoding, and especially an apparatus and method for performing log Map and max-log-map algorithms. BACKGROUND OF THE INVENTION Turbo Coding (i.e.- TC) is used for error control coding in digital communications and signal processing. The following references give some examples of various implementations of the TC: "Near Shannon limit error correcting coding and decoding: turbo-codes", by Berrou, Glavieux, Thitimaj shima, IEEE International Conference of Communication. Geneva Switzerland, pp. 1064-1070, May 1993; "Implementation and Performance of a Turbo/MAP Decoder", Pietrobon, International Journal of Satellite Communication; "Turbo Coding", Heegard and Wicker, Kluwer Academic Publishers 1999. MAP algorithm and soft output Viterbi algorithm (SOVA) are Soft Input Soft Output (i.e.- SISO) decoding algorithms that have gained wide acceptance in the area of communications. Both algorithms are mentioned in U.S patent 5,933,462 of Viterbi et al. The TC has gained wide acceptance in the area of communications, such as in cellular networks, modems, and satellite communications. Some turbo encoders consists of two parallel-concatenated systematic convolutional encoders separated by a random interleaver. A turbo decoder has two soft-in soft-out (SISO) decoders. The output of the first SISO is coupled to the input of the second SISO via a first interleaver, while the output of the second SISO is coupled to an input of the first SISO via a feedback loop that includes a deinterleaver. A common SISO decoder uses either a maximum a posteriori (i.e.- MAP) decoding algorithm or a Log MAP decoding algorithm. The latter algorithm is analogues to the former algorithm but is performed in the logarithmic domain. Another common decoding algorithm is the max log MAP algorithm. The log MAP is analogues to the log MAP but the implementation of the former involves an addition of correction factor. Briefly, the MAP finds the most likely information bit to have been transmitted in a coded sequence. The output signals of a convolutional encoder are transmitted via a channel and are received by a receiver that has a turbo decoder. The channel usually adds noise to the transmitted signal. During the decoding process a trellis of the possible states of the coding is defined. The trellis includes a plurality of nodes (states), organized in T stages, each stage has N=2sup(K-1) nodes, whereas T being the number of received samples taken into account for evaluating which bit was transmitted from a transmitter having the convolutional encoder and K is the constraint length of the code used for encoding. Each stage is comprised of states that represent a given time. Each state is characterized by a forward state metric, commonly referred to as alpha (α or a) and by a backward state metric, commonly referred to as beta (β or b). Each transition from a state to another state is characterized by a branch metric, commonly referred to as gamma (γ). Alphas, betas and gammas are used to evaluate a probability factor that indicates which signal was transmitted. This probability factor is commonly known as lambda (A). A transition from a stage to an adjacent stage is represented by a single lambda. The articles mentioned above describe prior art methods for performing MAP algorithm, these prior art methods comprise of three steps. During the first step the alphas that are associated with all the trellis states are calculated, starting with the states of the first level of depth and moving forward. During the second step the betas associated with all the trellis states are calculated, starting with the states of the L'th level of depth and moving backwards. Usually, while betas are calculated the lambdas can also be calculated. Usually, the gammas are calculated during or even before the first step. The TC can be implemented in hardware or in software. When implemented in hardware, the TC will generally run much faster than the TC implemented in software. However, implementing the TC in hardware is more expensive in terms of semiconductor surface area, complexity, and cost. Calculating the lambdas of the whole trellis is very memory intensive. A very large number of alphas, betas and gammas must be stored. Another prior art method is described in U.S patent 5,933,462 of Viterbi. This patent describes a soft decision output decoder for decoding convolutionally encoded code words. The decoder is based upon "generalized" Viterbi decoders and a dual maxima processor. The decoder has various drawbacks, such as, but not limited to the following drawbacks: The decoder either has a single backward decoder or two backward decoders. In both cases, and especially in the case of a decoder with one backward decoder, the decoder is relatively time consuming. In both cases, a learning period L equals a window W in which valid results are provided by backward decoder and forward decoder. Usually, L<W and the decoder described in U.S. patent 5,933,462 is not effective. Furthermore, at the end of the learning period an estimation of either a forward metric or backward metric are provided. Calculations that are based upon these estimations, such as the calculations of forward metrics, backward metrics and lambdas are less accurate than calculations that are based upon exact calculations of these variables. The decoder described in U.S. patent 5,933,462 is limited to calculate state metrics of nodes over a window having a length of 2L, where L is a number of constraint lengths, 2L is smaller than block length T of the trellis. There is a need to provide an improved device and method for performing high- accuracy SISO decoding that is not memory intensive. There is a need to provide a fast method for performing SISO decoding and provide an accelerating system for enhancing the performances of embedded systems. BRIEF DESCRIPTION OF THE DRAWINGS While the invention is pointed out with particularity in the appended claims, other features of the invention are disclosed by the following detailed description taken in conjunction with the accompanying drawings, in which: FIGS. 1-2 illustrates in flow chart form, two methods for performing SISO decoding, in accordance with a preferred embodiment of the present invention; FIGS. 3-4 are schematic descriptions of systems for implementing the methods shown in FIGS. 1 and 2; FIG. 5 is a schematic description of a system for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel according to a preferred embodiment of the invention; and FIG. 6 is a detailed description of a system for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel according to a preferred embodiment of the invention. DESCRIPTION OF THE PREFERRED EMBODIMENT The invention provides an improved device and method for performing high-accuracy SISO decoding that is not memory intensive. The trellis is divided to a plurality of windows. Accurate alphas (betas) and gammas are calculated during a first step in which alphas of a whole trellis are calculated. During this step a plurality of alphas of nodes of starting stages of windows (betas of nodes of ending stages of windows) are stored. During another steps the alphas (betas) betas (alphas) and gammas are calculated and stored in a fast internal memory module. These calculated values are used in another step of calculating accurate betas (alphas) and accurate lambdas of a window, and providing the lambdas to an external memory. The internal memory stores a plurality of variables that are required to calculate the alphas, betas gamma and lambdas of a window that is much smaller than the whole trellis. The invention provides an accelerating system that for enhancing the performances of embedded systems. The system has an internal memory and processors that can access an external memory and exchange information from a host processor or another embedded system and calculate lambdas by itself. , FIG. 1 is a simplified flow chart diagram illustrating method 30 of the present invention. Preferably, method 30 comprises steps 32, 34, 36, and 40, step 40 further comprising steps 42, 44, and 46, all steps illustrated by blocks. Solid lines 33, 35, 37, 41, 43 and 45, coupling the steps indicate a preferred method flow. Method 30 requires that only a portion of the variables associated to the lambda calculations are stored in an internal memory. The method is fast and does not require a learning period. Method 30 starts in step 32 of providing a trellis representative of an output of a convolutional encoder, the convolutional encoder has a coding rate of R, the trellis having a block length T. The trellis is divided to a plurality of windows. The provision of the trellis involves receiving and storing a plurality of signals, such as parity bits Yp1,k Yp2,k, representing T transmitted symbols. Step 32 is followed by step 34 of assigning initial conditions to each node of the starting stage and the ending stage of the trellis. Step 34 is followed by step 36 of computing a forward metric for each node, starting from the start of the trellis and advancing forward through the trellis and storing forward metrics of nodes of a plurality starting stages of windows. Preferably, the forward metrics of nodes of the starting stages of windows are stored in an external memory module. Step 36 is followed by step 40 of computing lambdas. Step 40 conveniently comprises of steps 42, 44 and 46. Steps 42-46 are repeated until the all lambdas associated to the trellis are calculated. During step 42 retrieving forward metrics of nodes of a starting stage of a window, the retrieved forward metrics were computed and stored during step 36. Conveniently, the windows are selected so that the backward metrics of the nodes of the ending stage can be calculated in a swift and in an exact manner. Usually, the computation of backward metrics of nodes of an ending stages of a window that is not a last window in the trellis, is preceded by a computation of a backward metrics of a following window, wherein the starting stage of the following window follows the ending stage of the window. Preferably, during a first iteration of steps 42-46 the lambdas of the last window of the trellis are calculated and further iterations are used to calculate lambdas of preceding windows. Step 42 is followed by step 44 of computing and storing forward metrics for each node, starting from a second stage of the window and ending at the ending stage of the window. Preferably, the forward metrics are stored in an internal memory module. Step 44 is followed by step 46 of computing backward metrics for each node, starting from the ending stage of the window and ending at the starting stage of the window; wherein when backward metrics of nodes of a stage are computed and the forward metrics of the nodes of an adjacent stage were previously computed, the computation of backward metrics is integrated with the computation of lambda from the stage to the adjacent stage. After a lambda is calculated it is stored. Preferably it is stored in an external memory module. As indicated by path 41, step 46 is followed by step 42 until all lambdas of the trellis are calculated and stored. Conveniently, all windows have the same length WN, wherein WN is much smaller than T. The windows do not overlap. Preferably, step 40 starts by calculating lambdas of the last window of the trellis and advances backward through the trellis. Preferably, method 40 is used to implement the Log MAP algorithms. Conveniently, gammas are calculated during steps 34 and 44. FIG. 2 is a simplified flow chart diagram illustrating method 50 of the present invention. Preferably, method 50 comprises steps 52, 54, 56, and 60, step 60 further comprising steps 62, 64 and 66, all steps illustrated by blocks. Solid lines 53, 55, 57, 61, 63, and 65, coupling the steps indicate a preferred method flow. Method 50 requires that only a portion of the trellis is stored in an internal memory module. It is fast and does not require a learning period. Method 50 starts in step 52 of providing a trellis representative of an output of a convolutional encoder, the convolutional encoder has a coding rate of R, the trellis having a block length T and is divided to windows. Step 52 is followed by step 54 of assigning an initial conditions to each node of the ending stage and starting stage of the trellis. Step 54 is followed by step 56 of computing a backward metric for each node, starting from the end of the trellis and advancing backward through the trellis and storing backward metrics of nodes of a plurality of ending stages of windows. Preferably, the backward metrics of the nodes of the ending stages of windows are stored in an external memory module. Step 56 is followed by step 60 of computing lambdas. Step 60 conveniently comprises of steps 62, 64, and 66. Steps 62-66 are repeated until the all lambdas of the trellis are calculated. During step 62 retrieving backward metrics of nodes of a starting stage of a window, the retrieved backward metrics were computed and stored during step 66. Conveniently, the windows are selected so that the forward metrics of the nodes of the starting stage can be calculated in a swift and in an exact manner. Usually, the computation of forward metrics of nodes of an starting stages of a window that is not a first window in the trellis, is preceded by a computation of a forward metrics of a preceding window, wherein the ending stage of the preceding window is followed by the.starting stage of the window. Preferably, during a first iteration of steps 62-66 the lambdas of the first window of the trellis are calculated and further iterations are used to calculate the lambdas of consecutive windows. Step 62 is followed by step 64 of computing and storing backward metrics for each node, starting from the stage that precedes the last stage of the window and ending at the starting stage of the window. Preferably, the backward metrics are stored in an internal memory module. Step 64 is followed by step 66 of computing forward metrics for each node, starting from the starting stage of the window and ending at the ending stage of the window; wherein when forward metrics of nodes of a stage are computed and the backward metrics of the nodes of an adjacent stage were previously computed, the computation of forward metrics is integrated with the computation of lambda from the stage to the adjacent stage. After a lambda is calculated it is stored. Preferably it is stored in an external memory module. As indicated by path 61, step 66 is followed by step 62 until all lambdas of the trellis are calculated and stored. Conveniently, all windows have the same length WN, wherein WN is much smaller than T. The windows do not overlap. Preferably, step 60 starts by calculating lambdas of the first window of the trellis and advances forward through the trellis. Preferably, method 50 is used to implement the Log MAP algorithms. Conveniently, gammas are calculated during steps 54 and 64. FIGS. 3-4 are schematic descriptions of system 70 and 80 for implementing methods 30 and 50. System 70 comprising external memory module 71; processor 72 that is coupled to external memory 71 via data bus 712 and control and address bus 711; internal memory module 75 coupled to processor 72 via bus 751. System 80 is analogues to system 70 but instead of processor 72 has forward processor 73, gamma processor 76, backward processor 74; soft decision processor 77, host processor 79 and optional control unit 78. Conveniently, system 80 further comprises of control unit 78, for coordinating the calculations of various variables and the access to internal and external memory modules 71 and 75. A man who is skilled in the art will appreciate that the calculations of alphas, betas, gammas and lambdas can be made by various processors and various configurations of processors. Host processor 79 is coupled to external memory module 71 via address and control bus 711 and data bus 712 and is coupled to control unit 78 via control bus 791. Internal memory module 75 is coupled to control unit 78 via bus 781 and to soft decision processor 77, gamma processor 76, backward processor 74 and forward processor 73 via internal buses 751. Forward processor 73 and backward processor 74 are also coupled to bus 712. Internal memory module 75 is adapted to store variables that are required during steps 40 or 60, such as the forward metrics of nodes of a window, the backward metrics of nodes of a window, the gammas of a window. External memory module 71 is adapted to store information that is associated with the whole trellis. The information can comprise of a set of systematic input signals Ys, two sets of either parity input signals Yp1, Yp2 or parity input signals Yp3, Yp4, and a set of a-priory lambdas L. Forward processor 73 is adapted to fetch information, such as a plurality of input signals from external memory module 75 and to compute forward metrics (alphas). Backward processor 74 is adapted to fetch information, such as a plurality of received signals from external memory module 75 and to compute backward metrics (betas). Control unit 78 allows forward processor 73 to access external memory module 71 during step 36 and internal memory module 75 during steps 44, allows backward processor 74 to access external memory module 75 during step 56 and internal memory module 75 during steps 64. Soft decision processor 77 is adapted to access internal memory module 75, gamma processor 76, backward processor 74 and forward processor 73 to receive forward metrics and backward metrics and gammas and to calculate lambdas during steps 46 and 66. These lambdas are further sent to external memory unit during steps 46 and 66. FIG. 5 is a schematic descriptions of system 90 for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel according to a preferred embodiment of the invention. System 90 is coupled to a host processor 79 and external memory module 71 via buses 791, 711 and 712. System 90 comprising of gamma processor 76, gamma register file 82, internal memory module 75, abc processor 722 and processor register file 721. Abc processor 72 is coupled to gamma register file 82 , to processor register file 721 and to internal memory module via buses 821, 791 and 751. Gamma processor 76 is coupled to gamma register file 82 via bus 822 and to internal memory module 75 via bus 761. Gamma processor 76 and processor register file 721 are coupled to bus 712 for receiving initial conditions and input signals, and for providing alphas during step 36 or betas during step 56. Gamma register file 82 is used to store gammas. Processor register file 79 is used to store alphas and betas that are calculated by abc processor 722 and to store intermediate variables and results that are required for calculating alphas, betas and lambdas. An exemplary implementation of system 90 (referred to as system 100) is shown in greater detail in FIG. 6. FIG. 6 is a detailed description of system 100 for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel according to a preferred embodiment of the invention. Systems 60, 70, 80, 90 and 100 can be implemented as a dedicated hardware accelerator within an embedded system, for enhancing for enhancing the performances of embedded systems. System 100 is adapted to calculate lambdas according to method 30 and 50, when R equals ½, 1/3, ¼, 1/5 or 1/6, each stage comprises of 8 nodes, and the length of all windows, except a last window of the trellis, is 64 stages. System 100 is adapted to perform 8 ACS butterflies calculations in a single clock cycle. For convenience of explanation it is assumed that system 100 implements method 30. If system 100 implements method 50 then alpha memory 190 is used to store betas of a window and bus 360 is used to couple beta registers 160 - 167 to bus 712. It is assumed that system 100 calculates Ak that is associated to a transition from a (k-1)'th stage of the trellis to the k'th stage. The (k-1)'th stage comprising of eight nodes N0,k-1; N1,k-1; N2,k-1; N3,k-1; N4k-1; N5,k-1; N6,k-1; N7, k-1 and the k'th stage has eight nodes N0,k; N1,k; N2,k; N3,k; N4,k; N5,k; N6,k and N7.k. The forward metrics of the N0,k-1 till N7,k-1 are denoted α(0,k-1), α(1,k-1), α(2,k-1), α(3,k-1), α(4,k-1), α(5,k-1), α(6,k-1) and α(7,k-1). The backward metrics of nodes N0,k till N7,k are denoted β(0,k), β(1,k), β(2,k), β(3,k), β(4,k), β(5,k), β(6,k) and β(7,k). Branch metrics γ0,k is assosiated to a transition from (to) N0,k-1 to (from) N4,k and from (to) N1,k-1 to (from) N0,k. Branch metrics -γ0,k is assosiated to a transition from (to) N0,k-1 to (from) N0,k and from (to) N1,k-1 to (from) N4,k. Branch metrics γ1,k is assosiated to a transition from (to) N2,k-1 to (from) N1,k and from (to) N3,k-1 to (from) N5,k. Branch metrics -γ1,k is assosiated to a transition from (to) N2,k-1 to (from) N5,k and from (to) N3,k-1 to (from) N1,k. Branch metrics γ2,k is assosiated to a transition from (to) N5,k-1 to (from) N2,k and from (to) N4,k-1 to (from) N6,k. Branch metrics -γ2,k is assosiated to a transition from (to) N4,k-1 to (from) N2,k and from (to) N5,k-1 to (from) N6,k. Branch metrics γ3,k is assosiated to a transition from (to) N6,k-1 to (from) N3,k and from (to) N7,k-1 to (from) N7,k. Branch metrics -γ3,k is assosiated to a transition from (to) N6,k-1 to (from) N7,k and from (to) N7,k-1 to (from) N3,k. Branch metrics γ0,k - γ3,k are given by the following equations : (1) γ0,k = -( Lk + Yp1,k + Yp2,k) (2) γ1,k = -(Lk - Yp1,k + Yp2,k) (3) γ2,k = -(Lk - Yp1,k - Yp2,k) (4) γ3,k = -(Lk + Yp1,k - Yp2,k) The forward metrics are given by the following equations : (5) α(0,k)= MAX[(α(1,k-1) + γ0,k), (α(0,k-1) - γ0,k)] (6) α(1,k)= MAX[(α(2,k-1) + γ1,k), (α(3,k-1) - γ1,k)] (7) α(2,k)= MAX[(α(5,k-1) + γ2,k), (α(4,k-1) - γ2,k)] (8) α(3,k)= MAX[(α(6,k-1) + γ3,k), (α(7,k-1) - γ3,k)] (9) α(4,k)= MAX[(α(0,k-1) + γ0,k), (α(1,k-1) - γ0,k)] (10) α(5,k)= MAX[(α(3,k-1) + γ1,k), (α(2,k-1) - γ1,k)] (11) α(6,k)= MAX[(α(4,k-1) + γ2,k), (α(5,k-1) - γ2,k)] (12) α(7,k)= MAX[(α(7,k-1) + γ3,k), (α(6,k-1) - γ3,k)] The backward metrics are given by the following equations : (13) β(0,k-1)= MAX[(β(4,k) + γ0,k), (β(0,k) - γ0,k)] (14) β(1,k-1)= MAX[(β(0,k) + γ0,k), (β(4,k) - γ0,k)] (15) β(2,k-1)= MAX[(β(1,k) + γ1,k), (β(5,k) - γ1,k)] (16) β(3,k-1)= MAX[(β(5,k) + γ1,k), (β(1,k) - γ1,k)] (17) β(4,k-1)= MAX[(β(6,k) + γ2,k), (β(2,k) - γ2,k)] (18) β(5,k-1)= MAX[(β(2,k) + γ2,k), (β(6,k) - γ2,k)] (19) β(6,k-1)= MAX[(β(3,k) + γ3,k), (β(7,k) - γ3,k)] (20) β(7,k-1)= MAX[(β(7,k) + γ3,k), (β(3,k) - γ3,k)] Lambda is given by the following equations : (21) Λk = (Max(0) - Max(1))/2 - Lk (22) Max(0) = MAX [(α(4,k-1)+ β(2,k) - γ2,k), (α(0,k-1)+ β(0,k) - γ0,k), (α(5,k- 1)+ β(6,k) - γ2,k), (α(1,k-1)+ β(4,k) - γ0,k), (α(2,k-1)+ β(3,k) - γ3,k), (α(3,k- 1)+ β(1,k) - γ1,k), (α(6,k-1)+ β(7,k) - γ3,k), (α(2,k-1)+ β(5,k) - γ1,k)]. (23) Max(1) = MAX [(α(4,k-1)+ β(6,k) + γ2,k), (α(0,k-1)+ β(4,k) + γ0,k), (α(5,k- 1)+ β(2,k) + γ2,k), (α(1,k-1)+ β(0,k) + γ0,k), (α(6,k-1)+ β(3,k) + γ3,k), (α(2,k- 1)+ β(1,k) + γ1,k), (α(7,k-1)+ β(7,k) + γ3,k), (α(3,k-1)+ β(5,k) + γ1,k)]. When a Log MAP algorithm is implemented, the calculation involves the addition of a correction factor shat is preferably stored in a look up table. The correction factor is not required when a Max Log Map algorithm is implement . Such a look up table (not shown) is coupled to ALU0 - ALU7 140 - 147, MAX_0 and MAX_1 units 210 and 211 or forms a part of each of the mentioned units. System 100 is coupled to bus 712, for exchanging information with external memory module 71, it is coupled to bus 791 for receiving control signals from host processor 79 and is coupled to bus 711 for providing control signals and addresses to external memory module 71. System 100 has an address generator and control unit (i.e.- control unit) 230 that controls other units of system 100 and controls the exchange of information with external memory module. Control unit 230 is coupled to the other units of system 230 by bus 330 and just for convenience of explanation the various connections are not shown. System 100 comprises of registers 103, 102 and 101 for storing Yp1,k, Yp2,k, and a-priori lambda Lk. Gamma processor 104 for receiving the content of registers 101-103., calculating γ0,k, γ1,k, γ2,k and γ3,k according to equasions (1)-(4) and providing them to registers 110-113. Gamma memory 120 for storing gammas of a window. A- priory lambda memory 130 for storing a-priory lambdas of a window. Eight alpha registers 150-157 for storing eight alphas. Eight beta registers 160-167 for storing eight betas. Eight lambda registers 170-177 for storing eight intermediate results that are used to calculate lambda. Eight selection units 180-187, coupled to registers 150-157, alpha memory 190, registers 110-113 and gamma memory 120 for providing alphas, betas and gammas to eight arithmetic control units ALU0 - ALU7 140 - 147. ALU0 - ALU7 140 - 147 for implementing equations (5)- (20) and providing the results of their calculations to alpha registers 150-157, beta registers 160-167 and lambda registers 170-177. During steps 46 and 66 ALU0 - ALU7 140-147 provide lambda registers 160 - 167 with eight intermediate results. These results are shown in brackets in equations (22) and (23). Alphas are provided to registers 150-157, betas are provided to registers 160-167. Eight intermediate results are provided to registers 170-177. MAX_0 unit 210 implements equation (22) and provides max(0) to adder 220. MAX_1 unit 211 implements equation (23) and provides max(1) to adder 220.Adder 220 shifts both mak(0) and max(1) to the right, subtracts max(1) from max(0), subtracts Lk from the product and provides Λk. Selection units 180 - 187 select which variables are provided to ALU0 - ALU7 140 - 147. For example, during a calculation of α(0,k) in step 36 selection unit 180 provides ALU0 140 with α(0,k-1) from register 150, α(1,k-1) from register 151 and γ0,k from register 110 so that ALU0 140 can implement equation (5). During a calculation of gamma in step 46 selection unit 180 provides ALU0 140 α(4,k-1) from alpha memory 190, β(2,k) from register 162 and γ2,k from gamma memory 120. Registers 101-103 are coupled to data bus 712 and are coupled to gamma processor 104 via buses 301 - 303. Registers 110 - 113 are coupled to gamma processor 104 via bus 304 and to selection units 180 - 187 via bus 311. Gamma memory 120 is coupled to gamma processor via bus 304 and to selection units 180 - 187 via bus 311. A-priori lambda memory is coupled to register 101 via bus 301 and to adder 220 via bus 330. Selection units 180 - 187 are coupled to alpha registers 150 - 157 and beta registers 160 - 167 via buses 350 and 360 and to gamma memory 120 via bus 120. Preferably portions of buses 350, 360, 322 and 311 are coupled to each selection unit. For example, selection unit 180 is coupled to portions of bus 350 to receive the content of alpha registers 150 and 151. Bus 350 and 360 are coupled to bus 712 and to alpha memory 190. ALU0 - ALU7 140-147 are coupled to selection units 180 - 187 via buses 380 - 387, to alpha registers 150 - 157 beta registers 160 - 167 and intermediate lambda registers 170 - 177 via buses 340 - 347. MAX_0 and MAX_1 units 210 and 211 are coupled via buses 370 and 371 to intermediate lambda registers 170 - 177 and via buses 310 and 311 to adder 220. Adder 220 is coupled to bus 712. During step 34 initial condition of nodes are provided to alpha registers 150-157 and beta registers 160-167 from external memory module 71 via buses 350 and 360. During step 36 system 100 calculates gammas and alphas of the whole trellis. For example, it is assumed that α(0,k) - α(7,k) and γ0,k - γ3,k are calculated. The calculation of γ0,k - γ3,k is done by providing Yp1,k, Yp2,k and Lk from registers 101-103 to gamma processor 104, implementing equations (1) - (4) and storing the result in registers 110-113. The calculation of alphas α(0,k-1) - α(7,k-1)) is done by providing ALU0 - ALU7 140 - 147 gammas from registers 110-113, previous alphas (α(0,k-1) - α(7,k-1)) from alpha registers 150-157 implementing equations (5) - (12) and storing alphas α(0,k) - α(7,k) in alpha registers 150 - 157. Alphas of nodes of starting stages of windows are provided via buses 350 and 712 to externel memory module 71. During step 42 alphas of nodes of a starting stage of a window are provided via buses 350 and 712 from externel memory module 71 to alpha registers 150-157. Preferably, host processor 79 provides the control and address signals and selects which window to process. During step 44 alphas and gammas of a window are calculated, equations (1)-(4) and (5) - (12) are implemented by activating regiaters 101-103, gamma processor 104, gamma registers 110-113 selection units 180-187 , ALU0- ALU7 140 -147 and alpha registers 150-157, as in step 36 but the alphas and gammas of nodes of the window are stored in alpha memory 190 and in gamma memory 120 so that when step 44 ends gamma memory 120 stores the all the gammas of the window and alpha memory 190 stores all the alphas of the window. During step 46 the gammas of a window are calculated. Gammas from gamma memory 120 and betas from bata registers 160-167 are used to implement equations (13) - (20) and (21) - (23) so that the betas and lambdas of the window are calculated. Equations (13)- (20) are implemented by providing previous betas from beta registers 160 - 167 and gammas from gamma memory 120 to selection units 180 - 187 and calculating betas. Lambdas are calculated by providing betas from beta registers 160-167, alphas from alpha memory 190 and gammas from gamma memory 120 to selection units 180 -187 and to ALU0 - ALU7 140 - 147. ALU0-ALU7 140 - 147 provide eight intermediate results to lambda registers 170 - 177, four intermediate results are provided to MAX_0 unit 210 and four are provided to MAX_1 unit 211 for implementing equations (22) and (23) and providing max(0) and max(1) to adder 220. Adder 220 shifts max(0) and max(1) to the right, subtracts max(1)/2 from max(1)/2 and subtracts from the result an a-priori lambda from memory 130 and provides lamdbas to external memory via bus 712.

Claims: A method (30) for performing SISO decoding, the method comprising the steps of: (a) providing (32) a trellis representative of an output of a convolutional encoder, the convolutional encoder having a coding rate of R, the trellis having a block length T and being divided into windows; (b) assigning (34) initial conditions to each node of a starting stage and an ending stage of the trellis; (c) computing (36) a forward metric for each node, starting from the starting stage of the trellis and advancing forward through the trellis and storing forward metrics of nodes of a plurality of starting stages of windows; (d) repeating stages d(1) - d(3) until all lambdas of the trellis are calculated : (1) retrieving (42) forward metrics of nodes of a starting stage of a window, which retrieved forward metrics were computed and stored during step 1(c), (2) computing and storing (44) forward metrics for each node, starting from a second stage of the window and ending at the ending stage of the window; (3) computing (46) backward metrics for each node, starting from the ending stage of the window and ending at the starting stage of the window; characterised in that when backward metrics of nodes of a stage are computed and the forward metrics of the nodes of an adjacent stage were previously computed, the computation of backward metrics is integrated with the computation of lambda from the stage to the adjacent stage and storage of the computed lambdas. The method of claim 1 wherein the method comprises starting to compute the lambdas of a last window of the trellis and advancing backwards through the trellis. The method of claim 1 wherein gammas are computed during stage d(2). The method of claim 1 wherein all windows except a last window of the trellis have a length of WN, WN<<T. The method of claim 1 wherein the windows do not overlap. The method of claim 1 wherein a computation of backward metrics of nodes of an ending stage of a window that is not a last window in the trellis, is preceded by a computation of a backward metric of a following window, wherein the starting stage of the following window follows the ending stage of the window. The method of claim 1 wherein step (c) involves storing the forward metrics of nodes of the starting stages of windows in an external memory module (71). The method of claim 1 wherein step d(3) involves storing the lambdas in an external memory module (71). The method of claim 1 wherein step d(2) involves storing the forward metrics in an internal memory module (75). The method of claim 1 wherein the method is used to implement one of the Log MAP algorithms. A method (50) for performing SISO decoding, the method comprising the steps of: (a) providing (52) a trellis representative of an output of a convolutional encoder, the convolutional encoder having a coding rate of R, the trellis having a block length T and being divided into windows; (b) assigning (54) initial conditions to each node of an ending stage and a starting stage of the trellis; (c) computing (56) a backward metric for each node, starting from nodes of the ending stage of the trellis and advancing backward through the trellis and storing backward metrics of nodes of a plurality of ending stages of windows; (d) repeating stages d(1) - d(3) until all lambdas of the trellis are calculated : (1) retrieving (62) backward metrics of nodes of an ending stage of a window, the retrieved backward metrics were computed and stored during step 1(c), (2) computing and storing (64) backward metrics for each node, starting from a stage that precedes the ending stage of the window and ending at the first stage of the window; (3) computing (66) forward metrics for each node, starting from the starting stage of the window and ending at the ending stage of the window; characterized in that when forward metrics of nodes of a stage are computed and the backward metrics of the nodes of an adjacent stage were previously computed, the computation of forward metrics is integrated with the computation of lambda from the stage to the adjacent stage and a storage of the computed lambdas. The method of claim 11 wherein the method comprises computing the lambdas of a first window of the trellis and advancing forwards through the trellis. The method of claim 11 wherein gammas are computed during stage d(2). The method of claim 11 wherein all windows except a last window of the trellis have a length of WN, WN<T. The method of claim 11 wherein the windows do not overlap. The method of claim 11 wherein a computation of forward metrics of nodes of a starting stage of a window that is not a first window in the trellis, is preceded by a computation of a forward metric of a preceding window, wherein the ending stage of the preceding window is followed by the starting stage of the window. The method of claim 11 wherein step (c) involves storing the backward metrics of nodes of the ending stages of windows in an external memory module (71). The method of claim 11 wherein step d(3) involves storing the lambdas in an external memory module (71). The method of claim 11 wherein step d(2) involves storing the backward metrics in an internal memory module (75). The method of claim 11 wherein the method is used to implement one of the Log MAP algorithms. A system (70; 80; 90; 100) for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel, the encoder output represented by a trellis having a block length T, the system comprising : an internal memory (75), for storing a plurality of variables that are required for calculating lambdas of a window; an external memory module (71), adapted to store a plurality of variables the are required for calculating lambda of the trellis; and a processor (72), coupled to the external memory and the internal memory for calculating forward metrics, backward metrics, branch metrics and lambdas and for accessing the external and internal memory modules; characterised in that the system is adapted to calculate the forward metrics of all the trellis, store forward metrics of nodes of starting stages of windows, calculate forward metrics and branch metrics of a window, store the forward metrics and branch metrics in the internal memory module, use the forward metrics and branch metrics within the internal memory module to calculate lambdas of the window, whereas the system calculates the lambdas of various windows until all lambdas of the trellis are calculated, and when backward metrics of nodes of a stage are computed and the forward metrics of the nodes of an adjacent stage were previously computed, the computation of backward metrics is integrated with the computation of lambda from the stage to the adjacent stage and storage of the computed lambdas. The system of claim 22 wherein the system starts to compute the lambdas of a last window of the trellis and advances backwards through the trellis. The system of claim 22 wherein all windows except a last window of the trellis have a length of WN, WN<<T. The system of claim 22 wherein the windows do not overlap. The system of claim 22 wherein the system computes backward metrics of nodes of an ending stage of a window that is not a last window in the trellis, after the system calculates a backward metric of a following window, wherein the starting stage of the following window follows the ending stage of the window. The system of claim 22 wherein the system stores the forward metrics of nodes of starting stages of windows in the external memory module (71). The system of claim 22 wherein the system stores the lambdas it calculates in the external memory module (71). The system of claim 22 wherein the system stores the forward metrics and the branch metrics of a window in the internal memory module (75). The system of claim 22 wherein the system is used to implement one of the Log MAP algorithms. The system of claim 22 wherein the processor and the internal memory further comprising of: a gamma calculator (76), coupled to the external memory module and to the internal memory module, for receiving received signals and an a-priori lambda and for calculating branch metrics; a gamma register file (82), coupled to the gamma processor, for storing branch metrics calculated by the gamma register; a processor register file (721), coupled to an abc processor (722) and to the external memory module for storing forward metrics, backward metrics and intermediate results to be provided to abc processor or the external memory module; and an abc processor (722), coupled to the gamma register file, the internal memory module, the external memory module, for receiving gammas and either one of forward metrics or backward metrics stored within the processor register file and calculating either forward metrics, backward metrics or lambdas. The system of claim 22 wherein the abc processor (722) further comprises of : a plurality of selection units, coupled to the processor register file, to the gamma register file and to a plurality of arithmetic register file, for selecting the input signals to be inputted to the arithmetic logic units; a plurality of arithmetic control unit, for receiving inputs from the plurality of selection units, for calculating forward metrics, backward metrics and intermediate results and for storing them in the processor register file; a plurality of MAX units, for finding two maximal intermediate results, whereas the first maximal intermediate result is associated to transitions in the trellis caused by a transmission of "1" and a second maximal intermediate result is associated to transitions in the trellis caused by a transmission of "0"; an adder, for generating lambda by subtracting an a-priori lambda and a half of the first maximal result from a half of the second maximal result. The system of claim 31 wherein the processor register file (721) comprises of a plurality of alpha registers for storing forward metrics, a plurality of beta register files for storing backward metrics and a plurality of lambda registers for storing intermediate results. A system (70; 80; 90; 100) for decoding a sequence of signals output by a convolutional encoder and transmitted over a channel, the encoder output represented by a trellis having a block length T, the system comprising : an internal memory (75), for storing a plurality of variables that are required for calculating lambdas of a window; an external memory module (71), adapted to store a plurality of variables that are required for calculating lambda of the trellis; and a processor (72), coupled to the external memory and the internal memory for calculating forward metrics, backward metrics, branch metrics and lambdas and for accessing the external and internal memory modules; characterised in that the system is adapted to calculate the backward metrics of all the trellis, store backward metrics of nodes of ending stages of windows, calculate backward metrics and branch metrics of a window, store the backward metrics and branch metrics in the internal memory module, use the backward metrics and branch metrics within the internal memory module to calculate lambdas of the window, whereas the system calculates the lambdas of various windows until all lambdas of the trellis are calculated, and when backward metrics of nodes of a stage are computed and the forward metrics of the nodes of an adjacent stage were previously computed, the computation of backward metrics is integrated with the computation of lambda from the stage to the adjacent stage and storage of the computed lambdas. The system of claim 33 wherein the system starts to compute the lambdas of a first window of the trellis and advances forwards through the trellis. The system of claim 33 wherein all windows except a first window of the trellis have a length of WN, WN<<T. The system of claim 33 wherein the windows do not overlap. The system of claim 33 wherein the system computes forward metrics of nodes of a starting stage of a window that is not a first window in the trellis, after the system calculates a forward metric of a previous window, wherein the ending stage of the previous window precedes the starting stage of the window. The system of claim 33 wherein the system stores the backward metrics of nodes of starting stages of windows in the external memory module (71). The system of claim 33 wherein the system stores the lamdbas it calculates in the external memory module (71). The system of claim 33 wherein the system stores the backward metrics and the branch metrics of a window in the internal memory module (75). The system of claim 33 wherein the system is used to implement one of the Log MAP algorithms. The system of claim 33 wherein the processor and the internal memory further comprise of : a gamma calculator, coupled to the external memory module and to the internal memory module, for receiving received signals and an a-priori lambda and for calculating branch metrics; a gamma register file (82), coupled to the gamma processor, for storing branch metrics calculated by the gamma register; a processor register file (721), coupled to an abc processor (722) and to the external memory module for storing forward metrics, backward metrics and intermediate results to be provided to abc processor or the external memory module; and an abc processor (722), coupled to the gamma register file, the internal memory module, the external memory module, for receiving gammas and either one of forward metrics or backward metrics stored within the processor register file and calculating either forward metrics, backward metrics or lambdas. The system of claim 42 wherein the abc processor (722) further comprises of : a plurality of selection units, coupled to the processor register file, to the gamma register file and to a plurality of arithmetic register file, for selecting the input signals to be inputted to the arithmetic logic units; a plurality of arithmetic control unit, for receiving inputs from the plurality of selection units, for calculating forward metrics, backward metrics and intermediate results and for storing them in the processor register file; a plurality of MAX units, for finding two maximal intermediate results, whereas the first maximal intermediate result is associated to transitions in the trellis caused by a transmission of "1" and a second maximal intermediate result is associated to transitions in the trellis caused by a transmission of "0"; an adder, for generating lambda by subtracting an a-priori lambda and a half of the first maximal result from the half of the second maximal result. The system of claim 43 wherein the processor register file (721) comprises of a plurality of alpha registers for storing forward metrics, a plurality of beta register files for storing backward metrics and a plurality of lambda registers for storing intermediate results.

Inventors: ELNEKAVE MARK, PISEK ERAN, TARRAB MOSHE, TOKAR JACOB, ELNEKAVE, MARK, PISEK, ERAN, TARRAB, MOSHE, TOKAR, JACOB
Applicants: MOTOROLA INC, MOTOROLA, INC.
Application year: 2000
Main classification: H03M13
IPC codes: H03M13