07-16-2018 03:01 PM
While running SDx 2018.2 from the command line. I am getting an Error : 'CRITICAL WARNING: [SDx-EM 08-0] Unable to find emconfig.json. Using default device "xilinx:pcie-hw-em:7v3:1.0" '
My emconfig.json file is in the same directory as the host application.
07-16-2018 06:41 PM
Did you run 'emconfigutil' command to create the emulation configuration file for the target platform?
Also ensure you set XCL_EMULATION_MODE to sw_emu or hw_emu to change the application execution to emulaiton mode.
07-18-2018 01:03 PM
I have set the XCL_EMULATION_MODE to sw_emu. The emconfig file is generated and is found from the .cpp program. However, I want to run this .cpp from a python shell using Boost. The code runs, but it is not able to find the emconfig.json file there. I searched online, but could not find a suitable answer to this question, as it should be seen from the python terminal if it is seen from g++, as both share the same PWD.
07-19-2018 03:30 PM
please check from the host code with c system calls what is the pwd and the file, and the env variable. it looks the sub-shell from python is not what you are expecting.