UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor pkhot
Visitor
8,316 Views
Registered: ‎03-06-2012

Saprtan -6 Development board

Hi All,

 

I want to build my own spartan-6 FPGA development board for specific application. I am new with FPGA designing , I have never designed the FPGA based board before.

My application us very simple I just want to interface two Ethernet ports to the FPGA.

Does anyone have any idea how can I go about it?

I mean I have lot of questions such as how can I program the FPGA , I read about JTAG SMT1 which converts USB to JTAG but I had question that can I use it to download my code via xilinx software or I can only use it with DIGILENT board.

Is there any better way to program the FPGA?

What all components are necessary in FPGA board for proper operation.

Can you please direct me to the link so that I can read through the stuff and understand.

 

Regards,

Pinak

0 Kudos
16 Replies
Advisor joelby
Advisor
8,310 Views
Registered: ‎10-05-2010

Re: Saprtan -6 Development board

Study the schematics and layouts of some of the reference designs and commercial development boards (e.g. SP601, SP605, Digilent Atlys, Digilent Nexys 3, SIOI), and read the documentation (e.g. UG393). Consider contracting an experienced designer to review your schematic and layout before manufacturing it.

 

If you fit a standard JTAG header, you can just use the Xilinx software and USB Platform Cable programmer. The SMT1 might be okay if you need field programmability and don't want to implement your own in-system programmer, or for low volume designs. The best way to program the FPGA will depend entirely on your application. Using a Xilinx or Digilent programmer and iMPACT or Adept might be fine, or you might want to deliver bitstreams on an SD card, or be able to update them over the Internet through the Ethernet port, and so on.

Visitor pkhot
Visitor
8,299 Views
Registered: ‎03-06-2012

Re: Saprtan -6 Development board

Hey

thanks a lot for your reply....

0 Kudos
Visitor pkhot
Visitor
8,274 Views
Registered: ‎03-06-2012

Re: Saprtan -6 Development board

Hi,

 

I am designing power supply for the FPGA , in the technical documentation provided by Xilinx they have used a lot of inductors and resistive components. Can I just use Maxim reference voltage regulator to get 3.3V , 1.2V , 2.5V . Where can I get more information on power supply requirements and which regulator I can use.

Thanks for your help.

0 Kudos
Instructor
Instructor
8,272 Views
Registered: ‎07-21-2009

power supply design

I strongly recommend you engage an experienced board designer to assist you with power supply design.

 

Your board may easily be rendered unreliable (or worse) with a poor power supply implementation.  An experienced designer will be able to properly analyse and review your design for a suitable power supply solution -- and will likely teach you a great deal in the process.  And you should also engage an experienced board designer to review your entire board design -- including the layout -- for both errors and dodgy implementation.  This will be money and time well-spent, and will likely save you a considerable amount of both time and money.

 

If you decide to ignore this advice, you do so at your own peril.  Your project will be at some (uncertain) risk.

 

Having said that, here are some additional comments:

 

Can I just use Maxim reference voltage regulator to get 3.3V , 1.2V , 2.5V.

 

Maxim (and others) make a great number of voltage regulators with vastly different characteristics.  Do you have a specific Maxim part number in mind?

 

Where can I get more information on power supply requirements and which regulator I can use.

 

See my first (and best) recommendation in this post.  Here is an example thread of a designer who found himself in a situation similar to yours.  Please read this entire thread, with care.  There are many mistakes made in the course of this thread, providing insight and experience from which you can benefit (and mistakes which you might easily avoid).

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
Visitor pkhot
Visitor
8,245 Views
Registered: ‎03-06-2012

Re: power supply design

Hi Bob,

 

Thank you very much for your advice. I am doing this project in university lab for experiment purpose. We have our own specific requirement for board so we can not buy a development board from any vendor. I am the only electrical engineer in this lab , so I am not getting any help from anywhere. I understand the project is it risk but I will learn from my mistakes and will not make the same mistakes in future.

 

I have gone through the posts that you had mentioned in your above post.

 

As per my understanding the board will require approximately 2A to 3A current. Can I use LP38513 voltage regulator to get 3.3V , 2.5V, 1.2V. Can I use same IC ( LP38513  0.5V to 4.5V output voltage with 3A current ) to get the three different voltages . Or I should use different voltage regulators to get three different voltages. I understand I will also need a reset supervisor .

 

Also I want to have Ethernet connectivity to FPGA via RJ45 connector. I understand that we need to place PHY . I was searching for the same and found that I can use Marvell 88E1111 PHY . Where can I find that how many PHY I can connect to FPGA spartan -6 or I can configure as many till I have the I/O pins available.   Can I use inbuilt GTP functionality to connect through RJ45 or i must put PHY inbetween.

 

I have downloaded a software DocNav as suggested by you in one of the posts. I got lot of useful information from that but is there any way to get schematic for general components such as power supply.

 

Thank you very much for all the help you are providing it is very much helpful.

 

Regards,

Pinak Khot

 

 

 

 

 

 

