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
    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. Advertising

  2. rajesh yadav

    jeppe

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

    Code:
    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. 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. Raghavendra

    Edge Detection circuit.

    Raghavendra, Oct 8, 2004, in forum: VHDL
    Replies:
    17
    Views:
    32,702
    digitalpbk
    Jun 30, 2009
  2. 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:
    2,939
    Malcolm
    Aug 20, 2005
  3. Ferdi Smit
    Replies:
    0
    Views:
    793
    Ferdi Smit
    Oct 10, 2005
  4. denish
    Replies:
    5
    Views:
    5,771
  5. vgs
    Replies:
    0
    Views:
    1,296
Loading...

Share This Page