Solved

how to implement vga on spartan 3s400a

Posted on 2010-11-13
8
523 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:Zhongcai
Comment Utility
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
Comment Utility
Out of curiosity, how big was the ram? and how many gates did it take? ;-)
0
 

Author Comment

by:Zhongcai
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Can someone read a dump file from a blue screen? 7 81
8 partitions?!  Really? 8 98
Phone Dialer 5 35
Best RAM for a PC 4 19
Hello to users to the new age of computers. There are so many products to choose from nowadays that you maybe confused to understand which product is the correct product for you. Let me explain briefly what should be the idea product for your best n…
This is about my first experience with programming Arduino.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

772 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

12 Experts available now in Live!

Get 1:1 Help Now