Giter Club home page Giter Club logo

Comments (5)

AugustusWillisWang avatar AugustusWillisWang commented on August 16, 2024

NutShell difftest branch does not use pre-compiled NEMU in ready-to-run. Build NEMU (riscv64-nemu-interpreter-so) manually using NEMU here, and try again.

Your can refer to this module and this script for further instructions.

from difftest.

wangpengabc avatar wangpengabc commented on August 16, 2024

NutShell difftest branch does not use pre-compiled NEMU in ready-to-run. Build NEMU (riscv64-nemu-interpreter-so) manually using NEMU here, and try again.

Your can refer to this module and this script for further instructions.

I build NEMU manually from NEMU rep, the result did not change:

~/riscv/NutShell$ ./build/emu -b 0 -e 0 -i ./ready-to-run/microbench.bin --diff /home/wangpeng/riscv/NutShell_env/nemu/build/riscv64-nemu-interpreter-so
Emu compiled at Jul 23 2021, 16:27:44
The image is ./ready-to-run/microbench.bin
Using simulated 8192MB RAM
[warning] sdcard img not found
Using /home/wangpeng/riscv/NutShell_env/nemu/build/riscv64-nemu-interpreter-so for difftest
emu: /home/wangpeng/riscv/NutShell/difftest/src/test/csrc/difftest/nemuproxy.cpp:48: NemuProxy::NemuProxy(int): Assertion `memcpy_from_ref' failed.
Aborted (core dumped)

from difftest.

AugustusWillisWang avatar AugustusWillisWang commented on August 16, 2024

Can you show me your NEMU's commit id? Which branch are you on?

from difftest.

wangpengabc avatar wangpengabc commented on August 16, 2024

Can you show me your NEMU's commit id? Which branch are you on?

:~/riscv/NutShell_env/nemu$ git log
commit 85edc31846b3813adab4f07779a1f74ba54a3d2c (HEAD -> master, origin/master, origin/HEAD)
Merge: dc7c4d3 92e18d7
Author: wakafa <[email protected]>
Date:   Thu Jul 30 05:18:17 2020 -0500

    Merge pull request #2 from OSCPU/fix-updateAD
    
    riscv64,mmu: avoid updating PTE.A/D in so-file

from difftest.

wangpengabc avatar wangpengabc commented on August 16, 2024

Can you show me your NEMU's commit id? Which branch are you on?

When i change to this commit version, it works! Thanks

:~/riscv/NutShell_env/xs-env/NEMU$ git log
commit 145db2d924ef4a39a3ea69b95e0392abcf282646 (HEAD, origin/xs, origin/HEAD, xs)
Author: William Wang <[email protected]>
Date:   Wed Jul 14 20:41:15 2021 +0800

    rv64: disable store difftest when sq overflow
    
    It is a temp patch, store commit queue check will be refactored later

from difftest.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.