Title of Invention

METHOD AND APPARATUS FOR PERFORMING REVERSE RATE MATCHING IN A CDMA SYSTEM

Abstract The present invention relates to a method for processing symbols received for a channel in a communication system, the method comprising: receiving a symbol associated with a first index k ; determining a second index n based on the first index k ; determining a third index m based on the second index n, wherein the third index m is selected to reverse a particular processing previously performed on the received symbol; and providing the received symbol to a buffer at a location related to the third index m. The present invention also relates to a receiver unit operative to process symbols received via at least one channel in a communication system.
Full Text The present invention relates to data commuiucation. More particularly, the present invention relates to a novel and improved method and apparatus for performing rate-matching and reverse rate-matching in a CDMA system.
n. Description of the Related Art
A modem day communication system is required to support a variety of applications. One such communication system is a code division multiple access (CDMA) system that supports voice and data communication between users over a terrestrial link. The use of CDMA techniques in a nnultiple access communication system is disclosed in U.S. Patent No. 4,901,307, entitled "SPREAD SPECTRUM MULTIPLE ACCESS COMMUNICATION SYSTEM USING SATELLITE OR TERRESTRIAL REPEATERS," and U.S. Patent No. 5,103,459, entitled "SYSTEM AND METHOD FOR GENERATING WAVEFORMS IN A CDMA CELLULAR TELEPHONE SYSTEM," both assigned to the assignee of the present invention and incorporated herein by reference.
A CDMA system is typically designed to conform to one or more standards. One such first generation standard is the "TIA/EIA/IS-95 Terminal-Base Station Compatibility Standard for Dual-Mode Wideband Spread Spectrum Cellular System," hereinafter referred to as the IS-95 standard and incorporated herein by reference. The IS-95 CDMA systems are able to transmit voice data and (albeit not efficiently) packet data. A newer generation standard that can more efficiently transmit packet data is offered by a consortium named "3"* Generation Partnership Project" (3GPP) and embodied in a set of documents including Document Nos. 3G TS 25.211, 3G TS 25.212, 3G TS 25.213, 3G TS 25.214, and 3G TR 25.926, which are readily available to the public. The 3GPP standard is hereinafter referred to as the W-CDMA standard and incorporated herein by reference.
The W-CDMA standard defines a channel structure capable of supporting a number of users and designed for efficient transmission of

The present invention relates to data communication. More particularly, the present invention relates to a novel and improved method and apparatus for performing rate-matching and reverse rate-matching in a CDMA system.
n. Description of the Related Art
A modern day communication system is required to support a variety of applications. One such communication system is a code division multiple access (CDMA) street that supports voice and data communication between users over a terrestrial link. The use of CDMA techniques in a multiple access communication system is disclosed in U.S. Patent No. 4,901,307, entitled "SPREAD SPECTRUM MULTIPLE ACCESS COMMUNICATION SYSTEM USING SATELLITE OR TERRESTRIAL REPEATERS," and U.S. Patent No. 5,103,459, entitled "SYSTEM AND METHOD FOR GENERATING WAVEFORMS IN A CDMA CELLULAR TELEPHONE SYSTEM," both assigned to the assignee of the present invention and incorporated herein by reference.
A CDMA system is typically designed to conform to one or more standards. One such first generation standard is the "TIA/EIA/IS-95 Terminal-Base Station Compatibility Standard for Dual-Mode Wideband Spread Spectrum Cellular System," hereinafter referred to as the IS-95 standard and incorporated herein by reference. The IS-95 CDMA systems are able to transmit voice data and (albeit not efficiently) packet data. A newer generation standard that can" more efficiently transmit packet data is offered by a consortium named "3"* Generation Partnership Project" (3GPP) and embodied in a set of documents including Document Nos. 3G TS 25.211, 3G TS 25.212, 3G TS 25.213, 3G TS 25.214, and 3G TR 25.926, which are readily available to fhe public The 3GPP standard is hereinafter referred to as the W-CDMA standard and incorporated herein by reference.
The W-CDMA standard defines a channel structure capable of supporting a number of users and designed for efficient transmission of

packet data. In accordance with the W-CDMA standard, data to be transmitted is processed as one or more "transport" channels at a higher signaling layer. The transport chaxmels support concurrent transmission of different types of services (e.g., voice, video, data, and so on). The transport channels are then mapped to one or more "physical" channels that are assigned to a user terminal for a communication (e.g., a call).
The W-CDMA standard allows for a great deal of flexibility in the processing of the transport channels. For example, data for a particular transport channel can be coded using a convolutional code, a Turbo code, or not coded at ell. Also, the data can be interleaved over one of four different transmission time intervals (TTI) to provide temporal diversity against deleterious path effects (e.g., fading, multipaths, and so on). Different combinations of coding scheme and interleaving interval can be selected to provide improved performance for different types of services.
The W-CDMA standard also allows the bit rate of the transport channels to change from one TTI to the next. At the transmitter tmit, rate-matching is performed such that the total number of bits after the rate-matching is equal to the number of channels bits available for transmission. Bits are repeated or punctured (i.e., deleted) to achieve the desired output bit count.
At the receiver unit, complementary signal processing is performed on the received signal. In particular, de-interleaving is performed for each TTI of received snowbells, and inverse rate-matching (also referred to herein as "de-rate-matching") is performed on the de-interleaved symbols. For improved performance, techniques that can be used to efficiently achieve the de-interleaving and de-rate-matching are highly desirable.
SUMMARY OF THE INVENTION
The invention provides various techniques to improve the de-interleaving and de-rate-matching at a receiver unit. In accordance with an aspect of the invention, the de-rate-matching is performed on the received symbols 2/ approximately in real time as these symbols are received from a preceding processing element or as they are provided to a subsequent processing element (e.g., using a direct computation to determine tiie index m of the de-rate-matched symbols xj). In accordance with another aspect of tiie invention, the de-interleaving and de-rate-matching are performed concurrently as the symbols z/ are provided to a buffer such that de-

interleaved and de-rate-matched sjmnbols are stored in the buffer. These processing techniques may allow for ttie use of a smaller buffer to store the de-rate-matched symbols x„," and may further reduce the processing delays.
An aspect of the invention provides a method for processing symbols received for a (transport) chaxmel in a communication system {e.g., a W-CDMA system). In accordance with the method, a symbol z^" associated with a first index k is received and a second index n is determined based on the first index k (to achieve de-interleaving of the symbol z/). A third index m is then determined based on the second index n (to reverse a rate-matching previously performed on tiie symbol z/). The received symbol 2/ is then provided to a buffer at a location related to the third index m. The third index m can be determined from the second index n based on a direct computation or an iterative algorithm, both of which are described below. Different direct computations can be used depending on whether bit repetition or puncturing was performed at the transmission source.
Various aspects, embodiments, and features of the invention are described in further detail below.
BRIEF DESCRIPTION OF THE DRAWINGS
The features, nature, and advantages of the present invention will become more apparent from the detailed description set forth below when taken in conjimction with the drawings in which like reference characters identify correspondingly throughout and wherein:
FIG. 1 is a simplified block diagram of a communication system that can implement the invention;
FIGS. 2A and 2B are diagrams of the signal processing at a transmitter imit and a receiver unit, respectively, for a dowiUink data transmission in accordance with the W-CDMA standard;
FIGS. 3A and 3B are simplified block diagrams of the rate matching and first interleaving performed at the fransmitter unit and the de-interleaving and de-rate matching performed at the receiver unit, respectively;
FIGS. 4A through 4E are diagrams that respectively illustrate (1) the bits x,„ provided to a rate-matching element, (2) the bits y„ provided from the rate-matching element, (3) the bits during the first interleaving, (4) the bits z^ provided after the first interleaving, and (5) the symbols x„" stored in the

buffer at the receiver unit to achieve the first de-interleaving and de-rate-matching, for a specific example when bit repetition is performed;
FIG. 5 is a diagram that illustrates various schemes to achieve the first de-interleaving and de-rate-matching (symbol accumulation) at the receiver unit;
FIG. 6 is a flow diagram of a process to achieve the first de-interleaving and de-rate-matching (symbol accumulation) in accordance with an embodiment of the invention;
FIGS. 7A through 7D are diagrams that respectively illustrate (1) the bits x„ provided to the rate-matching element, (2) the bits y„ provided from the rate-matching element, (3) the bits during the first interleaving, and (4) the bits z^ provided after the first interleaving, for a specific example when puncturing is performed;
FIG. 8 is a diagram that illustrates various schemes to achieve the first de-interleaving and de-rate-matching (erasure iiisertion) at the receiver unit;
FIG. 9 is a flow diagram of a process to achieve the first de-interleaving and de-rate-matching (erasure insertion) in accordance with an embodiment of the invention;
FIG. 10 is a diagram that illustrates the reduction in processing delays that may be achieved with the invention; and
FIG. 11 is a simplified block diagram of an embodiment of a receive data processor.
DETAILED DESCRIFHON OF THE SPECIFIC EMBODIMENTS
FIG. 1 is a simplified block diagram of a communication system 100 that can implement the invention. In a specific embodiment, communication system 100 is a CDMA system that conforms to the W-CDMA standard. At a transmitter imit 110, data is sent, typically in blocks, from a data soiirce 112 to a transmit (TX) data processor 114 that formats, codes, and processes the data to generate one or more analog signals. The analog signals are then provided to a transmitter (TMTR) 116 that (qtiadrature) modulates, filters, amplifies, and upconverts the signal(s) to generate a modulated signal. The modulated signal is then transmitted via one or more antennas 118 (only one is shown in FIG. 1) to one or more receiver units.

