Processor-in-the-loop and hardware-in-the-loop simulation of electric systems based in FPGA | IEEE Conference Publication | IEEE Xplore