Forum Discussion
pixel buffer vga in de2-115
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?
5 Replies
- Leonardo_C_Intel
New Contributor
Hello rkaib
Thank you for posting in the Intel Community.
· What is the brand and model of your system?
· Do you have all the updates provided by the Original Equipment Manufacturer (OEM) installed on the system?
· What operating system do you have installed?
Hope this helps.
Regards,
Leonardo C.
Intel Customer Support Technician
Under Contract to Intel Corporation
- Leonardo_C_Intel
New Contributor
Hello rkaib
Have you been able to collect the information requested?
Regards,
Leonardo C.
Intel Customer Support Technician
Under Contract to Intel Corporation
- rkaib
Occasional Contributor
hello leonardo,
I am almost done, my issue now is just how to read a custom IP core output data in eclipse (I have created an IPcore, included it in my design in quartus platform designer , added it in the verilog code with its connections)
my problem now is how to detect it while in eclipse (I have looked into system.h file but it does not appear and I do not know how to retrieve its data in my c code). I am using DE2-115 board with quartus 18.1
I hope I have been clear
thanks.
- Leonardo_C_Intel
New Contributor
Hello rkaib
Thank you for the details about your set up and question, I am going to move your thread to the correct area of support.
Regards,
Leonardo C.
Intel Customer Support Technician
Under Contract to Intel Corporation
- FawazJ_Altera
Frequent Contributor
Hello,
You can refer to the demo design supported by TERASIC that shows how to deal with VPGA
https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=163&No=502&PartNo=4
Download the system CD and look for Demonstrations, VGA and mouse design.
Thanks