Pipelining (DSP implementation)
Pipelining is an important technique used in several applications such as digital signal processing (DSP) systems, microprocessors, etc.[src] It originates from the idea of a water pipe with continuous water sent in without waiting for the water in the pipe to come out.[src] Accordingly, it results in speed enhancement for the critical path in most DSP systems.[src] For example, it can either increase the clock speed or reduce the power consumption at the same speed in a DSP system.[src]
Pipelining is an important technique used in several applications such as digital signal processing (DSP) systems, microprocessors, etc.[src] It originates from the idea of a water pipe with continuous water sent in without waiting for the water in the pipe to come out.[src] Accordingly, it results in speed enhancement for the critical path in most DSP systems.[src] For example, it can either increase the clock speed or reduce the power consumption at the same speed in a DSP system.[src] ==Concept== Pipelining allows different functional units of a system to run concurrently.[src] Consider an informal example in the following figure.[src] A system includes three sub-function units (F 0 , F 1 and F 2 ).[src] Assume that there are three independent tasks (T 0 , T 1 and T 2 ) being performed by these three function units.[src] The time for each function unit to complete a task is the same and will occupy a slot in the schedule.[src] If we put these three units and tasks in a sequential order, the required time to complete them is five slots.[src] However, if we pipeline T 0 to T 2 concurrently, the aggregate time is reduced to three slots.[src] Therefore, it is possible for an adequate pipelined design to achieve significant enhancement on speed.[src] ==Costs and disadvantages== Pipelining cannot decrease the processing time required for a single task.[src] The advantage of pipelining is that it increases the throughput of the system when processing a stream of tasks.[src] Applying too many pipelined functions can lead to increased latency - that is, the time required for a single task to propagate through the full pipe is prolonged.[src] A pipelined system may also require more resources (buffers, circuits, processing units, memory etc.), if the reuse of resources across different stages is restricted.[src] ==Comparison with parallel approaches== Another technique to enhance the efficiency through concurrency is parallel processing.[src] The core difference is that parallel techniques usually duplicate function units and distribute multiple input tasks at once amongst them.[src] Therefore, it can complete more tasks per unit time but may suffer more expensive resource costs.[src] For the previous example, the parallel technique duplicates each function units into another two.[src] Accordingly, all the tasks can be operated upon by the duplicated function units with the same function simultaneously.[src] The time to complete these three tasks is reduced to three slots.[src] ==Pipelining in FIR filters== Consider a 3-tap FIR filter: y(n)=ax(n)+bx(n-1)+cx(n-2) which is as shown in the following figure.[src] Assume the calculation time for multiplication units is T m and T a for add units.[src] The critical path, representing the minimum time required for processing a new sample, is limited by 1 multiplication and 2 add function units.[src] Therefore, the sample period is given by T_\text{sample} \ge T_m + 2T_a However, such structure may not be suitable for the design with the requirement of high speed.[src] To reduce the sampling period, we can introduce extra pipelining registers along the critical data path.[src] Then the structure is partitioned into two stages and the data produced in the first stage will be stored in the introduced registers, delaying one clock to the second stage.[src] The data in first three clocks is recorded in the following table.[src] Under such pipelined structure, the sample period is reduced to T_\text{sample} \ge T_m + T_a.[src] ==Pipelining in 1st-order IIR filters== By combining look-ahead techniques and pipelining, we are able to enhance the sample rate of target design.[src] Look-ahead pipelining will add canceling poles and zeroes to the transfer function such that the coefficients of the following terms in the denominator of the transfer function are zero.[src] \{z^{-1},\ldots,z^{-(M-1)}\} Then, the output sample y(n) can be computed in terms of the inputs and the output sample y(n − M) such that there are M delay elements in the critical loop.[src] These elements are then used to pipeline the critical loop by M stages so that the sample rate can be increased by a factor M.[src] Consider the 1st-order IIR filter transfer function H(z)=\frac{1}{1-az^{-1}} The output y(n) can be computed in terms of the input u(n) and the previous output.[src] y(n) = ay(n-1) + u(n) In a straightforward structure to design such function, the sample rate of this recursive filter is restricted by the calculation time of one multiply-add operation.[src] To pipeline such design, we observe that H has a pole at z=a, a\le1 Therefore, in a 3-stage pipelined equivalent stable filter, the transfer function can be derived by adding poles and zeros at z=ae^{\pm(\frac{2j\pi}{3})} and is given by H(z)=\frac{1+az^{-1}+a^2 z^{-2}}{1-a^3 z^{-3}} Therefore, the corresponding sample rate can be increased by a factor 3.[src] ==Other examples of pipelined DSP systems== Pipelined Walsh–Fourier transform Pipelined unitary transforms Pipelined DFT Pipelined FFT ==References==[src]
42 sentences · 42 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Pipelining (DSP implementation)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/pipelining-dsp-implementation. Accessed 29 November 2026.
Chicago
"Pipelining (DSP implementation)." encyclopegia.org. Accessed November 29, 2026. https://encyclopegia.org/wiki/pipelining-dsp-implementation.
APA
encyclopegia.org. (2026). Pipelining (DSP implementation). Retrieved November 29, 2026, from https://encyclopegia.org/wiki/pipelining-dsp-implementation
Accessed November 29, 2026 · CC BY-SA 4.0 · citation page · JSON