can anyone help me in programming for 30Khz square pulse for 50% duty cycle ...

i m working on high frequency 3ph inverter
i want 6 gate pulse of square wave having 50% duty cycle and each of the 6 gates must be 60 degree phase shifted … with frequency 30KHz…pls help me up with programming