- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello, can anybody tell me how to send pixels to vga monitor. my code is:
alt_up_video_dma_dev* video;
for (i=0;i<rows,i++)
{
for (j=0;j<cols,j++)
{
color=(((img_R[i][j] >>8 ) & 0x0000F800)+ ((img_G[i][j] >>5 ) & 0x000007E0)(((img_B[i][j] >>3 ) & 0x0000001F));
alt_up_video_dma_draw(video,i,j,0);
}
}
the quality of the image displayed on the monitor is very bad, any clue?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just successfully upload my SystemVerilog code for VGA on my DE2-115 today.
I modify the code in this website. https://www.itread01.com/content/1549104121.html
Hope it helps.
Cheers,
Kevin
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