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

Some Riscv-Tests Can't Pass #39

Open
xie-1399 opened this issue Jul 10, 2023 · 3 comments
Open

Some Riscv-Tests Can't Pass #39

xie-1399 opened this issue Jul 10, 2023 · 3 comments

Comments

@xie-1399
Copy link

xie-1399 commented Jul 10, 2023

Hi !
When I excute riscv-tests with the config

    val l = Config.plugins(
      sideChannels = false, //WARNING, FOR TEST PURPOSES ONLY, turn to false for real stuff <3
      xlen = 64,
      withRdTime = false,
      aluCount = 2,
      decodeCount = 2,
      withRvc = true,
      withDebug = false,
      withEmbeddedJtagTap = false,
      debugTriggers = 0,
      withFloat = true,
      withDouble = true,
      lqSize = 16,
      sqSize = 16,
      resetVector = 0x80000000l
    )

I find the rv64si-p-wfi rv64mi-p-csr can't pass the test,can you tell me how to solve the problem? Thank You!

@Dolu1990
Copy link
Member

Hi,

I'm currently in a trip on a dying notebook ^^
I will test it when i'm back in the office (home <3)

Does it tell you where the test are failing ?
It can give a clue ^^

@xie-1399
Copy link
Author

xie-1399 commented Jul 11, 2023

they all fails on the ecall trap,I see the wave about the commit PC.They can not commit until pass symbol
10abfcfcabf9332e792c065fd9fb499
d5e2d07c0d0fa1f5e2e81d9d5557eed

3e86a41db05b051904ae42116c4d913
ac482496cdf8e7ca9aab454aa0c0eb7

@Dolu1990
Copy link
Member

Ahhhhhhhhh
I were thinking you were using the python script to generate the test list :
https://github.com/SpinalHDL/NaxRiscv/blob/main/src/test/cpp/naxriscv/testsGen.py

But you aren't right ?
You compiled the test and run them by yourself ?

So one thing about riscv-test, is that some test do assumption about having a core which fully implement the privileged spec, which isn't necessarly the case of NaxRiscv (ex PMP)

How did you ran the tests ?

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

No branches or pull requests

2 participants