Skip to content

Does NaxRiscv update mtval after trap illegal_inst? #107

@zhangkanqi

Description

@zhangkanqi

Hi,
It seems NaxRiscv wants to update tval when trapping exception in the source codes.

But I found that when encounters illegal_inst exception under U-mode(the exception is trapped into M-mode), NaxRiscv doesn't update mtval correctly, the value of mtval is still 0x0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions