Solved

how to implement vga on spartan 3s400a

Posted on 2010-11-13
8
527 Views
Last Modified: 2012-05-10
I want to implement a vga port with (rgb, hsync, vsync) with my spartan 3s400a evaluation board. how should I do it in terms of hardware and software. This vga port should be connected to a simulated 8051 within the FPGA.
0
Comment
Question by:Zhongcai
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 

Author Comment

by:Zhongcai
ID: 34130785
http://www.youtube.com/watch?v=tqBh5oEiWFM

it has been done already. i just need some help on how to implement this.
0
 
LVL 12

Expert Comment

by:HappyCactus
ID: 34134816
Do you already have a fast dac?
If so, you just need a core, and opencores does have a vga/LCD controller[1] and a vga frame buffer[2].


[1] http://opencores.org/project,vga_lcd
[2] http://opencores.org/project,vgafb

0
 

Author Comment

by:Zhongcai
ID: 34135417
hey cactus,

I don't need a DAC. i'm doing the R/2R method cause i only intend to use 3 bits for colours. can I have the code for vhdl instead of verilog. and how can i implement a video ram?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 12

Accepted Solution

by:
HappyCactus earned 500 total points
ID: 34136106
You must search opencores for a vhdl core. But maybe you can use it as well, if you development environment does provide a verilog compiler.
the video ram must be implemented with an external ram, because I doubt you have enough cells to build it inside your fpga.
0
 

Author Comment

by:Zhongcai
ID: 34163215
thanks happyCactus. I learnt that the external ram is needed the hard way. tried to compile a full vga ram overnight. the compilation did not stop after 12hours of running on an i5 core.
0
 
LVL 12

Expert Comment

by:HappyCactus
ID: 34163238
Out of curiosity, how big was the ram? and how many gates did it take? ;-)
0
 

Author Comment

by:Zhongcai
ID: 34187366
I tried several times.

1. 480x640 array of 3 =>failed
2. 240x320 array of 3 => failed

the synthesis didn't even complete. It just keep on runing
0
 

Author Comment

by:Zhongcai
ID: 34187469
but i managed to implement within the spartan 3 a 8051 chip and a vga driver. made a pong game instead. and used 4 small arrays to control the 2 sticks and the ball inside the vga driver. problem solved in the end.
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question