At a receiver unit 130, the transmitted signal is received by one or more anteiitias 132 (again, ovly one is shown) and provided to a receiver (RCVR) 134. Within receiver 134, the received signal(s) are amplified, filtered, downconverted, (quadrature) demodulated, and digitized to generate samples. The samples are then processed and decoded by a receive (RX) data processor 136 to recover the transmitted data. The processing and decoding at receiver imit 130 are performed in a manner complementary to the processing and coding performed at transmitter unit 110. The recovered data is then provided to a data sink 138.
The signal processing desaibed above supports transmissions of voice, video, packet data, messaging, and other types of communication in one direction. A bi-directional communication system supports two-way data trai\simssion. However, the sigiuil processing for the other direction is not shown in FIG. 1 for simplicity.
FIG. 2A is a diagram of the signal processing at transmitter unit 110 for a dovimlink data transmission in accordance with the W-CDMA standard. The downlink refers to transmission from a base station to a user terminal (or user equipment (UE)), and the uplink refers to transmission from the user terminal to the base station. The signal processing shown in FIG. 2A is generally performed by transmit data processor 114 in FIG. 1. The upper signaling layers of the W-CDMA system support concurrent transmission of a number of transport chaimels, with each transport chaimel capable of carrying data for a particular communication (e.g., voice, video, data, and so on). The data for each transport channel is provided, in blocks that are also referred to as transport blocks, to a respective transport channel processing section 210.
Within transport cheinnel processing section 210, each transport block is used to calcvilate cyclic redimdancy check (CRC) bits, in block 212. The CRC bits are attached to the transport block and used at the receiver uiut for error detection. A number of CRC coded blocks are then serially concatenated together, in block 214. If the total number of bits after concatenation is greater than the maximum size of a code block, the bits are segmented into a number of (equal-sized) code blocks. Each code block is then coded with a particular coding scheme (e.g., a convolutional code, a Turbo code) or not coded at all, in block 216.
Rate matching is then performed on the code bits, in block 218. Rate matching is performed in accordance with a rate-matching attribute assigned by higher signaling layers. On the uplink, bits are repeated or punctured

(i.e., deleted) such that the number of bits to be transmitted matches the number of bits available. On the downlink, unused bit positions are filled with discontinuous transmission (DTX) bits, in block 220. The DTX bits indicate when a transmission should be turned off and are not actually transmitted.
The bits are then interleaved in accordance with a particular interleaving scheme to provide time diversity, in block 222. In accordance with the W-CDMA standard, Ihe time interval over which interleaving is performed can be selected from a set of possible time intervals (i.e., 10 msec, 20 msec, 40 msec, or 80 msec). The interleaving time interval is also referred to as a transmission time interval (TTI). The TTI is an attribute associated with each transport chaimel and, in accordance with the W-CDMA standard, does not change for the duration of a communication session. As used herein, a "traffic" comprises the bits within one TTI for a particular transport channel.
When the selected TTI is longer than 10 msec, the traffic is segmented and mapped onto consecutive transport channel radio frames, in block 224.. Each transport channel radio frame corresponds to a transmission over a (10 msec) radio frame period. In accordance with the W-CDMA standard, a traffic may be interleaved over 1, 2, 4, or 8 radio frame periods-
The radio frames from all active transport channel processing sections 210 are then serially multiplexed into a coded composite transport chaimel (CCTrCH), in block 232. DTX bits may then be inserted to the multiplexed radio frames such that the number of bits to be transmitted matches the number of bits available on the physical chaimel(s) used for the data transmission, in block 234. If more than one physical channel is used, the bits are segmented among the physical channels, in block 236. A particular physical channel can carry transport channels having different TTIs. The bits in each radio frame period for each physical channel are then interleaved to provide additional time diversity, at block 238. The interleaved physical channel radio frames are then mapped to their respective physical channels, at block 240. The subsequent signal processing to generate a modulated signal suitable for transmission to a user terminal is known in the art and not described herein.
FIG. 2B is a diagram of the signal processing at receiver unit 130 for a downlink data transmission in accordance with the W-CDMA standard. The signal processing shown in FIG. 2B is complementary to that shown in FIG. 2A, and is generally performed by receive data processor 136 in FIG. 1.

Initially, the modulated signal is received, conditioned, digitized, and processed to provide sjrtnbols for to each physical channel used for the data transmission. Each symbol has a particular resolution (e.g., 4-bit) and corresponds to a transmitted bit. The symbols in each radio frame period for each physical channel are de-interleaved, in block 252, and the de-interleaved symbols from all physical channels are concatenated, in block 254. For a downlink transmission, non-transmitted bits are detected and removed, in block 256. The symbols are then demultiplexed into various tremsport channels, in block 258. The radio frames for each transport channel are then provided to a respective transport charmel processing section 260.
Within transport channel processing section 260, the transport charmel radio frames are concatenated into traffics, in block 262. Each traffic includes one or more transport channel radio frames and corresponds to a particular TTI used at the transmitter unit. The symbols within each traffic are de-interleaved, in block 264, and non-transmitted symbols are removed, in block 266. Inverse rate matching is then performed to accumulate repeated symbols and insert "don"t cares" for ptmctured symbols, in block 268. Eadi coded block in the traffic is then decoded, in block 270. The decoded blocks are then concatenated and segmented into their respective transport blocks, in block 272. Each transport block is then checked for error using the CRC bits, in block 274.
In accordance with the W-CDMA standard, a niimber of transport channels can be used to send data to a peirticular user terminal. Each transport channel can be associated with a particular TTI (i.e., 10,20, 40, or 80 msec) over which its data is interleaved. The TTI for a particular transport charmel is determined at the start of a communication session arid typically does not change dni"mg the session. Different TTIs can be associated with different transport channels and used for different types of services. A shorter TTI provides less time diversity and can be used for services that caxmot tolerate long processing delays (e.g., voice). In contrast, a longer TTI may provide improved time diversity and can be used for services that are less sensitive to delays (e.g., traffic data).
The number of bits for a particular transport charmel can vary from one TTI to the next. Rate matching is thus performed such that the total number of bits for all transport chaimels associated with a particular coded composite transport channel (CCTrCH) matches the total number of charmel bits available for all physical channels assigned for the CCTrCR If

the total number of bits for the CCTrCH is less than (or greater than) the available number of channel bits, some of the bits are repeated (or punctured, i.e., deleted), respectively. The repetition and puncturing are performed in accordance with the bit count of the CCTrCH and a (semi-static) rate-matching attribute assigned to each transport channel by higher layers.
FIG. 3A is a simplified block diagram of the rate matching and first interleaving performed at the transmitter unit. For each TTI of each transport channel, the coded bits x„ from a channel coding element is provided to a rate-matching element 312, which also receive the rate-matching attribute RMj assigned to that transport channel. Rate-matching element 312 then determines the number of bits to be repeated or punctured to achieve the desired bit rate, and further performs the bit repetition or puncturing in accordance with a particular rate-matching pattern. The rate-matched bits y„ are then provided to a first interleaver 314. The interleaving can be achieved by either writing the bits to, or reading the bits from, first interleaver 314 according to a particular permutated order. The interleaved bits Zn are then provided from first interleaver 314 to the subsequent processing element.
In FIG. 3A, x„ represents the bits provided to rate-matching element 312, y,, represents the rate-matched bits provided from rate-matching element 312, and z^ represents the interleaved bits provided from first interleaver 314. The indices m, n, and k are thus used to denote the positions of the urunatched bits x, the rate-matched bits y, and the interleaved bits 2, respectively. On the downlink of the W-CDMA system., rate-matching is performed prior to the interleaving, as shown in FIG. 3A. However, on the uplink, rate-matching is performed after the interleaving.
The W-CDMA standard defines various rate-matching schemes for vise with various operating modes. The rate matching on the uplink is defined to be (slightly) different from that for the downlink. Also, for the downliiik, the rate matching parameters for "fixed" positions of transport chaimels are computed differently from the parameters for "flexible" positions of transport chaimels. Moreover, for each type of position, the rate-matching parameters for uncoded and convolutionally encoded transport chaimels are computed differently than for Turbo encoded transport channels.
In accordance with the W-CDMA standard, based on the knowledge of the fransport format combination set for a particular CCTrCH, the

