-
Notifications
You must be signed in to change notification settings - Fork 155
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
make run-tmulator fails #49
Comments
I just had the same issue. The problem was that the verilator version was incompatible. It happened to me when I did apt install verilator and my ubuntu is 16.04. Make sure your deb is the same as verilator_3.900-1_amd64.deb |
my error not same as you,please help me
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting following error in "make run-emulator"
verilator --cc --exe --top-module Top +define+PRINTF_COND=1 --assert --output-split 20000 --x-assign unique -I/home/farhad/Downloads/riscv-sodor/vsrc -O3 -CFLAGS " -O1 -std=c++11 -g -I/home/farhad/Downloads/riscv-sodor/emulator/common -I/usr/local/include -I/home/farhad/Downloads/riscv-sodor/riscv-fesvr/fesvr -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -lpthread -DVERILATOR -include /home/farhad/Downloads/riscv-sodor/emulator/common/verilator.h"
-o /home/farhad/Downloads/riscv-sodor/emulator/rv32_1stage/emulator generated-src/Top.v /home/farhad/Downloads/riscv-sodor/vsrc/SimDTM.v -LDFLAGS " -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -lpthread" /home/farhad/Downloads/riscv-sodor/emulator/common/emulator.cpp /home/farhad/Downloads/riscv-sodor/riscv-fesvr/build/libfesvr.so /home/farhad/Downloads/riscv-sodor/emulator/rv32_1stage/SimDTM.o
%Error: generated-src/Top.v:3748: syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER
%Error: generated-src/Top.v:4254: syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER
%Error: generated-src/Top.v:4741: syntax error, unexpected INTEGER NUMBER, expecting IDENTIFIER
%Error: Exiting due to 3 error(s)
%Error: Command Failed /usr/bin/verilator_bin --cc --exe --top-module Top '+define+PRINTF_COND=1' --assert --output-split 20000 --x-assign unique -I/home/farhad/Downloads/riscv-sodor/vsrc -O3 -CFLAGS ' -O1 -std=c++11 -g -I/home/farhad/Downloads/riscv-sodor/emulator/common -I/usr/local/include -I/home/farhad/Downloads/riscv-sodor/riscv-fesvr/fesvr -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -lpthread -DVERILATOR -include /home/farhad/Downloads/riscv-sodor/emulator/common/verilator.h' -o /home/farhad/Downloads/riscv-sodor/emulator/rv32_1stage/emulator generated-src/Top.v /home/farhad/Downloads/riscv-sodor/vsrc/SimDTM.v -LDFLAGS ' -L/usr/local/lib -Wl,-rpath,/usr/local/lib -L. -lpthread' /home/farhad/Downloads/riscv-sodor/emulator/common/emulator.cpp /home/farhad/Downloads/riscv-sodor/riscv-fesvr/build/libfesvr.so /home/farhad/Downloads/riscv-sodor/emulator/rv32_1stage/SimDTM.o
/home/farhad/Downloads/riscv-sodor/emulator/common/Makefile.include:103: recipe for target 'emulator' failed
make[1]: *** [emulator] Error 10
make[1]: Leaving directory '/home/farhad/Downloads/riscv-sodor/emulator/rv32_1stage'
Makefile:108: recipe for target 'emulator/rv32_1stage/emulator' failed
make: *** [emulator/rv32_1stage/emulator] Error 2
Can someone tell me a solution for this error?
The text was updated successfully, but these errors were encountered: