--- Quote Start ---
So are these apex devices just sdram memory device where whatever data you store is gone after you power off. Are these devices reprogrammable?
--- Quote End ---
The FPGAs are volatile, they are programmed at power-on by a configuration device. The EPC2 device FvM mentioned is basically a non-volatile flash that is used to program the FPGA.
You can reprogram the FPGA using JTAG while the power is on, and when you cycle power, the
old configuration will reload from the EPC2.
You can change the FPGA configuration permanently by reprogramming the EPC2.
The APEX20K devices are old. I think you will need to use Quartus II 9.0SP2 to generate programming files.
Cheers,
Dave