Forum Discussion
Altera_Forum
Honored Contributor
10 years agoYour 'counter' needs to count to 'timeM' + 'timeR'.
Then, in your 'commutation' process, you need to test for 'counter=timeM' - when you turn both FETs off - and for 'counter=(timeM+timeR)' - when you turn the next FET on. Cheers, Alex