element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Forum Some FPGA Beginner Questions
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join FPGA to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 78 replies
  • Answers 19 answers
  • Subscribers 538 subscribers
  • Views 9105 views
  • Users 0 members are here
Related

Some FPGA Beginner Questions

Former Member
Former Member over 12 years ago

Hi element14!

 

Some time ago I've watched a talk of the nand2tetris course/project. If you've never heard of it you can check it out here: http://www.nand2tetris.org/ Basically it is a course designed to build a computer from the very ground up. It starts with logic gates and goes all the way up to programming a small game project (hence the name nand2tetris). There is also a video available from someone who has been doing the course on FPGA hardware ( http://www.youtube.com/watch?v=UHty1KKjaZw ).

[At one point in the above linked youtube video you can see the designation "ep2c8q208", which should mean the project is running on Altera Cyclone II hardware.]

 

I've always been curious about doing something with FPGA hardware, but never had any idea of a feasible, yet interesting-result-yielding project. Well, as you can probably guess, up until now that is image

 

During my university days I attended an FPGA workshop and I've read some stuff about the hardware components and the available course material, so I think I kind of have an idea about the difficulty of the project. But since everything I've been reading just made me more excited, I decided I absolutely want to give this a shot. Now there's a lot of FPGA information out there, so I'm surely still missing a lot of important information, but I would like to get started and think the best way to learn is to actually experiment with a real FPGA instead of wasting too much time with HDL simulations only to become used to functions that aren't going to synthesize on the board anyway.

 

So I now would like to ask you about some things I'm still unsure about and would like to have clarified before buying an expensive development kit. I've read several articles about Altera and Xilinx and right now my choice would be a Spartan 3E Starter Board - this one to be exact: http://shop.embedded-projects.net/index.php?module=artikel&action=artikel&id=549

 

The main questions I'm having right now:

- Is there a general reason that would argue against getting the Spartan E3 board?

- I actually have no idea how powerful an FPGA really is.. but assuming it's running on Cyclone II hardware, it probably should run on a Spartan 3 as well? Or is that in itself already a stupid question, as FPGA comparison doesn't work so easily?

- As you can see, the price for the above board is about 150 Euro, which translates to something just short of $200. Yet I continue to find offers (on ebay or other websites) where boards are being sold for under $150 but even include small screens(!)*  What am I missing here? Did I pick an especially expensive outlet, or is there something shady about these cheap deals..?

- In general, who is more newbie-friendly, Altera or Xilinx? (I've worked with VHDL before, which I think is Xilinx, right? Altera's Quartus is probably very similar?)

- From how I understand the FPGA toolchain, in the above linked offer there should be everything included to get me going.. right? o_O

 

I also have this second candidate: http://www.digilentinc.com/Products/Detail.cfm?NavPath=2,400,836&Prod=ATLYS

- Maybe I'm an idiot, but as I read the offer, *only* the board is sold? I.e., in contrast to the first offer, I would need additional stuff to get something running on the board?

- It also strikes me as a mayor drawback that there is not really an output option besides a few LEDs.. which for me would be very annoying; I'm already unhappy about the board linked before *only* having a small display (which in itself, however, is awesome to have of course).

- This might also be a stupid question: I remember from back in the FPGA workshop I mentioned that getting a number-display to run is not that hard at all. How much more effort is it to get something displayed on a screen (either an attached one or a PC screen accessed via one of the available ports)?

 

And as a final question: I've also seen some very much smaller boards than the ones linked here, that are also much cheaper.. are the boards I'm looking it overkill for what I'd like to do with them? Or does actually the contrary hold, and such a project wouldn't even run on one of the smaller boards available?

 

Thanks for your help!

 

Cheers,

pan

 

________________________

* Here for example:

