Community
cancel
Showing results for 
Search instead for 
Did you mean: 
rkaib
Beginner
258 Views

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?

 

0 Kudos
5 Replies
Leonardo_C_Intel
Moderator
48 Views

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
Moderator
48 Views

Hello rkaib

 

Have you been able to collect the information requested?

 

Regards,

Leonardo C.

Intel Customer Support Technician

Under Contract to Intel Corporation

rkaib
Beginner
48 Views

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
Moderator
48 Views

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

Fawaz_J_Intel
Employee
48 Views

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

Reply