-
Notifications
You must be signed in to change notification settings - Fork 43
How to use SocDemo.elf file ? #60
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
Comments
socdemo.elf :
Works fine for me. You can only load one elf. the second one will just override the first one. |
There is a print in the assembly code, but I am wondering how it will be possible to see the printing of value of it. The below command which has .elf file doesn't work in the sbt server after compiling it
|
On my side, i did a And got
You dont ? |
I get such errors [error] Exception in thread "main" java.lang.NullPointerException runMain naxriscv.platform.tilelinkdemo.SocSim --load-elf ext/NaxSoftware/baremetal/socdemo/build/rv32ima/socdemo.elf --no-rvls
|
in line 195 i have
|
Solved by #58 (comment) |
I get another errors
|
Seems like the code you are executing is reading the address 0 ? |
Play.elf is working pretty good but problem is with socdemo.elf as i cant not see following after [info] Sim starting <3 in my #60 (comment)
Please find them here |
ahh yes, i meant socdemo.elf So looking at your rv32ima.zip, i realy don't understand how you have this kind of sequaneces in the asm : 8000004c: 0000a503 lw a0,0(ra) # 10000000 <_start-0x70000000> Did you modified the assembly code ? |
i get this errors when i compile with make rv32ima
|
Ahh what GCC version do you have ? me |
|
lw x10, 0(x1) // This is the issue, why did you added it ? |
Thank you so much. yes it works now. I have following riscv64-unknown-elf-gcc --version
Now it works with 10.2.0 riscv64-unknown-elf-gcc () also
When i instantiated for 2 cores, it gives following result
will it be possible to give cpu thread/core number along with value like this [info] i_0$ refill = 6 When i instantiated for 20 cores, it gives following result
|
pushed |
Thank you |
Hi,
i found one issues with
naxRiscv/ext/NaxSoftware/baremetal/socdemo/src
is there any problem with la load address? it throws below errors
How to use socdemo.elf generate file that is produce after make rv32ima ? is gtkwave is right one to use along with using sbt server?
is there any command line to use ?
Thank you so much
The text was updated successfully, but these errors were encountered: