ASU_eee230_Assignment 5

ASU_eee230_Assignment 5 - Alejandro A. Tinoco Dr. Debra...

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

View Full Document Right Arrow Icon
Alejandro A. Tinoco Dr. Debra Calliss CSE/EEE 230 - Assignment 5 March 24, 2008 1. (7 points) Using the single cycle model, describe the effect that a single stuck-at-0 fault (the value is always 0) for the following signals. Which instruction will not work correctly and why? a) RegWrite ---- R-format, lw. (The instruction(s) requires a 1 in order to function) b) ALUOp0 ---- beq. (The instruction(s) requires a 1 in order to function) c) ALUOp1 ---- R-format. (The instruction(s) requires a 1 in order to function) d) Branch ------- beq. (The instruction(s) requires a 1 in order to function) e) MemRead --- lw. (The instruction(s) requires a 1 in order to function) f) MemWrite --- sw. (The instruction(s) requires a 1 in order to function) 2. (7 points) Repeat the problem above but assume a stuck-at-1 fault. a) RegWrite ---- sw, beq. (The instructions require a 0 in order to function) b) ALUOp0 ---- R-format, lw, sw. (The instructions require a 0 in order to function) c) ALUOp1 ---- lw, sw, beq. (The instructions require a 0 in order to function) d) Branch ------- R-format, lw, sw. (The instructions require a 0 in order to function) e) MemRead --- R-format, sw, beq. (The instructions require a 0 in order to function) f) MemWrite --- R-format, lw, beq. (The instructions require a 0 in order to function) 3. (10 points) Describe what would have to change in Figure 5.17 and Figure 5.18 to implement the jr instruction. -In figure 5.17 I added a multiplexer with one input from one of the registers and the other input
Background image of page 1

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

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

This note was uploaded on 04/06/2009 for the course CSE CSE/EEE230 taught by Professor Debracaliss during the Fall '09 term at ASU.

Page1 / 4

ASU_eee230_Assignment 5 - Alejandro A. Tinoco Dr. Debra...

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

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