Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS20070266302 A1
Publication typeApplication
Application numberUS 11/826,900
Publication dateNov 15, 2007
Filing dateJul 19, 2007
Priority dateApr 30, 2003
Also published asUS7269783, US8533574, US9083502, US20040221222, US20090024680, US20140013189
Publication number11826900, 826900, US 2007/0266302 A1, US 2007/266302 A1, US 20070266302 A1, US 20070266302A1, US 2007266302 A1, US 2007266302A1, US-A1-20070266302, US-A1-2007266302, US2007/0266302A1, US2007/266302A1, US20070266302 A1, US20070266302A1, US2007266302 A1, US2007266302A1
InventorsMark Barry, Yi-Chen Li, Oliver Ridler
Original AssigneeBarry Mark P, Li Yi-Chen J, Ridler Oliver J
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Method and apparatus for dedicated hardware and software split implementation of rate matching and de-matching
US 20070266302 A1
Abstract
In the method of rate-matching, software is used to calculate at least one rate-matching parameter for data, and dedicated hardware is used to perform at least one of a puncturing and repetition process on data based on the calculated rate-matching parameter. In rate de-matching, software is again used to calculate at least one rate de-matching parameter for received data, and dedicated hardware is used to compensate for puncturing and repetition based on the calculated rate de-matching parameter.
Images(9)
Previous page
Next page
Claims(21)
1. An apparatus for rate-matching, comprising:
a processor calculating at least one rate-matching parameter for data; a
a selector receiving a current data, a previous data and an output data, the selector configured to selectively perform at least one of a puncturing process and a repetition process; and
a state machine circuit receiving the calculated rate matching parameters and for controlling the selector based on the calculated rate matching parameters.
2. A method of rate-matching, comprising:
using software to calculate at least one rate-matching parameter for data; and
using dedicated hardware to at least one of selectively perform a puncturing process and selectively perform a repetition process on data based on the calculated rate-matching parameter;
wherein the using dedicated hardware step includes operating in one of a puncture and repetition mode based on a decision parameter value received from the using software step, and the puncturing process punctures the data in the puncture mode when the decision parameter value is less than a puncture decision threshold, and the repeating process repeats the data in the repetition mode when the decision parameter value is less than a repetition decision threshold.
3. The method of claim 2, wherein at least a portion of the data is encoded data.
4. The method of claim 2, wherein
the data is turbo encoded, the turbo encoded data including systematic data, first parity data and second parity data; and
the using dedicated hardware step uses dedicated hardware to perform at least one of the puncturing process on the first and second parity data and the repetition process on the systematic data, the first parity data and the second parity data.
5. The method of claim 2, wherein the using dedicated hardware step produces data having a data rate that matches an air interface of a wireless communication system.
6. The method of claim 2, wherein the using dedicated hardware step handles puncturing and repetition of more than one format of data.
7. The method of claim 6, wherein at least one format of the data includes more than one type of data, and the using dedicated hardware step handles puncturing and repetition of more than one type of data in at least one format of data.
8. The method of claim 7, wherein at least one format of the data is turbo encoded data and at least one type of data is parity data.
9. A method of rate de-matching, comprising:
using software to calculate at least one rate de-matching parameter for received data; and
using dedicated hardware to compensate for puncturing and repetition in the received data based on the calculated rate de-matching parameter;
wherein the using dedicated hardware step includes operating in one of a puncture and repetition mode based on a decision parameter value received from the using software step, and a compensating puncture process compensates for puncture in the received data when the decision parameter value is less than a de-puncture decision threshold, and a compensating repetition step compensates for repetition in the received data when the decision parameter value is less than a de-repetition decision threshold.
10. The method of claim 9, wherein at least a portion of the received data is encoded data.
11. The method of claim 9, wherein
the received data is turbo encoded, the turbo encoded data includes systematic data, first parity data and second parity data; and
the using dedicated hardware step uses dedicated hardware to at least one of compensate for the puncturing process on the first and second parity data and compensate for the repetition process on the systematic data, the first parity data and the second parity data.
12. The method of claim 9, wherein the using dedicated hardware step handles compensating for puncturing and repetition of more than one format of received data.
13. The method of claim 12, wherein at least one format of the received data includes more than one type of data, and the using dedicated hardware step handles compensating for puncturing and repetition performed to rate match more than one type of data in at least one format of the received data.
14. The method of claim 9, further comprising:
accumulating the received data when the using dedicated hardware step performs repetition compensation in the repetition mode; and
generating a data output based on the accumulated data when the perform repetition compensation is in the repetition mode.
15. A method of rate-matching, comprising:
calculating at least one rate-matching parameter for data using software;
selectively performing, using a selector, at least one of a puncturing process and a repetition process using current data, previous data and an output data received at the selector; and
controlling the selector based on the calculated rate matching parameters using a state machine circuit.
16. The method of claim 15, wherein at least a portion of the data is encoded data.
17. The method of claim 15, wherein
the data is turbo encoded, the turbo encoded data including systematic data, first parity data and second parity data; and
the selectively performing step performs the puncturing process on the first and second parity data, and performs the repetition process on the systematic data, the first parity data and the second parity data.
18. The method of claim 15, wherein the selectively performing step produces data having a data rate that matches an air interface of a wireless communication system.
19. The method of claim 15, wherein the selectively performing step handles puncturing and repetition of more than one format of data.
20. The method of claim 19, wherein at least one format of the data includes more than one type of data, and the selectively performing step handles puncturing and repetition of more than one type of data in at least one format of data.
21. The method of claim 19, wherein at least one format of the data is turbo encoded data and at least one type of data is parity data.
Description
  • [0001]
    This is a continuation of, and claims priority under 35 U.S.C. 121 on, U.S. application Ser. No. 10/425,825, filed Apr. 30, 2003, the entire contents of which is incorporated herein by reference.
  • BACKGROUND OF INVENTION
  • [0002]
    Rate-matching is a technique widely used in 3G wireless communication systems, such as UMTS and CDMA2000, for adjusting the data size of the channel encoder outputs at the transmitter to the air interface capacity. Rate-matching applies puncturing or repetition to each channel's data based on well-known calculated rate-matching parameters. Within a channel, a puncture or repetition pattern is applied. A reverse process called rate de-matching is performed by the receiver side to restore the punctured/repeated data.
  • [0003]
    The conventional implementation of rate-matching and rate de-matching is to use software to do both parameter calculation and data processing (i.e., puncture and repetition as dictated by the parameter calculation). As used herein, software refers to instructions stored in memory, that when executed cause a general purpose processor, computer or controller to perform a particular function. Using software refers to the general purpose processor, computer or controller executing the instructions and thus performing the particular function specified by the software.
  • [0004]
    Unfortunately, a general purpose processor running software to perform rate-matching (e.g., a programmed digital signal processor (DSP)) requires in the order of 60 instruction cycles per bit of processed data to perform the puncturing and repetition process. The processor load required for processing 64 users is in the order of 240 million cycles per second which is an excessive load. The majority of the DSP's processing power is consumed with the puncturing/repetition processes, which are very simple iterative bit operations.
  • SUMMARY OF INVENTION
  • [0005]
    The present invention provides a rate matching and rate de-matching design that moves the puncturing/repetition process into dedicated hardware. Hardware refers to the physical aspect of computers, telecommunications and other information technology devices. Dedicated hardware means hardware having a particular structure that dictates the function performed by the hardware. For example, while a DSP is hardware, a programmed DSP is not dedicated hardware because the structure of the DSP does not change when the software running on the DSP changes. Examples of dedicated hardware include logic circuits, an application-specific integrated circuit (ASIC)—with or without a central processing unit (CPU), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), etc. Dedicated hardware may be reconfigurable or non-reconfigurable. A FPGA is an example of reconfigurable dedicated hardware. Depending on how the FPGA is programmed, the gates in the FPGA form connections between logic elements such that the FPGA structure becomes dedicated to performing a particular function—becomes like a fixed logic circuit. The structure (i.e., the connection of the logic elements) may be changed by re-programming the FPGA; hence, the FPGA is reconfigurable. A fixed logic circuit is an example of non-reconfigurable dedicated hardware.
  • [0006]
    In the present invention, the dedicated hardware is able to process the data much more efficiently than using software, and using the dedicated hardware reduces the total processing load on, for example, the DSP. Namely, the dedicated hardware eliminates the processor cycles associated with the puncturing and repetition processes. Therefore, this design provides a more economical and faster implementation of rate matching and rate de-matching.
  • [0007]
    In an example embodiment, an apparatus for rate-matching includes a processor calculating at least one rate-matching parameter for data, a selector receiving a current data, a previous data and an output data, the selector configured to selectively perform at least one of a puncturing process and a repetition process, and a state machine circuit receiving the calculated rate matching parameters and for controlling the selector based on the calculated rate matching parameters.
  • [0008]
    In an example embodiment, a method of rate-matching includes using software to calculate at least one rate-matching parameter for data, and using dedicated hardware to at least one of selectively perform a puncturing process and selectively perform a repetition process on data based on the calculated rate-matching parameter. The using dedicated hardware step includes operating in one of a puncture and repetition mode based on a decision parameter value received from the using software step, and the puncturing process punctures the data in the puncture mode when the decision parameter value is less than a puncture decision threshold, and the repeating process repeats the data in the repetition mode when the decision parameter value is less than a repetition decision threshold.
  • [0009]
    In another example embodiment, a method of rate de-matching includes using software to calculate at least one rate de-matching parameter for received data, and using dedicated hardware to compensate for puncturing and repetition in the received data based on the calculated rate de-matching parameter. The using dedicated hardware step includes operating in one of a puncture and repetition mode based on a decision parameter value received from the using software step, and a compensating puncture process compensates for puncture in the received data when the decision parameter value is less than a de-puncture decision threshold, and a compensating repetition step compensates for repetition in the received data when the decision parameter value is less than a de-repetition decision threshold.
  • [0010]
    In yet another example embodiment, a method of rate-matching includes calculating at least one rate-matching parameter for data using software, selectively performing, using a selector, at least one of a puncturing process and a repetition process using current data, previous data and an output data received at the selector, and controlling the selector based on the calculated rate matching parameters using a state machine circuit.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • [0011]
    The present invention will become more fully understood from the detailed description given below and the accompanying drawings, wherein like elements are represented by like reference numerals, which are given by way of illustration only and thus are not limiting on the present invention and wherein:
  • [0012]
    FIG. 1 illustrates a portion of a wireless communication system employing the method and apparatus according to the present invention;
  • [0013]
    FIG. 2 illustrates a block diagram of the dedicated hardware architecture for rate matching at a transmit side according to one embodiment of the present invention, where the embodiment is employed between an encoder and an interleaver;
  • [0014]
    FIG. 3 illustrates one exemplary embodiment of the state-machine in FIG. 2;
  • [0015]
    FIG. 4 illustrates an example of generated puncture and repetition patterns and changes in the first decision parameter evalue1 as the input data is processed according to the state-machine of FIG. 3;
  • [0016]
    FIG. 5 illustrates a structured combinatorial logic implementation of the dedicated hardware in FIG. 1;
  • [0017]
    FIG. 6 illustrates a functional block diagram for HS-DSCH HARQ that includes two rate-matching stages implemented according to the present invention;
  • [0018]
    FIG. 7 illustrates a block diagram of the dedicated hardware architecture for rate de-matching (RDM) on receive side according to one embodiment of the present invention, where the embodiment is employed between first and second de-interleavers;
  • [0019]
    FIG. 8 illustrates an example of the input data sequence for a transport channel (TrCH) with a 40 ms TTI; and
  • [0020]
    FIG. 9 illustrates one exemplary embodiment of the state-machine in FIG. 7.
  • DETAILED DESCRIPTION OF THE EMBODIMENTS General Architecture
  • [0021]
    FIG. 1 illustrates a portion of a wireless communication system employing the method and apparatus according to the present invention. As shown, at a transmitter 2, a digital signal processor 4 executes software to calculate rate-matching parameters in the well-known manner. These parameters are passed to dedicated hardware 6. The dedicated hardware 6 performs the data puncturing/repetition process on input data to generate rate-matched output data. The rate-matched data has a rate matched to the air interface of the wireless communication system.
  • [0022]
    As used herein, software refers to instructions stored in memory, that when executed cause a general purpose processor, computer or controller to perform a particular function. Using software refers to the general purpose processor, computer or controller executing the instructions and thus performing the particular function specified by the software.
  • [0023]
    As used herein, hardware refers to the physical aspect of computers, telecommunications and other information technology devices; and dedicated hardware means hardware having a particular structure that dictates the function performed by the hardware. For example, while a DSP is hardware, a programmed DSP is not dedicated hardware because the structure of the DSP does not change when the software running on the DSP changes. Examples of dedicated hardware include logic circuits, an application-specific integrated circuit (ASIC)—with or without a central processing unit (CPU), a field programmable gate array (FPGA), a complex programmable logic device (CPLD), etc. Dedicated hardware may be reconfigurable or non-reconfigurable. A FPGA is an example of reconfigurable dedicated hardware. Depending on how the FPGA is programmed, the gates in the FPGA form connections between logic elements such that the FPGA structure becomes dedicated to performing a particular function—becomes like a fixed logic circuit. The structure (i.e., the connection of the logic elements) may be changed by re-programming the FPGA; hence, the FPGA is reconfigurable. A fixed logic circuit is an example of non-reconfigurable dedicated hardware.
  • [0024]
    At a receiver 10, a digital signal processor 12 executes software to calculate rate de-matching parameters in the well-known manner. These parameters are passed to dedicated hardware 14. The dedicated hardware 14 performs the puncturing/repetition compensation process on input data to generate rate de-matched output data.
  • [0025]
    Because the structure and operation of the digital signal processor 4 in generating the rate matching parameters is so well-known (explained in 3GPP TS25.212 version 4.3.0 and other versions), these items will not be described in detail for the sake of brevity. For the same reasons, the structure and operation of the digital signal processor 12 in generating the rate de-matching parameters will not be described in detail. In the sections that follow, embodiments of the dedicated hardware 6 and the dedicated hardware 14 for performing the puncturing/repetition process and the puncture/repetition compensation process are described in detail.
  • Architecture of Dedicated Hardware for Puncturing/Repetition Process
  • [0026]
    Puncturing is the process of removing bits from a data packet to reduce its overall size. Repetition is the process of repeating bits in a data packet to increase its overall size. The rate at which data bits are punctured or repeated is controlled by rate-matching parameters.
  • [0027]
    In describing the dedicated hardware architecture for the puncturing/repetition process, first exemplary modes of operation will be mentioned, and then the rate-matching parameters received from the digital signal processor 4 will be defined. Afterwards, a state-machine dedicated hardware implementation of the present invention will be described in detail. Subsequently, a combinatorial logic dedicated hardware implementation will be presented.
  • [0000]
    Modes of Operation
  • [0028]
    An exemplary embodiment of the present invention may operate in 3 modes: repetition mode, normal puncture mode and turbo puncture mode. The mode of operation may be selected via the rate-matching parameters.
  • [0000]
    Definitions, Symbols and Abbreviations
  • [0029]
    Table 1 below provides a list of the names/symbols used for the rate matching parameters calculated in the digital signal processor 4 along with (i) their corresponding symbol or name in the 3GPP standard and (ii) associated description.
    TABLE 1
    In 3GPP
    Name Standard Description
    eini1 eini Initial value of decision parameter or
    variable e in the rate matching pattern
    determination algorithm.
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eini2 eini Initial value of decision parameter or
    variable e in the rate matching pattern
    determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    eplus1 (ep1) eplus Increment of variable e in the rate
    matching pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eplus2 (ep2) eplus Increment of variable e in the rate
    matching pattern determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    eminus1(em1) eminus Decrement of variable e in the rate
    matching pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eminus2(em2) eminus Decrement of variable e in the rate
    matching pattern determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    e value 1 e in Value of variable e in the rate matching
    4.2.7.5 pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    e value 2 e in Value of variable e in the rate matching
    4.2.7.5 pattern determination algorithm
    For parity 2 bits in turbo puncturing mode.
    TTI TTI Transmission Time Interval, the time
    interval between packets of data for a
    transport channel (TrCH). This time is a
    multiple of radio frames.
    dlc_tr_emode Coding Type of channel coding for a TrCH, No
    scheme Coding, Turbo, Viterbi , Viterbi ⅓.
    dlc_tr_niltti Ni,l TTI Number of bits in a transmission time
    interval before rate matching on TrCH i
    with transport format l. Used in downlink
    only.
    dlc_tr_punc sign of For ΔNil TTI and ΔNi,l TTI,m:
    ΔNil TTI or If positive - number of bits to be repeated
    ΔNi,l TTI,m in each transmission time interval on TrCH
    i with transport format l.
    If negative - number of bits to be punctured
    in each transmission time interval on TrCH
    i with transport format l.
  • First Embodiment of Downlink Rate Matching Dedicated Hardware Architecture
  • [0030]
    FIG. 2 illustrates a block diagram of the dedicated hardware architecture for rate matching according to one embodiment of the present invention, wherein the embodiment is employed between an encoder and an interleaver. As shown, on the input side, the dedicated hardware 6 receives the rate-matching parameters from the DSP 4, and receives input data data_in from an encoder 20. For the purposes of explanation only, four types of data (non-Turbo data, Systematic data, Parity 1 data and Parity 2 data) will be described in detail below. The dedicated hardware 6 also supplies the encoder 20 with a stall signal stall_out. On the output side, the dedicated hardware 6 outputs data data_out to, for example, an interleaver 22. The dedicated hardware 6 also outputs an output validity indicator valid_out.
  • [0031]
    The dedicated hardware 6 includes a first data register 34 storing the input data data_in, a second data register 36 storing the output validity signal valid_out and a third data register 38 storing the output data data_out. A state-machine 30 receives the rate-matching parameters from the DSP 4 and generates the output validity indicator valid_out. A selector 40 selectively outputs one of the current input data from the encoder 20, the previously input data stored in the second data register 34 and the data output from the fourth data register 38 based on a data selection signal generated by the state-machine 30.
  • [0000]
    State Machine
  • [0032]
    FIG. 3 illustrates one exemplary embodiment of the state-machine 30. The state-machine 30 is implemented in dedicated hardware 6 by preparing VHDL code describing the state-machine 30, and having the VHDL compiler generate the dedicated hardware architecture implementing the state-machine 30. Accordingly, the operation of the state-machine 30 and dedicated hardware 6 will now be described with respect to FIGS. 2 and 3.
  • [0033]
    Referring to FIG. 3, operation begins in a first initial state init1. The first initial state init1 is achieved when a signal processing session ends or when a signal processing session has been reset. Namely, when a reset signal is asserted, all flip-flops return to their reset state, as do the state machines. The state-machine 30 remains in the first initial state init1 until a processing start signal is received from the DSP 4. The processing start signal provides the rate matching parameters for one payload of data to be processed. A payload of data is a transmission time interval (TTI) worth of data for a transport channel (TrCH).
  • [0034]
    As shown in FIG. 3, the rate matching parameters include an initial value eini1 for at least a first decision parameter evalue1. As described in more detail below, the state-machine according to the present invention handles more than one format of encoding, such as convolutional encoding and turbo encoding. In convolutional encoding all data is treated the same—a same type, and therefore, only a single decision parameter evalue1 is required. However, in turbo encoding, more than one type of data exists—such as systematic data, first parity data and second parity data. In turbo encoding, the systematic data does not undergo puncturing, and the first and second parity data are treated separately when a puncture operation is to be performed on turbo encoded data. As a result, if the state-machine 30 is to operate on turbo encoded data and perform puncturing, then evalues for both the first and second parity data are supplied by the DSP4. Namely, initial values eini1 and eini2 are respectively supplied for first and second decision parameters evalue1 and evalue2, which are associated with the first and second parity data, respectively. However, if the data is convolution encoded, or the data is turbo encoded but a repetition process is to be performed on the data, then only a value for the first decision parameter evalue1 is supplied by the DSP4.
  • [0035]
    Upon receipt of the processing start signal, the state-machine 30 establishes the initial values eini1 and eini2 for the first and second decision parameters evalue1 and evalue2, transitions from the first initial state init1 to a second initial state init2 and then a third initial state init3. In the second initial state init2, the first decision parameter evalue1 is decreased by a first decrement value eminus1, which was supplied as one of the rate matching parameters by the DSP 4. In the third initial state init3, the second decision parameter evalue2 is decreased by a second decrement value eminus2, which was supplied as one of the rate matching parameters by the DSP4, if the data being processed is turbo encoded. Otherwise, no such operation is performed in the third initial state init3.
  • [0036]
    As shown in Table 1, the DSP 4 provides, as one of the rate matching parameters, a coding scheme indicator dlc_tr_emode, which indicates the coding scheme applied to the data (e.g., none, convolutional, turbo, etc.). As further shown in Table 1, the DSP 4 also provides a puncture/repetition parameter dlc_tr_punc, the sign of which indicates whether a puncture or repetition process is to be performed on the data. Based on the coding scheme indicator and the puncture/repetition parameter, the state-machine 30 knows the operation to perform in the third initial state init3.
  • [0000]
    Repetition
  • [0037]
    If the puncture/repetition parameter indicates that a repetition process is to be performed on the data, then processing proceeds to a repetition state. The dedicated hardware 6, and therefore, the state-machine 30 operates on a unit of data. The unit of data can be one or more bits. For ease of explanation only, the operation of the dedicated hardware 6 and the state-machine 30 will be described assuming the unit of data is one bit. In the repetition mode of operation, for each unit of data (e.g., 1 bit in the remainder of this description) the state-machine 30 determines if the first decision parameter evalue1 is less than or equal to a repetition threshold RepTH. In one exemplary embodiment, the repetition threshold RepTH is zero. If so, then the state-machine 30 determines that the data should be repeated. Accordingly, the state-machine 30 (1) sends a stall output signal to the encoder 20 instructing the encoder 20 to stall its outputting of data; (2) generates an output validity indicator indicating valid data; (3) generates a selection signal that causes the selector 40 to output the previously output data stored in the first register 34; and (4) increments the first decision parameter evalue1 by an increment value eplus1, which the DSP 4 supplied as one of the rate-matching parameters. In causing the repetition of data, the state-machine 30 generates the selection signal such that the selector 40 outputs the same bit a number of times as indicated by the puncture/repetition parameter.
  • [0038]
    If the first decision parameter evalue1 is not less than or equal to the repetition threshold RepTH, then the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the current data from the encoder 20, (2) generates an output validity indicator indicating valid data; and (3) decreases the first decision parameter evalue1 by the first decrement value eminus1. This process continues until the data payload has been processed. The end of the payload is determined using the dlc_tr_niltti parameter, which is the number of bits in the payload coming into the rate matching block.
  • [0039]
    Once the data payload has been processed, the state machine 30 moves to an idle state. The state machine 30 will remain in the idle state until an end of session signal is received from the DSP 4.
  • [0000]
    Puncture
  • [0040]
    Returning to the third initial state init3, if the coding scheme indicator dlc_tr_emode indicates the convolutional coding scheme and the puncture/repetition parameter dlc_tr_punc indicates puncture, then a normal puncture process is to be carried out and the state-machine 30 moves to the normal puncture state.
  • [0041]
    In the normal puncture mode of operation, for an input data, the state-machine 30 determines if the first decision parameter evalue1 is less than or equal to a first puncture threshold PuncTH1. In one exemplary embodiment, the first puncture threshold PuncTH1 is zero. If so, then the state-machine 30 determines that the data should be punctured. Accordingly, the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the input data currently received from the encoder 20; (2) generates an output validity indicator indicating invalid data; and (3) increments the first decision parameter evalue1 by the increment value eplus1 and decrements the resulting sum by the decrement value eminus1 (only once for the duration of the puncture process). In causing the puncture of data, the state-machine 30 generates the selection signal and de-asserts the output validity indicator such that the data bit is effectively removed from the data packet.
  • [0042]
    If the first decision parameter evalue1 is not less than or equal to the first puncture threshold PuncTH1, then the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the current data from the encoder 20; (2) generates an output validity indicator indicating valid data and (3) decreases the first decision parameter evalue1 by the first decrement value eminus1. This process continues until the data payload has been processed.
  • [0043]
    Once the data payload has been processed, the state machine 30 moves to the idle state. The state machine 30 will remain in the idle state until an end of session signal is received from the DSP 4.
  • [0000]
    Puncture of Turbo Encoded Data
  • [0044]
    Returning again to the third initial state init3, if the coding scheme indicator dlc_tr_emode indicates the turbo coding scheme and the puncture/repetition parameter dlc13 tr_punc indicates puncture, then a turbo puncture process is to be carried out and the state-machine 30 moves to a systematic turbo puncture state turbo_p0. As discussed previous, turbo encoded data input from the encoder 20 includes three data streams multiplexed onto one serial interface in the following order: s(0), p1(0), p2(0), s(1), p1(1), p2(1), s(2) . . . p2(i), where s=systematic, p1=parity1, p2=parity2, and (i) is the ith bit in the individual bit stream. As also discussed above, the first parity data and the second parity data undergo puncture, but not the systematic data. Accordingly, in the systematic turbo puncture state, the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the input data currently received from the encoder 20; and (2) generates an output validity indicator indicating valid data. After the systematic data has been processed in this fashion, the state-machine 30 enters the first parity turbo puncture state turbo_p1
  • [0045]
    In the first parity turbo puncture state, for each first parity data, the state-machine 30 determines if the first decision parameter evalue1 is less than or equal to a second puncture threshold PuncTH2. In one exemplary embodiment, the second puncture threshold PuncTH2 is zero. If so, then the state-machine 30 determines that the data should be punctured. Accordingly, the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the input data currently received from the encoder 20; (2) generates an output validity indicator indicating invalid data; and (3) increments the first decision parameter evalue1 by the increment value eplus1 and decrements the resulting sum by the decrement value eminus1. In causing the puncture of the first parity data, the state-machine 30 generates the selection signal and de-asserts the output validity indicator such that the data bit is effectively removed from the data packet.
  • [0046]
    If the first decision parameter evalue1 is not less than or equal to the second puncture threshold PuncTH2, then the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the current data from the encoder 20; (2) generates an output validity indicator indicating valid data and (3) decreases the first decision parameter evalue1 by the first decrement value eminus1.
  • [0047]
    After the first parity data has been processed, the state-machine 30 enters the second parity turbo puncture state turbo_p2
  • [0048]
    In the second parity turbo puncture state, for each second parity data, the state-machine 30 determines if the second decision parameter evalue2 is less than or equal to a third puncture threshold PuncTH3. (In one exemplary embodiment, the third puncture threshold PuncTH3 is zero.) If so, then the state-machine 30 determines that the second parity data should be punctured. Accordingly, the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the input data currently received from the encoder 20; (2) generates an output validity indicator indicating invalid data; and (3) increments the second decision parameter evalue1 by a second increment value eplus2 and decrements the resulting sum by a second decrement value eminus2. As indicated in Table 1, both eplus2 and eminus2 are rate-matching parameters received from the DSP4. In causing the puncture of the first parity data, the state-machine 30 generates the selection signal and de-asserts the output validity indicator such that the data bit is effectively removed from the data packet. If the second decision parameter evalue2 is not less than or equal to the third puncture threshold PuncTH3, then the state-machine 30 (1) generates a selection signal that causes the selector 40 to output the current data from the encoder 20; (2) generates an output validity indicator indicating valid data and (3) decreases the second decision parameter evalue2 by the second decrement value eminus2.
  • [0049]
    The state-machine 30 then returns to the systematic turbo puncture state turbo_p0, and the processing in the above described turbo puncture states repeats until the data payload has been processed. Once the data payload has been processed, the state machine 30 moves to the idle state. The state machine 30 will remain in the idle state until an end of session signal is received from the DSP 4 or a reset signal is received.
  • [0050]
    The repetition and puncture thresholds used by the state-machine 30 are, in one exemplary embodiment, values fixed in the state-machine 30 to zero.
  • [0000]
    Puncturing/Repetition Pattern
  • [0051]
    From the decision parameter values calculated in firmware, the dedicated hardware 6 can generate the puncturing/repetition pattern. An example of generated puncture and repetition patterns, where all thresholds have been set to zero is shown in FIG. 4. FIG. 4 also illustrates the changes in the first decision parameter evalue1 as the input data is processed. As shown, the first decision parameter evalue1 is set to EINI and then reduced by eminus1 (first and second initial states of the state-machine 30), then for each input data processed without puncture or repetition, the first decision parameter evalue1 is reduced by the decrement parameter eminus1. If the resulting first decision parameter evalue1 is negative or zero, the data is punctured/repeated and the first decision parameter evalue1 is increased by eplus1 when in the repetition mode or increased by (eplus1−eminus1) when in the puncture mode.
  • More Embodiments of Downlink Rate Matching Dedicated Hardware Architecture
  • [0052]
    There are many ways to implement rate-matching dedicated hardware. A state-machine implementation has been described above. FIG. 5 illustrates a structured combinatorial logic implementation of the dedicated hardware 6. This approach breaks down the dedicated hardware into smaller components. Each component has a simple function or process logic. The designer can use various ways to design each logic block, which includes using state machines, truth tables, branch functions or wired logic gates.
  • [0000]
    Rate-Matching for HSDPA
  • [0053]
    Rate-Matching is used in HSDPA (High Speed Downlink Packet Access). In the Hybrid ARQ function of HSDPA, two rate-matching stages are needed as shown in FIG. 6. The downlink rate matching embodiments of the present invention can be used as the first rate matching stage by setting the dedicated hardware 6 to the turbo puncturing mode, and can be used as the second rate matching stage by setting the dedicated hardware 6 to the normal puncturing mode or normal repetition mode.
  • Architecture of Dedicated Hardware for Puncturing/Repetition Compensation Process
  • [0054]
    In describing the dedicated hardware architecture for the puncturing/repetition compensation process, a state-machine dedicated hardware implementation of the present invention will be described in detail. Puncturing compensation (de-puncturing) is the process of inserting bits into a data packet at locations where bits were previously punctured, thereby returning the data packet to its original size. Repetition compensation (de-repeating) is the process of removing bits from a data packet at locations where bits were previously inserted (repeated), thereby returning the data packet to its original size. The rate at which data bits are de-punctured or de-repeated is controlled by rate-matching parameters.
  • [0055]
    In an exemplary embodiment of the present invention described in detail below, data coming into the rate-de-matching block comes in the form of Log Likelihood Ratio (LLR) soft bits. These LLRs use multiple binary digits to represent the likelihood that a received bit is a “1” or a “0”. Thus each data bit is represented by multiply binary digits.
  • [0000]
    Definitions, Symbols and Abbreviations
  • [0056]
    Table 2 provides a list of the names/symbols used for the rate de-matching parameters calculated in the DSP 12 along with (i) their corresponding symbol or name in the 3GPP standard and (ii) associated description.
    TABLE 2
    In 3GPP
    Name Standard Description
    eini1 eini Initial value of decision parameter or
    variable e in the rate matching pattern
    determination algorithm.
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eini2 eini Initial value of decision parameter or
    variable e in the rate matching pattern
    determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    eplus1 (ep1) eplus Increment of variable e in the rate
    matching pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eplus2 (ep2) eplus Increment of variable e in the rate
    matching pattern determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    eminus1(em1) eminus Decrement of variable e in the rate
    matching pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    eminus2(em2) eminus Decrement of variable e in the rate
    matching pattern determination algorithm.
    For parity 2 bits in turbo puncturing mode.
    e value 1 e in Value of variable e in the rate matching
    4.2.7.5 pattern determination algorithm
    For repetition mode, normal puncturing
    mode and parity 1 bits in turbo puncturing
    mode.
    e value 2 e in Value of variable e in the rate matching
    4.2.7.5 pattern determination algorithm
    For parity 2 bits in turbo puncturing mode.
    TTI TTI Transmission Time Interval
    i in FIG. 10 P1F(ni) The column permutation function of the 1st
    interleaver, P1F(x) is the original position of
    column with number x after permutation.
    P1 is defined on table 4 of section 4.2.5.2
    (note that the P1F is self-inverse). Used for
    rate matching in uplink only.
    This is the received frame number in a TTI,
    which is already interleaved.
    INT1POLY(i) ni Radio frame number in the transmission
    in FIG. 10 time interval of TrCH i (0 ≦ ni < Fi).
    rm_nij Nij Number of bits in a radio frame before rate
    matching on TrCH i with transport format
    combination j.
    rm_punc Sign of ΔNi,j: If positive - number of bits that
    ΔNi,j should be repeated in each radio frame on
    TrCH i with transport format combination j.
    If negative - number of bits that should be
    punctured in each radio frame on TrCH i
    with transport format combination j.
    rm_tb Coding Turbo or other type
    scheme

    Uplink Rate De-Matching Dedicated Hardware
  • [0057]
    FIG. 7 illustrates a block diagram of the dedicated hardware architecture for rate de-matching (RDM) on the receiver side according to one embodiment of the present invention, where the embodiment is employed between first and second de-interleavers (e.g., as in TS25.212 mentioned previously). As shown, on the input side, the dedicated hardware 14 receives the calculated rate de-matching parameters from the DSP 12, and receives input (e.g., data and signaling) from a second de-interleaver 62. The dedicated hardware 14 also supplies output (e.g., data and signaling) to a first de-interleaver 60.
  • [0058]
    The dedicated hardware 14 includes a RDM controller 50 receiving the rate de-matching parameters calculated by the DSP 12, and stores the received RDM parameters in a RAM 52. From the RDM parameters, the RDM controller 50 prepares the setup parameters for a state-machine 70, which controls the de-repetition and de-puncture operations. The state machine 70 is disposed between an input stall-valid buffer 72, which receives the input from the second de-interleaver 62, and an output stall-valid buffer 74, which supplies the output to the first de-interleaver 60. The state-machine 70 receives the rate de-matching and setup parameters from the RDM controller 50, an input validity indicator from the input stall-valid buffer 72, and an output stall indicator from the output stall-valid buffer 74. The state-machine 70 outputs an output validity indicator to the output stall-valid buffer 74, a finish indicator to the output stall-valid buffer 74.
  • [0059]
    The dedicated hardware 14 further includes a latch 76, an accumulator 78 and a bit clamp 80. The latch 76 latches output from the accumulator 78 and is reset in response to a reset signal from the state-machine 70. The accumulator 78 adds the output of the latch with the output from the input stall-valid buffer 72. The bit clamp 80 clamps the number of bits representing the accumulated value to a preset number of bits (e.g., 5 bits).
  • [0060]
    A selector 82 selectively outputs one of the output from the bit clamp 80, a zero value and a puncture/replace bit based on a data selection signal generated by the state-machine 70. The output from the selector 82 is stored in the output stall-valid buffer 74.
  • [0061]
    In the uplink, the rate de-matching dedicated hardware 14 uses the uplink rate de-matching parameters calculated by the DSP 12 to determine the bit pattern of the punctured/repeated data on the fly. For punctured data, the rate de-matching dedicated hardware 14 inserts a pre-defined puncture replace LLR value to its output. For the repeated LLRs (created through repetition during rate matching), which belong to the same bit, the rate de-matching dedicated hardware 14 accumulates/saturates their values to achieve a higher effective signal-to-noise ratio (SNR) on the bit. The operation of the rate de-matching dedicated hardware 14 will be described in greater detail below with respect to FIGS. 9-11.
  • [0000]
    RDM Controller
  • [0062]
    The rate de-matching controller 50 has two functions: store input RDM parameters during configuration, and setup the RDM state-machine 70 for data processing. Apart from controlling the RAM 52 and passing parameters to the state-machine 70, the RDM controller 52 sets up the initial state for bit separation when the input data calls for turbo de-puncturing.
  • [0063]
    Bit separation is needed only for de-puncturing turbo punctured data. A coding scheme indicator rm_tb received from the DSP 12 indicates the coding scheming of the input data (e.g., convolutional or turbo), and the sign of a puncture/repetition parameter rm_punc received from the DSP 12 indicates whether compensation for puncture or repetition is to be performed. When the coding scheme indicator and puncture/repetition parameter indicate turbo punctured data, a set of rate de-matching parameters (e.g., eini1, eplus1 and eminus1) is provided for the first parity data and another set of rate de-matching parameters (e.g., eini2, eplus2 and eminus2) is provided for the second parity data. To rate de-match other types of data (turbo repeated, convolutional punctured, convolutional repeated, etc.), the data input are treated as one serial bit stream, and a single set of rate de-matching parameters (e.g., eini1, eplus1, and eminus1) is used to determine the de-matching pattern.
  • [0064]
    The input to the rate de-matching dedicated hardware 14 may be in interleaved order. The reason for this is that the first de-interleaver 60 following the dedicated hardware 14 de-interleaves the data which was interleaved on the transmit side. As described earlier, the data processed by the dedicated hardware 14 is a radio frame worth of data. One or more radio frames of data will make up a TTI of a TrCH. This is the size of data over which the interleaver on the transmit side interleaves. It is possible to have a TTI of length 1, 2, 4 or 8 radio frames, corresponding to 10, 20, 40 or 80 ms TTI. The order in which each radio frame in a TTI arrives to the dedicated hardware 14 is shown for each case.
  • [0000]
    10 ms TTI<0>
  • [0000]
    20 ms TTI<0, 1>
  • [0000]
    40 ms TTI<0, 2, 1, 3>
  • [0000]
    80 ms TTI<0, 4, 2, 6, 1, 5, 3, 7>
  • [0065]
    For de-puncturing/de-repeating turbo encoded data, the first received data bit of each radio frame is one of the systematic, parity 1 and parity 2 bits and can be determined from the data's de-interleaved frame number and its transmission time interval (TTI). Hence, the dedicated hardware 14 takes this into consideration when setting up the initial puncturing state and sequence.
  • [0066]
    FIG. 8 illustrates an example of the input data sequence for a transport channel (TrCH) with a 40 ms TTI. In FIG. 8, and the remainder of this disclosure, when discussing the order of the systematic, first parity p1 and second parity p2 bits, “0” represents a systematic bit, “1” represents the first parity bit, and “2” represents the second parity bit. As shown, the input bit sequences are different for each de-interleaved column—also referred to as a frame phase. This is because at the transmission side, before first level interleaving, data are stored in the memory with sequence “0, 1, 2” row by row (See the rows on the right side of FIG. 8). Therefore, for a 40 ms TTI TrCH, column 0 before interleaving always has sequence “0, 1, 2” and column 1 always has sequence “1, 2, 0”.
  • [0067]
    The DSP 12 provides a column permutation function indicator (“i” in FIG. 8 and Table 3 discussed below) and the TTI as part of the rate de-matching parameters. This indicates to the RDM controller 50 the frame phase being received. For every frame phase (column) received, the RDM controller 50 has to work out the bit sequence based on the de-interleaved column number of the sequence using the TrCH's TTI, 1st interleaver polynomial and frame phase in TTI. Specifically, the RDM controller 50 looks up the sequence in an input sequence lookup table, and sets up the initial puncturing state/sequence before starting de-puncturing of the data. Table 3 below illustrates an exemplary embodiment of the input sequence lookup table.
    TABLE 3
    INT1POLY(i)
    TTI 0 1 2 3 4 5 6 7
    10 ms 0, 1, 2 X X X X X X X
    20 ms 0, 2, 1 1, 0, 2 X X X X X X
    40 ms 0, 1, 2 1, 2, 0 2, 0, 1 0, 1, 2 X X X X
    80 ms 0, 2, 1 1, 0, 2 2, 1, 0 0, 2, 1 1, 0, 2 2, 1, 0 0, 2, 1 1, 0, 2
  • [0068]
    Accordingly, when the input data is turbo encoded punctured data, the RDM controller 50 accesses the input sequence lookup table using the TTI and column permutation function indicator, and generates two set up parameters in addition to the rate de-matching parameters received from the DSP 12. The first setup parameter is the starting turbo bit indicator rm_tbbit, which indicates whether the first bit being processed is systematic data, first parity data or second parity data. The second parameter is the turbo sequence direction indicator rm_clkwise, which indicates whether the sequence of the turbo encoded data is (1) systematic, first parity, second parity, systematic, etc., or (2) second parity, first parity, systematic, second parity, etc.
  • [0000]
    Rate De-Matching State-Machine
  • [0069]
    FIG. 9 illustrates one exemplary embodiment of the state-machine 70. The state-machine 70 is implemented in dedicated hardware 14 by preparing VHDL code describing the state-machine 70, and having the VHDL compiler generate the dedicated hardware architecture implementing the state-machine 70. Accordingly, the operation of the state-machine 70 and the remaining portions of the dedicated hardware 14 will now be described with respect to FIGS. 7 and 9.
  • [0070]
    Referring to FIG. 9, operation begins in a first initial state init1. The first initial state init1 is achieved when a signal processing session ends or when a signal processing session has been reset. The state-machine 70 remains in the first initial state init1 until a processing start signal is received from the DSP 12 via the RDM controller 50. The processing start signal provides the rate matching parameters, and possibly the set up parameters, for one payload of data to be processed. A payload of data is, for example, a radio frame of data for a TrCH.
  • [0071]
    As shown in Table 2, the rate de-matching parameters include an initial value eini1 for at least a first decision parameter evalue1. If the state-machine 70 is to operate on turbo encoded data and perform de-puncturing, then initial evalues for both the first and second parity data are supplied by the DSP 12. Namely, initial values eini1 and eini2 are respectively supplied for first and second decision parameters evalue1 and evalue2, which are associated with the first and second parity data, respectively. However, if the data is convolution encoded, or the data is turbo encoded but a de-repetition process is to be performed on the data, then only the first decision parameter evalue1 is supplied by the DSP 12.
  • [0072]
    Upon receipt of the processing start signal, the state-machine 70 sets the initial values of the decision parameter(s), transitions from the first initial state init1 to a second initial state init2 and then a third initial state init3. In the second initial state init2, the first decision parameter evalue1 is decreased by a first decrement value eminus1, which was supplied as one of the rate de-matching parameters by the DSP 12 via the RDM controller 50. In the third initial state init3, the second decision parameter evalue2 is decreased by a second decrement value eminus2, which was supplied as one of the rate de-matching parameters by the DSP 12 via the RDM controller 50, if the data being processed is turbo encoded punctured data. Otherwise, no such operation is performed in the third initial state init3. Accordingly, based on the coding scheme indicator and the puncture/repetition parameter, the state-machine 70 knows the operation to perform in the third initial state init3.
  • [0000]
    De-Repetition
  • [0073]
    If the puncture/repetition parameter indicates that a de-repetition process is to be performed on the data (turbo or convolutional), then processing proceeds to a de-repetition state. The dedicated hardware 14, and therefore, the state-machine 70 operates on a unit of data. The unit of data can be one or more bits. For ease of explanation only, the operation of the dedicated hardware 14 and the state-machine 70 will be described assuming the unit of data is one bit.
  • [0074]
    In the de-repetition mode of operation, for each unit of data (e.g., 1 bit in the remainder of this description) the state-machine 70 determines if the first decision parameter evalue1 is less than or equal to a de-repetition threshold DrepTH. In one exemplary embodiment, the repetition threshold DrepTH is zero. If so, then the state-machine 70 determines that the data should undergo a de-repetition operation. Accordingly, the state-machine 70 (1) sends an invalid output signal to the output stall-valid buffer 74 instructing the output stall-valid buffer 74 that the output received is invalid; (2) generates a selection signal that causes the selector 82 to output the data generated by the clamp 80; (3) turns the reset signal for the latch 76 off to permit accumulation; and (4) increments the first decision parameter evalue1 by an increment value eplus1 (this last operation is performed only once during the de-repetition process).
  • [0075]
    In causing the de-repetition of data, the state-machine 70 generates the selection signal and the reset signal such that the selector 82 outputs the data from the clamp 80 and the latch 76 continues latching the output from the accumulator 78 for the number of input bits indicated by the puncture/repetition parameter received from the DSP 12 via the RDM controller 50.
  • [0076]
    The input data to the RDM dedicated hardware 14 in one exemplary embodiment is a stream of 5 bit LLR, value range from −16 to +15. The output of the RDM dedicated hardware 14 is also 5 bit LLR, value from −15 to +15, and puncture replaces a bit, represented by value −16. In this exemplary embodiment, the accumulator 78 is an 8-bit accumulator that accumulates/saturates the LLR value to range −128 to +127. This accumulation process increases the SNR for repeated bits. The accumulator output is clamped down to range −15 to +15 by the clamp 80. During the accumulation process, the latch 76, which is an 8 bit register, stores the accumulated LLR.
  • [0077]
    Once the amount of input data indicated by the puncture/repetition parameter has undergone the accumulation process, the state machine 70 (1) turns the reset signal back on; and (2) generates an output validity indicator indicating valid data. Accordingly, the clamped, accumulated value output by the selector 82 is considered valid data, and the input data has been de-repeated.
  • [0078]
    If, at the beginning of the de-repetition state, the first decision parameter evalue1 is not less than or equal to the de-repetition threshold DrepTH, then the state-machine 70 (1) generates a selection signal that causes the selector 70 to output the output from the accumulator 82; (2) generates an output validity signal indicating valid data; and (3) decreases the first decision parameter evalue1 by the first decrement value eminus1. This process continues until the data payload has been processed.
  • [0079]
    Once the data payload has been processed, the state machine 70 moves to the first initial state. The state machine 70 will remain in the first initial state until the next processing start signal is received.
  • [0000]
    De-Puncture
  • [0080]
    Returning to the third initial state init3, if the coding scheme indicator indicates the convolutional coding scheme and the puncture/repetition parameter indicates puncture, then a normal de-puncture process is to be carried out and the state-machine 70 moves to the normal de-puncture state.
  • [0081]
    In the normal de-puncture mode of operation, for each unit of data, the state-machine 70 determines if the first decision parameter evalue1 is less than or equal to a first de-puncture threshold DpuncTH1. (In one exemplary embodiment, the first de-puncture threshold DpuncTH1 is zero.) If so, then the state-machine 70 determines that the data should be de-punctured. Accordingly, the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the puncture replace bit; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating to stall the input of data from the input stall-valid buffer 72; and (4) increments the first decision parameter evalue1 by the increment value eplus1 and decrements the resulting sum by the decrement value eminus1. In causing the de-puncture of data, the state-machine 70 generates the selection signal and input stall indicator such that the selector 82 outputs the puncture replace bit a number of times as indicated by the puncture/repetition parameter. In one exemplary embodiment, the puncture replace bit is an LLR value of −16.
  • [0082]
    If the first decision parameter evalue1 is not less than or equal to the first de-puncture threshold DpuncTH1, then the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the output from the clamp 80; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating not to stall the input data; and (4) decreases the first decision parameter evalue1 by the first decrement value eminus1. This process continues until the data payload has been processed.
  • [0083]
    Once the data payload has been processed, the state machine 70 move to the first initial state. The state machine 70 will remain in the first initial state until the next processing start signal is received.
  • [0084]
    De-Puncture of Turbo Encoded Data
  • [0085]
    Returning again to the third initial state init3, if the coding scheme indicator indicates the turbo coding scheme and the puncture/repetition parameter indicates puncture, then a turbo de-puncture process is to be carried out and the state-machine 70 moves to one of a systematic de-puncture state turbo_p0, a first parity de-puncture state turbo_p1 and a second parity de-puncture state turbo_p2 as indicated by the starting turbo bit indicator set up parameter. Namely, if the starting turbo bit indicator indicates the systematic bit, then the systematic de-puncture state is entered; if the starting turbo bit indicator indicates the first parity bit, then the first parity de-puncture state is entered; and if the starting turbo bit indicator indicates the second parity bit, then the second parity de-puncture state is entered.
  • [0086]
    As discussed previously, systematic data does not undergo puncture. Accordingly, in the systematic de-puncture state, the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the output from the clamp 80; and (2) generates an output validity indicator indicating valid data. After the systematic bit has been processed, the state-machine 70 moves to one of the first parity de-puncture state and the second parity de-puncture state as indicated by the sequence direction indicator set up parameter. Namely, if the sequence direction indicator is true, then the first parity de-puncture state is entered; and if the sequence direction indicator is false, then the second parity de-puncture state is entered.
  • [0087]
    In the first parity de-puncture state, the state-machine 70 determines if the first decision parameter evalue1 is less than or equal to a second de-puncture threshold DpuncTH2. In one exemplary embodiment, the second de-puncture threshold DpuncTH2 is zero. If so, then the state-machine 70 determines that the data should be de-punctured. Accordingly, the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the puncture replace bit; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating to stall the input of data from the input stall-valid buffer 72; and (4) increments the first decision parameter evalue1 by the increment value eplus1 and decrements the resulting sum by the decrement value eminus1. In causing the de-puncture of data, the state-machine 70 generates the selection signal and input stall indicator such that the selector 82 outputs the puncture replace bit a number of times as indicated by the puncture/repetition amount parameter. In one exemplary embodiment, the puncture replace bit is an LLR value of −16.
  • [0088]
    If the first decision parameter evalue1 is not less than or equal to the second de-puncture threshold PuncTH2, the state machine 70 (1) generates a selection signal that causes the selector 82 to output the output from the clamp 80; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating not to stall the input data; and (4) decreases the first decision parameter evalue1 by the first decrement value eminus1.
  • [0089]
    After the first parity bit has been processed, the state-machine 70 moves to one of the systematic de-puncture state and the second parity de-puncture state as indicated by the sequence direction indicator set up parameter. Namely, if the sequence direction indicator is true, then the second parity de-puncture state is entered; and if the sequence direction indicator is false, then the systematic de-puncture state is entered.
  • [0090]
    In the second parity turbo de-puncture state, the state-machine 70 determines if the second decision parameter evalue2 is less than or equal to a third de-puncture threshold DpuncTH3. In one exemplary embodiment, the third de-puncture threshold DpuncTH3 is zero. If so, then the state-machine 70 determines that the second parity data should be de-punctured. Accordingly, the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the puncture replace bit; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating to stall the input of data from the input stall-valid buffer 72; and (4) increments the second decision parameter evalue2 by the second increment value eplus2 and decrements the resulting sum by the second decrement value eminus2. In causing the de-puncture of data, the state-machine 70 generates the selection signal and input stall indicator such that the selector 82 outputs the puncture replace bit a number of times as indicated by the puncture/repetition amount parameter. In one exemplary embodiment, the puncture replace bit is an LLR value of −16.
  • [0091]
    If the first decision parameter evalue2 is not less than or equal to the third de-puncture threshold DpuncTH3, the state-machine 70 (1) generates a selection signal that causes the selector 82 to output the output from the clamp 80; (2) generates an output validity indicator indicating valid data; (3) generates an input stall indicator indicating not to stall the input data; and (4) decreases the second decision parameter evalue2 by the second decrement value eminus2.
  • [0092]
    After the second parity bit has been processed, the state-machine 70 moves to one of the systematic de-puncture state and the first parity de-puncture state as indicated by the sequence direction indicator set up parameter. Namely, if the sequence direction indicator is true, then the systematic de-puncture state is entered; and if the sequence direction indicator is false, then the first parity de-puncture state is entered.
  • [0093]
    Processing in the above described turbo puncture states repeats until the data payload has been processed. Once the data payload has been processed, the state machine 70 moves to the first initial state. The state machine 70 will remain in the first initial state until the next processing start signal is received.
  • [0094]
    The de-repetition and de-puncture thresholds used by the state-machine 70 are, in one exemplary embodiment, values fixed in the state-machine 70 to zero. It will be appreciated that the DSP 12 can send rate de-matching parameters for multiple TrCHs during configuration; these parameters are stored in the RDM ram 52 by the RDM controller 50. The DSP 12 then tells the dedicated hardware 14 to start processing. The RDM controller 50 will read from the rate de-matching parameters for the RAM 52, setup the state-machine 70, and start the state-machine 50 to process one TrCH. The RDM controller 50 will repeat this process for multiple TrCHs until all TrCHs in the RAM 52 are processed.
  • Further Embodiments and Applications of Rate De-Matching
  • [0095]
    There are many ways to implement rate de-matching dedicated hardware. A state-machine implementation has been described above. As with the rate matching dedicated hardware, the rate de-matching dedicated hardware may be implemented by structured combinatorial logic. This architecture will be readily apparent from the forgoing structured combinatorial logic implementation of the rate matching dedicated hardware. Similarly, the application of the rate de-matching dedicated hardware to HSDPA will be readily apparent from the forgoing disclosure of the application of the rate matching dedicated hardware to HSDPA.
  • [0096]
    The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications as would be obvious to one skilled in the art are intended to be included within the scope of the present invention.
