Skip to content
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

The Problem of the method to generate basic.elf #13

Open
yuchengwang1121 opened this issue Jan 11, 2023 · 0 comments
Open

The Problem of the method to generate basic.elf #13

yuchengwang1121 opened this issue Jan 11, 2023 · 0 comments

Comments

@yuchengwang1121
Copy link

Hello, I am trying to run helloworld.c on your RISC-V Core. Howevr It can't execute helloworld.c normally on it.
First ,I have already turn the C code into elf file and put it in the folder riscv/isa_sim/images.
Then, I call "make" in the folder riscv/isa_sim.
Finally, I type "./riscv-sim -f images/hello.elf" in the folder riscv/isa_sim.
Unfortunately, It fail due to the bad memory access.

So I am considering how is your basic.elf been generate ?
And what is the original basic.c ?

Thank you ~!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant