Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2. Consider the following assembly program for the 4-cycle pipelined microMIPS CPU: lw $t0, A ($zero) add $t3, $t1, $t0 add $t4, $t3, $t2
2. Consider the following assembly program for the 4-cycle pipelined microMIPS CPU: lw $t0, A ($zero) add $t3, $t1, $t0 add $t4, $t3, $t2 sub $t7, $t8, $t9 beq $t5, $t6, skip xor $t3, $t0, $t1 (a) Show the task-time diagram for this program for the pipelined CPU. Insert bubbles as appropriate to ensure proper program execution. (b) Describe any ways to minimize the number of bubbles required to execute the program. This may take the form of modifications to the CPU architecture or changes to the program (while ensuring that it still performs the same task). Assume that the beq instruction will evaluate to false.
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