Forum Discussion
beiwang2003
New Contributor
6 years agoError in using emulator mode with SDK 20.1 for hello_world example
I have quartus 19.2 and FPGA SDK 20.1. When trying to compile the OpenCL code with emulator mode: aoc -march=emulator -o ./bin/hello_world.aocx ./device/hello_world.cl, I had the following error mes...
AnilErinch_A_Intel
Frequent Contributor
6 years agoHi ,
Please let us know whether the below options
1. Legacy emulator
export CL_CONTEXT_EMULATOR_DEVICE_INTELFPGA=1
./host -legacy-emulator
2. If you want to use the fast emulator
export CL_CONFIG_CPU_EMULATE_DEVICES=1
./host -emulator
Helped in resolving the issue
Thanks and Regards
Anil