The servo electromechanical module is the power control unit of today's industrial equipment, which affects the output performance of the overall equipment. Therefore, how to quickly develop servo electromechanical modules has become the main demand of the industry. By developing motor digital design software and motor hardware simulation modules to assist the development of servo electromechanical modules, the development process can be accelerated. In this article, the motor design software is used to generate a digital twin model by linking the finite element software to assist in the motor design. And the hardware simulation module is used to assist in the development of the motor driver. With the concept of Hardware in the Loop, by connecting the hardware simulation module and the driver, the function simulation test of the motor driver is realized, reducing the risk and the cost.Through the integration of motor digital design software and motor hardware simulation modules, assist servo electromechanical design, achieve the goal of virtual-real integration, and enhance the competitiveness of domestic servo electromechanical modules.