Giter Site home page Giter Site logo

Generate hex file about cva6 HOT 3 CLOSED

openhwgroup avatar openhwgroup commented on May 22, 2024
Generate hex file

from cva6.

Comments (3)

zarubaf avatar zarubaf commented on May 22, 2024

The elf2hex command is absolutely correct. The reason why you run out of memory is that Questasim is not using riscv-fesvr which handles the communication with the target. It just implements the the end-of-computation signal coming from the DUT (store to .tohost address with LSB set). This works fine with the basic riscv-tests but fails on the benchmarking suit as all benchmarks want to write to stdout. The benchmark is waiting for an acknowledgement of the host which it is basically never getting.

That beeing said, I am unsure whether I will implement the missing functionality because the way host-target communication is currently handled within riscv-fesvr and riscv-tests is quite messy with non-cache coherent systems. The Verilator testbench handles this simulation though and should let you do the benchmarking.

from cva6.

hoangt avatar hoangt commented on May 22, 2024

Thanks for explanations. I might need to look at Verilator and mimic (hopefully) for Questasim. Is there any plan to build a SoC based on this core and support FPGA prototype!

from cva6.

zarubaf avatar zarubaf commented on May 22, 2024

Would be happy to accept a PR with this added functionality. Yes, indeed - we do have a SoC based on this core which also supports FPGA mapping. It is still in somehow a messy state but will be pushed quite soon.

from cva6.

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.