Forum Discussion

JYang101's avatar
JYang101
Icon for New Contributor rankNew Contributor
6 years ago
Solved

PWM control problem

Hello guys. I'm designing a circuit of sort,and the part of PWM is having issue,don't know why... So I'll briefly describe my PWM specs; a 4-bit Input named Value, Input clock 50MHz, a single bi...
  • a_x_h_75's avatar
    6 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