-
Notifications
You must be signed in to change notification settings - Fork 18
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
Example of using SoC host program and SoC on FPGA failed #1
Comments
Hey @zmh403, |
Hello Aignacio , I am a newbie and i am trying to run RISCV through verilator. knki:~/Documents/RISCV_Verilator/riscv_verilator_model$ make run Note: Kind regards, |
run with this: make run PREFIX=/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed- |
Thank you so much for your kind reply.
I just tried your solution and seems same error:
knki:~/Documents/RISCV_Verilator/riscv_verilator_model$ make run
PREFIX=/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-
make[1]: Entering directory
'/home/knki/Documents/RISCV_Verilator/riscv_verilator_model/sw/hello_world'
Building output_temp/vector.o
/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-gcc
-march=rv32imc -mabi=ilp32 -Wall -Wno-unused -ffreestanding -O0 -g
--specs=nano.specs -Wall -Wno-main -save-temps=obj -DVERILATOR=1
-I../common/API/inc -I../common/base -c init/vector.S -o
output_temp/vector.o
/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-gcc: 1:
������: not found
/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-gcc: 1: �:
not found
/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-gcc: 2:
��H__PAGEZERO�__TEXT: not found
/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-gcc: 3:
Syntax error: "(" unexpected
make[1]: *** [Makefile:76: output_temp/vector.o] Error 2
make[1]: Leaving directory
'/home/knki/Documents/RISCV_Verilator/riscv_verilator_model/sw/hello_world'
make: *** [Makefile:304: sw] Error 2
Kind regards
KiranKanchi
…On Mon, 30 Aug 2021 at 00:14, Anderson Ignacio ***@***.***> wrote:
run with this:
make run PREFIX=/opt/xpack-riscv-none-embed-gcc-10.1.0-1.1/bin/riscv-none-embed-
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHGGUX7ENDMRPSO6VMHE7LT7J5XJANCNFSM4ZDQ2PMQ>
.
|
go in the hello_world and build the binary manually so... |
Hello Anderson,
Sorry for all the trivial questions, I am still a beginner.
Thank you very much for your guidance, I will try manual build.
Have a nice day!
Kind regards,
Kiran Kanchi
…On Mon, 30 Aug 2021 at 00:24, Anderson Ignacio ***@***.***> wrote:
go in the hello_world and build the binary manually so...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADHGGUX5QUJZUBFL5ZWF6LTT7J7ABANCNFSM4ZDQ2PMQ>
.
|
Hi, when I ran the flow I got the error message in both case.
I have checked the software requirements and version, then I used "$make check" to ensure that I don't miss any requirements.
Here are my running environment and the version of tools which installed through apt-get.
OS: Ubuntu 18.04
Verilator 3.916 2017-11-25 rev verilator_3_914-65-g0478dbd
g++ (Ubuntu 8.4.0-1ubuntu1~18.04) 8.4.0
(1). $ make EN_VCD=1 all WAVEFORM_VCD=output_verilator/dumpfile.vcd
/usr/share/verilator/include/verilated.cpp:1725:6: error: no declaration matches ‘void VerilatedAssertOneThread::fatal_different()’
void VerilatedAssertOneThread::fatal_different() VL_MT_SAFE {
(2). $ make fpga FPGA_BOARD=artix_a35
Building output_temp/vector.o
riscv32-unknown-elf-gcc -march=rv32im -mabi=ilp32 -Wall -Wno-unused -ffreestanding -O0 -g --specs=nano.specs -Wall -Wno-main -save-temps=obj -DVERILATOR=0 -I../common/API/inc -I../common/base -c init/vector.S -o output_temp/vector.o
riscv32-unknown-elf-gcc: error: nano.specs: No such file or directory
The riscv32-unknown-elf-gcc is the riscv toolchain I installed from the link
How cloud I pass the both flow??
, Thank you.
The text was updated successfully, but these errors were encountered: