Skip to content

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

Description

@pascalgouedo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions