views:

65

answers:

2

Is there any way to import code from an already programmed FPGA board, in this case, it is a Spartan 3E board. That is to say, verilog code has already been uploaded to it, so I would like a way to receive the code back in the computer since I have lost the copy. I uploaded the code with Xilinx ISE, but am not sure if it is possible to go the other way around.

I really appreciate the inputs.

A: 

I somehow doubt you uploaded Verilog code. More likely you uploaded compiled code.

Your only option is to disassemble it, and learn assembly.

Or rewrite everything.

leppie
It's not assembly. It's more complex and these days the bitstream formats aren't documented.
Brian Carlton
+4  A: 

IF you mean the FPGA bitstream, Impact should be able to read it out. But if you want to get back to the source Verilog files... forget it, sorry!

(If it's a Xilinx board you can just download all the code it originally came with though :)

Martin Thompson
Do you mean the IDE?
Marty
Impact is the tool which loads the bitstream over JTAG into the FPGA. On Windows you can find it in Xilinx ISE Design Suite..ISE..Accessories..iMPACT off the start menu.
Martin Thompson