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 while running riscv_regress test #29

Open
Ajay-2204 opened this issue Feb 2, 2024 · 0 comments
Open

Error while running riscv_regress test #29

Ajay-2204 opened this issue Feb 2, 2024 · 0 comments

Comments

@Ajay-2204
Copy link

Hello,
I am running riscv_regress test using make verify-riscv_regress command.
I am getting error as below,

In C-ANDI.S file, It showing illegal operands error in line number 50, 63, 76, 89 and 102. (i.e., TEST_CI_OP(c.andi, x11, 0x0, 0x0, 0x0, x2, 0), TEST_CI_OP(c.addi, x12, 0x2, 0x1, 0x1, x2, 0), TEST_CI_OP(c.addi, x17, 0, -0x1, 0x1, x2, 0), TEST_CI_OP(c.addi, x22, 0x80000, 0x7ffff, 0x1, x2, 0), TEST_CI_OP(c.addi, x27, 0x80001, 0x80000, 0x1, x2, 0)

Even in riscduino/verilog/dv/riscv_regress/dependencies/riscv-tests/isa/rv64si/csr.s file, for the instruction csrwi it is showing **Instruction csrwi requires absolute expression **.

Compiling ../../../common/vpi/system/system.c...
../../../common/vpi/system/system.c: In function 'system_compiletf':
../../../common/vpi/system/system.c:4:34: warning: unused parameter 'user_data' [-Wunused-parameter]
4 | static int system_compiletf(char*user_data)
| ~~~~~^~~~~~~~~
../../../common/vpi/system/system.c: In function 'system_calltf':
../../../common/vpi/system/system.c:33:7: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
33 | system(value_s.value.str);
| ^~~~~~
../../../common/vpi/system/system.c: At top level:
../../../common/vpi/system/system.c:37:6: warning: function declaration isn't a prototype [-Wstrict-prototypes]
37 | void system_register()
| ^~~~~~~~~~~~~~~
../../../common/vpi/system/system.c:50:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
50 | void (*vlog_startup_routines[])() = {
| ^~~~
Making system.vpi from system.o...
/bin/sh: 9: : not found
make: *** [Makefile:280: run_iverilog] Error 127
make: *** [Makefile:130: verify-riscv_regress] Error 2

Please help me out to run this test successfully.

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