-
Notifications
You must be signed in to change notification settings - Fork 194
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
Hypervisor Extension enable issue #414
Comments
The short answer is that Hypervisor has not been implemented in Sail yet, so you can't configure it. |
what's your suggestion for next step? Can we just waive these test failures? |
The effort to add this into Sail is huge, and there are lots of other
extensions backed up behind it.
I would use Spike as a reference to start with, but I don't know if there
are tool chinese to support H-extension, and I donb't know if
riscv-confiig supports it (that is a much easier problem), and because of
all of this, we don't have tests, There are tests out there (riscv-tests
probably has some and they're designed for spike, and Imperas has both
models and tests), but they're not in arch-test format, and the coverage is
likely pretty poor.
I would start there, or with Imperas tests.
…On Sun, Dec 3, 2023 at 5:59 PM Yilun Xie ***@***.***> wrote:
what's your suggestion for next step? Can we just waive these test
failures?
—
Reply to this email directly, view it on GitHub
<#414 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHPXVJWL4ATKNYVLIB6OZBDYHUU77AVCNFSM6AAAAABAAOACVOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXG4ZDAOBXGM>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have replaced SAIL with Spike and run test again. It looks all tests have passed. |
Wow, I just reread my original comments, and its full of weird typos. |
Our DUT hardware supports H extension, so we want to enable MISA.H = 1.
But Reference-sail_c_simulator doesn't support it at present, which causes some test cases to fail.
How to configure yaml files in this case?
Example in attach files:
Dubhe-90.zip
Test case fail cause analysis:
In function <Mxcpt_sig_sv> read misa to t1, Our DUT return misa=0x80000000001411AD, which cause branch unsatisfied.
But SAIL always return misa=0x800000000014112D, which doesn't match H extension.
The text was updated successfully, but these errors were encountered: