Why a Simple Button Press Can Crash Your FPGA System (and How to Fix It)