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. |