vhdl calendar

Discussion in 'VHDL' started by ase, Dec 13, 2008.

  1. ase

    ase

    Joined:
    Dec 12, 2008
    Messages:
    3
    Likes Received:
    0
    Right now i m facing some difficulties in my assignment. I would liketo know:

    1) How can I check,using a vhdl code,if the year given in BCD is a leap year?

    2)Can I create 2 7-segment digits in the same entity?
     
    ase, Dec 13, 2008
    #1
    1. Advertisements

  2. ase

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Likes Received:
    0
    Location:
    Denmark
    Well if you "only" should detect leap year from 1901 to 2099 will it be quite easy => if the two least significant bits = 0 will the year be a leap year.
    Jeppe
     
    jeppe, Dec 13, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. walala
    Replies:
    3
    Views:
    5,211
    walala
    Sep 18, 2003
  2. albert.neu@gmail.com
    Replies:
    2
    Views:
    9,768
    Jim Lewis
    Mar 21, 2006
  3. dude

    VHDL 2002 vs VHDL 1993

    dude, Mar 23, 2006, in forum: VHDL
    Replies:
    1
    Views:
    1,711
    Nicolas Matringe
    Mar 23, 2006
  4. Shevek
    Replies:
    3
    Views:
    6,487
    Shevek
    Jun 23, 2004
  5. pygmalion
    Replies:
    6
    Views:
    6,500
    Dave Higton
    Jun 23, 2006
  6. afd
    Replies:
    1
    Views:
    10,144
    Colin Paul Gloster
    Mar 23, 2007
  7. Shevek
    Replies:
    0
    Views:
    577
    Shevek
    Jun 23, 2004
  8. Parthiv Joshi
    Replies:
    1
    Views:
    1,114
    Samuel L Matzen
    Jul 6, 2004
Loading...