for this assignment, I made a module motor dc circuit dirver (H-bridge eagle SCH AND BRD).in the image you can see the PCB circuit and the final circuit
I make a VHDL code on XILINX ISE, beacouse I want to implement a PWM signal for controling the speed of a DC motor , I can implement this on microcontrolers but FPGA is more easier and flexible for make this kind of signal
For calculate the correct Frecuency, I made some calculus in base of the motor's datasheet and FPGA clokc crystal(VHDL code )
I finally check the signal in the osciloscope, we can see dutycicle of 75% 50% and 25%