Name: Date:

HW12

(10 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 single-cycle datapath in Figure 4.21, on page 277. Note that the ALUOp signal is two bits in size, each bit has different effects on the ALU, see figure 4.26 on page 281 for more detail. Which instructions, if any, will not work correctly? Explain why.

  1. RegWrite = 0

  2. ALUOp0 (LSB) = 0

  3. Branch = 0

  4. MemRead = 0

  5. MemWrite = 0

Datapath for reference: