Solved

how to implement vga on spartan 3s400a

Posted on 2010-11-13
8
524 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
  • 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
 
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
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

932 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now