-
Notifications
You must be signed in to change notification settings - Fork 126
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
make verilate
fails, and make riscv_tests_simv
segfault
#260
Comments
make verilate
failsmake verilate
fails, and make riscv_tests_simv
segfault
@mablinov can you try copying the content (or maybe just verilator_bin) from |
@quswarabid That did the trick! I can build the normal verilator model (and run it) without having to run manual commands. Unfortunately, the $ make simv app=hello_world trace=1
Makefile:80: "Specified QuestaSim version (questa-2021.2) not found in PATH /home/maxim/opt/node-v18.12.1-linux-x64/bin:/home/maxim/.local/bin:/home/maxim/opt/node-v18.12.1-linux-x64/bin:/home/maxim/.local/bin:/home/maxim/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"
build/verilator/Vara_tb_verilator -t -l ram,/home/maxim/src/ara/apps/bin/hello_world,elf
Program header number 0 in `/home/maxim/src/ara/apps/bin/hello_world' low is 80000000
Program header number 0 in `/home/maxim/src/ara/apps/bin/hello_world' high is 80000fbd
Program header number 1 in `/home/maxim/src/ara/apps/bin/hello_world' high is 8000139f
Program header number 2 in `/home/maxim/src/ara/apps/bin/hello_world' high is 800013c7
Program header number 3 in `/home/maxim/src/ara/apps/bin/hello_world' is not of type PT_LOAD; ignoring.
Set `ram TOP.ara_tb_verilator.dut.i_ara_soc.i_dram 10 0x80000000 0x100000 write with offset: 0x0 write with size: 0x13c8
Simulation of Ara
=================
Tracing can be toggled by sending SIGUSR1 to this process:
$ kill -USR1 3dd0db
make: *** [Makefile:210: simv] Segmentation fault (core dumped) Version: $ ../install/verilator/bin/verilator_bin --version
Verilator 5.012 2023-06-13 rev v5.012 |
Let me take a look |
I replaced the |
@mablinov thanks for the tip. Though my simulation has just hunged up on me. xD |
I have tried with different optimizations' flags (which probably shouldn't mess with final output, but it does) and I am only able to |
Dear quswarabid,
|
@llhe110 I bumped the verilator version back to v4.214 and it worked out for me. To do that, edit VERIL_VERSION in |
For fst i tried the solution by changing -O3 to -O0 but the simulation sort of stopped midway and gave this o/p :
and while viewing sim.fst in terminal :
and by manually opening the sim.fst in the file location i could see only signals of CVA6
|
Hi all, first time user:
I've checked out the repo and followed all the instructions on the front page README.md. Everything works up until I get to the
make verilate
step, this is what I get:I can sort-of work around this by then typing the following commands manually:
This generates the
build/verilator/Vara_tb_verilator.mk
file, which then allows me to invokeAnd then I can run the tests with
make riscv_tests_simv
. However, what I'd like to do is generate trace dumps that I can then open with gtkwave, so I want to build withtrace=1
. Unfortunately my hack-around doesn't allow me to do this: If I invokeand then try to run the tests, I get a segfault:
The text was updated successfully, but these errors were encountered: