vhdl codes for edge detection

Discussion in 'VHDL' started by rajesh yadav, Feb 26, 2011.

  1. rajesh yadav

    rajesh yadav

    Joined:
    Feb 26, 2011
    Messages:
    1
    Likes Received:
    0
    hi friends,
    i m working on a project "edge detection using vhdl" .by using c and mat lab it is implimented but i want to make it on vhdl .so please send me vhdl codes .
     
    rajesh yadav, Feb 26, 2011
    #1
    1. Advertisements

  2. rajesh yadav

    jeppe

    Joined:
    Mar 10, 2008
    Messages:
    348
    Likes Received:
    0
    Location:
    Denmark
    The Rising_edge function will do the trick

    Code (Text):

    Process (Clk)
    begin
         if Rising_edge( Clk) then
               Q <= D;                        -- single Flip/Flop
               Counter <= Counter+1;   -- Count number of edges
         end if;
    end process;
     
     
    jeppe, Sep 15, 2011
    #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. Raghavendra

    Edge Detection circuit.

    Raghavendra, Oct 8, 2004, in forum: VHDL
    Replies:
    17
    Views:
    33,596
    digitalpbk
    Jun 30, 2009
  2. M.Randelzhofer

    edge detection using subprograms

    M.Randelzhofer, Feb 5, 2005, in forum: VHDL
    Replies:
    6
    Views:
    5,144
    Jim Lewis
    Feb 9, 2005
  3. apurva

    false edge detection

    apurva, Aug 18, 2006, in forum: VHDL
    Replies:
    1
    Views:
    799
    Jerry Avins
    Aug 18, 2006
  4. gj_williams2000@yahoo.co.uk

    Virtual Key Codes, Scan Codes and ASCII Codes in C

    gj_williams2000@yahoo.co.uk, Aug 19, 2005, in forum: C Programming
    Replies:
    2
    Views:
    3,542
    Malcolm
    Aug 20, 2005
  5. Ferdi Smit
    Replies:
    0
    Views:
    1,013
    Ferdi Smit
    Oct 10, 2005
  6. dashdingo

    3x3 sobel edge detection

    dashdingo, Jun 12, 2007, in forum: VHDL
    Replies:
    3
    Views:
    6,650
    minhhn0205
    Sep 26, 2009
  7. denish
    Replies:
    5
    Views:
    6,780
  8. vgs
    Replies:
    0
    Views:
    1,344
Loading...