dSPACE offers a flexible solution for hardware-in-the-loop testing of electric motors, combining Scalexio architecture with a programmable FPGA board DS2655 and a scalable electronic load. Users can test electric motor control systems in a realistic environment, imitating motor and generator currents. The DS2655 FPGA base module is programmable to define high-fidelity, custom models. Modules can be mounted on the base board for I/O channels, and the FPGA device can be configured graphically. A scalable dSPACE electronic load module emulates motor and generator currents up to 100 A to mimic vehicle electrical systems up to 48 V. Electronic loads also can be used to provide higher current capability. Benefits include improved system efficiency, less heat generation, and reduced space requirements and noise.