Injecting instructions into the core will become problematic with the incoming changes of the frontend. Right now, TestCoreInterrupt is the only place where we are using this hack to set the initial values of the registers.
This PR replaces the instruction injection in that test with loading the initial values from the memory.
I can imagine that some day in the future we may need to inject instructions (debugging interface?), but this is a far future, so for now, I am removing it altogether.
Injecting instructions into the core will become problematic with the incoming changes of the frontend. Right now,
TestCoreInterrupt
is the only place where we are using this hack to set the initial values of the registers.This PR replaces the instruction injection in that test with loading the initial values from the memory.
I can imagine that some day in the future we may need to inject instructions (debugging interface?), but this is a far future, so for now, I am removing it altogether.