The present invention relates to integrated circuit to encode data.
There exist integrated configurable circuits to encode data according to any one of a plurality of coding schemes and/or to generate cycle redundancy codes. Typically, the code scheme comprises block, convolutional and turbo codes.
Ideally such a circuit should be very flexible, that is able to be configured to execute many different coding schemes and/or to generate many different cyclic redundancy codes. This circuit should also excel in the efficient execution (power, chip area, flexibility) of these schemes. However, flexibility and execution efficiency are antagonized. For example, more flexible is the circuit, slower is the execution speed. In contrast, faster is the circuit, lesser is the flexibility. Attempts to build circuits which are pretty flexible while remaining pretty fast have been disclosed. For example, U.S. Pat. No. 6,807,155 in the name of Subramanian discloses to rank functions which are common to different telecommunication processing standards according to their computational intensity. Then the design of the telecommunication processing is based on the function ranking to speed up the execution while remaining pretty flexible.
Accordingly, it is an object of the invention to provide an integrated circuit which is more flexible than dedicated hardware integrated processors while being faster than non-dedicated hardware processors and less power-hungry.
The invention provides an integrated circuit configurable to encode data according to any one of the coding schemes chosen in a predetermined plurality of coding schemes and to generate cyclic redundancy codes, said predetermined plurality of coding schemes comprising block, convolutional and turbo codes, wherein the integrated circuit comprises:
a) a plurality of specific hardware cells, each cell comprising:
TO
ij
=S
ij
=Ctm.TI
ij
+!Ctm.OutputMux4
OutputMux4=Cmm0.Cmm1.E*+!Cmm0.Cmm1.(E*XOR BIij)+Cmm0.!Cmm1.E+!Cmm0.!Cmm1.(Eij XOR FIij)
BO
ij
=Cbm.(Sij XOR BI4)+!Cbm.BIij
or
BO
ij
=Cbm0.Cbm1.(Sij XOR BIij)+!Cbm0.Cbm1.BIij+!Cbm0.Cbm1.Sij
FO
ij
=Cfm.(Sij XOR FIij)+!Cfm.FIij
b) controllable switch matrices external to each cell and able:
The invention also provides an integrated circuit configurable to encode data according to any one of the coding schemes chosen in a predetermined plurality of coding schemes and to generate cyclic redundancy codes, said predetermined plurality of coding schemes comprising block and convolutional codes, wherein the integrated circuit comprises:
a) a plurality of specific hardware cells, each cell comprising:
Sij=OutputMux4
OutputMux4=Cmm0.Cmm1.E*+!Cmm0.Cmm1.(E*XOR+BIij)+Cmm0.!Cmm1.E+!Cmm0.!Cmm1.(Eij XOR FIij)
BO
ij
=Cbm.(Sij XOR BIij)+!Cbm.BIij
or
BO
ij
=Cbm0.Cbm1.(Sij XOR BIij)+!Cbm0.Cbm1.BIij+!Cbm0.Cbm1.Sij
FO
ij
=Cfm.(Sij XOR FIij)+!Cfm.FIij
b) controllable switch matrices external to each cell and able:
The above integrated circuits are more flexible than any dedicated hardware processor because cells and connections between cells can be configured to implement a great number of coding schemes and CRC (Cyclic Redundancy Code) scheme. The above integrated circuit is also faster than any general purpose hardware processor like DSP (Digital Signal Processor), because it comprises specific hardware cells able to execute operations as fast as dedicated hardware processors.
Finally, because specific cells are identical to each other, the implementation on the die of a chip of such an integrated circuit can be done with a great efficiency. Furthermore, the configuration of these cells as well as the configuration of the connections between cells is also made easier.
The embodiments of the above integrated circuits may comprise one or several of the following features:
BO
ij
=Cbm0.Cbm1.(Sij XOR BIij)+!Cbm0.Cbm1.BIij+!Cbm0.Cbm1.Sij
The above embodiments of the integrated circuit present the following advantages:
BO
ij
=Cbm0.Cbm1.(Sij XOR BIij)+!Cbm0.Cbm1.BIij+!Cbm0.Cbm1.Sij
These and other aspects of the invention will be apparent from the following description, drawings and claims.
The integrated circuit can also run chips spreading process.
Cell Cij includes:
Buffer BUi is able to delay the binary value received on input Eij by one clock period to output a binary value E*. The output of buffer BUi is directly connected to a first input of multiplexer MM and to a first input of adder A1i. A second input of adder A1i is directly connected to input BIij. The output of adder A1i is directly connected to a second input of multiplexer MM. Adder A1i provides on its output the result of an XOR operation between its inputs.
Input Eij is directly connected to a third input of multiplexer MM and to a first input of adder A3i. A second input of adder A31 is directly connected to input FIij. The output of adder A3i is directly connected to a fourth input of multiplexer MM.
Multiplexer MM has an output connected to a first input of multiplexer TM. Multiplexer MM is able to directly connect any one of its inputs to the output depending on a configuration bit value stored in a cell configuration bit register. Thus, once a selected input is connected to the output, the multiplexer behave like if the selected input was directly wired to the output. This is also true for any of the multiplexers used in cell Eij.
A second input of multiplexer TM is directly connected to input Tij. The output of multiplexer TM is directly connected to output Sij.
The output of multiplexer BM is directly connected to output BOij. A first and a second input of multiplexer BM are directly connected to input BIij and an output of adder A2i, respectively.
Adder A2i has a first and a second input directly connected to the output of multiplexer TM and to input BIij, respectively.
An output of multiplexer FM is directly connected to output FOij. Multiplexer FM has a first and a second input directly connected to input FIij and to an output of adder A4i respectively.
Adder A4i has a first and second input directly connected to the output of multiplexer TM and to input FIij, respectively.
Output TOij is directly connected at the output of multiplexer TM.
Accordingly, cell Cij has the following characteristic equations:
TO
ij
=S
ij
=Ctm.TI
ij
+!Ctm.OutputMux4 (1)
OutputMux4=Cmm0.Cmm1.E*+!Cmm0.Cmm1.(E.*XOR BIij)+Cmm0.!Cmm1.Eij+!Cmm0.!Cmm1.(Eij XOR FIij) (2)
BO
ij
=Cbm.(Sij XOR BIij)+!Cbm.BIij (3)
FO
ij
=Cfm.(Sij XOR FIij)+!Cfm.FIij (4)
where:
More precisely, the value of binary values Cmm0 and Cmm1 are defined by the following table where the first column recites which input is directly connected to the output of multiplexer MM and the second and third columns recite the values of Cmm0 and Cmm1, respectively.
Ctm is equal to “1” when multiplexer TM is configured to directly connect input TIij to output Sij and equal to “0” when multiplexer TM is configured to directly connect the output of multiplexer MM to output Sij.
Cbm is equal to “1” when multiplexer BM is configured to directly connect the output of adder A2i to output BOij. Otherwise, Cbm is equal to “0” when multiplexer BM is configured to directly connect input BIij to output BOij.
Cfm is equal to “1” when multiplexer FM is configured to directly connect the output of adder A4i to output FOij. Otherwise, Cfm is equal to “0” when multiplexer FM is configured to directly connect input to output FOij.
BO
ij
=Cbm0.Cbm1.(Sij XOR BIij)+!Cbm0.Cbm1.BIij+!Cbm0.Cbm1.Sij (5)
where Cbm0 and Cbm1 are binary values which depend on the configuration of multiplexer BM.
More precisely, the values of Cbm0 and Cbm1 are defined according to the following table where the first column recites which input of multiplexer BM is directly connected to output BOij, and the second and third columns recite the corresponding value of Cbm0 and Cbm1.
Cluster CLj has four inputs Ej, FIj, BIj and AIj as well as three outputs Sj, FOj, and BOj.
Inputs Ej and FIj and output BOj are directly connected to input E0j, FI0j and output BO0j of cell C0,j, respectively. Outputs Sj, and input BIj are directly connected to outputs S4j, and input BI4j of cell Ce4,j, respectively.
Each cluster CLJ includes an additional adder A5J which has a first and a second inputs directly connected to output FO4,j and input AIJ, respectively. The output of adder A5J is directly connected to output FOJ of cluster CLJ.
Within a cluster, except for the last cell Ce4,j, each cell CIij is directly connected to the following cell in the following way:
The above connections between cells within a cluster are etched within the die of the integrated circuit. Thus, they cannot be modified or configured latter on.
Cluster CLj has also five inputs TIi,j which are directly connected to the respective corresponding input TIi,j of the corresponding cells. Cluster CLj has also five outputs TOi,j which are directly connected to the respective corresponding output TOi,j of the corresponding cell.
Circuit 2 includes nine clusters CL0 to CL8 which are arranged on the surface of the die to form two columns and five rows. More precisely, clusters CL0, CL2, CL4, CL6 and CL5 form the first column whereas clusters CL1, CL3, CL5 and CL7 form the second column.
The inputs and outputs of each cluster are connected to each other through configurable connections. The connections between clusters can be configured through the use of switch matrices. For example, circuit 2 includes five switch matrices.
A first switch matrix SE can electrically connect and, alternately, disconnect input Ej to/from any output Sk where “k” is different from “j” or, alternately, to an external binary source ExtEi.
A second switch matrix FOFI can electrically connect and, alternatively, disconnect output FOj to/from any input FIk, where “k” is different from “j”.
A third matrix BIBO can electrically connect and, alternatively disconnect any input BIj to/from any output BOk, where “k” is different from “j”.
A fourth switch matrix BOAI can electrically connect and, alternately, disconnect input AIj to any outputs BOk where “k” is different from “j”.
In circuit 2, when an input of a cluster is not connected to an output of another cluster, this input is electrically connected to ground that corresponds to a binary value equal to “0”.
In
Matrices SE, BIBO and BOAI are built in a similar way as the one illustrated in
For simplicity, in circuit 2, connections between two clusters on the same line are not configurable. For example, these connections are not implemented through a switch matrix. For example, outputs S0, FO0 and input BI0 are directly connected to inputs E1, FI1 and output BO1, without any configuration possibility.
For simplicity, only some switches of the switch matrices have been illustrated in
More precisely,
Finally,
Switches of BOAI matrix have not being shown.
In circuit 2, outputs TOij of cluster CLj are only connected to corresponding respective inputs TIi,j+2 of the following cluster CLj+2 in the same column.
Circuit 2 has also nine cluster configuration registers RCj. Each cluster configuration register RCj contains the value of Ctm, Cmm0, Cmm1, Cbm and Cfm that determine the configuration of each cell Ci,j of cluster CLj as well as the value of Ctm, Cmm0, Cmm1, Cbm0, Cbm1 and Cfm that determine the configuration of cell Cei,j of cluster CLj. Thus, the configuration of each cell of each cluster can be amended by modifying the values stored in each one of these registers CRj.
Circuit 2 has also four switch matrix configuration registers SR1 to SR4. These registers determine the configuration of the connections between the different clusters CLj of circuit 2. More precisely, each register SR contains binary information that determines if a given switch of the switch matrix is open or closed. Accordingly, those registers are used to configure the connections between clusters.
Circuit 2 has also an output stage 4 which is connected to every outputs of every cluster. Output stage 4 is designed to format the output of clusters CLj in order to transmit the result of the computation of circuit 2 on a eight-bit width parallel bus 6. For example, output stage 4 includes a multiplexer 10 that is connected to every outputs of each cluster. Nine outputs of multiplexer 10 are connected to respective inputs of a packager 12. Packager 12 is able to output the received bits one after the other in a FIFO (First In First Out) buffer 14 which can send the received data on bus 6.
As show in this configuration example, only four cells C1,0 to Ce4,0 of cluster CL0 are used. In order to bypass cell C0,0, multiplexers MM and TM are configured to directly connect input E0,0 to output S0,0. Thus, any cell within a cluster can be bypassed.
To implement the terms x16+x12+x5+1 of the above polynomial, the multiplexers MM and TM of cells C1,0, C1,1, C3,2 and Ce4,3 are configured to directly connect the output of adder A1i to output S3. The other cells which are not bypassed are only configured to implement a delay of one clock period.
In this configuration, the clusters CL0 to CL3 are series connected. More precisely, output Sj is connected to input Ej+1 of the following cluster and input BIj is directly connected to output BOj+1 of the following cluster CLj+1.
In this embodiment, only four clusters are used.
In this configuration the data are input through input E0 and the CRC code is read from output S3.
Note that cell Ce4,3 is configured so that output S3 is directly connected to output BO43 through multiplexer BM. Thus, multiplexer BM provides the source of the feedback branch.
Inputs E0 and E2 receive the binary stream to be encoded.
Outputs FO1 and FO3 correspond to outputs G0 and G1 of
Outputs S1 and S3 are not used. In the configuration of
In this configuration, cells Ce4,0, Ce4,2 and Ce4,4 are bypassed.
Inputs E0, E2 and E4 receive the same binary input stream.
Outputs FO1, FO3 and FO5 correspond to outputs c(6k+1), c(6k+3) and c(6k+5) of the convolutional encoder of
Outputs BO0, BO2 and BO4 correspond to outputs c(6k), c(6k+2), c(6k+4) of the convolutional encoder of
Outputs S1, S3 and S5 are not used.
Inputs FI0, FI2 and FI4 and inputs BI1, BI3 and BI5 are connected to ground.
In this configuration, it should be noted that outputs c(6k), c(6k+2), c(6k+4) are computed by using feedback branches of the clusters whereas output c(6k+1), c(6k+3) and c(6k+5) are computed by using forward branches of the same clusters. Thus, only six clusters are needed instead of twelve clusters if only forward branches were used.
An interbranch connection is a connection through a adder between two different forward branches, for example.
In this embodiment, the switch matrix BOAI is used to connect output BO1, to input AI3, output BO3 to input AI5 and output BO8 to input AI7.
Inputs E3, E8 receive binary stream b2j. Inputs E1, E5, and E7 receive binary stream b2j+1.
Binary stream y0, y1 and y2 correspond to outputs FO3, FO7 and FO5, respectively.
This turbo-coder is well known and will not be described in further details hereinafter. This turbo-coder has two inputs A and B and one output Y.
As illustrated in
In this configuration, inputs E0 and FI0 correspond to inputs A and B of
Outputs BO0, S1, FO1, S3 are not used.
Only five clusters CL0 to CL4 are used. Input E0 receives the bit stream bk. Output FO0 outputs the bit stream corresponding to bit stream dk of
Many other embodiments are possible. For example, inputs TIij and outputs TOij can be omitted if coding schemes requiring such transversal connections are not required. In another embodiment, adder A5j can also be omitted.
Circuit 2 has been disclosed in the specific case where it comprises nine clusters of five cells. However, such an integrated circuit can also be built using only five to ten clusters. This range of number of clusters corresponds to configurations which are both flexible and fast in executing any calculation of code.
The size of the switch matrices can be reduced if cluster CLj can only be connected to the following cluster CLj+1. This also reduces the size of the corresponding configuration registers SR1 to SR4. It is also possible to reduce the size of the switch matrices by having only one output to be connected to only one input of another cluster.
Cell Cei,j can be omitted if it is not necessary to implement the generation of CRC codes.
The additional adders A5j connected between outputs FO4j and output FOj can be replaced by an adder connected between output S4j and output Sj.
In the present specification and claims the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. Further, the word “comprising” does not exclude the presence of other elements or steps than those listed.
The inclusion of reference signs in parentheses in the claims is intended to aid understanding and is not intended to be limiting.
From reading the present disclosure, other modifications will be apparent to persons skilled in the art. Such modifications may involve other features which are already known in the art of encoding data and which may be used instead of or in addition to features already described herein.
Number | Date | Country | Kind |
---|---|---|---|
06291775.2 | Nov 2006 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2007/054588 | 11/12/2007 | WO | 00 | 1/14/2010 |