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

Unable to run Compliance Tests #93

Closed
AshvinVaidyanathan opened this issue Nov 14, 2022 · 3 comments
Closed

Unable to run Compliance Tests #93

AshvinVaidyanathan opened this issue Nov 14, 2022 · 3 comments

Comments

@AshvinVaidyanathan
Copy link

ls: cannot access '/home/ashvin/thesis/workspace/riscv-arch-test/riscv-target/serv/device/rv32i_m': No such file or directory

============================ VARIABLE INFO ==================================
ROOTDIR: /home/ashvin/thesis/workspace/riscv-arch-test [origin: file]
WORK: /home/ashvin/thesis/workspace/riscv-arch-test/work [origin: file]
TARGETDIR: /home/ashvin/thesis/workspace/riscv-arch-test/riscv-target [origin: command line]
RISCV_TARGET: serv [origin: command line]
XLEN: 32 [origin: file]
RISCV_DEVICE: I [origin: command line]
=============================================================================

make -j1 \
	RISCV_TARGET=serv \
	RISCV_DEVICE=I \
	run -C /home/ashvin/thesis/workspace/riscv-arch-test/riscv-test-suite/rv32i_m/I
make[1]: Entering directory '/home/ashvin/thesis/workspace/riscv-arch-test/riscv-test-suite/rv32i_m/I'
../../Makefile.include:25: *** Cannot find '/home/ashvin/thesis/workspace/riscv-arch-test/riscv-target/serv/device/rv32i_m/I/Makefile.include`. Check that RISCV_TARGET and RISCV_DEVICE are set correctly..  Stop.
make[1]: Leaving directory '/home/ashvin/thesis/workspace/riscv-arch-test/riscv-test-suite/rv32i_m/I'
make: *** [Makefile:84: simulate] Error 2

As far as I understand I am supposed to point the test to the files built by fusesoc, but there is no such directory once the build is finished. Can someone point me out to where I am going wrong?

@KinzaQamar
Copy link

Hi,

Have you set your WORKSPACE and SERV paths?

@AshvinVaidyanathan
Copy link
Author

Thanks a lot. That worked. Although the first test (ADD) failed. Is this expected?

@KinzaQamar
Copy link

Try to remove work directory inside riscv-arch-test directory before every run.

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

2 participants