number of coded bits to be repeated or punctured for each transport format is determined in such a way that at least one transport format combination results in no DTX and that the puncturing/repetition ratio for a transport channel is approximately constant over all of its transport formats. A set of rate-matching parameters {X,, e,„„ e^,,,,, and e,,,,,,,) are computed for each transport format based on the number of bits to be pimctured or repeated for a Tn for the transport format. These rate-matching parameters are then used to determine a rate-matching pattern, and tiie bits are repeated or punctured in accordance with the rate-matching pattern. The computations for tiie rate-matching parameters are described in further detail in the W-CDMA standard (Document No. 3G IS 25.212).
Once the rate-matching parameters are computed/ the rate-matching pattern can be determined in accordance with a defined algorithm. A bit repetition algorithm, which is used when the number of coded bits from a particular transport chaimel is less than the nun\ber of allocated rate-matched bits for the transport charmel, is provided by the W-CDMA standard as:

Mtrgprtitiop alforlthm
*"*« — set initial value for error e
m = l — set initial value for index m
do white (m £ X) — perform loop X^ times for X, input bits
e = c-e-i«i. — update earor e
do while (5 S 0) — dteck if hit m should be r^^eated
repeatti.tx^ — repeat bit m
e = f + e^rt. — update eiror e after a repetition
«rtd do
M =W + 1 — update index m ftst next bit
end do
In the above bit repetition algorithm, the first input bit Xf, is always repeated (because e(„, = 1). Also, the repeated bit is placed directly after the original bit. A puncturing algorithm, which is used when the number of coded bits from a particular transport channel is greater than the ntimber of allocated rate-matched bits for the transport channel, is similar to the bit repetition algoriliim and is provided by the W-CDMA standard as:

puncturing algorithm
e = e.«i
m = l
do while {m : e = e-
if (e^ 0) then
set bit x„, to 5
e^e + e^,„.
end if
m = w I + 1
end do


— set initial value for error e
— set irutial value for index m
— perform loop X; times for X, input bits
— update error e
~ check if bit m should be punctured
— puncture bit m by setting it to 8
— update error e after a puncture
— update index m for next bit

FIG. 3B is a simplified block diagram of the de-interleaving and de¬rate matching, which are the complementary signal processing performed at the receiver unit to recover the symbols. For each TTI of each transport channel, the symbols z/ generated by a preceding processing element can be provided to a buffer 322, which is used to implement tiie first de-interleaving. The de-interleaving can be achieved by either writing the symbols to, or reading the symbols from, buffer 322 in a permutated order that is complementary to the permutated order used at the transmitter unit to achieve the first interleaving. The de-interleaved symbols y„" are then provided to a de-rate-matching (DRM) element 324, which also receives the rate-matching attribute RM^ assigned to the transport channel being processed. Rate-matching element 324 then computes the rate-matching parameters {X„ e,.,,, e^i„^ and e„,„„s} based in part on the rate-matching attribute. Rate-matching element 324 further performs symbol accumulation (if bit repetition was performed) or erasure insertion (if puncturing was performed) in accordance with a particular rate-matching pattern generated based on the computed rate-matching parameters. The de-rate-matched symbols x„," are then provided to a subsequent processing element (e.g., a decoder).
For clarity, the de-interleaving and rate-matching is now described for four difference cases : (1) bit repetition - transmitter unit, (2) symbol accumulation - receiver unit, (3) puncturing - transmitter unit, and (4) erasure insertion - receiver unit. Also, for clarity, the rate matching and first interleaving for each of the four cases is described for"a specific example.

1. Bit Repetition - Transmitter Unit
PIGS. 4A and 4B are diagrams that illustrate iiie bits x„ provided to rate-matching element 312 and the bits y„ provided from tiie rate-matching element, respectively, for a specific example. In this example, 13 bits are included in the TTI of a transport channel, vyrhich is allocated 16 bits. Thus, three of the input bits are repeated. To perform the bit repetition, the rate-matching parameters (for conventional encoding) for this specific example are iiutially computed as: Xj, = 13, e^,., = 1, e^,,,, = 26, and e,„,„,„ = 6. The bit repetition algorithm is then executed with the above-computed parameters, and it can be determined that the bits at positions m = 1, 5, and 9 are to be repeated. Based on this repetition pattern, the rate-matched bits y„ are generated as shown in FIG. 4B,
FIG. 4C is a diagram of the first interleaving of the rate-matched bits for the example shown in FIGS. 4A and 4B. In this example, the TTI of the transport channel is 40 msec and the rate-matched bits y„ are interleaved over four radio frames, hi accordance with the W-CDMA standard, for a TTI of 40 msec, the bits y„ are written into a rectangular (4-column) matrix row-by-row starting with the first column of the first row and ending with the last column of the last"row. The columns are then rearranged in accordance with a particular inter-column permutation pattern (e.g., {0, 2,1, 3} for a TTI of 40 msec). The bits are then read from the matrix column-by-column.
FIG. 4D is a diagram that illustrates the interleaved bits z^ provided from first interleaver 314 after the first interleaving. FIG. 4D also shows the corresponding rate-matched bits y„ and the original bits x„. The interleaved bit sequence {Zj, z^, Zj, ...,2,4}, which corresponds to Uie input bit sequence [Xi,x^,Xj,... Xjj), is then provided to the subsequent processing element.
The rate-matching (bit repetition) and first interleaving can be achieved in various manners at the transmitter unit. In one implementation, for each TTI of each transport channel, the unmatched bits jc„ within the TTI are rate-matched (using bit repetition) based on the bit repetition algorithm described above. The rate-matched bits y„ are then stored to first interleaver 314. To achieve the first interleaving, the rate-matched bits can be written to, or read from, first interleaver 314 in a permutated order. When an entire TTI of bits have been stored, the interleaved bits z^ are then provided to the subsequent signal-processing element.

The index n of the rate-matched bit y„ can be computed from the index m of the input bit x„ based on the bit repetition algorithm described above. Alternatively, ttie index « can be computed directly from the index m, as described below. The direct computation of the index n from the index m may benefit the transmitter unit.
The benefits resulting from the direct computation can be illustrated by way of an example. For the above example, the encoder can initially generate the bit sequence {Xj, x^, ..., *„}. The transmitter unit can then recognize that, to construct the first radio frame, the interleaved bits {z,, z^, Zjr and Z4} are needed, which correspond the rate-matched bits {y^, y^, y,, and y,3}. The transmitter unit can then invoke a direct computation of n -^ m, and determines that yj = Xy y^ = x^, y^ = x^, and y^^ = x^^. The transmitter unit then uses the input bits {Xj, x^, x^, and x^g] to form the first radio frame. The remaining radio frames are formed in similar manner. With the n -^ m (direct) computation, buffer 314 can be completely bypassed. Thus, the benefits of using the direct computation include the elimination of buffer 314 and time saving over the sequential computation.
Referring to the bit repetition algorithm described above, iirunediately before the line m = m + 1, the value of the error e can be computed ais:
0 where q is the number of repetitions up to that point (i.e., n =m + q). From equation (1), the last n such that y„ = a:„, can be expressed as:
n=m + f{m) ^ Eq(2)
where/(m) = q such that equation (1) is satisfied. It can be shown that:

/("») =

-e^+m-e^
^plia

+ 1

Table 1 shows the computed rate-matched bit index n based on the unmatched bit index m for the example shown in FIGS. 4A and 4B. For Table 1, y„ = x„, for n = m +/(m-l), n = m + /(m-l)+l, ...,M = m + f{m). For a bit x^ once the set of index n for the rate-matched bits is computed, another computation can be performed based on the index n to generate the index k for the first interleaving. The input bit x„ can then be stored directly to location fc in the buffer, as shown in Table 1. The above set of computations

for the index n and k is executed once if the interleaving is performed while writing to the buffer.
Table 1

m Km) n k Action
1 1 1 1 store Xi as Vi to location 1
2 9 repeat A:, to location 9
2 1 3 5 store jtj as yj to location 5
3 1 4 13 store x, as y* to location 13
4 1 5 2 store X, as Vs to location 2
5 2 6 10 store ;ts as y« to location 10
7 6 repeat X; to location 6
6 2 8 14 store Xc as y» to location 14
7 2 9 3 store Xj as y, to location 3
8 2 10 11 store X, as y,o to location 11
9 3 11 7 store X, as y,j to location 7
12 15 repeat arj to location 15
10 3 13 4 store x,„ as Vu to location 4
11 3 14 12 store x„ as y^ to location 12
12 3 15 8 store Xn as yis to location 8
13 3 16 16 store x,3 as y^ to location 16
2. Symbol Accumulation - Receiver Unit
FIG. 5 is a diagram that illustrates various schemes to achieve the first de-interleaving and de-rate-matching (symbol accumulation) at the receiver unit. In the first and second schemes, the de-interleaving and de-rate-matching are performed separately and sequentially. For each TTI of each transport channel, all symbols z^" for the TTI are received and stored to the buffer. In the first scheme, to achieve the first de-interleaving, the received symbols z/ are written to the buffer in a permutated order. When the entire TTI of de-interleaved symbols is available, the symbols y„" are read from the buffer in a linear order and de-rate-matching is then performed on the de-interleaved symbols y„" to provide the de-rate-matched synibols x„,". In the second scheme, to achieve the first de-interleaving, the received symbols z/ are written to the buffer in a linear order and read from in a permutated

order to achieve the first de-interleaving. In these schemes, an entire TTI of symbols is stored to achieve the de-interleaving, and the de-rate-matching is not initiated imtil the entire TTI of symbols has been received and de-interleaved.
The first and second schemes may require a large buffer to store the received symbols z/, especially if the repetition factor is high. (The W-CDMA standard does not place a limit on the repetition factor.) Moreover, tiiese schemes may result in longer processing delays since the de-rate-matching is not initiated until the entire TTI of symbols have been received and stored.
The invention provides various techniques to improve the de-interleaving and de-rate-matching (s3mr\boI accumulation). In accordance with an aspect of the invention, the de-rate-matching is performed on the received sjrmbols z/ approximately in real time as these symbols are received from the preceding processing element or as they are provided to a subsequent processing element. In accordance with another aspect of the invention, the de-interleaving and de-rate-matching are performed concurrently when storing the symbols such that de-rate-matched and de-interleaved symbols axe stored to the buffer. These processing techniques may allow for the use of a smaller buffer to store the de-rate-matched sjrmbols xj and may further reduce the processing delays.
In the third scheme shown in FIG. 5, the received symbols z^ are de-interleaved and de-rate-matched by a de-interleaving and de-tate-matching element 524, which determines the locations in a buffer 522 to which the symbols should be stored or accumulated. The symbols Zy are then stored to, or accumulated with values previously stored in, the determined locations. In this scheme, the de-interleaving and de-rate-matching can be performed in real time as the symbol z/ are received. Also, by storing accumulated results, the required buffer size may be reduced.
For clarity, various aspects of the invention are now described in the context of the furst scheme, although the processing generally also applies to the second and third schemes. Referring back to FIG. 4D, the received symbols z,", Zj", z^", ..., and Zj/ can be provided to tiie buffer in a particular permutated order to achieve the first de-interleaving. Eadi received symbol z/ at time index k can be written to a particular location n in the buffer such that the stored symbols can be retrieved from sequential locations of the buffer to achieve the first de-interleaving (i.e., for schemes 1 and 3 in FIG. 5).

The relationship between the buffer location n and the received symbol index k can be expressed as:
n=F,-((k-\) mod N,) + h , Eq(3)
where F, is the ntimber of radio frames in the TTI (i.e., f, = 1, 2, 4, and 8 for TTIs of 10, 20, 40, and 80 msec, respectively), k is the index of the received symbol z^", "N^ is the number of received symbols in each radio frame, and ft Is constant tiiat is dependent on the inter-column permutation pattern for the TTI. For example, for a TTI of 40 msec, the inter-colvimn permutation pattern is {0,2,1, 3} and h is equal to 1, 3,2, and 4 for the first, second, third, and fourth radio frames in the TTI, respectively. To achieve the de-interleaving, the received symbol z/ can be written to location n of the buffer (i.e., l»[n]), with n being computed as shown in equation (3).
For the spedfic example shown in FIG. 4D, f, = 4 and N, = 4. The received sjnmbols z/, z^", z^, ..., and z,/ can be respectively written to locations n = 1, 5, 9, 13, ..., and 16 of the buffer. In this marmer, the de-interleaved symbols y,", y/, y^", ..., y^" can be retrieved by reading from sequential locations 1,2, 3,... 16, respectively, of the buffer.
In accordance with an aspect of the invention, the de-rate-matching is also performed on the received symbols 2/ as they are provided to the buffer (for scheme 3 in FIG. 5). As noted above, the received symbols z/ can be stored to permutated locations in the buffer to achieve the first de-interleaving. For each symbol z^", the (de-interleaved) location n of the buffer can be computed based on equation (3). However, instead of storing the received symbol z/ to location v. (which would become de-interleaved symbol y„")/ the de-rate-matching is also performed on that symbol. From the de-interleaved location n, a determination can be made of the location m where the symbol z/ should be provided to achieve the de-rate-matching. Specifically, if bit repetition was performed, a determination can be made of the location m where the symbol z^" should be stored or accumulated with a previously stored symbol.
Storing the de-rate-matched symbols x„," (as oppose to the de-interleaved symbols y„") can provide various advantages. For example, the required size of the buffer may be reduced if symbol accumulation is being performed. Also, storing de-rate-matched symbols xj may result in less processing delays and may further simpUfy the subsequent processing, as described in further detail below.

