Device Family: Intel® Arria® 10, Arria® V, Intel® Stratix® 10, Stratix® V

Intel Software: Intel FPGA SDK for OpenCL

Type: Answers

Area: Embedded, OpenCL



Error: "cannot find board_env.xml in ..."

Description

When using Intel® FPGA OpenCL™ SDK 18.1, customer may get error information as "cannot find board_env.xml" during kernel compilation flow when a relative path is used to specify the  -board-package parameter.

For example:  aoc -no-auto-migrate boardtest.cl -o boardtest_a10soc_noautomigrate/boardtest.aocx -board-package=./board/a10soc

Workaround/Fix

To work around this problem use an absolute path for the the board-package.

aoc -no-auto-migrate boardtest.cl -o boardtest_a10soc_noautomigrate/boardtest.aocx -board-package=/<quartus installation>/hld/board/a10soc