Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtl] Flush pipe on all CSR modifications #2214

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 17, 2024

  1. [rtl] Flush pipe on all CSR modifications

    This fixes lowRISC#2193, an issue that meant bit clears in PMP related CSRs
    didn't immediately apply to an instruction already in the fetch stage
    due to a lack of a pipeline flush.
    
    With this change the pipeline will flush in that scenario, fixing the
    issue. It now flushes the pipeline on all CSR modifications as this
    makes the pipeline more resliant against similar issues in the future
    (where the list of CSRs to flush on should have been updated but
    wasn't).
    GregAC committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    f8fd54c View commit details
    Browse the repository at this point in the history