FPGA's-Getting started-How? - Page 1
Forum section: electronics / general

author: djsb
author_rank: Super Contributor
timestamp: February 04, 2010, 01:44:27 pm
content: Hi,I have viewed the blog on FPGA's and it has piqued my interest.How do I get started with them right from the beginning? I have some knowledge of digital electronics but would like to follow a well structured course with practical examples I can try out on a development board.I've seen this bookhttp://www.elektor.com/products/cd-dvds/electronics/fpga-course.368274.lynkxand I've had a read of the fpga4fun website (http://www.fpga4fun.com/). I need something that can help me learn the core fundamentals and maybe pick up some VHDL or other HDL along the way. I'm a big fan of William Kleitz and I have his latest Digital Electronics-A practical course book. However this book does not cover FPGA's only CPLD's and uses the discontinued Xilinx X95 board for it's examples.Can anyone suggest an INEXPENSIVE starter kit that is popular with current textbooks?Thanks.David.

author: armandas
author_rank: Frequent Contributor
timestamp: February 04, 2010, 03:06:24 pm
content: I used "FPGA prototyping by VHDL examples: Spartan-3 version" by P. Chu. Good book for beginners.

author: rossmoffett
author_rank: Regular Contributor
timestamp: February 04, 2010, 05:08:14 pm
content: I learned on a Spartan 3 and I can vouch for its effectiveness. You can program in virtual discrete logic gates as if you were drawing a schematic, you can do state machine diagrams (kind of a block diagram of the order you want things to happen) or you can program any of several hardware descriptive languages.. you can also use any combination of the three methods.My digital logic course started with some discrete boards, adders and such, and quickly moved to learning on the FPGA. Our book was just a standard digital logic book, discussing truth tables, karnaugh maps, gates, memory, clocking, sequential vs. asynchronous logic and etc. You don't necessarily need something that specifically teaches you FPGAs.. we had to look that stuff up through the help system. I'm sure a book based around them helps though. Our final project was to create an arcade machine with the FPGA as its brain, and the VGA output tied to a monitor. Before that we took keyboard input and had to learn shift registers among other things. It's just a fun device, I recommend it.I hope someone will chime in with their opinions of the Altera boards, I've never used one and I don't know what they're like.To answer your desire for a structured method, you can find that many universities now offer their classes online, and publish notes and assignments. MIT is one. I know UC Berkeley does too. On youtube you can find a lot of lectures, such as these:https://www.youtube.com/view_play_list?p=BF3F9FDD3700668D&search_query=digital+logic+uc+berkeley&rclk=ptiThere are two two digital logic series there. MITs OpenCourseware page for digital logic is here:http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-111Spring-2006/CourseHome/index.htmQuoteI guess it's that way at most universities! Some nights I stayed in the lab through the night to the next afternoon.

author: charliex
author_rank: Frequent Contributor
timestamp: February 04, 2010, 05:16:06 pm
content: I used the spartan too, the digilent board, also the sparkfun board is nice and cheap, and the gadget factory butterfly is a nice setup. The fpga4fun saxo/pluto is also a very basic intro.this site has a good introhttp://www.asic-world.com/verilog/index.htmlbutterflyhttp://www.gadgetfactory.net/gf/project/butterfly_main/sparkfunhttp://www.sparkfun.com/commerce/product_info.php?products_id=8595digilenthttp://www.digilentinc.com/Products/Detail.cfm?Prod=S3BOARDthe sparkfun gives you more signals, as does the butterfly , the digilent gives you more bang for the buck for stuff to screw around with.

author: StephenOng
author_rank: Newbie
timestamp: February 04, 2010, 09:30:11 pm
content: I found that the material provided at this university:http://www.engr.sjsu.edu/crabill/, is very good. Lecture materials are good. The labs are very hands on and something you can do by yourself at home. The lab uses development board from digilent (http://www.digilentinc.com/) which is reasonably priced.As for books, "VHDL for Logic Synthesis" by Andrew Rushton is very good It teaches you how to use VHDL to describe digital hardware. Most VHDL books teaches you just the language, this is not very good, it doesn't tell you which subset of the language and what constructs are useful for describing digital logic.

author: Ferroto
author_rank: Frequent Contributor
timestamp: February 05, 2010, 01:05:02 am
content: Ya i'd like to see more about FPGA's. I know they don't retain there settings after powerdown but i do know that they load there settings from external memory when they boot up but do they automatically retrieve that information from the ROM or is a uC required to boot the FPGA. The thing is all the documentation and videos I've found jump right into the middle of it without going too extensively into the basics first. It was the same thing with uC's when i got started with them but i got a decent starter kit that was quite helpful from Microchip

author: rossmoffett
author_rank: Regular Contributor
timestamp: February 05, 2010, 02:32:14 am
content: The Spartan-III resets on power down, but there is an option in the programming software to save to memory, which allows it to automatically stay programmed. I imagine others are similar. The Xilinx chip probably has some persistent memory in it to keep settings like that, there was no uC on my board that I recall.

author: djsb
author_rank: Super Contributor
timestamp: February 06, 2010, 07:56:35 pm
content: Hi,Thanks for all your replies.I'm thinking of buying an Altium Nanoboard 3000. Not sure which variant yet though. Only problem is the cost of the software after 12 months. Still wondering if it's worth the investment.David.

author: jahonen
author_rank: Super Contributor
timestamp: February 06, 2010, 08:42:44 pm
content: I have always built my own hardware when working with FPGAs, and for quick test projects, I once madethisboard (some leftover space on one customer project panel) . The board has Altera Cyclone II EP2C8 with configuration memory and 32 IO-pins routed to two pin headers. And most important, every IO-pin has ground pin next to it. With high-edge rate pins, it can really be a PITA if return current path is not near the actual signal.At my work, there is quite general consensus about that Altera Quartus is somewhat more straightforward to use than Xilinx ISE. That might be one thing to consider.I think that FPGAs are at end pretty simple compared to MCU's, after all it is just a logic chip. With MCU's, you'll need to figure out what chip designer has thought when (s)he created the chip, but with FPGA, you'll create your own "empire" from scratch, thus you actually know what there is. Hardware (logic) bugfixes are also easy.I was very surprised how simple it was to make anexperimental stereo three-way active filter(phase linear FIR) using FPGA internal multipliers. That particular filter requires something like 135 million sustained multiply-accumulate (24x32 bit) operations per second. It would have taken much longer if I have used a DSP processor. The purpose of the board was originally to test the Freescale's DSP56371, but I ended up coding the filter to the FPGAwith VHDL.Regards,Janne