Skip to content

Bits in the mip Register That Must Remain Zero Are Incorrectly Writable #248

@fly-1011

Description

@fly-1011

Bug Description:

Because the NutShell processor does not implement the Hypervisor Extension, the mip register should follow the structure shown below:

Image

Inconsistent information:

Image Image

NutShell differs from Spike in bits 0, 2, 4, 6, 8, and 10. According to the RISCV specification, these bits should be 0.

Test program and log information: test_mip.zip

Environment:

NutShell: commit e315a27

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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