This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Fall 2009-2010 CSSE 232 CSSE 232 Computer Architecture I Rose-Hulman Institute of Technology Computer Science and Software Engineering Department Homework 5 Solutions 1. (5 points) Describe the effect that a single stuck-at-0 fault (i.e. regardless of what it should be, the signal is always 0) would have for the signals shown below, in the multi-cycle datapath (see the attached datapath). Which instructions, if any, will not work correctly? Explain why. Consider each of the following faults separately: (a) RegWrite = 0 : All R-format instructions, in addition to lw , will not work because these instructions will not be able to write their results to the register file. (b) MemRead = 0 : None of the instructions will run correctly because instructions will not be fetched from memory. (c) MemWrite = 0 : sw will not work correctly because it will not be able to write to the data memory. (d) IRWrite = 0 : None of the instructions will run correctly because instructions fetched from memory are not properly stored in the IR register. (e) PCWrite = 0 : Program counter will not advance to next instruction and jump instructions will not work correctly because their target address will not be stored...
View Full Document