The original blog is in Turkish and in www.dincay.blogspot.com. This is the English translation of it.

27 Eylül 2010 Pazartesi

Clock


I made a simple clock application in DE0. It shows hours, minutes and seconds. I use counters for each. They are operating with 50MHz clock. I use a 1 Hz pulse generator. It creates a single pulse every 1 second. Binary counter output is converted to BCD by sing add-to-6 method. I used a readily available code from internet. Displaying BCD data in 7 segment displays is a simple work. In DE0, all of the pins of 4 digit 7 segment leds are connected to the separate pins of the fpga i.e 4x7=28 pins are used for 7 segment leds, so there is no need to do time multiplexing.
Some pictures:

This video shows the operation of the clock. It also serves as a user-guide.

Program codes can be downloaded from here.

4 yorum:

  1. Hey buddy the link is out, do you have the juicy code to share, I'm planning to spend a little money to buy a DE0, Actually I'm using a Development Kit DSP of Altera but is not mine.

    that's my email: galavizlex@gmail.com


    Regards,

    YanıtlaSil
  2. Hi, The link for the program codes is not working. Would you please share the codes to me as well. my email sujwal10@gmail.com.
    Thank you.

    YanıtlaSil
  3. the link is not work, could you email to me? dhenlfmn@gmail.com
    thx :))

    YanıtlaSil
  4. Hi, The link for the program codes is not working. Would you please share the codes to me as well. my email michel.rmz08@gmail.com

    YanıtlaSil