{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW9_05

# HW9_05 - instruction to finish But the overall time to...

This preview shows pages 1–2. Sign up to view the full content.

EE3755 Homework 9 Due: Not to be submitted Estimated time to finish: Prob.1 : 20Mins. Total 20Mins. Read below and answer problem 1. Pipe Lined Machine. Similar to Fig 5.42(Class Notes : MIPS DATA PATH DESIGN HTML Notes) (but every instruction has same number of state. Execution of each state takes same clock cycle (1 clock cycle). For example: MIPS. Every instruction has these five states. IF ID EX MEM WB.(refer to the class note for the functionality) The beauty of this machine is overlapping of execution of instructions. For Example. And \$1,\$2,\$3 Or \$4,\$5,\$6 Add \$7,\$8,\$9 Sub \$10,\$11,\$12. Case1) if every instruction takes 5ns. It needs 4(instructions)* 5(ns)(=20ns ) to finish above 4 instructions without overlapping of executions. Case2) if each stage takes 1ns then every instruction still takes 5 ns(5 stages for each

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: instruction) to finish. But the overall time to finish those 4 instructions is shorter than case 1. tim e 1 2 3 4 5 6 7 8 and \$1 \$2 \$3 IF ID EX MEM WB or \$4 \$5 \$6 　 IF ID EX MEM WB add \$7 \$8 \$9 　 IF ID EX MEM WB sub \$10 \$11 \$1 2 IF ID EX MEM WB (Case 2. although each instruction takes 5ns, overall execution time is only 8 ns .) Problem 1. Because of some difficulties, not every instruction can be overlapped just like above. But let’s assume we can overlap every instruction. 1.1. How much time will it take to finish 1 million instructions at case 1( without overlapping).(simple math.). 1.2. How much time will it take to finish 1 million instructions at case 2( with overlapping) (Hint: a little bit longer than 1millon ns)...
View Full Document

{[ snackBarMessage ]}

### Page1 / 2

HW9_05 - instruction to finish But the overall time to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online