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

Parameterize TVAL to reduce size in embedded #1784

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

Gchauvon
Copy link
Contributor

@Gchauvon Gchauvon commented Jan 25, 2024

Add a parameter TvalEn to remove tval gates in embedded configuration.

Behaviour when software is trying to write to MTVAL or STVAL should be determined.
In this PR, it is forbidden and access to MTVAL or STVAL when TvalEn is disabled will raise an illegal instruction exception.

Copy link
Contributor

✔️ successful run, report available here.

Copy link
Contributor

❌ failed run, report available here.

@JeanRochCoulon
Copy link
Contributor

@MarioOpenHWGroup With this PR, the TVAL will no more contain the instruction. Is this a problem for Spike tandem ?

Copy link
Contributor

✔️ successful run, report available here.

@MarioOpenHWGroup
Copy link
Contributor

@MarioOpenHWGroup With this PR, the TVAL will no more contain the instruction. Is this a problem for Spike tandem ?

It shouldn't be a problem as currently the rvfi_o inside cva6 does not rely in tval

@JeanRochCoulon JeanRochCoulon merged commit fa101fa into openhwgroup:master Jan 25, 2024
19 checks passed
@JeanRochCoulon JeanRochCoulon deleted the dev/tval2 branch January 25, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants