midterm1-sample - EEL 4713 Computer Architecture Midterm...

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

View Full Document Right Arrow Icon
1 EEL 4713 – Computer Architecture Midterm Exam Thursday, March 22 nd , 2007 NAME: Please read each question carefully, to avoid any confusion. This exam should have a total of 14 pages , printed double-sided. Pages 9-14 have reference information and scratch space. Before you begin, make sure your copy contains all pages. The exam is closed book, closed notes. Each question has its number of points identified in brackets. GOOD LUCK! QUESTION POINTS SCORED 1 [40] 2 [25] 3 [15] 4 [20] TOTAL
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 1) [40] This question considers the addition of new instructions to the MIPS ISA: a) [20] Consider the additional of a “conditional load word/clear” instruction: clwr rd,rs,rt (rs, rd, rt are the R-type opcode fields) Which behaves as follows: if $rs is zero $rd = MEM[$rt] else $rd = 0 Determine which new components and connections need to be added to the single-cycle datapath to support this new instruction. List each component, its connections and why they are needed in the space below (alternatively, you may draw each component and its connections in the single-cycle schematic in page 9).
Background image of page 2
3 b) [20] Consider the additional of a “conditional register copy” instruction: crcp rd,rs,rt (rs, rd, rt are the R-type opcode fields) Which behaves as follows: if $rs is zero $rd = $rt else do nothing As in part a), determine which new components and connections need to be added to the multi-cycle datapath to support this new instruction. In addition, determine the new states needed in the
Background image of page 3

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

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

Page1 / 14

midterm1-sample - EEL 4713 Computer Architecture 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