1. 线性流水线:
线性流水线是一系列处理器以串行方式连接在一起的流水线。在线性流水线中,数据从第一个块流向处理器的最后一个块。数据的处理是以线性和顺序方式完成的。输入提供给第一个块,我们从最后一个块获得输出,直到数据处理完成。线性流水线可以进一步分为同步模型和异步模型。
2. 非线性管道:
非线性流水线是由存在于不同阶段的不同流水线组成的流水线。连接不同的管道以执行多种功能。它还具有反馈和前馈连接。它被制作成在不同的时间间隔执行各种函数。在非线性管道中,功能是动态分配的。
线性流水线和非线性流水线的区别:
S.NO. | Linear Pipeline | Non-Linear Pipeline | |||
---|---|---|---|---|---|
1. | In linear pipeline a series of processors are connected together in a serial manner. | In Non-Linear pipeline different pipelines are present at different stages. | |||
2. | Linear pipeline is also called as static pipeline as it performs fixed functions. | Non-Linear pipelines is also called as dynamic pipeline as it performs different functions. | |||
3. | The output is always produced from the last block. | The output is not necessarily produced from the last block. | |||
4. | Linear pipeline has linear connections. | Non-Linear pipeline has feedback and feed-forward connections. | |||
5. | It generates a single reservation table. | It can generate more than one reservation table. | 6. | It allows easy functional partitioning. | Functional partitioning is difficult in non-linear pipeline. |