Real time clock based on vhdl

Discussion in 'Programmer's Corner' started by rohit80810, Oct 3, 2012.

  1. rohit80810

    Thread Starter New Member

    Jul 31, 2012
    1
    0
    Hello i want to design a vhdl based real timr clock......how can i start plz help me
     
  2. bertus

    Administrator

    Apr 5, 2008
    15,647
    2,346
    Hello,

    I found this thread moderated (invisible to others).
    This sometimes happens with new members.
    I made it visible, so others can see it and reply.

    Bertus
     
  3. kubeek

    AAC Fanatic!

    Sep 20, 2005
    4,670
    804
    That depends on what exactly you want that clock to do. For example simple counting in seconds will be much easier than implementing date, leap years etc.

    In the simplest you just need to divide the 32768hz clock to get 1 pulse per second, and use that pulse to increment the counter. You will also need some way to set the counter value and also read it.
     
Loading...