0 Kudos
Instructor
Instructor
8,242 Views
Registered: ‎07-21-2009

Re: power supply design

As per my understanding the board will require approximately 2A to 3A current. Can I use LP38513 voltage regulator to get 3.3V , 2.5V, 1.2V. Can I use same IC ( LP38513  0.5V to 4.5V output voltage with 3A current ) to get the three different voltages.

 

Your first lesson in this thread is an important one for a would-be board designer: read the device datasheet.  And learn how to understand device datasheets.

 

The LP38513-ADJ regulator is

 

  • adjustable -- it will output any voltage you want from 0.5V to [input voltage - 0.5V], determined by the resistance ratio of two external resistors.
  • linear (not switching).  You need to understand the difference between the two types of power supply regulators.  This Wikipedia article includes a comparison table between linear and switching power supplies.

 

Or I should use different voltage regulators to get three different voltages.

 

You are the student, yes?  I will act like I am your teacher, for the moment.  Here is your next lesson, which will tell us what you have already learned and what you have yet to learn:

 

  • Determine what your board design requires for on-board local power supplies.
  • Read the LP8513-ADJ datasheet, as an example device, and offer your conclusion whether or not it can meet the board requirements which you have determined.

For a board designer, the critical aspects of a power supply circuit include

  • input supply voltage range and minimum available current
  • output voltage
  • load current
  • board space required for the entire regulator (including required external components)
  • thermal operating range (or efficiency, or power loss, etc)
  • cost and availability of parts (much less of a concern for a one-off design)
  • design complexity (will this circuit blow up in my face if circuit board layout and component selection are not perfect?)

 

I understand I will also need a reset supervisor .

 

Teacher to student:  Why?

 

I'm assuming that you are interested in learning these lessons, and this is a good opportunity for this learning.  If you want to skip the lessons and be told what to do (without understanding why), then please make these intentions clear.

 

Power supply design is enough for one thread.  You should open a new thread for discussing GigE PHY selection, interface, software requirements, etc. etc.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Visitor pkhot
Visitor
8,233 Views
Registered: ‎03-06-2012

Re: power supply design

Hi Bob,

 

Yes I am a student , I am developing this board to perform some experiments and research .Certainly I would like to learn how to design, rather than just do what is told without understanding.


 

LESSON 1: 

 

a)Volateges and currents :

 

Here is summery of analysis I have done for my board:

In the table I have included all the componants that I think will be there on board.I got the voltage and current spcification from the datasheets of the respective ICs. For current I took the maximum supply current that each IC can handle. For 88E1111 I could not find datasheet specifying electrical characteristics of that device but in product brief they have mentioned it dessipates 0.75W of power. I just took it as worst case and divided it by 1.2V.

 

  FPGA spartan -6 XC6SLX45 PHY 88E1111 ADC 7265 SRAM
DS1345
Voltages Vccint  1.2 V core 1.2V Vcc 3V to 5V VCC 3.3V
  Vcc Aux  2.5V I/O  3.3V    
  VCCO 3.3 V      
I max 40mA 625mA 4mA 50mA
quantity 1 4 2 1
I Total 40mA 2.5A 8mA 50mA

 

 

So in total I am expecting 2.6A as total current.

 

With the resistors at output node of LPC38513 I can generate different volatages that I need in the above table and it can supply upto 3A current. 

Please let me know if my method is wrong and any of the above componants consume more current than I have anticipated.

 

b) thermal operating range : 

I am going to use this board in LAB so I am not expecting any envirmental chanes in temperature.The temerature changes due to effect of IC heating is yet to be considered.I am not sure how much it affects the normal operation.

 

 

LESSON 2 :

Reset supervisor:

I read in another thread that I can not just put a pull up resistor at Prog B pin and make FPGA to work.

Please let me know if my understanding is wrong.

 

 

Regards,

Pinak Khot

 

 

0 Kudos
Advisor joelby
Advisor
8,229 Views
Registered: ‎10-05-2010

Re: power supply design

The 88E1111 is a pretty poor choice because the manufacturer is reluctant to give anyone a datasheet, unless you can convince them that you'll be purchasing millions. Either sort out an agreement with the manufacturer (Marvell) now, before you design your board, or find some better alternatives.

 

If you use the MII/GMII interface, you should be able to use any I/O interface on the Spartan-6, as long as the I/O voltage standards are compatible. The timing requirements for RGMII are much tighter so you will need to be more careful about placement to ensure that your clocking resources are in the correct bank, etc. If you use the Xilinx TEMAC core, there might be information about pin selection in the documentation.

 

You have to use a PHY for Ethernet. There are some ways to get it working without one at lower speeds (10 Mbit) but you should not consider these for a robust/standards compliant design.

0 Kudos
Instructor
Instructor
8,225 Views
Registered: ‎07-21-2009

Re: power supply design

Joelby and Pinak,

 

I am afraid that if we include board power supply design, and the selection and care and feeding of ethernet PHYs in a single thread, my brain (what little is left of it) will likely explode.  Either of these two subjects is likely good for 20 or 30 posts apiece.

 

