Linux version of playxsvf ------------------------- playxsvf can be used to program Xilinx CPLDs under Linux. It takes an XSVF file as input, which can be generated from a .JED file using the Xilinx tools as follows: Start iMPACT (under Windows or Wine) Click Edit -> Preferences and verify that "Concurrent Mode (CPLD & EPROM)" is unchecked Click menu Mode -> File Mode Click tab SVF-STAPL Right click - Add Xilinx Device - open JED file Click menu Output -> SVF File -> Create SVF File Choose your SVF filename Click OK Right click device and hit menu Program... Check that Erase before programming and Verify are selected Click OK Click menu Output -> SVF File -> Close File Now convert the SVF file into an XSVF file using tools from ftp://ftp.xilinx.com/pub/swhelp/cpld/eisp_pc.zip svf2xsvf -d -r 0 -extensions -xwait -i 070803_NAND_ground.svf -o 070803_NAND_ground.xsvf If it complains about [drcapture] invalid stable state, check the iMPACT preferences as described above. Now you're ready to program. Connect the Xilinx DLC5 cable to LPT1 and do (as root) playxsvf [-v n] 070803_NAND_ground.xsvf The [-v n] option changes verbosity from 0 to 4. Caveats ------- playxsvf assumes you're using LPT1, doesn't attempt to use any other ports, and bashes the hardware directly. If you're programming a Balloon Board with the sound hardware populated, remember that the sound hardware must be powered up for programming to work. You can use balloon-audio-off (and other parallel port, or another PC) to do this. It is also possible, but not recommended due to the risk of damage to the CPLD, to ground pin 8 of U24, the MAX894 between the debug connector and the row of LEDs. Notes ----- This code is based heavily on the Xilinx XSVF player code available from ftp://ftp.xilinx.com/pub/swhelp/cpld/eisp_pc.zip and described in Xilinx application note XAPP058.