Question: (a) Let us assume that the processor testing is done by filling the PC,registers, and data and instruction memories with some values (you can choose
(a) Let us assume that the processor testing is done by filling the PC,registers, and data and instruction memories with some values (you can choose whichvalues), letting a single instruction execute, then reading the PC, memories, and registers.These values are then examined to determine if a particular fault is present. Can youdesign a test (values for PC, memories, and registers) that would determine if there is astuck-at-0 fault on this signal?
(b) Repeat part a) for a stuck-at-1 fault. Can you use a single test forboth stuck-at-0 and stuck-at-1? If yes, explain how; if no, explain why not.
(c) If we know that the processor has a stuck-at-1 fault on this signal,is the processor still usable? To be usable, we must be able to convert any program thatexecutes on a normal MIPS processor into a program that works on this processor. Youcan assume that there is enough free instruction and data memory to let you make theprogram longer and store additional data. Hint: the processor is usable if every instructionbroken by this fault can be replaced with a sequence of working instructions thatachieve the same effect.
The Diagram is as following

Instruction 125-01 Shift u address [31-0 26- |PC+4131-281 28 Add uI dd ALU RegDst Shift left 2 Instruction (31-26 MemRead MemtoReg Control RegWrite instruction [25-21] | PC-address Read register 1 Read ruction [20-16]-Read Zero Instruction 1 register 2 (31-0 MWrite Read Write data 2 Read Instruction | | | Instruction [15-11 resultddresa register LI memory data Registens Write Data data memory Instruction [15-0] 16 Sign- 32 control Instruction [5-0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
