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
Please also make sure that for the diagrams: first column would be the instructions from table 1, and the forst row would be clock cycles numbers 1,2,3... and then fill the table with IF, ID, EX, M1..or A1... as should
Thank you
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

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

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

What research studies are you interested in conducting?

Answered: 1 week ago