- #1
ver_mathstats
- 260
- 21
- Homework Statement
- We have a 16-bit architecture which has a five stage pipeline for instruction execution, the five stages are: (a) fetch the next instructions, (b) decode the instructions and fetch operande, (c) perform ALU operation, (d) read or write to memory and (e) store the result in the register. Assuming each stage takes three clock cycles, how many instructions per clock cycle does the overall architecture execute? What would be the consequence of improving stage (a), (b), and (c) to process one instruction per cycle?
- Relevant Equations
- five stage pipeline
I think I am having trouble visualizing the count for the clock cycle. Would this just be the clock cycles divided by the instructions of the pipeline? I'm confused about how each stage of the pipeline takes three clock cycles to complete when there are five stages?
The consequence of improving stage (a), (b), and (c) is that the entire program will execute in about the same time? Is this the right idea?
Any help would be appreciated, thank you.
The consequence of improving stage (a), (b), and (c) is that the entire program will execute in about the same time? Is this the right idea?
Any help would be appreciated, thank you.