chipsalliance / chipsalliance/rocket-chip
Simulating Rocket Chip in DVE with Program
- Dominant language
- Scala
- Stars
- 3.9k
- Forks
- 1.3k
- Avg merge
- 5d 13m
- Merged PRs (30d)
- 1
Description
Hello everyone!
I'm trying to visualize a DefaultConfig of Rocket Chip on Synopsys DVE.
I have done "make" in vsim folder and It has generated the executable :
simv-freechips.rocketchip.system-DefaultConfig
Now I want to add my simple C program to Rocket memory to see if it works.
I have generated the executable and then I have tried this command to launch DVE:
dve -full64 -toolexe simv-freechips.rocketchip.system-DefaultConfig /file_c/matrix2
or
dve -full64 -toolexe simv-freechips.rocketchip.system-DefaultConfig +exe=/file_c/matrix2
but I receive this error:
Warning: Unknown command line arg: /file_c/matrix2
what is the best method to load the program onto the rocket and then launch DVE?
Contributor guide
Research direction
Start with the vsim folder's generated simv-freechips.rocketchip.system-DefaultConfig executable and the reported DVE command-line arguments. Check how this simulation accepts a program image and how DVE forwards arguments; done means identifying a working invocation that loads /file_c/matrix2 without the unknown-argument warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, scala
- Domain
- embedded-iot, testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100