electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How can I build a FPGA Controller


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> How can I build a FPGA Controller
Author Message
teesengwah



Joined: 26 May 2008
Posts: 6


Post04 Oct 2009 13:58   

FPGA Controller


HI all,
1. How am I going to create a fpga controller to control another fpga board?
2. The fpga controller must be able to load the bit stream file from computer via Ethernet interface and save it in the memory. Next, the second fpga board will receive the bit file from fpga controller and run it.
How am I suppose to do it, any idea please?
Back to top
farhada



Joined: 01 Oct 2004
Posts: 337
Helped: 41
Location: Nice, France


Post05 Oct 2009 21:43   

FPGA Controller


Is this a school assignment?
Back to top
Sameh Yassin



Joined: 16 Sep 2009
Posts: 4
Location: Egypt


Post05 Oct 2009 21:59   

Re: FPGA Controller


to program an fpga there are more than one opertaion mode to configure the fpga. let's assume that your kit will be using master serial mode, in this mode the programming file (such as .bit file) should be stored on a non-volatile memeory (probaly a PROM), then after power-on the fpga starts communication by sending a clk to the memory, at each edge of the clock the memory sends abit to the fpga.

So all what you neeed to do for your assignment is to write data via ethernet port to the non-voltaile memory. Then insure that you are using the master seiral mode and after power up the fpga will load the configuration file from the memeory, i.e you don't need a controller, you'll just need to write the data from the PC to the memory.

Last but no least this assignment will lead you to the important topic "Boundary Scan" which enables you to test the available hardware before you start to program it.

Best wishes
Sameh Yassin
Back to top
teesengwah



Joined: 26 May 2008
Posts: 6


Post06 Oct 2009 15:58   

Re: FPGA Controller


First, thanks for the replies. Actually It is research topic. Got any idea or any useful links to send the data (bit files) from pc to fpga?
There are two fpga here, after getting the file and save it in non-volatile memory (1st fpga board), how am I going to use it so that it can run and evoke the other fpga board (2nd fpga board) with jtag or any interface. After that, I need to take the result from 2nd fpga board and show in pc. That why I need a controller (design in 1st fpga, then 2nd fpga is just a empty fpga).
Any links and comments are very appreciated.
Back to top
Aser



Joined: 01 Jul 2004
Posts: 73
Helped: 5


Post08 Oct 2009 11:46   

Re: FPGA Controller


The experience shows that
the FPGA board is connected to PC through the COM port very well.
The UART IP core is needed only. It may be free.
The only disadvantage is the speed.
Ethernet, USB are speedy, but they are much difficult and time consumable to install.
Only when you have the proper license to the interface IP core, and the company will support you to install that, the quick success is guaranteed.
Back to top
farhada



Joined: 01 Oct 2004
Posts: 337
Helped: 41
Location: Nice, France


Post10 Oct 2009 20:02   

Re: FPGA Controller


If you want to program and re-read the FPGA using a second FPGA, the only thing you need is to read the content of the Appication note XAPP058 from Xilinx:
http://www.xilinx.com/support/documentation/application_notes/xapp058.pdf

At the end of the appnote, you have a list of additional information you can use:

1. DS593, Platform Cable USB II
2. XAPP503, SVF and XSVF File Formats for Xilinx Devices.
3. XAPP104, A Quick JTAG ISP Checklist
4. http://www.zlib.net, zlib compression library
5. XAPP067, Using Serial Vector Format Files to Program XC9500/XL/XV Devices In-System
6. UG191, Virtex-5 FPGA Configuration User Guide
7. XAPP424, Embedded JTAG ACE Player

This should answer to all your questions, let me know if you still have questions,

Best regards,
/Farhad
Back to top
Google
AdSense
Google Adsense




Post10 Oct 2009 20:02   

Ads




Back to top
teesengwah



Joined: 26 May 2008
Posts: 6


Post11 Oct 2009 15:55   

Re: FPGA Controller


Thanks Farhada.
1. In Appication note XAPP058, why is meaning of embedded microcontroller, is it my first FPGA board (FPGA controller)? After I download the XSVF file into my 1st FPGA board, how my design file in first FPGA board load to second FPGA board, it will do it automatic or how?
2. How am I going to obtain the result (output) from second FPGA board? What I do in first FPGA board since the 2nd FPGA board is an empty board.
Any suggestion???
Back to top
farhada



Joined: 01 Oct 2004
Posts: 337
Helped: 41
Location: Nice, France


Post11 Oct 2009 16:19   

Re: FPGA Controller


Ok this is my last respond:
- You have 2 FPGA, one you want to use as programmer, one that needs to be programmed and verified, the first one can act as a 'microcontroller' the second one is the "fpga".
- One simple Google search with the terms, Xilinx, configuration, readback would have answered to all your questions.

To start with you can check out the Xilinx XAPP176 and go on from there:

Quote:
Configuration is the process of loading a design bit-stream into FPGA internal configuration memory. Readback is the process of reading that data out.

While the Spartan-II configuration logic is significantly different from that of the Spartan/XL family; nevertheless, it maintains a great deal of compatibility to all Xilinx FPGA products.


The same goes for the rest of FPGA families, every one of them are different.

Good luck,
/Farhad
Back to top
teesengwah



Joined: 26 May 2008
Posts: 6


Post11 Oct 2009 16:41   

Re: FPGA Controller


Thanks for your reply again. The application notes that provided by u are useful to me. It make me understand better.
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> How can I build a FPGA Controller
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
Can I build an FPGA kit? Need your suggestions plz (6)
CAN controller in XILINX FPGA (3)
Learn how to build SMS controller using 8051 in assembly!!! (1)
How can i build a OSD prototype ? (6)
How to design controller of elevator by FPGA ? (5)
How can I build Compact Flash card ? (5)
How can I build a trailer light converter? (4)
How to build CAN analyzer using LPC2129? (1)
How can I build a power monitor/logger? (1)
how can I build a paging (beeper) system? (5)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS