Exact synatx required...!

Discussion in 'VHDL' started by shakeelsultan, Feb 18, 2007.

  1. shakeelsultan

    shakeelsultan

    Joined:
    Oct 4, 2006
    Messages:
    4
    I want 2 check an input for a specific time n then if the input is there for that specific time i want to perform a certain operations(i.e. suppose i wanna check that if input is 1 for 30us then store the input in a buffer), now what would be the syntax in order to perform this sort of check @ the input...

    Also how'd i write the syntax if i want to chk two conditions simultaneously
    (for example we can write in c language as if(input>1 && input <3)) how'd we write this sort of condition in vhdl...
    Last edited: Feb 19, 2007
    shakeelsultan, Feb 18, 2007
    #1
    1. Advertising

  2. shakeelsultan

    rgurrola

    Joined:
    Nov 19, 2006
    Messages:
    4
    you should be able to count the number of clk periods that occure in the time you are looking for, like N clks every x seconds. As for your if question if you look at some examples online you will find your answer.

    rg
    rgurrola, Feb 20, 2007
    #2
    1. Advertising

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. J
    Replies:
    1
    Views:
    290
    Kevin Spencer
    Aug 20, 2003
  2. wweric
    Replies:
    1
    Views:
    337
  3. Just D.
    Replies:
    0
    Views:
    446
    Just D.
    Mar 10, 2006
  4. Mark S.

    ifstream::getline() synatx

    Mark S., Apr 17, 2009, in forum: C++
    Replies:
    18
    Views:
    3,039
    Mark S.
    Apr 23, 2009
  5. army1987
    Replies:
    36
    Views:
    736
    David Thompson
    Mar 11, 2013
Loading...

Share This Page