Preventing integrated circuit piracy using reconfigurable logic barriers