This study introduces a numerical approach utilizing a Xilinx System Generator to develop a DC motor control system, showcasing a significant ability to regulate and enhance motor speed. We developed the proposed system in the MATLAB/SIMULINK environment, utilizing a collection of blocks generated by the Xilinx System Generator. We developed and simulated a proportional-integral (PI) controller and pulse width modulation (PWM). Subsequent to simulation, we can transfer the HDL code from the Xilinx System Generator block to a Field Programmable Gate Array (FPGA) board using Vivado. The system can produce accelerated PWM signals, thereby enhancing the control of the DC motor. Because of the FPGA board's superior processing capabilities, it was crucial to design and simulate the control system using Sysgen. We proposed the FPGA board to address this issue, facilitating the efficient and rapid execution of the control signals. This work represents a significant advancement in the enhancement of DC motor control systems. It shows how well Matlab/SIMULINK and Xilinx System Generator can work together to make PI and PWM controllers. These findings present compelling possibilities for future applications in power electronics and industrial automation.