Forum Discussion
Altera_Forum
Honored Contributor
18 years agoDE2 board VGA Dispaly
Hello All, I am trying to use the board's SRAM to store an image and dispaly it on the screen. I designed a project using QuartusII and was able to manage the VGA dispaly timing. I used a...
Altera_Forum
Honored Contributor
17 years agoBTW, I tried this and I got the picture little brighter....
VGA_R <= {2'b11, ROM_DATA}; VGA_B <= {2'b11, ROM_DATA}; VGA_G <= {2'b11, ROM_DATA}; Here is my Matlab file. I don't see anything wrong with ?!! %% read the image and show it name = 'anouv1'; img = imread(strcat(name,'.gif')); g = im2double(img); g = g/max(max(g)); rgb = cat(3,g,g,g); imshow(rgb); %% insert into 640 x 480 region out = ones(480,640); out(10+(1:460),90+(1:460)) = img; imshow(out); %% print pixels x = out'; x = uint8(x(: ) ); fid = fopen(strcat(name,'.txt'),'w'); fprintf(fid,'%X ',x); fclose(fid); Many Thanks