(b) P&H(4.8.2) <§4.3,4.4> Repeat part a) for a stuck-at-1 fault. Can you use a s
ID: 3601346 • Letter: #
Question
(b)P&H(4.8.2) <§4.3,4.4> 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)P&H(4.8.3) <§4.3,4.4> 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 instruction“broken” by this fault can be replaced with a sequence of “working” instructions thatachieve the same effect.
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-0Explanation / Answer
a.Ans:
A stuck-at-0 fault occurs when, due to a manufacturing defect, a signal is mis-connected so that it always carries a logical value of 0.
I am giving answer For stuck at 1:
Pre-test setup: PC = PC0
$s0 = 0
Memory location referenced by 0($s1) has a value: 55
Test: execute lw $s0, 0($s1) #
After-test check:
There is no fault when:
(1) current PC is PC0+4
(2) $s0 = 55
(3) memory location referenced by 0($s1) is unchanged, still 55 .
There is a fault when:
(1) current PC is PC0+4
(2) $s0 = random number or 55 (could be either depending on timing of memory write completion)
(3) memory location referenced by 0($s1) is changed to a random number
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.