Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2,

image text in transcribed

For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2, R2, 0xFF STR R9, [R10] a) Find all types of hazards in the instruction sequence that affects the 5-stage pipeline b) Show the data dependencies using pipeline timing diagram. c) How your answer of a will change if the architecture allows (you may use pipeline timing diagram to illustrate your answer): EX stage forwarding MEM stage forwarding d) How your answer of a) will change if it is a Von-Neumann architecture? e) What are two different ways in which you can reduce the hazards problem in case of no forwarding? For the given code: ADD R1, R2, R3 STR R2, TR[1] MOV R6, R6, LSR #2 LDR R4, [R3] ADD R4, R4, #1 AND R2, R2, 0xFF STR R9, [R10] a) Find all types of hazards in the instruction sequence that affects the 5-stage pipeline b) Show the data dependencies using pipeline timing diagram. c) How your answer of a will change if the architecture allows (you may use pipeline timing diagram to illustrate your answer): EX stage forwarding MEM stage forwarding d) How your answer of a) will change if it is a Von-Neumann architecture? e) What are two different ways in which you can reduce the hazards problem in case of no forwarding

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 24th International Conference Dexa 2013 Prague Czech Republic August 2013 Proceedings Part 1 Lncs 8055

Authors: Hendrik Decker ,Lenka Lhotska ,Sebastian Link ,Josef Basl ,A Min Tjoa

2013 Edition

3642402844, 978-3642402845

More Books

Students also viewed these Databases questions

Question

Write the difference between sexual and asexual reproduction.

Answered: 1 week ago

Question

What your favourite topic in mathematics?

Answered: 1 week ago

Question

Briefly describe vegetative reproduction in plants.

Answered: 1 week ago

Question

What were the reasons for your conversion or resistance?

Answered: 1 week ago