CA2198579A1 - Traceback for viterbi decoder - Google Patents

Traceback for viterbi decoder

Info

Publication number
CA2198579A1
CA2198579A1 CA002198579A CA2198579A CA2198579A1 CA 2198579 A1 CA2198579 A1 CA 2198579A1 CA 002198579 A CA002198579 A CA 002198579A CA 2198579 A CA2198579 A CA 2198579A CA 2198579 A1 CA2198579 A1 CA 2198579A1
Authority
CA
Canada
Prior art keywords
traceback
state
path
data
stages
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
CA002198579A
Other languages
French (fr)
Inventor
Richard James Thomas
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Discovision Associates
Original Assignee
Discovision Associates
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Discovision Associates filed Critical Discovision Associates
Publication of CA2198579A1 publication Critical patent/CA2198579A1/en
Abandoned legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/65Purpose and implementation aspects
    • H03M13/6502Reduction of hardware complexity or efficient processing
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/39Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes
    • H03M13/395Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using a collapsed trellis, e.g. M-step algorithm, radix-n architectures with n>2
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/37Decoding methods or techniques, not specific to the particular type of coding provided for in groups H03M13/03 - H03M13/35
    • H03M13/39Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes
    • H03M13/41Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using the Viterbi algorithm or Viterbi processors
    • H03M13/4161Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using the Viterbi algorithm or Viterbi processors implementing path management
    • H03M13/4169Sequence estimation, i.e. using statistical methods for the reconstruction of the original codes using the Viterbi algorithm or Viterbi processors implementing path management using traceback

Abstract

In a traceback unit for an M-step Viterbi decoder for a convolutionally encoded data stream, each of the traceback stages has a group of K input wires representing Kpossible candidate states. A bank of K multiplexers selects one of 2M of the input wires according to M bits of traceback data. The K multiplexer outputs feed a succeeding traceback stage. M groups of K wires carry the traceback data, with each wire being connected to a selection line of each multiplexer. At the output of the traceback unit an identification circuit identifies a subgroup of the K possibilities which has a maximum number of candidate states remaining therein. The arrangement obviates the need for retiming between every traceback stage.

Description

.

TRACEBACK FOR VITERBI DECODER
BACKGROUND OF THE INVENTION
1. Field of the Invention.
This invention relates to a decoder of a convolutional coded data stream.
More particularly this invention relates to an improved traceback facility for a Viterbi decoder.
2. Description of the Related Art.
Viterbi decoders are important in modern telecommunications, in which digital signals are convolutionally encoded. In a modern application, coded orthogonal frequency division multiplexing ("COFDM") requiring a convulutional code has been proposed in the European Telecommunications Standard DRAFT pr ETS 300 744 (May 1996), which specifies the framing structure, channel coding, and modulation for digital terrestrial television. This standard was designed to accommodate digital terrestrial television within the existing spectrum allocation for analog transmissions, yet provide adequate protection against high levels of co-channel interference and adjacent channel interference. A flexible guard interval is specified, so that the system can support diverse network configurations, while maintaining high spectral efficiency, and sufficient protection against co-channel interference and adjacent channel interference from existing PAL/SECAM services. Two modes of operation are defined: a "2K mode", suitable for single transmitter operation and for small single frequency networks with limited transmitter distances, and an "8K mode". The latter can be used for either single transmitter operation or for large single frequency networks. Various levels of quadrature amplitude modulation ("QAM") are supported, as are different inner code rates, in order to balance bit rate against ruggedness.
The system is intended to accommodate a transport layer according to the Moving Picture Experts Group ("MPEG"), and is directly compatible with MPEG-2 coded TV
signals (ISO/IEC 13818).
In the noted European Telecommunications Standard data carriers a COFDM
frame can be either quadrature phase shift keyed ("QPSK"), 16-QAM, 64-QAM, non-uniform 16-QAM, or non-uniform 64-QAM using Gray mapping.
In the following discussion reference may be to Fig. 1, which illustrates a simplified transition trellis diagram 167 according to a one-step Viterbi decoding process at a coding rate of 1/2, according to convolutional encoding with a constraint length K = 3, and a generator polynomial G(x) = (X2 + x + 1, x2 + 1). (1) The rate 1/2 indicates that for every one bit input, the encoder generates two bits. The constraint length K is the maximum number of signals that can be used to generate an output. Using a transition trellis diagram such as diagram 167, and an incoming data sequence, it is possible to generate an output stream following a sequence of 5 states S. In the diagram 167 a particular state St can be represented by two bits. For example, state St can assume the value 2 (binary 10), indicated by reference numeral 169. In the representation of diagram 167, in state S~+, the bits of state St are shifted by one position, and an incoming data bit occupies the rightmost (least significant bit) position. Thus, the state value 169 can legally transition to values 171 10 and 173 in state St+, . For these two transitions, the convolutional encoder will produce values 175 and 177 respectively, indicated more generally as xtyt. All possible state transitions can be calculated for the encoder, i.e. given St and data bit dt, the next state St+" xt and Yt can be evaluated.
The path metric is a measurement of the likelihood that the state is on the 15 original encoder state sequence at that time. The smaller the path metric, the more probable the state is, and vice versa. The branch metric is a measurement of theprobability value attached to each branch depending on the input. The branch metric is taken as the Hamming weight, which is the number of differing bits between a received symbol xy", and an expected symbol xy along every branch in each transi-20 tion as shown in Fig. 1. Traceback is the method of going back through the trellis tofind the initial state which produced the state with the smallest path metric.
In the preferred embodiment a 2-step decoding process is employed, corre-sponding to moving through the trellis two steps at a time. This doubles the time to calculate each step, and each traceback yields two bits, rather than one. However 25 the number of calculations required at each state has also doubled, as each state now has four possible paths to be calculated. Only one path is required to be main-tained in memory for each state. That path, known as the surviving path, is the one having the smallest path metric and is thus the most likely path.
Puncturing has the effect of producing a higher rate of data transmission, as the 30 code is more effficient. In exemplary Table 2, the convolutional encoder (not shown) encodes data to produce symbols xt and yt, which are then punctuated according to the puncturing matrix x: 1 0 y:1 1 35 to produce x't and y't, which are then retimed to be transmitted as l,Q in quadrature phase shift keyed modulation. When decoding with punctured data, the omitted bits do not contribute to the branch metric calculation.

