In digital signal processing (DSP), parallel processing is a technique duplicating function units to operate different tasks (signals) simultaneously.[1] Accordingly, we can perform the same processing for different signals on the corresponding duplicated function units. Further, due to the features of parallel processing, the parallel DSP design often contains multiple outputs, resulting in higher throughput than not parallel.
Consider a function unit ( F 0 {\displaystyle F_{0}} ) and three tasks ( T 0 {\displaystyle T_{0}} , T 1 {\displaystyle T_{1}} , and T 2 {\displaystyle T_{2}} ). The required time for the function unit F 0 {\displaystyle F_{0}} to process those tasks is t 0 {\displaystyle t_{0}} , t 1 {\displaystyle t_{1}} , and t 2 {\displaystyle t_{2}} , respectively. Then, if we operate these three tasks in a sequential order, the required time to complete them is t 0 + t 1 + t 2 {\displaystyle t_{0}+t_{1}+t_{2}} .
However, if we duplicate the function unit to another two copies ( F {\displaystyle F} ), the aggregate time is reduced to m a x ( t 0 , t 1 , t 2 ) {\displaystyle max(t_{0},t_{1},t_{2})} , which is smaller than in a sequential order.
Mechanism:
Objective:
Consider a condition that we are able to apply both parallel processing and pipelining techniques, it is better to choose parallel processing techniques with the following reasons
Consider a 3-tap FIR filter:[2]
which is shown in the following figure.
Assume the calculation time for multiplication units is Tm and Ta for add units. The sample period is given by
By parallelizing it, the resultant architecture is shown as follows. The sample rate now becomes
where N represents the number of copies.
Please note that, in a parallel system, T sample ≠ T clock {\displaystyle T_{\text{sample}}\neq T_{\text{clock}}} while T sample = T clock {\displaystyle T_{\text{sample}}=T_{\text{clock}}} holds in a pipelined system.
Consider the transfer function of a 1st-order IIR filter formulated as
where |a| ≤ 1 for stability, and such filter has only one pole located at z = a;
The corresponding recursive representation is
Consider the design of a 4-parallel architecture (N = 4). In such parallel system, each delay element means a block delay and the clock period is four times the sample period.
Therefore, by iterating the recursion with n = 4k, we have
The corresponding architecture is shown as follows.
The resultant parallel design has the following properties.
The square increase in hardware complexity can be reduced by exploiting the concurrency and the incremental computation to avoid repeated computing.
Another advantage for the parallel processing techniques is that it can reduce the power consumption of a system by reducing the supply voltage.
Consider the following power consumption in a normal CMOS circuit.
where the Ctotal represents the total capacitance of the CMOS circuit.
For a parallel version, the charging capacitance remains the same but the total capacitance increases by N times.
In order to maintain the same sample rate, the clock period of the N-parallel circuit increases to N times the propagation delay of the original circuit.
It makes the charging time prolongs N times. The supply voltage can be reduced to βV0.
Therefore, the power consumption of the N-parallel system can be formulated as
where β can be computed by