Skip to content

[rtl] Issues with memory and instruction fetch errors with branch prediction enabled #1803

Description

@GregAC

When riscv_mem_error_test is run with a config that includes a branch predictor failures are seen. These are around failures to take instruction faults and memory access faults.

It seems memory accesses next to branches can fail to produce the correct precise exception when a memory error response is seen.

For instruction faults it may be the branch prediction mechanism is failing to maintain correct error information leading to the execution of an instruction whose fetch saw an error response.

For now the branch prediction config will be removed from CI as that configuration is not a priority and these bugs will be addressed at a later date.

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