2198~79 Table 1 data do d, d2 d3 d4 xy xOyO x,y, x2y2 x3y3 x4y4 x'y' xOyO Y~ X2Y2 Y3 x4y4 IQ xOyO y,x2 Y2Y3 x4y4 In the simple example given above, branch metrics were calculated using the Hamming Weight. Significant improvements result if, instead of receiving either a 1 or 0, we receive a multiple bit representation of each x", and y ,~ showing the relative likelihood of the signal being a 1 or 0. Thus, in a 16 level (4-bit) soft decoding, a 1 is represented by 15 (binary 1111).
In 16 level decoding, if, for example, xy", = (3, 14) are received, the branch metrics may be calculated as shown in Table 2. When calculating new path metrics, the respective path metrics are calculated using these soft-calculated branch 15 metrics, giving significant improvements in decoder performance. In the preferred embodiment, an 8 level (3-bit) soft decoding is used. Traceback is implemented using a systolic array, as explained below in detail.
Table 2 expected xyr,~ branch calculation result 00 0 10-3l + ¦0-14l 17 01 1 10-3l + l 15-14l 4 2 115-3l + l0-141 26 11 3 l15-31 + l15-14l 13 In the preferred embodiment, data is convolutionally encoded using a constraint length K=7, which corresponds to a trellis having 64 states. A partial representation of a 2-step transition trellis diagram for this situation is illustrated in Fig. 2.
In the noted European Telecommunications Standard there is an outer Reed-Solomon code, and an inner punctured convolutional code, based on a mother convolutional code of rate 1/2 with 64 states, and having generator polynomials G,=171OCT for X output and G2=133OCT for Y output. In one mode of operation, other punctured rates of 213, 314, 516 and 7/8 are allowed.
During the Viterbi decoding process, traceback requires a substantial amount of processing time and hardware resources. The traceback module in a Viterbi decoder also represents an important production cost.

SUMMARY OF THE INVENTION
It is therefore a primary object of the present invention to provide an improvedViterbi decoder for use in decoding convolutional coded data streams.
It is another object of the invention to provide an improved traceback facility in a 5 Viterbi decoder, which is economical to produce with modern methods of hardware design, and which minimizes hardware resources.
It is yet another object of the invention to provide a traceback facility for a Viterbi decoder which can be conveniently applied to various applications in telecom-munications and other technologies.
These and other objects of the present invention are attained by an M-step Viterbi decoder for a convolutionally encoded data stream. The decoder has a path metric calculator for K possible states, and a plurality of traceback stages that in a cycle of operation accept both a minimum path metric state identification and traceback data from the path metric calculator. In each of the traceback stages a group of K input wires represents the candidate states of a stage of operation, and define a plurality of input subgroups. In a bank of K selectors, which can be multiplexers, each selector has N inputs mapped to an input subgroup, and has selection lines for accepting M bits of traceback data, where N = 2M. The bank of K
selectors has K outputs connected to a succeeding traceback stage. M groups of Kwires carry traceback data, and a predetermined wire of each group of the M groups is operatively mapped to a selection line of each the selectors.
The K outputs define a plurality of output subgroups. The decoder has an identification circuit for determining which of the output subgroups has a maximum number of candidate states remaining therein.
According to an aspect of the invention the identification circuit comprises a plurality of adders each connected to one of the output subgroups for adding theoutputs thereof, and a comparator circuit coupled to the adders.
According to another aspect of the invention there is a plurality of retiming registers, wherein the number of traceback stages exceeds the number of retimingregisters.
BRIEF DESCRIPTION OF THE DRAWING
For a better understanding of these and other objects of the present invention, reference is made to the detailed description of the invention, by way of example, which is to be read in conjunction with the following drawings, wherein:
Fig. 1 illustrates a simplified transition trellis diagram according to a one-step Viterbi decoding process;

