?
Solved

how to implement vga on spartan 3s400a

Posted on 2010-11-13
8
Medium Priority
?
530 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 Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

 
LVL 12

Accepted Solution

by:
HappyCactus earned 2000 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

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

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

Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This is about my first experience with programming Arduino.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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