In one de-rate-matching embodiment, a symbol accumulation algorithm is executed once for each radio frame to undo the bit repetition performed at the transmitter unit.
Referring back to FIG. 4D, the symbols y„" are received in a permutated order when the TTI is greater than 10 msec. For the example shown in FIG. 4D in which tixe TTI is 40 msec, the received symbols z/, z/, z/, ..., and Zj/ correspond to the de-interleaved symbols y/,yg, y,",..., and ]/„", respectively, which cover four radio frames. The symbol accumulation algorithm can be executed once to tmdo the repetition for symbols z/, z/, z/, and z/ in the first radio frame, which correspond to de-interleaved symbols y,", y/, y/, and yjj", respectively. The algorithm can then be executed a second time to undo the repetition for symbols z/, z/, z/, and z/ in the second radio frame, which correspond to de-interleaved symbols y/, y/, y,/, and y,/, respectively. The algorithm can be executed again for each remaining radio frame in the TTI.
The symbol accumulation algorithm is complementary to the bit repetition algorithm, and can be provided as:
symbol accumulation algorithm
e = ei„, - set irutial value for error e
m -1 - initialize pointer m to first buffer location
n" = 1 ~ set initial value for index n"
do while («" if (n = n") then . ~ check if symbol y„" should be stored
store symbol y„" to location m end if
e = e-e„,„„, ~ update error e
do while (e ^ 0) - check if a bit was repeated
n" = n" + 1 — update index n"
if (« = n") then ~ check if symbol y„" should be accvunulated
accumulate symbol y„" to location m end if
e = e + Cp,,,,
end do
m =m + 1
n" = n" + 1
end do
~ update error e after an accumulation
- update pointer m to next buffer location ~ update index n"

In the above symbol accumulation algorithm, n" represents a counting index, n represents iiie computed de-interleaved index for the received symbol z^" (i.e., n is the location where the sjrrribol z^/ should be stored to obtain the de-interleaved sjmiibol y„% m represents the location in the buffer to which the symbol z^" (i.e., y,/) should be stored or accunrmlated to achieve the de-rate-matching (i.e., m is the index of the de-rate-matched symbol a:,,"), and Y, is the nimiber of received symbols in the TTI.
The de-interleaving and de-rate-matching (for tl\e third scheme, based on the s3nxibol accumulation algorithm) can be achieved as follows. At the start of each radio frame of a particular TTI, prior to the reception of the first synnbol for the radio frame, the variables e, m, and n" are set to their respective initial values. Thereafter, for each received symbol z^" at time index k, a determination is made as to the buffer location n where the symbol should be stored to achieve the first de-interleaving. The buffer index n can be computed from the time index k based on equation (3). Storing the symbol Zy to location n would only achieve the first de-interleaving. To also achieve the de-rate-matching, the symbol accumulation algoriliim is executed imtil it can be determined the location tn where the symbol y„" should be stored or accumulated. The symbol Zy is then stored to location m or accumulated with the symbol already stored at that location.
As noted above, the symbol accumulation algorithm can be executed once for each radio frame to achieve the de-rate-matching. Prior to the start of the radio frame, the variables e, m, and n" are initialized. For each received symbol z,^", the de-interleaved location n is determined and the algorithm is executed until that symbol is either stored to location m in the buffer or accumulated with the value at that location. The algorithm is then temporarily halted until the next symbol is received. A program pointer can be used to maintain track of where the algorithm was halted so that execution of the algorithm can later be resumed from where it was halted.
Table 2 shows the variables in the sjmrjbol accumulation algorithm and the action performed for each s3rmbols y„" for the example shown in FIGS. 4A through 4D. The algorithm is executed four times for a TTI of 40 msec, with the same set of results being obtained for the variables n", m, and e each time the algorithm is executed. However, the symbol storage or acciunulation is only performed for the symbols actually received in that radio frame. For the first radio frame, the four symbols Zj", z/, z/, and z/ (i.e., y/, y/, y/, and y^") are stored to locations 1, 4, 7, and 10, respectively.

