Forum Discussion
PWM control problem
- 7 years ago
Where is your test code? That is where control of 'value' comes from. Or did Quartus create that for you? Is that why you can't find where to change it?
I recommend that you use ModelSim - a much more widely use simulation tool. Look at this guide:
https://www.youtube.com/watch?v=qZNL1C0TwY8
The example is similar to the code you're using. Get the test bench right and I think your code will do what you want.
Cheers,
Alex
Where is your test code? That is where control of 'value' comes from. Or did Quartus create that for you? Is that why you can't find where to change it?
I recommend that you use ModelSim - a much more widely use simulation tool. Look at this guide:
https://www.youtube.com/watch?v=qZNL1C0TwY8
The example is similar to the code you're using. Get the test bench right and I think your code will do what you want.
Cheers,
Alex
- JYang1017 years ago
New Contributor
I forgot to update my situation,In the end...silly me...I set the wrong simulation time,as I set the simulation time between 320ns,the result was perfect.
Thanks for the recommendation information,I'll definitely check it out.