Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17244 Discussions

"VGA display" problem on DE2 board - Only 1 color on screen :(

Altera_Forum
Honored Contributor II
1,615 Views

Hi everyone, 

My project is to display an image 640x480 (from SDRAM) on a monitor. I write the hardware by my own in Verilog. 

 

The structure of my design : SDRAM <-- DMA-50MHz ( Master read + slave control ) <---->50Mhz- asynchronous FIFO - 25Mhz <---> 16_to_30_converter (25Mhz). 

Beside that. there are also modules that create Hsync, Vsync, HBlank, etc... 

 

Everythings is ok except for one thing :  

- when i try to display the image, the monitor display only 1 color (maybe blue or red, just one color only).  

- Then I try to catch the output signal ( pixel color R,G,B and Hsyn,Vsyn,etc..) on SIGNAL TAP. everythings is ok. The VGA exports exactly the data saved in the SDRAM. I also have clock 25MHz for the output.  

 

Can somebody help to solve this problem and explain why ? 

Thanks very much :)
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
782 Views

plz, I need some help :(

0 Kudos
Altera_Forum
Honored Contributor II
782 Views

 

--- Quote Start ---  

plz, I need some help :( 

--- Quote End ---  

 

 

I think the idea is to use RGB as basic colors, use 24 bit register for RGB i.e. 8 bit for each R, G& B. Even i am having problem with the code to get all colors.:cry:
0 Kudos
Altera_Forum
Honored Contributor II
782 Views

Perhaps a dumb question but are your outputs mapped to the correct pins?

0 Kudos
Altera_Forum
Honored Contributor II
782 Views

Hi bao09, 

I'm doing the same project with you, but mine is to transfer image from SD card to SDRAM first, then display on VGA. Now, I read successfully from SD Card, but the SDRAM and VGA are stuck. Could you tell me about the timing, initialization of VGA and how VGA get the data from SDRAM, please ?  

 

By the way, are you using Nios-II or STORM SoC ? 

Thanks very much.
0 Kudos
Reply