FPGA-based EMT simulation