The primary CPLD image is: sgpio_if/default.xsvf
This is a binary file built from HDL source in sgpio_if. You do not need
Xilinx tools unless you want to make your own modifications.
CPLD images are automatically included in HackRF firmware. You do not normally
need to update the bitstream stored in the CPLD's flash memory as it is
superseded by the image loaded into SRAM by the firmware.
If you want to update the bitstream in CPLD flash for some reason, first update
the firmware, libhackrf, and hackrf-tools.
Then:
$ hackrf_cpldjtag -x sgpio_if/default.xsvf
After a few seconds, three LEDs should start blinking. This indicates that the
CPLD has been programmed successfully. Reset the HackRF device by pressing the
RESET button or by unplugging it and plugging it back in.