Extract Lattice CPLD Source Code from embedded memory needs to reset the status of CPLD chip from locked to open one by CPLD chip unlocking technique, the content inside the CPLD memory can be readout directly with universal programmer;
A slightly different approach is required for reverse engineering CPLDs and FPGAs. Even if the security protection is defeated and the attacker manages to extract the configuration bitstream file from the device, he will have to spend a substantial amount of time and effort to convert it into the logic equations and primitive blocks for further simulation and analysis. Meantime, there are some companies on the market, for example Bottom Line Technologies [111], which provide bitstream reverse engineering for CPLDs and FPGAs.