Fig. 2 is a fragmentary view of a transition trellis diagram according to the Viterbi decoding process performed in the preferred embodiment of the invention;Figs. 3A - 3B, collectively referenced Fig. 3, are a block diagram of a Viterbi decoder;
Figs. 4A - 4B, collectively referenced Fig. 4, are an electrical schematic of a control unit in the Viterbi decoder illustrated in Fig. 3;
Figs. 5, 6, and 7 illustrate decode logic in the control unit shown in Fig. 4;
Fig. 8 is an electrical schematic of the branch metric generation block of the Viterbi decoder illustrated in Fig. 3;
Figs. 9A- 9F, collectively referenced Fig. 9, are an electrical schematic illustrating in further detail a portion of the circuit of Fig. 8;
Fig. 10 is a detailed electrical schematic of a calculation unit in the circuit of Fig.
9;
Fig. 11 is an electrical schematic of a logical network which is employed in thecircuit illustrated in Fig. 10;
Fig. 12 is an electrical schematic of a summing unit of the circuit of Fig. 9;
Figs. 13A- 13B, collectively referenced Fig. 13, are an electrical schen1atic illustrating an add-compare-select unit in the path metric generation block of the Viterbi decoder illustrated in Fig. 3;
Fig. 14 is diagram illustrating the calculation of a path metric;
Fig. 15 is a fragmentary block diagram illustrating an add-compare-select unit in the path metric generation block of the Viterbi decoder illustrated in Fig. 13;
Fig. 16 is an electrical schematic of a portion of an add-compare-select unit inthe path metric generation block of the Viterbi decoder illustrated in Fig. cf1;Fig. 17 is a flow diagram illustrating a sequence of operations of the control block of the Viterbi decoder illustrated in Fig. 3;
Figs. 18A - 18B, collectively referenced Fig. 18, are an electrical schematic ofthe control block explained in Fig. 17;
Fig. 19 is an electrical schematic of a traceback column of the traceback unit in the Viterbi decoder illustrated in Fig. 3;
Fig. 20 is an electrical schematic of a traceback unit of a Viterbi decoder; andFig. 21 is an electrical schematic of a traceback unit of a Viterbi decoder in accordance with a preferred embodiment of the invention;
DESCRIPTION OF THE PREFERRED EMBODIMENT
Referring now to Fig. 3, a Viterbi decoder has a rotation adjustment block 179, which receives in-phase and quadrature data on lines 48, 50. Validity of the incoming data is indicated by the state of a signal on line 52. In preceding stages the demodu-lator can lock the signal constellation in any of 8 carrier rotation phases, taking into consideration that it is possible for the received signal spectrum to be inverted in the sense that an l,Q symbol is received as a Q,l symbol. However, this condition isdealt with as discussed below, rather than in the rotation adjustment block 179. The 5 present rotation phase is placed on a bus 181.
For all possible branches (256 in the preferred embodiment, using a constraint length K = 7, and 2-step decoding), branch metrics are calculated at each operation cycle in branch metric generation block 186, which is controlled by phase and punctuation control block 188. The current puncture rate on bus 185 and current puncture phase on bus 187 are input to the phase and punctuation control block 188 from a higher control block, which is Viterbi control block 195. States in the branch metric generation block 186 are mapped and selected for puncturing and phase adjustment according to the state of lines 197, 199, 201, and 203.
The phase and punctuation control block 188 is shown in greater detail in Fig.
4. The maximum number of phases is derived from the puncture rate on bus 185 by combinatorial logic network 205, and placed on bus 207. Phase counting is accom-plished in section 209 by a three bit adder, referenced generally at 211, followed by a 4-bit subtracter, indicated at 213. The phase count, modulo the maximum number of phases, is determined and submitted to phase calculation section 215, where the current puncture phase is added to the phase count in the same manner as in section 209. The current phase, modulo the maximum number of phases, appears on bus 217. As there is a difference between the data transmission rate of the punctuated data stream and the system processing rate, it is necessary to enableand disable the Viterbi decoder according to the punctuation phase. A global enable signal 219 is generated by a small logical network 221.
The output of the phase calculation section 215 is also used in a block 223 to decode the phase and rate information on buses 187 and 217 to produce the signals on buses 197, 199, 201, and 203, which are communicated to the branch metric generation block 186 (Fig. 3). The decode logic for buses 197 and 199 is shown in Figs. 5, 6, and 7, wherein individual bit positions are referenced on lines 225, 227, 228, 229, 231, 233 and 236. The signals on buses 201 and 203 (Fig. 3) are comple-mentary to those on buses 197 and 199 respectively. As will be seen below, bus 199 selects a choice of l,Q inputs during branch generation, and bus 203 indicates where a puncture has occurred so that the data at the puncture location does not contribute to the path metric calculation.
The branch metric generation block 186 (Fig. 3) is shown in greater detail in Fig. 8. Pairs of l,Q data are received on lines 238, 240 respectively, and are pro-cessed in four combinatorial logic units 242, according to selector lines 225, 227, 228, 229, which are the complement of lines 197 (indicated as lines 244, 246, 248, 250), and the previous l,Q data on lines 252 and 254. From this data, two symbol XY
pairs are reconstituted and presented to block 256 on lines 258, 260, 262, 264 for 5 the generation of all 16 possible branch metrics on lines 266. The previous l,Q data is obtained from two delay flip-flops 268, 270.
Block 256 is illustrated in greater detail in Fig. 9, and comprises 16 identicalcalculation units 272, one for each of the 16 possible branches. A representative calculation unit 272 is described in yet further detail in Fig. 10. Each calculation unit 272 includes four modules 274 in which the expected data is hard-wired. The modules 274 sum the absolute differences between the input data and the expecteddata for that particular branch, in the manner shown in Table 3, and force the data corresponding to punctuated positions to zero in accordance with the states of lines 201 and 203. As shown in Fig. 11 the modules 274 comprise a simple logical network, which determines absolute differences, by inverting alternate bits. The four differences thus obtained on lines 278, 280, 282, 283 are summed in summing unit284, which is illustrated in detail in Fig. 12 for output on lines 266 as the branch metric.
Turning now to Figs. 3 and 13, path metrics are calculated in path metric generation block 189, utilizing the precalculated branch metrics obtained from the branch metric generation block 186 on lines 288. Precalculation of the branch metrics greatly simplifies the calculation of the path metrics. The path metric genera-tion block 189 is able to process 2 symbols in one clock cycle. By appropriate hardware design choices, the branch metric generation block 186 and the path metric generation block 189 can optionally be generalized to process m symbols in a single clock cycle using an m-stage Viterbi decoder.
The organization of the path metric generation block 189 is initially shown, by way of example, in Fig. 14, where the calculation of a path metric for state 0 is shown. A full expansion of the trellis diagram illustrated in Fig. 2 would show that at St+" state 0 can legally receive transitions from states 0, 16, 32, and 48, referenced as 290, 292, 294 and 296 respectively. These transitions are referred to in Table 4 as paths 0 - 3 respectively, corresponding to the two most significant bits of their state number. Table 4 discloses the branch metrics for each legal transition in the transitional trellis diagram of Fig. 2. From Table 4 it can be seen that for state 0, path 0 has expected branch data of 0; path 1 expects 14; path 2 expects 3; and path 3expects 13. Using the received data, the branch metrics for each expected branchdata are calculated. To calculate the four possible candidates for state O's next path metric, the previous path metric for state O is added to the branch metric with expected data 0, using adder 298 to give candidate O on line 300, and so on for the other three paths. Then, after comparison of the four candidates in block 302, the next path metric for state O is the smallest candidate value, and is output on line 304.
5 The other candidates are discarded, as they are non-optimum paths.
Two data bits passed onto the traceback indicate which path was chosen as having the smallest path metric, i.e. path 0,1, 2 or 3, as required to trace back in time.

Table 4 State 0: path 0= 0 1=14 2= 3 3=13 State 32: path 0= 8 1= 6 2=11 3= 5 State 1: path 0=12 1= 2 2=15 3= 1 State 33: path 0= 4 1=10 2= 7 3= 9 State 2: path 0= 7 1= 9 2= 4 3=10 State 34: path 0=15 1= 1 2=12 3= 2 State 3: path 0=11 1= 5 2= 8 3= 6 State 35: path 0= 3 1=13 2= 0 3=14 State 4: path 0=13 1= 3 2=14 3= 0 State 36: path 0= 5 1=11 2= 6 3= 8 State 5: path 0= 1 1=15 2= 2 3=12 State 37: path 0= 9 1= 7 2=10 3= 4 State 6: path 0=10 1= 4 2= 9 3= 7 State 38: path 0= 2 1=12 2= 1 3=15 State 7: path 0= 6 1= 8 2= 5 3=11 State 39: path 0=14 1= 0 2=13 3= 3 State 8: path 0=15 1= 1 2=12 3= 2 State 40: path 0= 7 1= 9 2= 4 3-10 State 9: path 0= 3 1=13 2= 0 3=14 State 41: path 0=11 1= 5 2= 8 3= 6 State 10: path 0= 8 1= 6 2=11 3= 5 State 42: path 0= 0 1=14 2= 3 3=13 State 11: path 0= 4 1=10 2= 7 3= 9 State 43: path 0=12 1= 2 2=15 3= 1 State 12: path 0= 2 1=12 2= 1 3=15 State 44: path 0=10 1= 4 2= 9 3= 7 State 13: path 0=14 1= 0 2=13 3= 3 State 45: path 0= 6 1= 8 2= 5 3=11 State 14: path 0= 5 1=11 2= 6 3= 8 State 46: path 0=13 1= 3 2=14 3= 0 State 15: path 0= 9 1= 7 2=10 3= 4 State 47: path 0= 1 1=15 2= 2 3=12 State16:pathO=31=132=03=14 State48:pathO=11 1=52=83=6 State 17: path 0=15 1= 1 2=12 3= 2 State 49: path 0= 7 1= 9 2= 4 3-10 State 18: path 0= 4 1=10 2= 7 3= 9 State 50: path 0=12 1= 2 2=15 3= 1 State 19: path 0= 8 1= 6 2=11 3= 5 State 51: path 0= 0 1=14 2= 3 3=13 State 20: path 0=14 1= 0 2=13 3= 3 State 52: path 0= 6 1= 8 2= 5 3=11 State 21: path 0= 2 1=12 2= 1 3=15 State 53: path 0=10 1= 4 2= 9 3= 7 State 22: path 0= 9 1= 7 2=10 3= 4 State 54: path 0= 1 1=15 2= 2 3=12 2198~79 State23:pathO=51=11 2=63=8 State55:pathO=131=32-143=0 State 24: path 0=12 1= 2 2=15 3= 1 State 56: path 0= 4 1=10 2= 7 3= 9 State 25: path 0= 0 1=14 2= 3 3=13 State 57: path 0= 8 1= 6 2--11 3= 5 State 26: path 0=11 1= 5 2= 8 3= 6 State 58: path 0= 3 1=13 2= 0 3=14 State 27: path 0= 7 1= 9 2= 4 3=10 State 59: path 0=15 1= 1 2=12 3= 2 State 28: path 0= 1 1=15 2= 2 3=12 State 60: path 0= 9 1= 7 2=10 3= 4 State 29: path 0=13 1= 3 2=14 3= 0 State 61: path 0= 5 1=11 2= 6 3= 8 State 30: path 0= 6 1= 8 2= 5 3=11 State 62: path 0=14 1= 0 2=13 3= 3 State 31: path 0=10 1= 4 2= 9 3= 7 State 63: path 0= 2 1=12 2= 1 3=15 The path metric generation block 189 comprises 64 add-compare-select blocks 306, one of which is fully shown in a fragmentary view in Fig. 15. Each of the add-compare-select blocks 306 generates a path metric. In actual layout, it is convenient to arrange the 64 add-compare-select blocks 306 in two groups of 32. This is a more compact design which minimizes the length and thus the driving requirements of the path metric routing crossbar. The smallest of the 64 path metrics is determined in the path metric generation block 189. Each of the add-compare-select blocks 306 receives four path metrics of a previous state each on 6-bit buses 308, 310, 312, 314, corresponding to transitions such as shown in Fig. 2. The corresponding branch metrics are received on 5-bit buses 316, 318, 320, and 322.
Fig. 13 illustrates the arrangement of an add-compare-select block 306 in greater detail, wherein a minimum path metric of the 4 candidate path metrics input thereto is determined. The candidate path metrics are obtained in adders 324 by the addition of a path metric and a branch metric which are input on buses 326 and 328 respectively. The minimum path metric is then determined in compare module 330.
Compare module 330 is shown in further detail in Fig. 16, in which four values are compared to find the minimum. In the six units 332 at the left side of Fig. 16, all possible comparisons are made and outputted on lines 334, 336. The outputs on lines 336 are simply the inversions of the outputs on lines 334 for each respective unit 332. The results are then decoded in a logical network 338 and placed on a four-bit select bus 340. An advantage of the arrangement is that the add, compare, and rescale operations, discussed below, can be pipelined to save time.
Referring again to Figs. 3 and 13, two bits of information are provided to a traceback unit 191 on lines 342 and 344 at each data cycle of operation of each add-compare-select block 306. Selection of the smallest path metric is accomplished using multiplexers referenced generally 346. To allow the path metric to be repre-21g8579 sented by six bits in order to reduce hardware, a rescaling unit 348 rescales the smallest path metric in an adder 350. The smallest path value is rescaled according to the equation RV = 1 -~ +z -2 (2) wherein x is the smallest path metric, RV is the rescale value, and z~' and Z-2 are x delayed by 1 and 2 cycles of operation of the add-compare-select block 306 respec-tively. The delay is employed because 2 cycles are required to calculate the smallest path metric. The rescaling function utilized guarantees that the rescaled value RV will never be negative. The rescaled path metric is output on bus 352.
Referring now to Fig. 3, the Viterbi decoder has a control block 195, which has several functions. In a first mode of operation, illegal state transitions of the path having the smallest path metric are counted as a measure of whether the currently estimated puncture rate, puncture phase and carrier phase have been correctly determined. Based on the illegal state transition count, a new combination of puncture rate, puncture phase, and carrier phase are chosen. If the illegal state transition count is within a specified tolerance, a second mode of operation is initiated, wherein an output data stream is enabled in which a correct synchronization pattern is sought. However, the end-state of the first mode of operation is retained.
Hence if synchronization is not achieved, the first mode of operation is resumed at the end-state. This can be appreciated with reference to Fig. 17. Initially, in step 354, the illegal state counter and a wait counter are reset. At decision step 356 a check is immediately made to determine of a permissible number of illegal states transitions has been exceeded.
A test is next made at step 370 for the occurrence of an illegal state transition.
If an illegal state transition has not occurred, control immediately passes to decision step 360. If an illegal state transition has occurred, an illegal transition state counter is incremented at step 372. Otherwise control passes to step 358. Another test of the cumulative number of illegal state transitions is performed in decision step 374. If the number of illegal states is still within tolerance, control passes to step 358. Otherwise step 366 is executed, as will be explained below.
The wait counter is incremented in step 358. Next, at decision step 360 a test is made to determine if the 256 cycles have been evaluated, according to the state of the wait counter. If not, control returns to step 356. If 256 cycles have been evalu-ated and the illegal state transitions remain within tolerance, synchronization search is activated in step 362. Control then proceeds to decision step 364, wherein activity of the synchronization unit is tested. Until synchronization fails, control remains in step 364.
In the event synchronization fails, control returns to the first mode of operation at decision step 366. Control also shifts to step 366 if, at any execution of step 356, 5 the number of illegal state transitions is not within tolerance. Step 366 is a decision step wherein a test is made for exhaustion of all possible combinations of puncture phases and carrier phases. If these have not been exhausted, the carrier phase is changed in step 368, and control returns to step 354. If the test at decision step 366 fails, then a further test is made at decision step 376 to determine if all puncture 10 rates have been evaluated. If exhaustion has not occurred, then the puncture rate and phase are changed at step 378. If all puncture rates and phases have been evaluated, then tolerance is increased at step 380, and control again retun1s to step 354.
The realization of the flow diagram shown in Fig. 17 is illustrated in Fig. 18. The wait counter is incremented in incrementer 382, and its value placed on a bus 384.
The wait counter is tested in combinatorial logic 386. The number of illegal transi-tions tolerated is signaled on bus 388, and tested against the illegal state count on bus 390 in a comparator unit 392. A pulse is then generated on line 394, outputted on line 396, and fed back via a logical network 398 to a controller unit 400. The controller unit 400 outputs a new carrier phase, puncture rate, puncture phase, and new tolerance limit on lines generally referenced 402, according to the procedure discussed with reference to Fig. 17.111egal state transitions are signaled on line 404 as decoded by a logical network 406 taking the previous state as input. Transitions on line 404 are counted in incrementer 408, and the new count value placed on a bus 410.
The second mode of operation, looking for sync bytes in the data stream, is initiated on line 412. This line is the output of a combinatorial logic network 414, which is governed by several control signals, namely the state of the tolerance test line 396, the status of the wait counter on line 416, and the current state of the decoder's second mode of operation, which is indicated on line 418.
The systolic traceback array unit 191 (Fig. 3) can be further understood with reference to Fig. 19. The traceback array unit 191 is linked to the add-compare-select blocks 306 (Fig. 15) of the path metric generation block 189, and includes a succession of traceback columns 420, each traceback column 420 representing all historical surviving paths determined at a point in time by the add-compare-select blocks 306 and the path metric generation block 189. Each traceback column 420 has a plurality of traceback elements 422, and each traceback element 422 accepts m bits of traceback data 424. As explained herein, m equals 2 in the currently preferred embodiment. The traceback column's traceback elements 424 are ad-dressed by three predecoded select lines 426, 428, and 430 according to contents of at least one previous traceback column (not shown), as decoded by three decoders432. The outputs of each traceback column 420 are placed on precharged lines 434.
In accordance with the known theory of 2-step Viterbi decoding, two bits are acquired in each traceback column 420 to become the two most significant bits of the next traceback column. At each stage in traceback a 6-bit state addresses one of the 64 locations to get the contents of the traceback element and build the next state in the traceback. This 64 to 1 multiplexing is done by precharging the two data lines 434.
As explained above, select lines 426, 428, and 430 are connected according to the state number of the previous traceback element, line 426 tapping the decodedstate[1:0] corresponding to its state number, line 428 tapping State[3:2], and line 430 tapping State[5:4]. On clock Ph1 436, the two precharge lines 434 are pulled to VDD.
On clock PhO 438, only one of the traceback elements 424 is selected by select lines 426, 428, and 430, and the precharge lines 434 are pulled down according to the traceback data. The state of the precharge lines 434 is latched in latches 440, 442 to be used for the 2 most significant bits for the next traceback column (not shown). It has been found that the use of precharged lines 434 greatly reduces the area required by the traceback unit 191.
When the last traceback column is reached, two bits of fully decoded l,Q data isoutputted on the precharged lines 434 for use by the synchronization block 193 (Fig.
3).The amount of history (size of the window) in the traceback and the number oflevels in the quantized l,Q data stream have significant effects on the performance of the Viterbi decoder.
Viterbi Traceback - Further Disclosure In the disclosure hereinbelow 24 traceback stages are used to achieve the required error correction performance. However the invention is applicable to other traceback facilities having different number of stages. Each stage operates on 64 x 2 bits of traceback data, because the current Viterbi decoder design employs 2-step decoding. Referring now to Fig. 20, there is shown in further detail the traceback unit 502 which is employed in the apparatus disclosed above. This operates by indexing the traceback data contained in registers 504 with 6-bit data which are stored in registers 506, and represent the "most probable state". As explained above, the "most probable state" at the input to the traceback unit 502 is that state (of 64 possibilities) which had the minimum path metric value as determined by the path metric generator 508. Duplication of the registers 504 at each stage in the traceback unit 502 is necessary for retiming. The data representing the most probable state in a succeeding stage 510 of traceback is formed with two selectors 512 by using the selected traceback data on lines 514, 516, and the 4 MSBs 518 of the previous most probable state stored in stage 520. The selectors 512 are implemented as 64:1 multiplexers. With this approach, the circuit effectively moves back through the trellis by 2 steps per clock cycle. The approximate resource requirement per traceback stage is shown in Table 4.
Table 4 10Resource Calculation Total Flip-Flops 64 x 2 x 2 + 6 262 Multiplexers (64:1) 2 2 Stage Interconnect 64 x 2 + 6 134 In a modern synthesized design, the use of the 64:1 multiplexers unfortunately results in a deep hierarchy of smaller multiplexers which are likely to be too slow or too large in area. Furthermore the requirement for retiming the traceback data results in a large use of flip-flops.
Turning now to Fig. 21 there is shown a traceback unit 522 comprising a plurality of traceback stages, and a particular traceback stage 524. The output of the path metric generator 508 is conducted to the traceback unit 522 on a 6-bit bus 526.
The state with the minimum path metric for the current cycle appears on the 6-bit bus 526, which is decoded in a 6:64 decoder 528. After retiming in a register 530, the input to the traceback stage 524 then appears on a 64-bit bus 532. The 64-bit bus 532 is mapped onto a bank 534 of 64 4:1 multiplexers, one multiplexer for each of the 64 states in accordance with the trellis diagram shown in Fig. 2. The trellis diagram is essentially modeled by the architecture of the traceback stage 524, in that each multiplexer in the bank 534 is set by the traceback data to determine its associated state. By definition the state indicated by each multiplexer in the bank 534 represents the most probable step to reach that state from 1 of 4 previous possible states. The input traceback data from previous stages is stored in 64-bit registers 536 and conducted on two 64-bit buses 538. The two bits of traceback data for each of the 64 states in the previous stage are mapped onto the selector lines 540 of the bank 534 of 64 multiplexers. The most probable steps required to reach each state in the current stage is communicated to a succeeding stage 542 on a 64-bit bus 544.When the minimum path metric appears on the 6-bit bus 526 it will ripple through the trellis that is modeled by the traceback stages 524, 542, and by succeeding ~

traceback stages (not shown). An advantage of this arrangement is that retin-~ing is not essential between all stages.
Because the "most probable state" only has to go through one 4-to-1 multi-plexer for each step through the trellis, several stages of traceback can be executed 5 in one clock cycle, which is 33 ns in the presently preferred embodiment. It is therefore only necessary to retime the state and traceback data after several stages, further reducing the number of flip-flops in the design. At the output of the traceback unit 522 the 64 lines comprising the bus 546 are mapped into four groups 548 of 16 lines each according to the following table, wherein the states represented are~10 numbered according to the trellis diagram shown in Fig. 2.
Table 5 Group States Represented The groups 548 are presented to a summing unit 550 having 4 adders 552, each of which sums 16 1-bit inputs. The sums are then provided to a 4-way com-parator 554 on 5-bit buses 556. The final output on the two-bit bus 558 indicates the smallest of the four inputs to the summing unit 550, corresponding to the 2 most significant bits of the most probable state, i.e. which of the 4 groups of 16 state outputs produced by the adders 552 has the minimum number of outputs set to 1.
For example, where retiming is done after every 6 traceback stages, the average resource utilization per traceback stage in the traceback unit 522 is given in Table 6.

Table 6 30Resource Calculation Total Flip-Flops 64 x 2 + (64 x 2 + 64)/6 160 Multiplexers (4: 1) 64 64 Stage Interconnect 64 x 2 + 64 192 Although this design results in a much higher number of wire connections, these are conveniently implemented with the use of 3 or 4 layers of metal in an very large scale integrated circuit ("VLSI").
In an alternate embodiment of the invention, the output of the adders 552 can 5 be output on buses that are smaller than the theoretical 5-bit width implied in the design. This is possible in a practical system because the number of state outputs set to 1 should be very small affer multiple stages of traceback.
While this invention has been explained with reference to the structure dis-closed herein, it is not confined to the details set forth and this application is intended 10 to cover any modifications and changes as may come within the scope of the following claims:

Claims (6)

1. An M-step Viterbi decoder for a convolutionally encoded data stream of the type having a path metric calculator for K states, and a plurality of traceback stages that in a cycle of operation accept a minimum path metric state identification and traceback data from said path metric calculator, wherein the improvement comprises:
a plurality of traceback stages, each comprising:
a first group of K wires having signals thereon representing candidate states ofa stage of operation, said first group defining a plurality of input subgroups;
a bank of K selectors each having N inputs mapped to a said input subgroup, each selector further having selection lines accepting M bits of traceback data; and said bank having K outputs connected to a succeeding traceback stage, wherein N =
2M; and M groups of K wires for carrying traceback data, wherein a predetermined wire of each group of said M groups is operatively mapped to a said selection line of each said selector.
2. The Viterbi decoder according to claim 1, wherein said K outputs define a plurality of output subgroups, the decoder further comprising an identification circuit for determining a selected one of said output subgroups that has a maximum number ofsaid candidate states therein.
3. The Viterbi decoder according to claim 2, wherein said identification circuitcomprises:
a plurality of adders each connected to a said output subgroup of said K
outputs for adding the outputs thereof;
a comparator circuit coupled to said adders for identifying an output subgroup associated therewith.
4. The Viterbi decoder according to claim 1, further comprising a plurality of retiming registers, wherein said plurality of traceback stages exceeds said plurality of retiming registers in number.
5. An M-step Viterbi decoder for a convolutionally encoded data stream of the type having a path metric calculator for K states, and a plurality of traceback stages that in a cycle of operation accept a minimum path metric state identification and M bits of traceback data from said path metric calculator, wherein the improvement comprises:

