This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Difficulty in generating PWM pulse with conditions

I have generated SPWM wave in F28335 delfino using simulink. Duty cycle is varying continuously in that wave. But, now i want to generate wave as shown in figure.
(1)For half period, it is SPWM
(2)For another half period, it is constant at high or low level.
How to do this?