Hey,
i'm trying to simulate memory bit-flips inside the L1P memory. The reason for this is that we want to simulate SEU effects. So i looked into the CPU instr. Set manual and created some testcode.
What does the CPU do in case of an illegal OpCode during Run-time? I thought it would raise a NMI interrupt, but thats not happening. (GIE enabled and NMI also enabled)
After programming the code into L1P i changed some instructions via the memory-view and did also using DMA. As i can see in the disassembly windows the disassembler shows thats it is not a instruction anymore (still OK). But if the execution is done it does not raise any exception at all.
I did test it on single instructions and parallel instructions. But it looks like the functional units just throw those "words" away. The illegal code was inserted 100 cycles before the actual VLIW fetch.
Whats curious is running on the simulator the NMI gets raised. Is the NMI only related to the NMI INT-Pin?
Is there an other way to detect illegal op-code ?
Do i have to check it myself via control flow checks?
btw: I'm using a C6701 EVM.