I'm designing a FPGA controlled DC brushed motor with 28V, inrush current 30 Amps and Stall current 25 amps. I'm need to design a current controller. I don't know how can I control just the current with PWM. I have an option to use specialized IC DRV8701 instead, I want to control using FPGA Software.