Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume the pipeline architecture of Figure 1 with floating point instructions following thepipeline of Figure 2 . Let all memory accesses be zero - wait

Assume the pipeline architecture of Figure 1 with floating point instructions following thepipeline of Figure 2. Let all memory accesses be zero-wait state and assume that half cycleclocking is available for communicating results between general purpose registers during theWB and ID cycles. The units marked `ADD' will perform both addition and subtractionwhereas the `ALU' unit also supports logical operands.All questions refer to the code of Table 1 in which the initial value for register R4 is R2+792. Note that Rx denotes an integer register and Fx a floating point register.1. Compose a pipeline-timing diagram for the case of the code from Table 1 and dataow of Figure 1(illustrate the first two loops of execution). There is no forwarding orbranch delay slot.(a) How many clock cycles are necessary to complete execution of all the code associated with a single loop?(b) On which clock cycle does the second loop commence?(c) How many clock cycles are executed before the last loop completes execution?2. Now assume that forwarding is available. Compose a pipeline-timing diagram for thisscenario and answer the following questions:(a) How many clock cycles are necessary to complete execution of all the code associated with a single loop?(b) On which clock cycle does the second loop commence?(c) How many clock cycles are executed before the last loop completes execution?3. Now assume that both forwarding and a branch delay slot is available. In order tomake use of the branch delay slot you may reorder the instructions, but cannot changeany operands or opcodes. Compose a pipeline-timing diagram for this scenario andanswer the following questions:(a) How many clock cycles are necessary to complete execution of all the code associated with a single loop?(b) On which clock cycle does the second loop commence?(c) How many clock cycles are executed before the last loop completes execution?Please make sure for the diagram that you take the instructions as columns and clock cycles as rows
Make sure you check figure 2 as it states that FP int multiply: M1, M2,M3...M7 and FP adder A1, A2, A3, A4 also check the image for table 1 and for fig 1
image text in transcribed

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_2

Step: 3

blur-text-image_3

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 Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions

Question

what is a peer Group? Importance?

Answered: 1 week ago