a plurality of traceback stages, each comprising:
a first group of K wires having signals thereon representing candidate states ofa stage of operation, said first group defining a plurality of input subgroups, each said input subgroups having N members, wherein N = 2M;
a bank of K multiplexers each having N inputs mapped to a said input sub-group, each multiplexer further having M selection lines, and an output connected to a succeeding traceback stage; wherein in a last one of said traceback stages said outputs of said bank of K multiplexers define a plurality of output subgroups, each said output subgroup having K/N members;
M groups of K wires for carrying traceback data, wherein a predetermined wire of each group of said M groups is operatively mapped to a said selection line of each said multiplexer;
a plurality of adders each connected to a said output subgroup for adding the outputs thereof;
a comparator circuit coupled to said adders for identifying an output subgroup associated therewith.
6. The Viterbi decoder according to claim 5, further comprising a plurality of retiming registers for said M groups of K wires, wherein said plurality of traceback stages exceeds said plurality of retiming registers in number.
CA002198579A 1996-10-30 1997-02-26 Traceback for viterbi decoder Abandoned CA2198579A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GB9622540.4 1996-10-30
GBGB9622540.4A GB9622540D0 (en) 1996-10-30 1996-10-30 Trackback for viterbi decoder

Publications (1)

Publication Number Publication Date
CA2198579A1 true CA2198579A1 (en) 1998-04-30

Family

ID=10802136

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002198579A Abandoned CA2198579A1 (en) 1996-10-30 1997-02-26 Traceback for viterbi decoder

Country Status (13)

Country Link
US (1) US5987637A (en)
EP (1) EP0840460A3 (en)
JP (1) JPH10150369A (en)
KR (1) KR19980033276A (en)
CN (1) CN1186385A (en)
AR (1) AR009136A1 (en)
AU (1) AU3991797A (en)
CA (1) CA2198579A1 (en)
GB (1) GB9622540D0 (en)
ID (1) ID18985A (en)
IL (1) IL122019A0 (en)
SG (1) SG65027A1 (en)
TW (1) TW354445B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148431A (en) * 1998-03-26 2000-11-14 Lucent Technologies Inc. Add compare select circuit and method implementing a viterbi algorithm
JPH11355150A (en) * 1998-06-09 1999-12-24 Sony Corp Punctured viterbi decoding method
KR100285067B1 (en) * 1998-09-25 2001-03-15 윤종용 Addition comparison selection circuit of Viterbi decoder
US7225393B2 (en) * 1999-10-01 2007-05-29 Matsushita Electric Industrial Co., Ltd. Viterbi decoder and Viterbi decoding method
US6654929B1 (en) * 1999-10-01 2003-11-25 Matsushita Electric Industrial Co., Ltd. Viterbi decoder and Viterbi decoding method
KR100335146B1 (en) * 2000-03-09 2002-05-04 서평원 Traceback apparatus in viterbi decoder
GB0018841D0 (en) * 2000-08-02 2000-09-20 Koninkl Philips Electronics Nv Data decoding
US20020144209A1 (en) * 2001-02-20 2002-10-03 Cute Ltd. System for enhanced error correction in trellis decoding
JP2005502936A (en) 2001-04-30 2005-01-27 アクティブマップ エルエルシー Interactive electronic presentation map
US7167531B2 (en) * 2001-09-17 2007-01-23 Digeo, Inc. System and method for shared decoding using a data replay scheme
US7403981B2 (en) * 2002-01-04 2008-07-22 Quicksilver Technology, Inc. Apparatus and method for adaptive multimedia reception and transmission in communication environments
US7522679B2 (en) * 2003-10-01 2009-04-21 Paradyne Corporation System and method for adapting to a change in constellation density while receiving a signal
US7331013B2 (en) * 2004-02-18 2008-02-12 Nvidia Corporation Viterbi decoder with survivor bits stored to support look-ahead addressing
US20070230606A1 (en) * 2006-03-31 2007-10-04 Anders Mark A Viterbi traceback
DE102006047396A1 (en) * 2006-10-06 2008-04-10 Robert Bosch Gmbh circuitry
US8185810B1 (en) * 2007-04-13 2012-05-22 Link—A—Media Devices Corporation Low power viterbi trace back architecture
KR101134064B1 (en) * 2007-05-14 2012-04-13 삼성전자주식회사 Aparatus of pucturing of error control codes and method using the aparatus
TW201233070A (en) * 2011-01-26 2012-08-01 Ind Tech Res Inst Pre-decoded tail-biting convolutional decoder and decoding method thereof
KR102039062B1 (en) * 2013-02-14 2019-10-31 한국전자통신연구원 Apparatus and method for decoding maximum a posteriori

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4709377A (en) * 1985-03-13 1987-11-24 Paradyne Viterbi decoder for wireline modems
US4713829A (en) * 1985-06-19 1987-12-15 Codex Corporation Coded modulation system with a simplified decoder capable of reducing the effects of channel distortion
US4748626A (en) * 1987-01-28 1988-05-31 Racal Data Communications Inc. Viterbi decoder with reduced number of data move operations
JP2594683B2 (en) * 1990-05-18 1997-03-26 三菱電機株式会社 Viterbi decoder
US5233630A (en) * 1991-05-03 1993-08-03 Qualcomm Incorporated Method and apparatus for resolving phase ambiguities in trellis coded modulated data
US5416787A (en) * 1991-07-30 1995-05-16 Kabushiki Kaisha Toshiba Method and apparatus for encoding and decoding convolutional codes
US5187675A (en) * 1991-09-18 1993-02-16 Ericsson-Ge Mobile Communications Holding Inc. Maximum search circuit
US5408502A (en) * 1992-07-13 1995-04-18 General Instrument Corporation Apparatus and method for communicating digital data using trellis coded QAM with punctured convolutional codes
US5438590A (en) * 1993-05-24 1995-08-01 Comstream Corporation Transmitting and receiving apparatus and method including punctured convolutional encoding and decoding
US5465275A (en) * 1993-11-16 1995-11-07 At&T Ipm Corp. Efficient utilization of present state/next state registers
JPH07283740A (en) * 1994-04-05 1995-10-27 Sony Corp Transmission device, reception device and transmission system
US5511082A (en) * 1994-05-10 1996-04-23 General Instrument Corporation Of Delaware Punctured convolutional encoder
US5506636A (en) * 1994-06-28 1996-04-09 Samsung Electronics Co., Ltd. HDTV signal receiver with imaginary-sample-presence detector for QAM/VSB mode selection
KR0135796B1 (en) * 1994-11-14 1998-04-27 김광호 Traceback processing apparatus in viterbi decorder
US5497401A (en) * 1994-11-18 1996-03-05 Thomson Consumer Electronics, Inc. Branch metric computer for a Viterbi decoder of a punctured and pragmatic trellis code convolutional decoder suitable for use in a multi-channel receiver of satellite, terrestrial and cable transmitted FEC compressed-digital television data

Also Published As

Publication number Publication date
GB9622540D0 (en) 1997-01-08
AR009136A1 (en) 2000-03-08
JPH10150369A (en) 1998-06-02
AU3991797A (en) 1998-05-07
EP0840460A3 (en) 1998-10-21
TW354445B (en) 1999-03-11
ID18985A (en) 1998-05-28
MX9708136A (en) 1998-07-31
CN1186385A (en) 1998-07-01
US5987637A (en) 1999-11-16
SG65027A1 (en) 1999-05-25
KR19980033276A (en) 1998-07-25
EP0840460A2 (en) 1998-05-06
IL122019A0 (en) 1998-03-10

Similar Documents

Publication Publication Date Title
US5987637A (en) Traceback stage for a viterbi decoder
US6154871A (en) Error detection and correction system for a stream of encoded data
US5471500A (en) Soft symbol decoding
US5881075A (en) Viterbi decoder
US7127664B2 (en) Reconfigurable architecture for decoding telecommunications signals
CA2352206C (en) Component decoder and method thereof in mobile communication system
JP2002515210A (en) Decoder for lattice coded interleaved data stream and HDTV receiver including the decoder
US5509021A (en) Viterbi decoder for decoding error-correcting encoded information symbol string
KR20090009892A (en) Radix-4 viterbi decoding
KR19980079114A (en) Method and apparatus for decoding trellis code data
US20040177304A1 (en) Fast bit-parallel viterbi decoder add-compare-select circuit
KR100737648B1 (en) Viterbi decoder and viterbi decoding method
KR100387089B1 (en) Viterbi decoder with reduced number of bits in branch metric calculation processing
US20070201586A1 (en) Multi-rate viterbi decoder
AU699565B2 (en) An error detection and correction system for a stream of encoded data
US6075822A (en) Traceback device of a trellis decoder
US7594162B2 (en) Viterbi pretraceback for partial cascade processing
US6510538B1 (en) Method and apparatus for Viterbi decoding of punctured codes
US6023492A (en) Method and apparatus for conditionally combining bit metrics in a communication system
MXPA97008136A (en) Reversed to decode vite
JP4331371B2 (en) Flexible Viterbi decoder for wireless applications
US8583998B2 (en) System and method for Viterbi decoding using application specific extensions
JP3338371B2 (en) Viterbi decoder
Choi et al. State parallel Viterbi decoder soft IP and its applications
Meier A Viterbi decoder architecture based on parallel processing elements

Legal Events

Date Code Title Description
FZDE Discontinued