Effective emulation of permanent faults in ASICs through dynamically reconfigurable FPGAs