Forum Discussion

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

chess clock coding using quartus II

i'm a newbie..can u plz guide me to write a code on normal digital chess clock?

14 Replies

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

    i have a book on digital fundamentals n digital logic already...but what i can do only a simple projects, such as vending machine, 7segment.

    but when it comes to this, i do not know how to do the state diagram...

    pls help me..
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    OK, so you need first of all a good book of Digital Electronics Design just to understand how a design idea can be translated into a FSM (which can be described conveniently by a state diagram). After that you will need to have a tutorial of Quartus II environment (directly available after installing Quartus II) and then you need to learn HDL programming.

    So you can understand that the process is a bit long and not simply solvable through some forum clues.

    If you need, I can suggest you some good books for Digital Electronics and for VHDL/Verilog programming

    Cheers

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

    thanks for helping...

    i think i need more..because i'm totally blur...i dont know where to start, the state diagram, state table...very blur....
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The chess clock is a simple finite state machine (FSM) which you can firstly design as a state diagram just figuring out the various states in which the machine will work in dependance of the external inputs and of the current states.

    After having completed the FSM schematization you will have to translate everything into HDL code (maybe Verilog or VHDL) and put it into a new Quartus II project.

    Do you need specific help for the chess clock project or also a comprehensive tutorial on Quartus II environment and FSM design?