Question
Consider a pipelined execution of the following program segment in which the instruction labeled Beg starts at memory address (2040) 10 . All registers used
Consider a pipelined execution of the following program segment in which the instruction labeled Beg starts at memory address (2040)10. All registers used contain 0 initially.
| Beg: | add | $8, $9, $10 |
|
|
| beq | $5, $6, Nex |
|
|
| lw | $7, 30($13) |
|
|
| sw | $14, 48($15) |
|
| Nex : | and | $11, $12, $13 |
|
Show the state of the 5-stage pipeline (i.e. the pipelined execution representation) for the instructions above.
Assume the time for stages is 100ps for register read or write, and 200ps for other stages. Compute the total time required for each of the instructions used in the program segment above.
Compare the total execution time for non-pipelined and pipelined execution of the above program segment:
Non-pipeline design = ______________ ps
Pipelined design = ______________ ps
_________________ design is _________ times faster
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started