Text this: FPGA based control circuit for single phase inverter