http://www.sainsmart.com/evaluation-board/fpga-cpld-board/new-ep2c8q208c8n-development-board-kit-fpga-altera-cyclone-nios-ii-with-2-4-lcd.html

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 12 years ago +2 suggested
    Hi Christian, I just saw your discussion today. I don't check the element14 FPGA page much since activity is rare. There's some good FPGA discussion in this thread at the Raspberry Pi group, including…
  • michaelkellett
    michaelkellett over 10 years ago in reply to Former Member +2 suggested
    I'm going to offer some advice which has worked well for me over the last 10 years. Forget Xilinx and Altera and download the Lattice toolset - not as capable as the full Xilinx kit but good enough to…
  • michaelkellett
    michaelkellett over 10 years ago in reply to michaelkellett +2 suggested
    A simple counter example for LED twinkles ! There must be a way to add a text file - someone please tell how ! MK
  • pjclarke
    0 pjclarke over 12 years ago

    Hi,

     

    First off - this is just my point of view.

     

    Second - Welcome to the world of FPGAs!

     

    Ok, my view as someone who spent years as a hobby FPGA engineer working on Altera is make the move to Xilinx. I love the ISE interface and simulation tools. Easy to understand and use. I know other Altera hard core engineers who also confess that Xilinx tools are better.

     

    Spartian 3 chips are very common and great devices and I have one I have done small projects on. However Xilinx consider it older tech so would recommend comthing like a Spartian 6. Here are two great kits (I have one of each) and well worth considering.

     

    http://www.xess.com/prods/prod055.php

     

    http://www.enterpoint.co.uk/drigmorn/drigmorn3.html

     

    Both are low cost and have lots for someone starting out in FPGAs.

     

    Next check out Xilinx sponcered site for FPGAs (where I write blogs for) All Programmable Planet, where we have a number of bloggers talking about FPGA tech and you can follow engineers learning how to program and understand Verilog and VHDL.

     

    http://www.programmableplanet.com/

     

    Hope this helps and would be good to see your progress! image

     

    Thanks

    Paul

    ( @monpjc )

    http://www.facebook.com/pages/Monpjc/274942132518373

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to pjclarke

    Hey Paul, thanks for your answer!

     

    I haven't replied in some time in the hopes of getting some more answers, but alas, no such luck apparently. Anyway, thanks for the warm welcome and the useful links you posted!

     

    Just to maybe help out someone stumbling on this post, here's the answers to the questions that I initially posted:

     

    - I found no general reason against Spartan-3 boards. On the contrary, they seem to be regarded as quite useful entry-level boards for beginners.

    - About the cheap deals: there's some reviews on amazon.com about sainsmart FPGAs and why they might be so cheap.Suffice to say that I will refrain from getting their products.

    - There's an endless discussion about what's more user-friendly, Altera or Xilinx.. however, two points that I found noteworthy:

        o Most people who tried both tend to recommend Xilinx' software package over Altera's.. but best to do your own research!

        o Xilinx' free software comes with a pretty nasty spyware "feature" called WebTalk. Unacceptable. Either I'll find a way to disable that or I'm going Altera.

     

    would be good to see your progress! image

    That will probably take some time image  However, should I actually get the whole thing running, I'll probably be so proud that I'll just post it everywhere image

     

    Cheers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 12 years ago

    Hi Christian,

     

    I just saw your discussion today.  I don't check the element14 FPGA page much since activity is rare.

     

    There's some good FPGA discussion in this thread at the Raspberry Pi group, including some other development boards.

     

    I've done a lot of design with the Xilinx Spartan-3A.  It's a nice architecture.  For learning FPGAs, there's really no need to jump to the Spartan-6 unless you need the increased capacity for a specific project.  Although the Spartan-6 ICs cost about the same as Spartan-3A, the boards are still quite a bit more expensive.

     

    Lattice had eval boards for their small-FPGA iCE40 series with promotional pricing of US$19 for a short time, but I think they're back to the standard US$39, so for that price you're better off spending a little more for a 200K gate Spartan-3A, e.g., the US$55 XESS XuLA-200.  I haven't tried that board myself, but the specs are attractive.

     

    All the major FPGAs can synthesize from VHDL or Verilog.  JMO/YMMV: If you like to type and love the Ada language, go with VHDL.  If you like C and prefer more concise notations, go with Verilog.  My preference of the two is Verilog, but neither is really a good fit for FPGA design.  According to my recollection, VHDL was conceived for specifying and simulating behavior of VLSI designs.  Verilog was conceived for generating test vectors and expected behavior.  Neither was conceived as a language for synthesizing logic, so you have to be inventive to get the synthesizer to produce the logic you really want.  The best language I've used for that was Altera's AHDL, but I don't think it's an option any more.

     

    FPGAs are very powerful and a lot of fun.  You get to design digital chips with zero cost for making logic errors.  Have lots of fun and please report problems and progress.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to johnbeetem

    Hi John,

     

    thanks for your info as well!

    I don't check the element14 FPGA page much since activity is rare.

    That's good to know. Might I ask which page is a good alternative with some more activity? So far I'v only seen another german site and it's sister over @ http://embdev.net .

     

    Right now I pretty much narrowd down my choice to two of the Digilent boards, the Nexys 3 and the Atlys. My final considerations are:

     

    • I'm not really interested in video processing, so the Atlys' HDMI ports don't do anything for me.
    • The Atyls seems quite a lot beefier. Do I need that? Probably not. Do I want it? Absolutely image
    • The Nexys 3 comes with four pmod extension slots for all kinds of stuff. I don't really have a plan to use more than one but I like to have them as it seems a very nice way to add stuff to the board further down the line. The Atyls only has one pmod slot.
    • I will probably get the display vmod for christmas, which is awesome image  It also means that I don't really care about the VGA and HDMI ports for video output, I'll just use the small FPGA screen and be amazed by that image

     

    So in short: the nand2tetris project can be seen to run on a Cyclone II, so a Spartan 6 should be able to handle it. I would very much like to own a powerful Atyls board, but when I'm honest with myself, I probably won't need its power anyway - even if I extend the project to more stuff. In a perfect world I'd like to have a small OS running on the FPGA, and the Spartan 6 board should be able to handle that (plus, there's quite a road ahead till that milestone will be reached).

     

    YourVerilog/VHDL perspective is very welcome! I'm just now toying around with Xilinx' ISE to get a small Hello World to run and the Verilog/VHDL question is indeed what I have to figure out next. I already started with VHDL but now I guess I'll just try a few simple logic stuff with Verilog as well.

     

    Cheers!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 12 years ago in reply to Former Member

    Christian Müller wrote:

     

    John Beetem wrote:

     

    I don't check the element14 FPGA page much since activity is rare.

    That's good to know. Might I ask which page is a good alternative with some more activity? So far I'v only seen another german site and it's sister over @ http://embdev.net .

    Good question.  I took a quick look at embdev.net and it seems to have a good list of topics.

     

    For something as amazingly useful as the FPGA, you'd think there would be a lot more use and activity, yet at the present time FPGA design seems to be a specialized art.  Perhaps this is because they've been expensive in the past, and even at present when you can buy an entire 1GHz 32-bit ARM SoC for the price of a modest FPGA it's hard to justify the cost of FPGAs, especially in high-volume consumer devices where every cent matters.  Perhaps it's because there's a steep learning curve for VHDL or Verilog, and for vendor tools.  Perhaps it's because they "don't teach Logic in these schools", to quote a famous Professor.

     

    I'm hopeful that the Rasberry Pi movement will help get more people -- especially students -- introduced to FPGAs.  So I eagerly read anything at element14 or raspberrypi.org that has to do with FPGAs.  You can easily find discussion threads about FPGAs at raspberrypi.org by searching for "FPGA" in the Google box on the front page: all the major threads show up on the first page of results.  If there's enough interest and therefore volumes, the price of FPGA development boards will fall enough so that FPGAs can really get some traction.

     

    If you read the element14 thread I mentioned above and some of the raspberrypi.org threads, you'll see me complain repeatedly about my main FPGA bugbear, which is that none of the vendors publish their bit-stream format so you can create your own design tools.  Until this happens, there is no reason to expect FPGA design to get any easier.  Xilinx has good tools when measured by the quality of the results, but it takes a lot of experience and effort to write your logic so as to get those results.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to johnbeetem

    Yeah, I was wondering about how relatively small the FPGA community seems to be. Or to be more precise, how thinnly spread out over various forums. On the other hand, most threads I've been reading consisted of 90% useful information.. so that's really nice, and something rarely seen on online forums. So quality over quantity it seems image

     

    What exactly is the Rasberry PI movement you're referring to? I've read it on several occasions, but never got caught in any discussion about it yet.

     

    As for the vendor's and their software.. I haven't even started with FPGAs yet and I'm already annoyed by their shenanigans. Almost every thread talks about Altera vs Xilinx sooner or later, so you would expect their software to be shining examples of amazing usability in order to boot out the competition. But.. well. Not so much. Yesterday I found out about Xilinx' WebTalk "feature" and that's just an absolute show stopper for me. Who thought this was a good idea and approved it? And who thought it would then be a good idea to praise this abomination as a dandy feature the user should be thankful for?! Urgh.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • johnbeetem
    0 johnbeetem over 12 years ago in reply to Former Member

    Christian Müller wrote:

     

    Yeah, I was wondering about how relatively small the FPGA community seems to be. Or to be more precise, how thinnly spread out over various forums. On the other hand, most threads I've been reading consisted of 90% useful information.. so that's really nice, and something rarely seen on online forums. So quality over quantity it seems image

    You get a lot of passive-agressive illogical comments and arrogance on many non-FPGA forums.  That kind of thinking gets you absolutely nowhere when doing FPGA design.

    What exactly is the Rasberry PI movement you're referring to? I've read it on several occasions, but never got caught in any discussion about it yet.

    Raspberry Pi is small ARM board with 512MB RAM, USB ports, Ethernet, and HDMI output that is capable of running GNU/Linux and other operating systems for US$35 (with a non-Ethernet version coming soon for US$25).  Since it's so much cheaper than anything comparable, it's captured the imagination of a large community and they've sold approx 500K of these little boards.  The main RasPi purpose is to be a platform for learning programming so students can play without worrying about killing the family PC.  I think it has potential to be a good platform for teaching logic design.

    As for the vendor's and their software.. I haven't even started with FPGAs yet and I'm already annoyed by their shenanigans. Almost every thread talks about Altera vs Xilinx sooner or later, so you would expect their software to be shining examples of amazing usability in order to boot out the competition. But.. well. Not so much. Yesterday I found out about Xilinx' WebTalk "feature" and that's just an absolute show stopper for me. Who thought this was a good idea and approved it? And who thought it would then be a good idea to praise this abomination as a dandy feature the user should be thankful for?! Urgh.

    WebTalk hasn't bothered me.  But then I generate my FPGA bitstreams on a Windows machine that's not connected to the Internet, because Windows always freezes up if I do.  I understand the purpose of WebTalk: one of the hardest things in designing an FPGA architecture is deciding how much chip area to use for various functions and how much for routing.  If you don't provide enough routing resources, you can't get good utlization of logic elements.  If you put in more multipliers or block RAMs than people actually use, you're wasting area that could be used for something else or for making the chip smaller and cheaper.  WebTalk compiles statistics of how customers actually utilize chips.  Xilinx may find the results useful, but I suspect that they'll discover that designs are diverse and it's hard to get any generally-useful result.  But that would be a result as well.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 12 years ago in reply to johnbeetem

    @Christian,

     

    There is a univeral law (and it really is universal) sometimes referred to as the first law of Thermodynamics but better expressed as " There is no such thing as a free lunch". Xilinx are quite upfront about it - if you pay a bit for the software you can disable WebTalk - if you use the "free" version on of their paybacks is they get to collect data.

     

    If you don't like X and A then look at the smaller players' offerings - I use Lattice parts because I find the company much easier to deal with than X or A. You could also try MicroSemi (used to be Actel). Lattice have some simple FPGAs on very cheap and simple boards.

     

    Still no free lunches but a selection of different ways to pay !

     

    Michael Kellett

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cbaldy
    0 cbaldy over 12 years ago

    I'm also starting out with FPGAs, and was looking into the Diligent boards when I discovered Papilio. It's a Spartan 3e board with an Arduino Bootloader. Coming from the microcontroller world myself, this is an attractive board for a decent price.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 12 years ago in reply to cbaldy

    @ Curtiss,

     

    As you say the Papilio is a reasonable price but there are two things I think should make beginners think carefully about it:

     

    It comes with some very complex FPGA stuff ready to go - this won't help you get really into FPGAs very easily and it's not clear (to me) what simple tutorial stuff there is.

     

    It's based on a rather old (by Xilinx standards) chip  - nothing wrong with Spartan 3 but there are much better parts now for the same or less money.

     

    Michael Kellett

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube