Hardware Loops registers not saved/restored before being used in synchronous/asynchronous exception handler

Placeholder github Source User
2024-05-30T11:53:44Z

When Hardware Loop feature is automatically generated and used in exception handlers, HWloop CSRs are not saved/restored.
So when returning to main program from exception handler using HWloop, it is corrupted if exception happened during main program HWloop execution.
This could happen with illegal exception, interrupt, debug code and maybe other situations.