Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

I have a FPGA device whereby we have a programming file, but have lost the source code. Is it possible to reconstruct the code using the programming file. Device is EPM7256SRI208-10.

JSmit174
Beginner
1,377 Views
 
0 Kudos
2 Replies
AnandRaj_S_Intel
Employee
994 Views

Hi @JSmit174​ ,

 

No, It's not possible to reconstruct the code using the programming file. We can only reconstruct the code using source code Or create it from start.

 

Regards

Anand

0 Kudos
ak6dn
Valued Contributor III
994 Views

Technically it is theoretically possible, given the programming file for a device, reconstruct a functionally equivalent verilog (or vhdl) implementation. It would like like the gate level simulation code that Alteral used to be able to generate for back annotated device simulation.

 

However the big IF is that you need to know what all the bits in the programming file do; ie how they map to device resources. Altera has (never?) provided this to my knowledge which means from a practical perspective it can't be done.

 

I suppose if you were a large enough / valued enough customer to Altera / Intel you could request the detailed file format under an NDA. But you would likely have to be one of the few very large important customers. Sounds to me like you are not in this category, or you would not be asking the question here on this forum.

Reply