Closed Chentai-Y closed 1 year ago
Hi Assignees,
I met an error when i run "make verilate". Here is the error:
$ make verilate Makefile:80: "Specified QuestaSim version (questa-2021.2) not found in PATH /home/sy/intelFPGA_lite/22.1std/questa_fse/bin:/home/sy/intelFPGA_lite/22.1std/questa_fse/linux_x86_64/mgls/bin:/home/sy/riscv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin" mkdir -p build sh: 276: [: Illegal number: bender-init: Warning: No release for platform 'x86_64-linux-gnu-ubuntu22.04' version '0.23.1' found, using latest. Successfully installed bender 0.27.3 in '/home/sy/source-code/ara/hardware'. bender 0.27.3 available. rm -rf build/verilator; mkdir -p build/verilator ./bender script verilator -t rtl -t ara_test -t cva6_test -t verilator --define NR_LANES=4 --define VLEN=4096 --define RVV_ARIANE=1 > build/verilator/bender_script_default warning: Name issue with "cva6", `export_include_dirs` not handled Could relate to name mismatch, see `bender update` /home/sy/source-code/ara/install/verilator/bin/verilator -f build/verilator/bender_script_default \ -GNrLanes=4 \ -O3 \ -Wno-BLKANDNBLK \ -Wno-CASEINCOMPLETE \ -Wno-CMPCONST \ -Wno-LATCH \ -Wno-LITENDIAN \ -Wno-UNOPTFLAT \ -Wno-UNPACKED \ -Wno-UNSIGNED \ -Wno-WIDTH \ -Wno-WIDTHCONCAT \ -Wno-ENUMVALUE \ -Wno-COMBDLY \ --hierarchical \ tb/verilator/waiver.vlt \ --Mdir build/verilator \ -Itb/dpi \ --compiler clang \ -CFLAGS "-DTOPLEVEL_NAME=ara_tb_verilator" \ -CFLAGS "-DNR_LANES=4" \ -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp \ -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_verilator/cpp \ -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp \ "" \ -LDFLAGS "-lelf" \ "" \ --exe \ /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/*.cc \ /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_verilator/cpp/*.cc \ /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/*.cc \ /home/sy/source-code/ara/hardware/tb/verilator/ara_tb.cpp \ --cc \ \ --top-module ara_tb_verilator && \ cd build/verilator && OBJCACHE='' make -j4 -f Vara_tb_verilator.mk make[1]: Entering directory '/home/sy/source-code/ara/hardware/build/verilator' make[2]: Entering directory '/home/sy/source-code/ara/hardware' /home/sy/source-code/ara/install/verilator/bin/verilator -f build/verilator/Vlane_e_hierMkArgs.f sh: 1: exec: /home/sy/source-code/ara/install/verilator/share/verilator/verilator_bin: not found %Error: Command Failed ulimit -s unlimited 2>/dev/null; exec /home/sy/source-code/ara/install/verilator/share/verilator/verilator_bin -f build/verilator/Vlane_e_hierMkArgs.f make[2]: *** [build/verilator/Vara_tb_verilator_hier.mk:361: hier_launch_verilator] Error 127 make[2]: Leaving directory '/home/sy/source-code/ara/hardware' make[1]: *** [Vara_tb_verilator_hier.mk:370: Vlane_e/lane_e.sv] Error 2 make[1]: Leaving directory '/home/sy/source-code/ara/hardware/build/verilator' %Error: make -C build/verilator -f Vara_tb_verilator_hier.mk -j 1 hier_verilation exited with 2 %Error: Command Failed ulimit -s unlimited 2>/dev/null; exec /home/sy/source-code/ara/install/verilator/bin/verilator_bin -f build/verilator/bender_script_default -GNrLanes=4 -O3 -Wno-BLKANDNBLK -Wno-CASEINCOMPLETE -Wno-CMPCONST -Wno-LATCH -Wno-LITENDIAN -Wno-UNOPTFLAT -Wno-UNPACKED -Wno-UNSIGNED -Wno-WIDTH -Wno-WIDTHCONCAT -Wno-ENUMVALUE -Wno-COMBDLY --hierarchical tb/verilator/waiver.vlt --Mdir build/verilator -Itb/dpi --compiler clang -CFLAGS -DTOPLEVEL_NAME=ara_tb_verilator -CFLAGS -DNR_LANES=4 -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_verilator/cpp -CFLAGS -I/home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp -LDFLAGS -lelf --exe /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/dpi_memutil.cc /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_dpi/cpp/sv_scoped.cc /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_memutil_verilator/cpp/verilator_memutil.cc /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/verilated_toplevel.cc /home/sy/source-code/ara/hardware/tb/verilator/lowrisc_dv_verilator_simutil_verilator/cpp/verilator_sim_ctrl.cc /home/sy/source-code/ara/hardware/tb/verilator/ara_tb.cpp --cc --top-module ara_tb_verilator make: *** [Makefile:168: build/verilator/Vara_tb_verilator] Error 2
My version for Verilator is
Verilator 5.012 2023-06-13 rev v5.012
Could you please take a look on the problem? Thanks!
Best, Seven
I also encountered the same problem. How did you solve it?
Hi Assignees,
I met an error when i run "make verilate". Here is the error:
My version for Verilator is
Verilator 5.012 2023-06-13 rev v5.012
Could you please take a look on the problem? Thanks!
Best, Seven