I'm learning the tools (Vivado and SDK) and so I'm doing just a small project consisting of one for cycle.
The synthesis, implementation and bitstream generation all pass in Vivado, but when I try to program the FPGA in SDK an error occurs:
Program FPGA failed
Reason:
Failed to download the bit file
Failed to configure device 2 (xc7z020) with bitstream /home/.../workspace_SDK/Simple_for_wrapper_hw_platform_0/Simple_for_wrapper.bit
Reason: Programming failed
I saw a couple of posts with the same problem and so I tried a suggestion that was to try and program the FPGA in the Vivado. The result:
ERROR: [Labtools 27-2270] Target localhost/xilinx_tcf/Digilent/210248495746 is no longer available.
Check cable connectivity and that the target board is powered up then
use the disconnect_hw_server and connect_hw_server to re-register this hardware target.
Every other example project runs fine and I can program the FPGA in both SDK and Vivado.
Do I have a problem in my bitstream file?And if so why didn't Vivado say so?