{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ASU_eee230_Assignment 5

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

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

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.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### 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
Ask a homework question - tutors are online