Question: For debugging, it is useful to be able to detect when a particular value is written to a particular memory address. We want to add
For debugging, it is useful to be able to detect when a particular value is written to a particular memory address. We want to add two new registers, WADDR and WVAL. The processor should trigger an exception when the value equal to WVAL is about to be written to address WADDR. How would you change the pipeline to implement this? How would this SW instruction be handled by your modified datapath?
The remaining three problems in this exercise also refer to the following store instruction:
SW b. SW a. R5,-40 (R15) R1,0 (R1) Store Instruction
Step by Step Solution
3.32 Rating (161 Votes )
There are 3 Steps involved in it
To implement the new registers WADDR and WVAL you would need to modify the pipeline as follows 1 Add... View full answer
Get step-by-step solutions from verified subject matter experts
