Skip to content

VP FPGA Compile Error:aarch64_toplevel.cpp:(.text+0x1932): undefined reference to `SimpleCPU::set_pci_bar_handle(int)' #60

@Hassan313

Description

@Hassan313

I have tried sub steps of step 3 of the below link to install the VP on the FPGA on the AWS:

http://nvdla.org/vp_fpga.html

The version of the hardware is nv_small.

When I run the make command for installing the VP on the FPGA, I am getting the below error:

[centos@ip-172-31-64-62 vp]$ make
[ 4%] Built target tlm2c
[ 4%] No force-build step for 'qbox'
[ 5%] Performing build step for 'qbox'
[ 7%] Performing install step for 'qbox'
[ 7%] Completed 'qbox'
[ 11%] Built target qbox
[ 70%] Built target greenreg
[ 71%] Built target greenscript
[ 72%] Built target log
[ 75%] Built target simplecpu
[ 80%] Built target cosim_sc_wrapper
Scanning dependencies of target nvdla
[ 80%] Building CXX object models/nvdla.build/CMakeFiles/nvdla.dir/src/nvdla_top.cpp.o
Linking CXX shared library libnvdla.so
[ 84%] Built target nvdla
[ 88%] Built target fpga_sc_wrapper
Linking CXX executable aarch64_toplevel
CMakeFiles/aarch64_toplevel.dir/src/aarch64_toplevel.cpp.o: In function sc_main': aarch64_toplevel.cpp:(.text+0x1932): undefined reference to SimpleCPU::set_pci_bar_handle(int)'
collect2: error: ld returned 1 exit status
make[2]: *** [aarch64_toplevel] Error 1
make[1]: *** [CMakeFiles/aarch64_toplevel.dir/all] Error 2
make: *** [all] Error 2

Can anyone help me with this issue?

Thank you very much,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions