Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > VHDL > vhdl codes for edge detection

Thread Tools

vhdl codes for edge detection

rajesh yadav rajesh yadav is offline
Junior Member
Join Date: Feb 2011
Posts: 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 .
Reply With Quote
jeppe jeppe is offline
Senior Member
Join Date: Mar 2008
Location: Denmark
Posts: 348
The Rising_edge function will do the trick

Process (Clk)
     if Rising_edge( Clk) then
           Q <= D;                        -- single Flip/Flop
           Counter <= Counter+1;   -- Count number of edges
     end if;
end process;
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vhdl codes for edge detection vgs VHDL 0 09-15-2011 01:49 PM
Lenovo ThinkPad EDGE 13: Bleeding Edge Ian Front Page News 0 02-28-2011 10:18 AM
using both rising edge and falling edge of signal denish VHDL 5 11-17-2008 07:12 PM
Boost.graph - changing edge end-points or copying an edge Ferdi Smit C++ 0 10-10-2005 04:30 PM
Virtual Key Codes, Scan Codes and ASCII Codes in C C Programming 2 08-20-2005 11:04 AM