- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hai guys..
here is my issue, I am working with DE2-D5M interface code given by the company to do image processing. 1) I tap the data which is fed to vga interface to a module which can convert it into gray scale(code given below) and then connected the gray scale value into the RGB ports(same gray value to all the RGB input ports), but it shows a blank display. and I did the same with another code for RGB2Gray.v given by the company but got the same result(a blank display). Please help me sort out this issue. After which I want to design 9 shift registers of 640 deep and 10 bit wide. I have to store and process the values(image data(DE2-D5M interface obtained from terasic) coming from sdram. The convolution matrix is 9*9 so I need at least 9 row*column ready to process in a clock.... Let me know if it can be done in DE2? gray <=(R>>2)+(R>>5)+(G>>1)+(G>>4)+(B>>4)+(B>>5); here is the interface done in the top module DE2_D5M.v //rgb2gray u9(.R(Read_DATA2[9:0]), // .G({Read_DATA1[14:10],Read_DATA2[14:10]}), // .B(Read_DATA1[9:0]), // .clk(VGA_CTRL_CLK), // .gray(gray), // ); RGB2Gray u9 ( .clk(VGA_CTRL_CLK), .rst_n(DLY_RST_2), .i_r(Read_DATA2[9:0]), .i_g({Read_DATA1[14:10],Read_DATA2[14:10]}), . i_b(Read_DATA1[9:0]), .o_r(gray1), .o_g(gray2), .o_b(gray3);Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page