Question: trace comparison of external stimulus
Hi :wave:
I have a difficulty understanding how is the trace comparison happens when external interrupts are present.
From the figure that I got in Ibex manual, it seems like ISS is completely decoupled from the RTL during the execution. By looking at this, my guess is that ISS will not be aware of the change in execution flow when interrupt triggers and the traces will diverge. Does this mean that comparison will fail if there are interrupts?
Thank you,

Hi @kabylkas , thanks for the question!
You're correct in that the ISS will not be aware of any interrupt/debug triggers, and this will cause divergences in the trace logs. To handle this, in tests like this, we disable instruction-by-instruction checking between the logs and just check the final values that end up stored in the register file, as this state should still remain the same in both sets of trace logs. We also use the handshaking mechanism as described in the Verification section of the Ibex manual to perform run-time checking for these kinds of tests.
Hope this helps!
Thank you!