Comments (3)
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.
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.
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)
- Start Address points to 0x80000000 HOT 2
- [Question] <Running regression tests simulations> HOT 6
- Skip CI for documentation updates HOT 4
- how to change the start address of cva6 HOT 21
- Condition coverage limitation HOT 6
- Exclude unread module from toggle coverage HOT 5
- [Question] simulation of CVA6 using cva6.py not successful HOT 1
- [Question] Wrong control flow when execute an elf binary HOT 4
- Compilation with Xcelium HOT 1
- [Question] <Running regression tests simulations: stop at test "B/src/zext.h-01.S"> HOT 5
- Getting fatal error while running riscv-arch-test from smoke-test.sh script HOT 4
- [UART] UART using bare metal assembly ? HOT 1
- How to simulate my own C Program using cva-6 HOT 2
- 5 failed in smoke test HOT 4
- Core does not boot and debugger does not work when adding an AXI master on the bus HOT 2
- [TASK] Fix regression tests
- Log Failure Despite Passing Tests: AXI4_RESET Violation in CVA6 Repository HOT 1
- [BUG] Passive mode of AXI agents does not work anymore
- Running CVA6 in Firesim+Chipyard HOT 3
- [BUG] Illegal instruction not raising exception HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cva6.