-
Notifications
You must be signed in to change notification settings - Fork 738
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
Issue with MTVEC CSR default value #1312
Comments
Hi @frikhaAziz, can you investigate this issue? |
Hi @ASintzoff. @JeanRochCoulon let me know that @frikhaAziz has completed his internship, so I am assigning this one to you. |
The CSR reset values in https://github.com/openhwgroup/cva6/blob/master/docs/01_cva6_user/CV32A6_Control_Status_Registers.rst were provided by Jade tool. This file needs to be updated with IPXACT generated file. |
@zchamski We are cleaning the "Github Issues". I assume this issue is closed. May I ask you to close it if it is the case ? |
We need to align the spec and the RTL (both are wrong):
|
As MTVEC value is setup by software during boot, never mind its hardware reset value. The best is to reset at 0. As RTL and Spike are ok, privilege specification does not give the reset value. The remaining work is to update riscv-config, and regenerate CSR specification. |
I wiill update the riscv-config and the files derived from it. |
Superseeded by #2738 |
Hi,
I was working on CVA6 CSR access mode verification and I found that as per CVA6 user manual reset value for MTVEC CSR is zero, but in CVA6 RTL I am reading default value as 0x10040.
Following is a snap of csr_regfile.sv file where we can see the value of mtvec being assigned which comes out to be 0x10040
Can I know what should be the correct reset value for the mtvec CSR or the explanation for the above value of the mtvec CSR (0x10040)??
Thanks
The text was updated successfully, but these errors were encountered: