Forum Discussion
Local OneAPI FPGA synthesis
Hi ,
Can you share the make file / commands which you are using for building and details about FPGA device you are targeting the code to be run.
Thanks and Regards
Anil
Hello , I am trying to compile project provided by OneApi example projects, specialy said FPGA_tutorial_Compile_Flow.
I created example project in Eclipse on Virtual Ubuntu machine. But Eclipse Build Target for fpga was not doing anything so i built fpga_emu target. In build folder there was makefile which contained target for fpga and i used command "make fpga" to build for FPGA. and then the error mentioned in first message appears.
Is it possible that thiscrash could be cused by lack of memory?
- Penteado__Mauricio6 years ago
New Contributor
Hi folks,
I have the exactly same problem on my side:
Error: Internal Compiler Error. BSP specified project name dcp, but dcp.qpf does not exist.I am trying to run the Intel's Simple_Add example on OneApi 2021.1-beta07.
My card is a DE10-Standard with Cyclone V. I am using the BSP provided by terasic.
Please, let me know if anyone can help me.
Regards,
Mauricio G Penteado.
- antarde_intel6 years ago
New Contributor
Hi ,
For running "make fpga" you need to install the FPGA add-on. If you dont have it installed, please follow the steps below.
If you go to the bottom of the download screen for the Base toolkit, the FPGA addon can be downloaded if you expand the bottom box (in red). You might need to redownload/install the Base as well, if you are using an older Beta version and we’re on Beta08 right now
From https://dynamicinstaller.intel.com/oneapi/toolkits/base-kit/linux/:
- Penteado__Mauricio6 years ago
New Contributor
eclipse-workspace/Simple_Add# make hw -f Makefile.fpga dpcpp -O2 -g -std=c++17 -v -fintelfpga a_buffers.o -o simple-add-buffers.fpga -Xshardware -Xsboard=de10_standard_sharedonly Intel(R) oneAPI DPC++ Compiler 2021.1-beta06 (2020.4.0.0415) Target: x86_64-unknown-linux-gnu Thread model: posix InstalledDir: /opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9 Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9 Candidate multilib: .;@m64 Selected multilib: .;@m64 "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/clang-offload-bundler" -type=o -targets=host-x86_64-unknown-linux-gnu,sycl-spir64_fpga-unknown-unknown-sycldevice -inputs=a_buffers.o -outputs=/tmp/a_buffers-e1b85e.o,/tmp/a_buffers-b5f230.o -unbundle "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/llvm-link" /tmp/a_buffers-b5f230.o -o /tmp/a_buffers-239549.bc --suppress-warnings "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/sycl-post-link" -ir-output-only -spec-const=default -o /tmp/a_buffers-57ac22.bc /tmp/a_buffers-239549.bc "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/llvm-spirv" -o /tmp/a_buffers-cdd4ec.spv -spirv-max-version=1.1 -spirv-ext=+all /tmp/a_buffers-57ac22.bc "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/bin/clang-offload-bundler" -type=o -targets=sycl-fpga_dep -inputs=a_buffers.o -outputs=/tmp/a_buffers-6ce143.d -unbundle "/opt/intel/inteloneapi/compiler/2021.1-beta06/linux/lib/oclfpga/bin/aoc" -o /tmp/a_buffers-0f8f1c.aocx /tmp/a_buffers-cdd4ec.spv -sycl -dep-files=/tmp/a_buffers-6ce143.d -output-report-folder=simple-add-buffers.prj -hardware -board=de10_standard_sharedonly aoc: Use Quartus Prime Standard Edition for non-A10/S10/C10GX devices. Current Quartus Version is: Quartus Prime Shell Version 19.4.0 Build 64 12/04/2019 SC Pro Edition Copyright (C) 2019 Intel Corporation. All rights reserved. clang++: error: fpga compiler command failed with exit code 1 (use -v to see invocation) make: *** [Makefile.fpga:33: simple-add-buffers.fpga] Error 1Ok. So now, how can I use Quartus Standard Edition ?