Forum Discussion

JSmit174's avatar
JSmit174
Icon for New Contributor rankNew Contributor
6 years ago

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.

2 Replies

  • ak6dn's avatar
    ak6dn
    Icon for Regular Contributor rankRegular Contributor

    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.

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    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