aoc device/vector_add.cl -o bin/vector_add.aocx -board=s10_gh2e2 -v aoc: Environment checks are completed successfully. aoc: Cached files in /var/tmp/aocl/ may be used to reduce compilation time You are now compiling the full flow!! aoc: Selected target board s10_gh2e2 aoc: Running OpenCL parser.... aoc: OpenCL parser completed successfully. aoc: Linking Object files.... aoc: Optimizing and doing static analysis of code... aoc: Linking with IP library ... Checking if memory usage is larger than 100% Compiler Warning: /opt/intelFPGA_pro/18.1/hld/board/de10_pro/tests/vector_add/device/vector_add.cl:23: declaring global arguments 'x' and 'y' with no 'restrict' may lead to low performance for kernel 'vector_add' aoc: First stage compilation completed successfully. Compiling for FPGA. This process may take a long time, please be patient. Error: Can't run the Timing Analyzer (quartus_sta) -- Fitter (quartus_fit) failed or was not run. Run the Fitter (quartus_fit) successfully before running the Timing Analyzer (create_timing_netlist). Error: Quartus Prime Timing Analyzer was unsuccessful. 1 error, 0 warnings Error: Quartus Fitter has failed! Breaking execution... Error (23035): Tcl error: Error (23031): Evaluation of Tcl script compile_script.tcl unsuccessful Error: Quartus Prime Compiler Database Interface was unsuccessful. 3 errors, 0 warnings Error: Compiler Error, not able to generate hardware and in quartus_sh_compile.log: ... Info: Running compile_script.tcl script Info: Checking for OpenCL SDK installation, environment should have INTELFPGAOCLSDKROOT defined Info: INTELFPGAOCLSDKROOT=/opt/intelFPGA_pro/18.1/hld Info: Revision name: top Info: Compiling top revision... Info: Successfully completed BAK flow Info: To reduce compile time on future compiles, you can generate a BAK cache by adding the arguments '--bsp-flow regenerate_cache' to aoc to skip BAK Info: Retry strategy set to "retry" Info: Initial preservation set to "final" Info: Performing a fit attempt Error: Quartus Fitter has failed! Breaking execution... Error (23035): Tcl error: while executing "qexec "quartus_sta top -c top"" invoked from within "if {$revision_name eq "top"} { post_message "Compiling top revision..." # Load OpenCL BSP utility functions source "$sdk_root/ip/board/bsp/ope..." (file "compile_script.tcl" line 40) Error (23031): Evaluation of Tcl script compile_script.tcl unsuccessful Error: Quartus Prime Compiler Database Interface was unsuccessful. 3 errors, 0 warnings Error: Peak virtual memory: 935 megabytes Error: Processing ended: Wed Apr 24 09:06:28 2019 Error: Elapsed time: 01:56:28 in quartus_sh_compile.log: Info: Command: quartus_cdb -t compile_script.tcl top Info: Quartus(args): top Info: Using INI file /opt/intelFPGA_pro/18.1/hld/board/de10_pro/tests/vector_add/bin/vector_add/quartus.ini Info: Running compile_script.tcl script Info: Checking for OpenCL SDK installation, environment should have INTELFPGAOCLSDKROOT defined Info: INTELFPGAOCLSDKROOT=/opt/intelFPGA_pro/18.1/hld Info: Revision name: top Info: Compiling top revision... Info: Successfully completed BAK flow Info: To reduce compile time on future compiles, you can generate a BAK cache by adding the arguments '--bsp-flow regenerate_cache' to aoc to skip BAK Info: Retry strategy set to "retry" Info: Initial preservation set to "final" Info: Performing a fit attempt Error: Quartus Fitter has failed! Breaking execution... Error (23035): Tcl error: while executing "qexec "quartus_sta top -c top"" invoked from within "if {$revision_name eq "top"} { post_message "Compiling top revision..." # Load OpenCL BSP utility functions source "$sdk_root/ip/board/bsp/ope..." (file "compile_script.tcl" line 40) Error (23031): Evaluation of Tcl script compile_script.tcl unsuccessful Error: Quartus Prime Compiler Database Interface was unsuccessful. 3 errors, 0 warnings Error: Peak virtual memory: 935 megabytes Error: Processing ended: Wed Apr 24 09:06:28 2019 Error: Elapsed time: 01:56:28 I've attached the compile_script.tcl script, looks to me that if $revision_name is "top" then no fitting is done. But when I manually try to fit (essentially executing the commands on the "else" branch), it fails as well: quartus_fit --read_settings_files=on --write_settings_files=off top -c top Info (11888): Total time spent on timing analysis during Routing is 13.32 seconds. Info (18822): Fitter post-routing fixup operations ending: elapsed time is 00:06:58 Info: Adding default timing constraints to JTAG signals. This will help to achieve basic functionality since no such constraints were provided by the user. Info (16557): Fitter post-fit operations ending: elapsed time is 00:19:07 Internal Error: Sub-system: QHD, File: /quartus/comp/qhd/qhd_database_model_utils.cpp, Line: 947 Routing preservation failure! Stack Trace: 0xaefcf: QHD_DATABASE_MODEL_UTILS::split_routing_into_models(QHD_PARTITION&, QDB_PATH const&, QHD_R E_NETWORK_SPLITTER*, QHD_ENUM_IMPL, CDB_CHIP_DB_ENTRY*, bool) + 0x1927 (comp_qhd) 0x97bd4: QHD_DATABASE_UTILS::IMPL::commit_partition(QHD_PARTITION&, QHD_RE_NETWORK_SPLITTER*, QHD_E NUM_IMPL) + 0x2bc (comp_qhd) 0x97f21: QHD_DATABASE_UTILS::IMPL::commit_partition_tree(QHD_PARTITION&, QHD_RE_NETWORK_SPLITTER*, QHD_ENUM_IMPL) + 0xab (comp_qhd) 0xa2cf2: QHD_DATABASE_UTILS::IMPL::commit_partition_tree(QHD_ENUM_IMPL) + 0x74c (comp_qhd) 0x7f44c: QHD_DATABASE_UTILS::commit_design(bool) + 0x42e (comp_qhd) 0x34881: FIT2_DATABASE_EXPERT_QDB::commit(bool, bool, bool) + 0x845 (comp_fit2) 0x252f9: fit2_commit_fitter_netlist + 0x2b1 (comp_fit2) 0x4c977: TclNRRunCallbacks + 0x47 (tcl8.6) 0x4e1ca: TclEvalEx + 0x96a (tcl8.6) 0x4e4d6: Tcl_EvalEx + 0x16 (tcl8.6) 0x4e4fd: Tcl_Eval + 0x1d (tcl8.6) 0x1d3dd: atcl_tcl_eval(Tcl_Interp*, std::string const&) + 0x150 (ccl_atcl) 0x3e740: fit2_commit_result(Tcl_Interp*, bool) + 0x62 (comp_fit2) 0x2a4eb: fit2_fit_finalize_commit + 0xf7 (comp_fit2) 0x4c977: TclNRRunCallbacks + 0x47 (tcl8.6) 0x14bc7: fit2_fit_finalize + 0x29a (comp_fit2) 0x4c977: TclNRRunCallbacks + 0x47 (tcl8.6) 0x4e1ca: TclEvalEx + 0x96a (tcl8.6) 0xf68c6: Tcl_FSEvalFileEx + 0x266 (tcl8.6) 0xf69ce: Tcl_EvalFile + 0x2e (tcl8.6) 0x12817: qexe_evaluate_tcl_script(std::string const&) + 0x398 (comp_qexe) 0x168bd: qexe_do_tcl(QEXE_FRAMEWORK*, std::string const&, std::string const&, std::list > const&, bool, bool) + 0x6c2 (comp_qexe) 0x1794c: qexe_run_tcl_option(QEXE_FRAMEWORK*, char const*, std::list >*, bool) + 0x5df (comp_qexe) 0x40ebb: qcu_run_tcl_option(QCU_FRAMEWORK*, char const*, std::list >*, bool) + 0xd95 (comp_qcu) 0x1b217: qexe_standard_main(QEXE_FRAMEWORK*, QEXE_OPTION_DEFINITION const**, int, char const**) + 0x4d3 (comp_qexe) 0x3f520: msg_main_thread(void*) + 0x10 (ccl_msg) 0x643c: thr_final_wrapper + 0xc (ccl_thr) 0x411e5: msg_thread_wrapper(void* (*)(void*), void*) + 0x62 (ccl_msg) 0x13259: mem_thread_wrapper(void* (*)(void*), void*) + 0x99 (ccl_mem) 0xaf52: err_thread_wrapper(void* (*)(void*), void*) + 0x27 (ccl_err) 0x647f: thr_thread_wrapper + 0x15 (ccl_thr) 0x41c11: msg_exe_main(int, char const**, int (*)(int, char const**)) + 0xb2 (ccl_msg) 0x223d5: __libc_start_main + 0xf5 (c)