riscduino icon indicating copy to clipboard operation
riscduino copied to clipboard

Error while running riscv_regress test

Open Ajay-2204 opened this issue 5 months ago • 0 comments

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.

Ajay-2204 avatar Feb 02 '24 05:02 Ajay-2204