Text this: Stepped waveform generation for multilevel inverter topology applications