Forum Discussion
Altera_Forum
Honored Contributor
10 years agosine wave using Different duty cycles of PWM
Hi i am having problem in generating different duty cycles of PWM. can somebody check my code and tell what is wrong. well code is generating a duty cycle but it does not change it automatically as t...
Altera_Forum
Honored Contributor
10 years agothanks it's works, but i haven't understand why it is not picking up with counter[0:7], i think there is a relationship between the counter and the period. as i go from [15:8] to [14:7] and so on the period is increasing. is it so. does the range depends on MSB(most significant bit) to LSB(least significant bit). is there any relationship between these???
yes thanks for the guide