Consider the following set of instructions to be executed on simple 5-stage MIPS processor pipeline. 1. Load R9, [30] 2. Add R8, R6, R7 3. Add R1, R7, R3 4. Add R5, R1, R3 5. Add R6, R2, R7 a) Identify the data hazard instructions and its type? b) Draw the basic pipeline diagram for these instructions (stall the pipeline to avoid data hazards) by appropriately filling the following Table TO T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 Ins Load R9, [30] Add R8, R6, R7 Add R1, R7, R3 Add R5, R1, R3 Add R6, R2, R7 c) Suggest any solution to reduce/avoid the stalls and re-draw the pipeline diagram.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Give whole solution.

Consider the following set of instructions to be executed on simple 5-stage MIPS processor pipeline.
1. Load R9, [30]
2. Add R8, R6, R7
Add R1, R7, R3
3.
4. Add R5, R1, R3
5. Add R6, R2, R7
a)
Identify the data hazard instructions and its type?
b) Draw the basic pipeline diagram for these instructions (stall the pipeline to avoid data hazards)
by appropriately filling the following Table
TO T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12
Ins
Load R9, [30]
Add R8, R6, R7
Add R1, R7, R3
Add R5, R1, R3
Add R6, R2, R7
c) Suggest any solution to reduce/avoid the stalls and re-draw the pipeline diagram.
Transcribed Image Text:Consider the following set of instructions to be executed on simple 5-stage MIPS processor pipeline. 1. Load R9, [30] 2. Add R8, R6, R7 Add R1, R7, R3 3. 4. Add R5, R1, R3 5. Add R6, R2, R7 a) Identify the data hazard instructions and its type? b) Draw the basic pipeline diagram for these instructions (stall the pipeline to avoid data hazards) by appropriately filling the following Table TO T1 T2 T3 T4 T5 T6 T7 T8 T9 T10 T11 T12 Ins Load R9, [30] Add R8, R6, R7 Add R1, R7, R3 Add R5, R1, R3 Add R6, R2, R7 c) Suggest any solution to reduce/avoid the stalls and re-draw the pipeline diagram.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY