Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

de2 gray image vga output

Altera_Forum
Honored Contributor II
1,531 Views

I've displayed a gray tiger in a lcd when I performed the lab of DE2 control panel, the lab includes a software ImgConv.exe that can convert a bitmap image into gray.dat and rgb.dat etc. 

Now I have 256*256 gray data like image[256][256]={133,135,134...;156,156,...}in sdram,but how can I let these data output to a lcd using vga controller ip core? 

I'm afraid I need to convert these gray data to rgb data by using a color map, which is adapt to the ADV7123 inputs?
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
541 Views

hey can you help me in my project of edge detection????

0 Kudos
Altera_Forum
Honored Contributor II
541 Views

can any one plzzz help about storing data in sdram...through verlog coding ??? as given in above post [256][256]={133,..... 

whats the complete procedure ??
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

In verilog, you'll either need to write your own SDRAM controller, or design a component with an Avalon Memory Mapped Master interface and connect it to the SDRAM through SOPC builder. 

It all depends on what else needs to access the SDRAM.
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

thankyou for ur reply... we have already included our sdram part through sopc builder... after all studying and searching we came out with different ways to store pixels in sdram and that were using a software/device that automatically perform this or to write a verilog code ... and through sopc builder but couldnt find any relevant help to do so... u mentioned this in ur reply "design a component with an Avalon Memory Mapped Master interface" could you please help me to start this or could refer any material that could help us doing it cause we havent got any relvant material till now..  

 

regards, 

anum
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

Have a look at the avalon specification (http://www.altera.com/literature/manual/mnl_avalon_spec.pdf?gsa_pos=1&wt.oss_r=1&wt.oss=avalon), chapters 3.7 to 3.10. 

If you never wrote SOPC components before, you can also have a look at the sopc builder documentation (http://www.altera.com/literature/lit-sop.jsp), especially chapter 10 (http://www.altera.com/literature/hb/qts/qts_qii54007.pdf).
0 Kudos
Altera_Forum
Honored Contributor II
541 Views

thankyou so much 4 ur help :)

0 Kudos
Altera_Forum
Honored Contributor II
541 Views

hii 

i was a little busy thats why couldnt post earlier... have read the files you send... the descripton in it was very generalized...i understood the instructions they have explained and the transfer procedure... but just wanted to know that i have converted an image into raw format and how can i send those piixels (11 ,00 ,23..... ) using sopc because as far as i have used it havent used any instructions like read or read_N in it... just added components ... so can u help me by explaining the steps to do it??? PLZ
0 Kudos
Reply