1. Multiple Cycle Datapaths:
Multi-cycle datapaths break up instructions into separate steps. Each step takes a single clock cycle Each functional unit can be used more than once in an instruction, as long as it is used in different clock cycles. It reduces the amount of hardware needed. It reduces average instruction time.
2. Pipeline Datapaths:
The goal of pipelining is to allow multiple instructions to be executed at the same time. We may need to perform several operations in a cycle. Increment the PC and add registers at the same time. Fetch one instruction while another one reads or writes data.
Like the single-cycle datapath, a pipeline processor needs to duplicate hardware elements that are needed in the same clock cycle.
Differences between Multiple Cycle Datapath and Pipeline Datapath :
|S.No.||Multiple Cycle Datapath||Pipeline Datapath|
|1||Instructions are divided into artitoray number of steps.||Instructions are divided into one per stage.|
|2||Clock cycles are short but long enough for the lowest instruction.||Clock cycles are short but long enough for the lowest instruction.|
|3||There are only 1 instruction that can be executed at the same time.||There are as many instructions as pipeline stages.|
|4||There is a variable number of clock cycles per instructions.||There is a fixed number of clock cycles per instruction, one for each pipeline stage, i.e., CPI = k.|
|5||Control unit generates signals for the instruction’s current step and keeps track of the current step.||Control unit generates signals for the entire instruction; these signals are propagated from one pipeline stage to another via the pipeline registers.|
|6||There is no duplicate hardware, because the instructions generally are broken into single FU steps.||There is duplicate hardware, so that there are no restrictions on which instructions can be in the pipeline simultaneously.|
|7||Extra registers are required to hold the result of one step for use in the next step.||Extra registers are required to provide the results of one pipeline stage to the next pipeline stage.|
|8||Performance is slightly slower to mederaletly faster than single cycle, latter when the instructions steps are well balanced and a significantly fractions of the instructions take less than the maximum number of cycles.||Performance is moderately faster to significantly faster than a single cycle.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Differences between Single Cycle and Multiple Cycle Datapath
- Differences between Single Datapath and Pilpeline Datapath
- Difference between Linear Pipeline and Non-Linear Pipeline
- Arithmetic Pipeline and Instruction Pipeline
- Various Instructions for five stage Pipeline
- Similarities and Differences between Ruby and C language
- Similarities and Differences between Ruby and C++
- Differences between Virtual Circuits and Datagram Networks
- Differences between TreeMap, HashMap and LinkedHashMap in Java
- Differences between JDK, JRE and JVM
- Differences between Flatten() and Ravel() | Numpy
- Differences between number of increasing subarrays and decreasing subarrays in k sized windows
- Differences between 8086 and 8088 microprocessors
- Differences between 8085 and 8086 microprocessor
- Software Engineering | Differences between Sanity Testing and Smoke Testing
- Differences between TCP and UDP
- Software Engineering | Differences between Coupling and Cohesion
- Differences between Computer Architecture and Computer Organization
- What are the differences between HTTP, FTP, and SMTP?
- Differences between IPv4 and IPv6
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.