I am trying to write a code that controls various DC-motors through a multi L298N H-bridge using FPGA (Verilog or VHDL). I have a PWM signal generated right now, but can't figure out how to write to the M1/M2/M3/M4 of the driver. I wanted to know how I would go about doing this, what my pin assignments would be etc. Any help is appreciated.
Link to the H-bridge: https://www.robotshop.com/ca/en/multimoto-4-channel-h-bridge-speed-controller-arduino.html
Sorry to further clarify, I needed to know how to send the PWM signal to the specific M1 motor interface to drive it