intel / FPGA-Devcloud

Get started using Intel® FPGA tools on the Devcloud with tutorials, workshops, advanced courses, and sample projects built specifically for students, researchers, and developers. Visit our official Intel® FPGA Devcloud website:
https://intel.ly/2NiBqcb
115 stars 61 forks source link

it won't work - any ideas? #40

Open AndreV84 opened 2 years ago

AndreV84 commented 2 years ago
########################################################################

u155004@s005-n003:~$ tools_setup
tools_setup: command not found
u155004@s005-n003:~$ ls
tmp
u155004@s005-n003:~$ tools_setup
tools_setup: command not found
u155004@s005-n003:~$ mkdir A10_OPENCL_AFU
u155004@s005-n003:~$ cp -r /opt/intelFPGA_pro/quartus_19.2.0b57/hld/examples_aoc/hello_world A10_OPENCL_AFU
 /opt/intelFPGA_pro/quartus_19.2.0b57/hld/examples_aoc/common A10_OPENCL_AFU
cd A10_OPENCL_AFUu155004@s005-n003:~$ cp -r /opt/intelFPGA_pro/quartus_19.2.0b57/common A10_OPENCL_AFU
u155004@s005-n003:~$ cd A10_OPENCL_AFU
u155004@s005-n003:~/A10_OPENCL_AFU$ aocl diagnose
aocl: command not found
AndreV84 commented 2 years ago

then after sourcing the file manually it moves on but then following the tutorial the next failing step is

aoc device/hello_world.cl -o bin/hello_world_fpga.aocx -board=pac_a10
aoc: Running OpenCL parser....
aoc: OpenCL parser completed 
aoc: Linking Object files....
aoc: Optimizing and doing static analysis of code...
aoc: First stage compilation completed successfully.
aoc: Compiling for FPGA. This process may take several hours to complete.  Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets.  If the reports indicate performance targets are not being met, code edits may be required.  Please refer to the Intel FPGA SDK for OpenCL Best Practices Guide for information on performance tuning applications for FPGAs.
Error (23035): Tcl error: 
Error (23031): Evaluation of Tcl script build/entry.tcl unsuccessful
Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
Error: Compiler Error, not able to generate hardware