What's wrong with a high-level of abstraction? Just write code that does what the high-level abstraction says - it's a fairly simply operator!
How's this: entity sobel is port ( top_left_pixel : in integer; top_middle_pixel : in integer; top_right_pixel : in integer; middle_left_pixel : in integer; middle_right_pixel : in integer; bottom_left_pixel : in integer; bottom_middle_pixel : in integer; bottom_right_pixel : in integer; sobelx : out integer; sobely : out integer );
The greatest challenge probably isn't the Sobel computer itself but the memory management. If the image/video frame is too large to fit in the FPGA, you'll have to have an external memory controller and line buffers, etc. -Kevin
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.