Skip to content

[CV32A60X] Spike doesn't take interrupt in the right time #2620

@AyoubJalali

Description

@AyoubJalali

Hello,
This is an issue of spike (tandem mode), Spike doesn't take interrupt in the right time.
the problem was seen when I disable MIE bit related and there a pending interrupt waiting to be taken, spike doesn't take the interrupt but CVA6 toke it, after debug I understand that spike after every instruction retired sample Mstatus.MIE & MIP & MIE (not cycle accurate), but CVA6 has a pipeline so it know that was a pending interrupt waiting even you disable MIE he took the interrupt anyway.

So the problem here related to spike being a ref model with no pipeline of course, it's a limitation !!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions