mt(5)

mt(5) - Name Computer Architecture EE 4720 Midterm...

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, 30 March 2011, 9:4010:30 CDT Alias Problem 1 (15 pts) Problem 2 (20 pts) Problem 3 (15 pts) Problem 4 (10 pts) Problem 5 (10 pts) Problem 6 (15 pts) Problem 7 (15 pts) Exam Total (100 pts) Good Luck! Problem 1: [15 pts] The MIPS code below executes on the illustrated hopefully familiar implementation. 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
 2b0
 + 15:0
 25:0
 29:26
 29:0
 0
1
 15:0
 LOOP: lh r1, 0(r2) addi r4, r4, 4 andi r3, r1, 0xf0f0 bne r3, r0 LOOP lw r2, 4(r2) ( a ) Show a pipeline execution diagram for the code below running on the illustrated MIPS implementation for enough iterations to determine CPI. Show a pipeline execution diagram. ( b ) Determine the CPI. Find the CPI. 2 Problem 2: [20 pts] In the implementation below the datapath for the jalr and jr instructions is not shown. 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
...
View Full Document

Page1 / 9

mt(5) - Name Computer Architecture EE 4720 Midterm...

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