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

Error: ASM file could not be compiled or generated. #12

Open
esolera opened this issue Aug 7, 2017 · 3 comments
Open

Error: ASM file could not be compiled or generated. #12

esolera opened this issue Aug 7, 2017 · 3 comments

Comments

@esolera
Copy link

esolera commented Aug 7, 2017

I use this comand "make cgentest" and I have this error :
output/test.S:5:10: fatal error: riscv_test.h: No such file or directory
#include "riscv_test.h"
^~~~~~~~~~~~~~
compilation terminated.
Error: ASM file could not be compiled or generated.
[success] Total time: 2 s, completed Aug 7, 2017 8:25:46 AM

@esolera
Copy link
Author

esolera commented Aug 7, 2017

now i have this other error :

Physical mode
Assembler messages:
Fatal error: -march=RVIMAFDXhwacha: ISA string must begin with rv32 or rv64
Error: ASM file could not be compiled or generated.

@CLappin
Copy link

CLappin commented Oct 13, 2017

Hi Esolera,

If you go into the following files and add in your version of the riscv it should work.
"rocket-chip/torture/testrun/src/main/scala/main.scla"
and "rocket-chip/torture/output/Makefile"
change -march=RVIMAFXhwacha to for example -march=rv64imafdc ( which is the default config for RV64)

Please let me know if you were able to run the torture test as I'm having problems from just after this part - #13
Kind Regards,
Ciaran

@panda1628
Copy link

How do you fix this?
I run into the same error, thanks in advance

output/test.S:5:10: fatal error: riscv_test.h: No such file or directory
#include "riscv_test.h"
^~~~~~~~~~~~~~

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

3 participants