mt - Name Computer Architecture EE 4720 Midterm Examination...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Name Computer Architecture EE 4720 Midterm Examination Wednesday, 3 November 2010, 10:40–11:30 CDT Alias Problem 1 (30 pts) Problem 2 (15 pts) Problem 3 (15 pts) Problem 4 (23 pts) Problem 5 (10 pts) Problem 6 (7 pts) Exam Total (100 pts) Good Luck! Problem 1: Show the execution of the following code fragments on the illustrated MIPS implementations. format
 immed
 IR
 Addr
 25:21
 20:16
 IF
 ID
 EX
 WB
 ME
 rsv
 rtv
 IMM
 NPC
 ALU
 Addr
 Data
 Data
 Addr
 D In
 +1
 PC
 Mem
 Port
 Addr
 Data
 Out
 Addr
 Data
 In
 Mem
 Port
 Data
 Out
 rtv
 ALU
 MD
 dst
 dst
 dst
 Decode
 dest. reg
 NPC
 =
 30
 2
 2’b0
 + 15:0
 25:0
 29:26
 29:0
 0
1
 15:0
 ( a ) [20 pts] The code below executes for many iterations. Show a pipeline execution diagram for the execution of the code on the implementation above for enough iterations to determine the CPI, and determine the CPI. LOOP: lw r1, 0(r2) lw r3, 0(r1) bne r3, r4, LOOP lw r2, 8(r1) Pipeline diagram of execution. Don’t forget to check for dependencies! CPI for a large number of iterations. 2 Problem 1, continued: format
 immed
 IR
 Addr
 25:21
 20:16
 IF
 EX
 WB
 MEM
 rsv
 rtv
 IMM
 NPC
 ALU
 Addr
 Data
 Data
 Addr
 D In
 +1
 PC
 Mem
 Port
 Addr
 Data
 Out
 Addr
 Data
 In
 Mem
 Port
 Data
 Out
 rtv
 ALU
 MD
 dst
 dst
 dst
 Decode
 dest. reg
 NPC
 Int Reg File
 FP Reg File
 fd
 fd
 WF
 Addr
Data
 D In
...
View Full Document

This note was uploaded on 12/11/2011 for the course EE 4720 taught by Professor Staff during the Fall '08 term at LSU.

Page1 / 8

mt - Name Computer Architecture EE 4720 Midterm Examination...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online