Xilinx Virtex, Spartan, CPLD and ISP PROM devices can be configured using a microprocessor connected to the boundary scan (JTAG) port. The input file format is the industry standard Serial Vector Format (SVF) from the JTAG Programmer tool. See
the application note and pre engineered C-code below for details.