Solved

how to implement vga on spartan 3s400a

Posted on 2010-11-13
8
525 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Battery Error Message 7 68
Computer hardware speed units 9 60
Seatools For Dos (Just shows FreeDos) 21 37
Listening device 21 39
Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
This paper addresses the security of Sennheiser DECT Contact Center and Office (CC&O) headsets. It describes the DECT security chain comprised of “Pairing”, “Per Call Authentication” and “Encryption”, which are all part of the standard DECT protocol.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

820 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