For the second radio frame, the symbols Zj", z/, Zj, and Zg" (i.e., yj", y/, yj/, and yis") are stored to locations 1, 5, 9, and 12, respectively. For the third radio frame, the symbols Zj" and Zj^" (i.e., y^" and y^") are respectively accumulated with the symbols stored in locations 1 and 5, and the symbols Zjj" and Zjj" (i.e.^ yjp" and yj/) are respectively stored to locations 8 and 11. And for the fourth radio frame, the symbols z„", z,/, and z,g" (i.e., y/, y,", and yijO are respectively stored to locations 3, 6, and 13, and the symbol Zjj" (i.e., y,/) is accumulated with the symbol stored in location 9.
Table 2

fc n" w e Radio frame Action
1 1 1 1 1 store Vi" (Zi") to location 1
9 2 -5 3 accumulate Vz" (z,") to location 1
5 3 2 21 2 store y/ to (zsO location 2
13 4 3 15 4 store y/ to (z,/) location 3
2 5 4 9 1 store Vs" to (Zj") location 4
10 6 5 3 3 accumulate ^^^ to (z,/) location 5
6 7 -3 2 store y," (z^") to location 5
14 8 6 23 4 store ,v«" (Zi/) to location 6
3 9 7 17 1 store Vs" (z/) to location 7
11 10 8 11 3 store jfjo" (zjiO to location 8
7 11 9 5 2 store VJ/ (Z,") to location 9
15 12 -1 4 accumulate Vu" (z^j") to location 9
4 13 10 25 1 store VH" (Z/) to location 10
12 14 11 19 3 store VM" (zn") to location 11
8 15 12 13 2 store Vw" (ZJO to location 12
16 16 13 7 4 store VM" (ZJ/) to location 13
FIG. 4E is a diagram of the symbols «„/ stored in the buffer to achieve the first de-interleaving and de-rate-matching. The horizontal axis represents the index m of the buffer. As shown in FIG. 4E, the first de-rate-jtnatched sjanbol x{ is generated by accumulating the received symbols z/ and Zj", the second de-rate-matched symbol x^" is the symbol z^, the third de-rate-matched symbol x^ is the symbol Zjj", and so on.
In another de-rate-matching (symbol accumulation) embodiment, which is applicable for all three schemes shown in FIG. 5, the index m of the

de-rate-matched symbol x„," is directly computed from the index n of the de-interleaved symbol y„", which is computed from the index k of the received symbol z^" in accordance with equation (3), The direct computation of the index m from the index n can reduce the processing delays. For example, if the TTI is F, • 10 msec, the time it takes to rate-match the last radio frame in the m may be reduced by a factor of F; vising the direct computation as compared to the sequential computation provided by the symbol accumulation algorithm.
Referring to the bit repetition algorithm described above, at the end of the "end do" line, the value of the error e cem be expressed as shown in equation (1). The de-rate-matched index m can be computed from the rate-matching parameters «,„,, £^,^5, and e„„„,„, and the de-interleaved index n in accordance with the following expression:

m =

V«-("-O ■♦-«/,„•
^plus "*"^raint«

Eq(4)

where "1 T" is a ceiling operator (e-g., W-^ I = 6).
For the specific example described above, for the first radio frame, the
indices « = 1, 5, 9, and 13 result in values of , and
[8.97 j^ respectively, which are equal to the indices m = 1, 4, 7, and 10,
respectively.
For bolh de-rate-matching embodiments described above (using the symbol accumulation algorithm and direct computation), the symbol accumulation can be performed "in place". The received symbols z/ are directly stored to the de-rate-matched locations m ox accumulated with the symbols already stored in these locations. Storing the accumulated results can reduce fhe buffer requirement since only one (accumulated) symbol is stored for each bit. Also, the de-rate-matclied symbols x„" can thereafter be retrieved from sequential locations of the buffer, which can simplify the operation of the buffer.
FIG. 6 is a flow diagram of a process to achieve the first de-interleaving and de-rate-matching (symbol accumulation) of the received symbols z^" in accordance with an embodiment of the invention. Initially, a determination is made whether a new TTI is being received for the transport channel, at step 612. If a new m is being received, the buffer is initialized (e.g., to all zeros, if symbol accumulation is being performed), at step 614, and the index /c is also initialized (e.g., to zero), at step 616. If a new

TTI is not being received or after the buffer and index k have been initialized, the process waits for receipt of an input symbol z/, at step 622.
Upon receipt of the symbol z^", the index n to achieve the first de-interleaving is computed based on the index k of the received symbol, at step 624. The index m to achieve the de-rate-matching (symbol accumulation) is then computed based on the computed de-interleaved index n, at step 626. The computation for the index m can be achieved directly from the index n based on equation (4) or can be computed using the symbol accumulation algorithm described above. The symbol 2/ is then accumulated to location m in the buffer, at step 628. Since the buffer has been initialized vrith zeros prior to the start of the TTI, at step 614, the symbol z/ can be stored to location m in the buffer by accumiilating it with the initial zero value. The index k is then incremented, at step 630. The process returns to step 612 and other symbols z/ in the TTI are processed in similar manner.
3. Puncturing - Transmitter Unit
The techniques described above for bit repetition may also be applied for puncturing. For clarity, the rate matching (e.g., puncturing) and first interleaving at the transmitter unit is now described for a specific example. In this example, 18 bits are included in the TTI of the transport channel, which is also allocated 16 bits. Thus, two of the input bits are punctured.
FIGS. 7A and 7B are diagrams that illustrate the bits x„, provided to rate-matching element 312 and the bits y„ provided from rate-matching element 312, respectively, for a specific example. To perform puncturing, the rate-matching parameters (for conventional encoding) are initially computed as: Xj, = 18, e,,,., = 1, e^,,„ = 36, and e„,„,„ = 4. The punctiuring algorithm described above is then executed with the above-computed parameters, and it can be determined that the bits at positions m = 1 and 10 are to be punctured. Based on iius puncturing pattern, the rate-matched bits y„ are generated as shown in FIG. 7B.
FIG. 7C is a diagram of the first interleaving of the rate-matched bits for the example shown in FIG. 7A. In this example, the TTI of the transport charmel is also 40 msec and the rate-matched bits y„ are interleaved over four radio frames. Again, the bits y„ are written into a rectangular (4-column) matrix row-by-row. The columns are then rearranged in accordance with the inter-column permutation pattern {0, 2,1, 3). The bits are then read from the matrix column-by-column.

FIG. 7D is a diagram that illustrates the bits z^ provided from first interleaver 314 after the first interleaving. FIG. 7D also shows the corresponding rate-matched bits y„ and the original bits %„,. The interleaved bit sequence { Zj, z^, Z3, ..., z^^], which corresponds to the input bit sequence {xj, Xg, Xji,... Xjj}, is then provided to the subsequent processing element.
The rate-matching (puncturing) and first interleaving can also be achieved in various manners at the transmitter unit. In one implementation, for each TTI of each transport channel, the bits x„, within the TTI are received and rate-matching is performed based on the puncturing algorithm described above. The rate-matched bits y„ are then stored to first interleaver 314.
The index n of the rate-matched bit y„ can be computed from the index m of the input bit x,„ based on the sequential puncturing algorithm, described above. Alternatively, the index n can be directly computed from the index m, as described below. Referring to the pimcturing algorithm described above, at the line "end if", the value of the error e can be computed as:
0 where p is the number of punctures up to the m* bit. From equation (5), a function fim) = p can be defined such that equation (5) is satisfied. The function/(w) can be expressed as:

/(«) =

^plus

+
Eq(6)

where " L J" is a floor operator {i.e.,
L5.2J
= 5). If/(?M) >f{m -1), then the input bit x„ is punctured. Otherwise, y„ = x„, where n = m -f{m).
Table 3 shows the computed rate-matched symbol index n based on the input symbol index m for the example shown in FIGS. 7A and 7B. For Table 3,f(m) is computed as shown in equation (6) with the rate-matching parameters: X, = 18, e,„, = 1, e^,,,, = 36, and e„„„„ = 4. Once the index n for the rate-matching is computed, another computation can be performed based on ttie index n to generate the index fc for the first interleaving. The input bit x„ can then be stored directly to location k in the buffer, as shown in Table 3.

Table 3

m Km) M z Action
1 0 puncture bit Xj
2 0 1 1 store ^2 as y, to location 1
3 0 2 9 store Xj as i/j to location 9
4 0 3 5 store x^ as y, to location 5
5 Q 4 13 store Xs as y^ to location 13
6 0 5 2 store Xt as yj to location 2
7 0 6 10 store X; as Vj to location 10
8 0 7 6 store X, as y/ to location 6
9 0 8 14 store X, as 1/j to location 14
10 1 puncture bit Xio
11 1 9 3 store x„ as y^ to location 3
12 1 10 11 store Xi2 as .y,o to location 11
13 1 11 7 store x,3 as y„ to location 7
14 1 12 15 store x„ as y,2 to location 15
15 1 13 4 store Xjs as"y,3 to location 4
16 1 14 12 store x,K as y^ to location 12
17 1 15 8 store x„ as y^s to location 8
18 1 16 16 store Xji as y,s to location 16
4. Erasuye Insertion - Receiver Unit
FIG. 8 is a diagram that illustrates various schemes to achieve the first de-interleaving and de-rate-matching (erasure insertion) at the receiver uiut. In the first scheme, the received symbols z/ can be written to the buffer in a permutated order and read from the buffer in a linear order to achieve the first de-interleaving. Alternatively, the received sjrmbols z/ can be written to the buffer in a linear order and read from the birffer in a permutated order to achieve the first de-interleaving. When the entire TTI of de-interleaved symbols is available, tive symbols y„" are provided from the buffer Ln the proper (either linear or permutated) order and de-rate-matching is then performed on the de-interleaved symbols y„" to provide the de-rate-matched symbols xj. Erasttres can be inserted during the de-rate-matching.

In the second scheme, the received symbols 2/ are de-interleaved and de-rate-matclied by a de-interleaving and de-rate-matching element 824, which determines the locations in a buffer 822 to which the symbols should be stored. The symbols z^ are then stored to the determined locations. Erasures are also stored in buffer 822 such that de-rate-matched symbols xj can be retrieved from buffer 822 by reading in a particular (e.g., linear) order. This scheme may reduce processing delays but requires a larger buffer size compared to scheme 1 since erasures are also stored. For both schemes, the indices for the de-rate-matching can be determined by a sequential or direct computation, as described below.
Referring back to FIG. 7D, the received symbols z/, Zj", Zj", ..., and Zj/ can be provided to the buffer in a particular permutated order to achieve the first de-interleaving (i.e., for schemes 1 and 2 in FIG. 8). The received sjTnbols Zj" at time indices k can be written to particular locations n in the buffer such that the stored symbols can be retrieved from sequential locations of the buffer to achieve the first de-interleaving. The relationship between the buffer location n and the index k to achieve the first de-interleaving can be expressed as shown in equation (3). For the specific example shown in FIG. 7D, the received symbols z,", Zj", Z3", z/, and so on, can be written to locations H = 1, 5, 9, 13, and so on, respectively, of the buffer. In this manner, the de-interleaved symbols y,", y/, y^", ..., y^" can be retrieved by reading from sequential locations 1, 2, 3, ... 16, respectively, of the buffer.
In an embodiment, corresponding to the second scheme described above, the de-rate-matching (erasure insertion) is also performed on the received symbols z^ as they are provided to the buffer. As noted above, the received symbols z/ can be stored to permutated locations in the buffer to achieve the first de-interleaving. For each symbol z^, the (de-interleaved) location n of the buffer can be computed based on equation (3). However, instead of storing the received symbol z^" to location n (which would only achieve the first de-interleaving), the de-rate-matching can also be performed on that symbol. From the computed de-interleaved location n, a determination can be made of the location m where the symbol z/ should be stored or an erasiue should be inserted (in which case the symbol z/ would be stored to location m + 1). Again, storing tiie de-rate-matched symbols x„" (as oppose to the de-interleaved symbols y,,") may provide reduced processing delays, as described below.

In one de-rate-matching embodiment, which is applicable for both schemes shown in FIG. 8, an erasure irisertion algorithm is executed once for each radio frame to undo the puncturing performed at the transmitter unit.
Referring back to FIG. 7D, the symbols y„" are received in a permutated order when the TTI is greater than 10 msec. For the example shown in FIG. 7D in which the TTI is 40 msec, the received symbols z,", Zj", z/, ..., and Zj/ correspond to the de-interleaved symbols j//, 1/5", y^",..., and y^", respectively, which cover four radio frames. The erasure insertion algoritiim can be executed once to "undo" the puncturing for symbols z/, z/, z/, and z/ in the first radio frame, which correspond to de-interleaved symbols y/, y/, y^, and yjj", respectively. The algorithm can then be executed a second time to undo the puncturing for symbols z^, z^", Zy, and z," in the second radio frame, which correspond to de-interleaved symbols y^", y/, yu", and yj^", respectively. The algorithm can be executed again for each remaining radio frame in the TTI.
The erasure insertion algorithm is complementary to the puncturing algorithm, and can be provided as:
erasure insertion algorithm
e = ej„, ~ set initial value for error e
m -1 — initialize pointer m to first buffer location
n" = 1 — set initial value for index n"
do while (n" e = «- ^minm " "pdate error e
if (e insert erasure at location m
m = m + 1 — update pointer m to next buffer location
e = e + e^,„g — update error e after insertion of erasure
end do
if (w = n") then ~ check if sjrmbol y„" should be stored
store symbol y„" to location m end if
m = m + 1 ~ update pointer m to next buffer location
n" = n" + 1 ~ update index n"
end do

In the above erasure insertion algorithm, n" represents a covinting index, n represents the computed de-interleaved index for the received S3rmbol 2/ (i.e./ the location where the symbol z^" should be stored to achieve the first de-interleaving), m represents the location in the buffer to which an erasure should be inserted (for a pimctured bit) or the symbol Zj" should be stored to achieve the de-rate-matching, and Y^ is the number of received symbols in theTTI.
The de-interleaving and de-rate-matching (for the second scheme, based on the erastu"e insertion algorithm) can be achieved as follows. At the start of each radio frame of a particular TTI, prior to the reception of the first symbol for the radio frame, the variables e, nt, and n" are set to their respective initial values. Thereafter, for each received symbol Zj/ at time index k, a determination is made as to the buffer location n where the symbol should be stored to achieve the first de-interleaving. The buffer index n can be computed from the index k based on equation (3). Storing the symbol z^" to location n would only achieve the first de-interleaving. To also achieve the de-rate-matching, the erasure insertion algorithm is executed until it can be determined the location m where an erasure should be inserted or the symbol z^" should be stored. If the allocated section of the buffer is initialized to zero ("0"), then erasures are pre-inserted in the buffer. The symbol z^" is then stored to the determined location.
As noted above, the erasure insertion algorithm can be executed once for each radio frame to achieve the de-rate-matching. For each received symbol z/, the de-interleaved location n is determined and the algorithm is executed until that symbol is stored to location m in the buffer. The algorithm is then temporarily halted until the next symbol is received. A program pointer can be used to maintain track of where the algorithm was halted so that execution can later resume from the proper location.
Table 4 shows the variables in the symbol accumulation algorithm and the action performed for each symbols y„" for the example shown in FIGS. 7A through 7D. The algorithm is executed four times for a TTI of 40 msec, with the same set of results being obtained for the variables n", m, and e each time the algorithm is executed. However, the symbol storage is only performed for the symbols actually present in that radio frame. For the first radio frame, the foxur symbols t/j", 1/5", y,", and y^j are stored to locations 2, 6, 11, and 15, respectively, and erasures are ii\serted at locations 1 and 10. For the second radio frame, the symbols y^", y/, y^", and yi/ are stored to locations 3, 7, 12, and 16, respectively. For the third radio frame, the symbols

i/i", ys", y/, and j/jj" are stored to locations 2, 6,11, and 15, respectively. And for the fourth radio frame, the symbols y^, y/, yj/, and y^^" are stored to locations 4, 8,13, and 17, respectively.
Table 4

k n" m e Radio frame Action
1 1 1 1 insert erasure at location 1
1 1 2 33 1 store Vi" (z/) to location 2
9 2 3 29 3 store Vz" (2,0 to location 3
5 3 4 25 2 store Va" (ZsO to location 4
13 4 5 21 4 store y/ (2,3") to location 5
2 5 6 17 1 store Vs" fe") to location 6
10 6 7 13 3 store Vs" (2,0") to location 7
6 7 8 9 2 store y/ (25") to location 8
14 8 9 5 4 store y," (2,/) to location 9
9 10 1 1 insert erasure at location 10
3 9 11 33 1 store y," (z/) to location 11
11 10 12 29 3 store Vio" (ziiO to location 12
7 11 13 25 2 store Vii" (27") to location 13
15 12 14 21 4 store y,j" (2ji") to location 14
4 13 15 17 1 store Vu" {2^0 to location 15
12 14 16 13 3 store y,/ (z^") to location 16
8 15 17 9 2 store yu" (z/) to location 17
16 16 18 5 4 store y,f" (z,s") to location 18
In another de-rate-matching (erasure irisertion) embodiment, which is applicable for botih schemes in FIG. 8, the index m of the de-rate-matched symbol a:„/ is directly computed from the index n of the de-interleaved symbol y„", which is computed from the index k of the received symbol z/. Again, the direct computation of the index m from the index n can reduce the processing delays.
Referring to the puncturing algorithm described above, at the end of the "end if" line, the value of the error e can be expressed as shown in equation (5). The de-rate-matched index tn can be computed from the rate-matching parameters ej^i, Cj,,,,,, and e„,„,^ and the de-interleaved index n in accordance with the following expression:

m •■

" " ^pltts ^tnt
plus ^mintiT

Eq(7)

For the specific example described above in which X, = 18, e,,,, = 1, e^,,,, = 36, and e„,(„,„ = 4, for the first radio frame, the indices n = 1,5, 9, and 13 result in values of P-09], p!.59], [10.091, and [^4.59], respectively, which are equal
to the indices m = 2,6,11, and 15, respectively.
FIG. 9 is a flow diagram of a process to achieve the first de-interleaving and de-rate-matching (erasure insertion) of the received symbols 2/ in accordance with an embodiment of the invention. Initially, a deterrnination is made whether a new TTI is being received for the transport channel, at step 912. If a new TTI is being received, the buffer is initialized with erasures, at step 914, and the index k is initialized (e.g., to zero), at step 916. If a new TTI is not being received or after the buffer and index k have been initialized, the process waits for receipt of an input symbol z^", at step 922.
Upon receipt of the symbol z/, the index n to achieve the first de-interleaving is computed based on the index k of the input symbol, at step 924. The index m to achieve the de-rate-matching (erasure insertion) is then com.puted based on the computed de-interleaved index n, at step 926. The computation for the index m can be achieved directly from the index n based on equation (7) or can be computed using the erasure insertion algorithm described above. The symbol z/ is then stored to location m in the buffer, at step 928. Since the buffer has been initialized with erasures prior to the start of the TTI, at step 914, locations in tiie buffer not stored with symbols z/ automatically include erasures. The index k is then incremented, at step 930. The process then returns to step 912 and other symbols z^" in the TTI are processed in similar maimer.
FIG. 10 is a diagram that illustrates the reduction in processing dela)^ that may be achieved with various aspects of the invention. In the specific examples shown in FIG. 10, the TTI is four and the traffic includes three code blocks. Various processing schemes can be used to process the received symbol z/.
In the first processing scheme, the de-interleaving, de-rate-matching (symbol accumulation or erasure insertion), and decoding are performed sequentially. Also, for this processing scheme, the de-interleaving and de-rate-matching are performed for each TTI of symbols (i.e., each traffic). The first processing scheme can correspond to the first and second schemes in

FIG. 5 and the first scheme in FIG. 8. In the first processing scheme, the received symbols z^ are stored and, after the entire TTI of symbols have been received, the traffic is de-interleaved and de-rate-matched to obtain de-rate-matdied sytnbols A:„,". After the entire traffic has be«n de-rate-matched, the symbols x^ are then decoded, one code block at a time. The sequential processing in this scheme results in longer processing delays.
In the first processing scheme with pipelined processing, the de-interleaving, de-rate-matching, and decoding are staggered. In this processing scheme, the received symbols z^" are stored and, after the entire TTI of symbols have been received, the traffic is de-interleaved and de-rate-matched to obtain de-rate-matched symbols a;„,". After the first code block have been de-rate-matched, the symbols xj for the code block can be decoded. While the de-interleaving and de-rate-matching are performed for the next code block, the current code block can be decoded. This results in reduced processing delays. As shown in FIG. 10, this processing scheme can provide a time saving of at least ((C-1)/C)»(the time to perfonn the de-rate-matching), where C is the number of code blocks in the TTI.
In the first processing scheme with pipelined processing and parallel decoders, the de-interleaving, de-rate-matching, and decoding are also staggered, and the decoding for multiple code blocks is performed in parallel using a number of decoders. In this processing scheme, after a particular code block have been de-rate-matched, the sjonbols xj for the code block can be decoded with an assigned decoder. The parallel decoding further reduces the processing delays, as shown in FIG. ICIn the second processing scheme, the de-interleaving and de-rate-matching are performed on a per radio frame basis (instead of a per TTI basis) on received symbols z/, which are stored as de-interleaved and de-rate-matched symbols in the buffer. This second processing scheme can correspond to the third scheme in FIG. 5 and the second scheme in FIG. 8. In the second processing scheme, after the entire TTI of symbols ha:ve been received, only the last radio frame in the traffic needs to be de-interleaved and de-rate-matched. Once this is accomplished, the entire traffic is ready for decoding. The symbols x,„" for the first code block can be retrieved and decoded. This scheme has reduced processing delays associated with the de-interleaving and de-rate-matching.
In the second processing scheme with pipelined processing, the de-interleaving, de-rate-matching, and decoding are staggered, and the decoding is performed on the first code block when it is ready, instead of having to wait for the entire traffic to be ready. This scheme has reduced

processing delays relative to the second processing scheme without pipelining.
In the second processing scheme with pipelined processing and parallel decoders^ the de-interleaving, de-rate-matching, and decoding are also staggered, and the decoding of multiple code blocks is performed in parallel. This processing scheme has the shortest processing delays.
Referring back to FIG, 5, when bit repetition is used at the transmitter imit, the de-interleaving and de-rate-matching can be performed on the received symbols z/ as they are stored to the buffer (the third scheme in FIG. 5). Hiis allows the decoding to be initiated as soon as the traffic is received (the third processing scheme in FIG. 10).
Referring back to FIG. 8, when puncturing is used at the transmitter unit, the de-interleaving and de-rate-matching can be performed on the received symbols z/ as they are stored to the buffer (the second scheme in FIG. 8). This allows the decoding to be initiated as soon as the traffic is received (again, the third processing scheme in FIG. 10). Alternatively, to reduce the memory requirement by not storing erasures, the erasure insertion can be performed as the de-interleaved symbols are retrieved from the buffer (the first scheme in FIG. 8). The decoding can then be performed on the de-rate-matched symbols x,„" as they are generated.
FIG. 11 is a simplified block diagram of an embodiment of receive data processor 136, which is suitable for processing a downlink data transmission in accordance with the W-CDMA standard. Receive data processor 136 can be used to perform some of the signal processing described above in FIG. 2B. The received signal is conditioned and digitized within receiver 134 to provide digitized samples. A channel processor 1110 then receives and processes the samples to generate symbols for one or more physical charmels. The processing typically includes despreading, decovering, and pilot demodulation, as described in U.S. Patent Application Serial No. (Attorney Docket No. PA000442), entitled "METHOD AND APPARATUS FOR PROCESSING A PHYSICAL CHANNEL WITH PARTL\L TRANSPORT FORMAT INFORMATION," filed September 6, 2000, U.S. Patent No. 5,764,687, entitled "MOBILE DEMODULATOR ARCHITECTURE FOR A SPREAD SPECTRUM MULTIPLE ACCESS COMMUNICATION SYSTEM," and U.S. Patent No. 5,490,165, entitled •DEMODULATION ELEMENT ASSIGNMENT IN A SYSTEM CAPABLE OF RECEIVING MULTIPLE SIGNALS." These patents and patent application

are assigned to the assignee of the present invention and incorporated herein by reference.
The symbols from channel processor 1110 are stored to a first buffer 1112, which can be implemented in the manner described in the aforementioned U.S. Patent Application Serial No. (Attorney Docket No. PA000444), entitled "DATA BUFFER STRUCTURE FOR PHYSICAL AND TRANSPORT CHANNFELS IN A CDMA SYSTEM", filed September 6, 2000, assign to the assignee of the present invention, and incorporated herein by reference. Buffer 1112 can be operated to achieve (1) the second de-interleaving in block 252 of FIG. 2B (by writing the symbols to, or reading the symbols froin, the buffer in a second permutated order) and (2) the physical channel concatenation in block 254 (e.g., by writing symbols for the physical channels in contiguous sections of the buffer). Symbols are then retrieved from buffer 1112 and provided to a data processor 1114.
Data processor 1114 can be operated to achieve the first de-interleaving and the de-rate matching complementary to the rate matching performed in block 218. The first de-interleaving can be achieved by computing the index n to which the symbol z/ should be stored. And the de-rate-matching can be achieved by computing the index m, based on the computed index n, in accordance with one of the techniques described above. Thus, the first de-interleaving and de-rate-matching can both be achieved by writing the symbols z^" to buffer 1116 in a permutated order. When all transport channel radio frames for a particular traffic have been received, a controller 1130 can be signaled, which then schedules the subsequent processing (e.g., decoding) of the traffic.
Decoder 1118 performs decoding in a manner complementary to the coding scheme used at the transmitter unit. Specifically, decoder 1118 performs Viterbi decoding for convolutionally coded data. Turbo decoding for Turbo coded data, or no decoding or non-coded data. A CRC checker within decoder 1118 typically further performs error detection based on the appended CRC bits. Decoder 1118 then provides the decoded data to the data sink.
First and second buffers 1112 and 1116 can each be implemented in the manner described above the aforementioned U.S. Patent Application Serial No. (Attorney Docket No. PA000444). In particular, each of buffers 1112 and 1116 can be implemented a buffer that can be partitioned into sections. One section can be assigned to each physical or transport channel and operated as a circular buffer. Buffer 1116 can also be implemented with

a bank of memory units (e.g., one for each radio frame in the longest TTI plus some additional memory units to account for processing delays).
Buffers 1112 and 1116 can each be implemented with various memory structures. Each (or both) of buffers 1112 and 1116 can be implemented with using one or more memory units, with a mvdti-port memory unit, with a memory unit that comprises of, or is partitioned into, a number of memory banks, or using other structures. For example, buffers 1112 and 1116 can be. implemented with a common memory unit. Buffers 1112 and 1116 can also be implemented with various memory technologies such as, for example, random access memory (RAM), dynamic RAM (DRAM), Flash memory, and others. Various structures and implementations of buffers 1112 and 1116 are possible and within the scope of the present invention.
As shown in FIG. 11, an address generator 1120 is provided to operate buffers 1112 and 1116 and to maintain the write and read pointers for the sections of these buffers. Address generator 1120 can be designed to implement the algorithms and/or the equations described above to compute the desired index m (for the receiver unit) or the index k for the transmitter unit. Address generator 1120 can be implemented as a separate unit, integrated within controller 1130 or the buffers, or implemented within an ASIC that also includes the other processing elements.
The processing units described herein (e.g., the physical channel processor, data processor, decoder, controller, and others) can be implemented in various manners. For example, each of these processing units can be implemented in an application specific integrated circuit (ASIC), a digital signal processor, a microcontroller, a microprocessor, or other electronic circuits designed to perform the functions described herein. The processing units can also be integrated into one or more integrated circuits. Also, the processing units can be implemented with a general-purpose or specially designed processor operated to execute instruction codes that achieve the functions described herein. Thus, the processing tmits described herein can be implemented using hardware, software, or a combination thereof.
The foregoing description of the preferred embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without the use of the inventive faculty. Thus, the present invention is not intended to be limited to the

embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.


WE CLAIM:
1. A method for processing symbols received for a camel in a communication system, the method comprising: receiving a symbol associated with a first index k determining a second index n based on the first index k ; determining a third index m based on the second index n, wherein the third index m is selected to reverse a particular processing previously performed on the received symbol; and providing the received symbol to a buffer at a location related to the third index m.
2. The method as claimed in claim 1, wherein the second index n is selected to achieve a de-interleaving complementary to a first interleaving defined by W-CDMA standard.
3. The method as claimed in claim 1, wherein the third index m is selected to reverse a rate-matching defined by the W-CDMA standard.
4. The method as claimed in claim 1, wherein the received symbol is accumulated with a value previously stored to the location related to the third index m.
5. The method as claimed in claim 1, wherein the received symbol is stored to the location related to the third index m.
6. The method as claimed in claim 1, wherein the third index m is determined through a direct computation.

7. The method as claimed in claim 1, wherein the third index m is determined through
iterative computations.
8. The method as claimed in claim 1, wherein the symbols being processed are associated with a particular transmission time interval (TTI) of a transport channel defined by W-CDMA standard.
9. The method as claimed in claim 8, comprising: repeating the receiving, determining of the second and third indices, and storing for each symbol in the particular TTI.
10. The method as claimed in claim 8, comprising: initializing the buffer prior to storage of symbols for the particular TTI.
11. The method as claimed in claim 10, wherein the buffer is initialized with erasures if one or more bits are punctured at a transmission source and initialized with zeros if one or more bits are repeated at the transmission source.
12. The method as claimed in claim 8, comprising: initializing the index k prior to reception of symbols for the particular TTI.
13. A method for processing symbols received for a channel in a communication system, the method comprising: receiving a symbol associated with a first index k;

determining a second index m based in part on the first index k, wherein the second index m is selected to reverse an interleaving and a ratematching previously performed on the received symbol; and providing the received symbol to a buffer at a location related to the second index m.
14. The method as claimed in claim 13, wherein the interleaving and ratematching are defined by W-CDMA standard.
15. The method as claimed in claim 13, comprising : inserting one or more erasures at one or more locations in the buffer for bits punctured at a transmission source.
16. The method as claimed in claim 13, comprising: if the received symbol corresponds
to a repeated bit in a data transmission, accumulating the received symbol with a value
previously stored at the location related to the second index m.
17. The method as claimed in claim 13, where the second index m is determined food the first index k based on a set of direct computations.
18. A method for processing symbols received for a transport channel in a W-CDMA system, the method comprising: receiving a symbol for a particular transmission time interval (TTI) and associated with a first index k ; determining a second index m based in part on the first index k, wherein the second index m is selected to reverse an interleaving and a ratematching previously performed on the received symbol as defined by W-CDMA standard; and providing the received symbol to a buffer at a location related to the second index m.

19. A method for performing reverse rate-matching on received symbols in a communication system, the method comprising: receiving a symbol y„ associated with a first index n; determining a second index m to achieve the reverse rate-matching for the received symbol y„ wherein the second index m is computed in accordance with a direct computation with the index « as an input variable; and associating the received symbol y„ with the second index m.
20. The method as claimed in claim 19, wherein the associating comprises providing the received symbol y„ to a buffer at a location related to the second index m.
21. A receiver unit operative to process symbols received through at least one channel in a communication system, the receiver unit comprising: a channel processor operative to process samples received for the at least one channel to provide symbols associated with a first index k; and a buffer operatively coupled to the channel processor and configured to store the symbols from the channel processor, wherein the symbols are stored to locations related to a second index m, and wherein the second index m is selected to reverse two processing operations performed at a transmission source.
22. The receiver unit as claimed in claim 21, wherein the second index m is computed to achieve a de-interleaving and a de-rate-matching of the symbols complementary to an interleaving and a rate-matching defined by W-CDMA standard.
23. The receiver unit as claimed in claim 21, wherein the symbols from the channel processor are stored to permutated locations in the buffer to reverse an interleaving and a rate-matching performed on the received
24. The receiver unit as claimed in claim 23, comprising: an address generator
coupled to the buffer and operative to provide addresses for writing symbols to the
permutated locations.
25. The receiver unit as claimed in claim 23, comprising: a controller coupled to the channel processor and the buffer and operative to direct writing of symbols to the permutated locations.
26. The receiver unit as claimed in claim 21, comprising: a decoder coupled to the buffer and operative to receive and decode symbols from the buffer.

27. A receiver unit comprising the channel processor and buffer as claimed in claim 21, and operative to process a downlink data transmission in accordance with W-CDMA standard.
28. A receiver unit comprising the channel processor and buffer as claimed in claim 21, and operative to process an uplink data transmission in accordance with W-CDMA standard.

Documents:

0670-chenp-2003-abstract-duplicate.pdf

0670-chenp-2003-abstract.jpg

0670-chenp-2003-abstract.pdf

0670-chenp-2003-assignment.pdf

0670-chenp-2003-claims-duplicate.pdf

0670-chenp-2003-claims.pdf

0670-chenp-2003-correspondence-others.pdf

0670-chenp-2003-correspondence-po.pdf

0670-chenp-2003-description-(complete)-duplicate.pdf

0670-chenp-2003-description-(complete).pdf

0670-chenp-2003-drawings.pdf

0670-chenp-2003-form-1.pdf

0670-chenp-2003-form-13.pdf

0670-chenp-2003-form-18.pdf

0670-chenp-2003-form-26.pdf

0670-chenp-2003-form-3.pdf

0670-chenp-2003-form-5.pdf

0670-chenp-2003-other-document.pdf

0670-chenp-2003-others.pdf

0670-chenp-2003-pct.pdf


Patent Number 214296
Indian Patent Application Number 670/CHENP/2003
PG Journal Number 13/2008
Publication Date 31-Mar-2008
Grant Date 07-Feb-2008
Date of Filing 05-May-2003
Name of Patentee QUALCOMM INCORPORATED
Applicant Address 5775 Morehouse Drive, San Diego, California 92121-1714,
Inventors:
# Inventor's Name Inventor's Address
1 SHIU, Da-Shan 1280 San Tomas Aquino, #204, San Jose, California 95117,
2 AGRAWAL, Avneesh 809 Pitkin Loop, San Jose, California 95125,
PCT International Classification Number H04L 1/00
PCT International Application Number PCT/US2001/047161
PCT International Filing date 2001-11-05
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 09/707,349 2000-11-06 U.S.A.