Forum Discussion
Hi ,
Hope the issue is resolved after discussions with the team.
Thanks and Regards
Anil
Thank you, yes, my environment was successfully set up and I have been able to emulate and build hardware successfully.
Here's a summary of my notes on how to make it work at this time. This is how I'm able to build an OpenCL design that wraps System Verilog RTL which in turn wraps encrypted VHDL 2008 RTL (which requires a local modification to the BSP):
For the darby nodes using devcloud_login, the batch job.sh looks like this (note fully-qualified paths):
#!/bin/bash
source /data/intel_fpga/devcloudLoginToolSetup.sh
tools_setup -t S10DS
aoc -board-package=/home/u40073/intel_opencl_bsp_pac_s10_dc_local -board=pac_s10_dc -DNUM_COMPUTE_UNITS=1 -DNUM_LIMBS=4 -DNUM_INTS=8 /home/u40073/calculator_s10/mult_multi_limb_wide/device/mult_multi_limb_rtl.cl -o /home/u40073/calculator_s10/mult_multi_limb_wide/bin_monster_1_4_8/mult_multi_limb_hw.aocx -I /home/u40073/calculator_s10/mult_multi_limb_wide/rtl/lib -I /home/u40073/calculator_s10/mult_multi_limb_wide/device -L /home/u40073/calculator_s10/mult_multi_limb_wide/rtl -l mult_multi_int_lib_monster.aoclib
To then run that job in batch mode:
devcloud_login -b S10PAC job.sh # submit the job
qstat batch@v-qsvr-fpga # check for jobs
watch -n 1 qstat -n -1 batch@v-qsvr-fpga # watch the job
qdel 7321.v-qsvr-fpga # example of deleting a darby job
If you get a CL_DEVICE_NOT_FOUND error, you might be able to work around it by just loading the bitfile by hand:
aocl program acl0 <project>.aocx
Then just run the host code as normal.
Thanks again for all of your help.