Patent Citations
Cited PatentFiling datePublication dateApplicantTitle
US5383066 *Aug 2, 1993Jan 17, 1995Samsung Electronics Co., Ltd.Compensation for the dropout of a drum frequency generator signal in a drum servo system
US5764966 *Jun 18, 1997Jun 9, 1998Samsung Electronics Co., Ltd.Method and apparatus for reducing cumulative time delay in synchronizing transfer of buffered data between two mutually asynchronous buses
US6215868 *Mar 5, 1998Apr 10, 2001Canon Kabushiki KaishaConnection apparatus for connecting a digital or analog subscriber line of communication network to communication device
US6332005 *Oct 22, 1998Dec 18, 2001Nokia Mobile Phones LimitedMethod for converting a signal data rate, and a transmitter
US6392572 *May 11, 2001May 21, 2002Qualcomm IncorporatedBuffer architecture for a turbo decoder
US6397367 *Jun 7, 1999May 28, 2002Samsung Electronics, Co., Ltd.Device and methods for channel coding and rate matching in a communication system
US6456611 *Dec 4, 1998Sep 24, 2002Nortel Networks LimitedCDMA modem using common block architecture
US6463097 *Jun 29, 1999Oct 8, 2002Koninklijke Philips Electronics N.V.Rate detection in direct sequence code division multiple access systems
US6636497 *Nov 30, 1998Oct 21, 2003Nokia Networks OyAir interface capacity scheduling method
US6674807 *Jan 21, 2000Jan 6, 2004Samsung Electronics Co., Ltd.Communication apparatus and method for a CDMA communication system
US6697629 *Oct 11, 2000Feb 24, 2004Qualcomm, IncorporatedMethod and apparatus for measuring timing of signals received from multiple base stations in a CDMA communication system
US6781970 *Aug 23, 2000Aug 24, 2004Telefonaktiebolaget Lm Ericsson (Publ)Transport format combination indicator mapping for telecommunications
US6907009 *Mar 30, 2001Jun 14, 2005Matsushita Electric Industrial Co., Ltd.Rate matching calculation method and rate matching apparatus
US7145917 *Jul 13, 2001Dec 5, 2006Via Telecom Co., Ltd.Frame matching method and apparatus for use in a communication system
US7269783 *Apr 30, 2003Sep 11, 2007Lucent Technologies Inc.Method and apparatus for dedicated hardware and software split implementation of rate matching and de-matching
US20020041640 *Mar 14, 2001Apr 11, 2002Philippe Le BarsMethod and device for evaluating the noise associated with turbocodes, and systems using them
US20020085659 *Apr 23, 2001Jul 4, 2002Samsung Electronics Co., Ltd.Flexible data rate matching apparatus and method in a data communication system
US20050113127 *Dec 10, 2004May 26, 2005Yi ZhangMethod and apparatus for efficient processing of data for transmission in a communication system
Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US7568058 *Jul 12, 2007Jul 28, 2009Intel CorporationRate matching apparatus, systems, and methods
US8806310 *May 3, 2011Aug 12, 2014Intel CorporationRate matching and de-rate matching on digital signal processors
US8839081 *Sep 10, 2012Sep 16, 2014Intel CorporationRate matching and de-rate matching on digital signal processors
US20080013495 *Jul 12, 2007Jan 17, 2008Intel CorporationRate matching apparatus, systems, and methods
US20110276767 *May 3, 2011Nov 10, 2011Mindspeed Technologies, Inc.Rate Matching and De-Rate Matching on Digital Signal Processors
US20130007382 *Sep 10, 2012Jan 3, 2013Mindspeed Technologies, Inc.Rate matching and de-rate matching on digital signal processors
Classifications
U.S. Classification714/790
International ClassificationH03M13/03, H03M13/00, H04L1/00, H04L1/08
Cooperative ClassificationH04L1/0066, H04L1/0069, H04L1/0059, H04L1/0067, H04L1/0043, H04L1/08, H04L1/0045, H04L1/0071
European ClassificationH04L1/00B5, H04L1/00B7C, H04L1/00B7K3, H04L1/00B7R1P, H04L1/00B7V, H04L1/00B3H