Assn7 - CDA 3101 Assignment 7 Due in class on Friday Nov 19...

Info iconThis preview shows pages 1–3. 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 Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CDA 3101 Assignment 7 Due in class on Friday, Nov. 19 Turn hardcopy in class, stapled, with your name and “CDA 3101 Assignment 7” clearly written on it. Assignments submitted after Nov. 19, 12:35 pm but before Nov. 22, 12:35 pm will be considered one day late. IMPORTANT: Use a ruler and a RED pen to make any changes/additions to any of the figures provided below , so that the changes are clearly visible. In case, you make a mistake, I suggest you start with a clean figure . Also, clearly write (in a numbered list) what changes/additions you have made to the figures and why (Please feel free to use extra pages for this). 1. (12 points) Describe the effect of stuck-at-0 fault (i.e. regardless of what it should be, the signal is always 0) would have for signals shown below, in the single-cycle datapath provided as part of Q2. Which instruction, if any, will not work correctly? Explain why. Consider each of the following faults separately: a. RegWrite = 0 b. ALUop0 = 0 c. ALUop1 = 0 d. Branch = 0 e. MemRead = 0 f. MemWrite = 0 2. (16 points) Imagine I want to support the bge $t0, $t1, label , which compares $t0 and $t1 and branches only if $t0 >= $t1 (without breaking the rest of the instructions like add, sub, and, or, beq, lw, sw etc.). The instruction uses I-format representation (6 bits opcode, 5 bit rs, 5 bit rt, 16 bits label). Assume that the ALU generates another output „sign‟ which is 1 when the ALU output is negative. ( Hint: $t0 >= $t1 if $t0 - $t1 >= 0 ). a.a....
View Full Document

{[ snackBarMessage ]}

Page1 / 4

Assn7 - CDA 3101 Assignment 7 Due in class on Friday Nov 19...

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

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