Question
(a) P&H(4.8.1) Let us assume that the processor testing is done by filling the PC,registers, and data and instruction memories with some values (you can
(a)P&H(4.8.1) 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)P&H(4.8.2) 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) 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.
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-0Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started