Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Having a clock issue

Im rather new to quartus and having trouble with one of my assignments.

I am designing a moore counter using 8 states and 3 jkff2 flip flops. Im almost certain that everything is wired up correctly but my simulation only shows the first state and almost seems that the circuit is not running the positive edge clock input.

Im not sure if i have to do anything to set up the clock or if simply creating an input with a controlled waveform is right but for some reason the clock won't shift into the second state.

Any suggestions or help would be greatly appreciated.

Thank you.

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Have you got a testbench? why not post the code and the specific problems, maybe showing a waveform that shows the problem. Otherwise, we can only guess.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi Eddywick

    Please post your sample piece of code about your state transitions so that we can find out why the state is stuck at first state itself
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I haven't had to code the assignment yet just using Block Diagram/Schematic File. Attached is the circuit

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The picture is too low resolution to reall read it properly. Please re-attach at a higher res.