Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 6. Consider the following 8-stage datapath and the timings for each stage. IM1 IM2 DEC Reg SHFT DM1 Reg DMZ Stage IM1 IM2 DEC

image text in transcribed

Exercise 6. Consider the following 8-stage datapath and the timings for each stage. IM1 IM2 DEC Reg SHFT DM1 Reg DMZ Stage IM1 IM2 DEC REG SHFT ALU DM1 DM2 Time 225ps 325ps 150ps 100ps 100ps 450ps 300ps 250ps (a) [2 marks] Using single-cycle clocking for this datapath what is the minimum clock cycle possible for this datapath? (b) [2 marks] If this datapath were to be pipelined, what is the minimum clock cycle which would be possible? (c) (6 marks] Assume this datapath was pipelined. What is the ideal speedup? Assuming no data dependencies or pipeline hazards, what is the actual speedup obtained when exe- cuting 300 instructions? Round your answers to 3 decimal places. As always, show your workings. (d) [10 marks] Let us assume this datapath is not pipelined but follows a multi-cycle clock- ing method. Let us further assume that the datapath has an additional optimization in which instructions skip stages that are unused for that instruction. Consider the following set of instructions to be executed on this datapath along with the stages which are used by that instruction. add: IMI, DEC, REG, ALU, DM2 sll: IMI, REG, SHFT, DM2 Sw: IM2, DEC, REG, ALU, DM1 lw: IMI, IM2, DEC, REG, ALU, DM1, DM2 beq: IM1, IM2, REG Instruction Instruction Count add 1500 sll 250 500 lw 400 bez 350 SW Table 1: Program Instructions Consider also a program composed of instructions as detailed in Table 1. Determine: (i) the ideal CPI of this program, and (ii) the total execution time of this program, when executed on the described datapath. Assume that there are no dependencies or hazards between instructions

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

Put Your Data To Work 52 Tips And Techniques For Effectively Managing Your Database

Authors: Wes Trochlil

1st Edition

0880343079, 978-0880343077

More Books

Students also viewed these Databases questions