joelby's comments on PHYs are good ones, and joelby has only scratched the surface of this topic.

 

As for your last post, Pinak, we have just scratched the surface of board-level power supply specification and design (and reading datasheets, for that matter).

 

These discussions are worth substantial time and effort only if they will provide a legacy of useful reference materials for others who will someday read them, and this implies some discipline and organisation to the discussions will be needed.  If we end up with a porridge thread which is muddled and devoid of clear lessons and insights, I say we jump straight away to the conclusions with brief summaries.

 

Are we agreed on this?  What are your suggestions or preferences, Pinak?

Are you game, joelby?  I can't think of anyone who might take the lead on e'net PHY discussion better than you.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Advisor joelby
Advisor
6,292 Views
Registered: ‎10-05-2010

Re: power supply design

True, Bob! I normally would avoid any discussion about board design, but thought I should jump in at the mention of the 88E1111, since the part is such a huge gotcha.

 

As a general comment, as a student with limited time and budget, I would strongly recommend NOT designing a new board unless you REALLY, REALLY need to. If you just need two Ethernet ports, there are a number of better options. Here are some suggestions in order of increasing complexity.

 

  • Buy a NetFPGA development board, which contain four Ethernet ports
  • Using an SP605 with a copper gigabit Ethernet SFP module
  • Designing an expansion board with an extra PHY for the SP601/SP605 or Digilent Atlys

If you only need low-speed Ethernet connectivity, there are some low cost do-everything Ethernet modules such as those made by  WIZnet.

 

If you don't have much money and are not committed to Xilinx, the LatticeECP3 Versa development kit used to be $99 and has dual gigabit Ethernet PHYs and PCI Express x1 (though the licensing terms for their tools looked a bit confusing and time-limited).

Instructor
Instructor
6,288 Views
Registered: ‎07-21-2009

Re: power supply design

Excellent advice, joelby.

 

If the goal of the project is to use an FPGA board for some application, then selecting an existing product is -- far and away -- the better choice.

 

If the goal of the project is to learn board design by designing and building (and debugging) your own custom board, then the choice is clear.

 

Hmmm... Choose the red pill or the blue pill...

Or perhaps the proper analogy is the would-be Jedi warrior building his/her own light saber.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Visitor pkhot
Visitor
6,287 Views
Registered: ‎03-06-2012

Re: power supply design

Hi Joelby , 

 

Thanks a lot for your comments. But none of the already available boards can help even NetFPGA for my research project.I need to design my own board because I need it for my experiments.

As suggested by Bob I would start a new thread for Ethernet PHY.

 

Bob,

I would really like to be a part of repository that would help others and me to design in better way understanding most of the things.I am ready to put the required time to do this and I will try on my part to be more organized.

 

Thanks for all your help.

 

Regards,

Pinak Khot

 

 

0 Kudos
Instructor
Instructor
6,285 Views
Registered: ‎07-21-2009

Re: power supply design

Pinak,

 

OK, I'm "in".  Please start a new thread for the board design topic (datasheets, power supplies, etc.).  Your first post should include a list of board requirements, and any unusual components or interfaces which must be supported by the board.  A description of how the board will be used will also be helpful.

 

And this new thread should go in the General Technical Discussion forum, not Boards & Kits.

 

Wheeee!!!!

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Visitor pkhot
Visitor
6,276 Views
Registered: ‎03-06-2012

Re: power supply design

Hi Bob, 

I have created the new thread in General discussion forum.

For those who wants to follow the discussion  here is the quick lnk for the new thread :

 

http://forums.xilinx.com/t5/General-Technical-Discussion/FPGA-development-board/td-p/219583

 

Regards,

Pinak Khot

0 Kudos
Instructor
Instructor
6,272 Views
Registered: ‎07-21-2009

Re: power supply design

I already posted to your new thread :)

 

How about the discussion between you and joelby, covering ethernet PHYs?  This is a hot topic for discussion.

 

-- Bob Elkind

SIGNATURE:
README for newbies is here: http://forums.xilinx.com/t5/New-Users-Forum/README-first-Help-for-new-users/td-p/219369

Summary:
1. Read the manual or user guide. Have you read the manual? Can you find the manual?
2. Search the forums (and search the web) for similar topics.
3. Do not post the same question on multiple forums.
4. Do not post a new topic or question on someone else's thread, start a new thread!
5. Students: Copying code is not the same as learning to design.
6 "It does not work" is not a question which can be answered. Provide useful details (with webpage, datasheet links, please).
7. You are not charged extra fees for comments in your code.
8. I am not paid for forum posts. If I write a good post, then I have been good for nothing.
0 Kudos
Visitor pkhot
Visitor
6,267 Views
Registered: ‎03-06-2012

Re: power supply design

I have created a new post for PHY discussion in Connectivity --> PHY transceiverr for 1Gig Ethernet connectivety , or we can continue discussion here.

0 Kudos