What does it mean when led9(FPGA_INITB) is on in cw305?

I modified the aes example that comes with the cw305, but when uploading the bitstream file to the chip led9 lights up and LED4 (FPGA) does not go off.

Both then stay on, so I’m sure the upload failed. Can anyone tell me what this means, I don’t know what’s wrong with my code.

Most likely you have tried to program a bitstream that is targeting a different FPGA. Check that you are targeting the correct device in Vivado (either xc7a35tftg256-2 or xc7a100tftg256-2, according to what you have on your CW305 board).