Author Topic: Good FPGA tutorials  (Read 13025 times)

0 Members and 1 Guest are viewing this topic.

Offline MattSRTopic starter

  • Regular Contributor
  • *
  • Posts: 96
  • Country: au
Good FPGA tutorials
« on: March 18, 2013, 04:52:24 pm »
Hi Guys,

I would like to learn more about the in's and outs of FPGA fabric design and implementation. I have a good grasp of basic electronics and want to understand more about the actual design process that goes into making an FPGA core work.. Can anyone point me in the direction of some good tutorials? There was a good article in a british magazine I saw in the newsagent the other day, but the cost of the mag was too high to justify buying it for one article...

Cheers,
Matt
 

Offline olsenn

  • Frequent Contributor
  • **
  • Posts: 993
Re: Good FPGA tutorials
« Reply #1 on: March 18, 2013, 05:19:24 pm »
Check out LBE Books (Learning By Example):http://www.lbebooks.com/booksandkits-HWDesignVerilog.htm

Their Verilog/VHDL books, Basic Digital Design and Advanced Digital design, are incredible. They use Digilent (Xilinx) dev boards, but both the concepts and the coding are not unique to those boards (should work for any FPGA).
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Good FPGA tutorials
« Reply #2 on: March 19, 2013, 05:57:39 pm »
The traditional tutorial: http://www.asic-world.com/verilog/veritut.html

And don't wait too long with My First Testbench: http://www.asic-world.com/verilog/art_testbench_writing.html
 

Offline MattSRTopic starter

  • Regular Contributor
  • *
  • Posts: 96
  • Country: au
Re: Good FPGA tutorials
« Reply #3 on: March 21, 2013, 11:53:49 am »
Thanks guys,

I've been using Ettus Research's USRP1 for a few years now, and the magic inside the FGPA has alluded me. I understand what it does in terms of the application and DSP layer and now I want to figure out how these things work.

Cheers
Matt
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8549
  • Country: us
    • SiliconValleyGarage
Re: Good FPGA tutorials
« Reply #4 on: March 25, 2013, 03:15:56 am »
the best verilog book is the one by Bhasker. Verilog for synthesis.
no frills , straight to the point and explained by showing you exactly WHAT is being generated for the constructs. this is one of the few books that touches the concept of scheduling and how the synthesizer works. Understanding the fundamental synthesis concept allows you to write code in a style that guarantees almost 100% first time right. You won;t run into undefined pathways, latch inferral and other 'gotcha's. Use the synthesizer.

Very few people understand how the synth works and you end up with massive blocks of code full of it-then-else-elseif constructs where none are even needed.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Good FPGA tutorials
« Reply #5 on: March 25, 2013, 03:47:07 am »
the best verilog book is the one by Bhasker. Verilog for synthesis.

You probably mean "Verilog HDL Synthesis, A Practical Primer" from Bhasker, right? In any event I can also recommend Bhasker. My first verilog book was "A Verilog HDL Primer" by Bhasker, and that lend itself pretty well to the learn it from the books approach. One good book of your choosing + assorted random articles on the internet should get you started.

Also, I found some of these papers quite useful to learn from: http://www.sunburst-design.com/papers/

 

Offline richcj10

  • Supporter
  • ****
  • Posts: 201
  • Country: us
Re: Good FPGA tutorials
« Reply #6 on: March 26, 2013, 05:49:15 am »
I like the this website;

http://www.fpga4fun.com/index.html
 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Good FPGA tutorials
« Reply #7 on: March 26, 2013, 07:46:04 pm »
Here are some things I've learned, written up for the benefit of some guys I am working with.

http://retroactive.be/verilog_tips.pdf

Comments are welcome
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Good FPGA tutorials
« Reply #8 on: March 26, 2013, 08:43:54 pm »
Comments are welcome

Looks good. Couple of small things that sprang to mind while reading it:

Clock Domains

... depending on how newby the audience is you may want to define a bit more clearly by what you mean with "edge-synchronous".

Avoiding Metastability

... regarding the synchronizer registers, you may want to give a hint on how to make sure those registers are synthesized as fabric FFs instead of a shift register. Fabric FFs tend to have better metastability characteristics than shift registers.

General: case statements

In addition to always specifying a default ... you may want to point out what style of don't cares best to use. There's a nice Sunburst paper on that...
 

Offline Hardcorefs

  • Regular Contributor
  • *
  • Posts: 81
Re: Good FPGA tutorials
« Reply #9 on: April 01, 2013, 07:51:06 am »
HERE:
FPGA design from scratch. Part 1
It covers RIGHT from the start and also covers WHY and how.....
http://svenand.blogdrive.com


Currently the guy is upto Part 93

and
http://www.fpgadeveloper.com
 

Offline codeboy2k

  • Super Contributor
  • ***
  • Posts: 1836
  • Country: ca
Re: Good FPGA tutorials
« Reply #10 on: April 03, 2013, 11:47:15 am »
Comments are welcome

Good tips, the content is decent and covers a lot of good ground for best practices.  :-+


Clock Domains

    B. never clock logic using other logic...

this is a good point, new guys often try to divide a clock and use it to clock a series of other modules, so this is good to advise against here. 
However, you should tell why this bad, not just advise against it. (i.e. mention that clocks nets are special, have high fanouts, are routed special so as to reduce skewing, and keep all the logic synchronous, etc; regular logic is often routed as best is available across the fabric and may take long and different routes to reach a destination's clock input on a module, they will be out of sync, timing will be off, etc. Mention that a clock should be divided down using available clock resources, or if logic is used, the output should be fed back into a clock buffer so that it gets onto a clock distribution net for use by other modules.
 

Also, the font was awful on my Linux Mint 14 system. Your PDF is the first PDF I have ever come across that had troubles rendering fonts.

The font just looks blurry and unreadable at a normal zoom (100%).  I don't have this problem with any other PDF, which I can read fine on my monitor.  With your document, I had to zoom it to monster size before it became cleanly rendered, although it was "readable" at smaller zoom settings (above 100%). Maybe you want to see how you are creating the PDF or what fonts you are using?

see below for screencap that I see from the PDF viewer. This is zoomed to 125% using the viewer's zoom settings then I screen capped it off my screen. That's how I see it.



Maybe you need to include the fonts you use in the PDF outfput settings, and my reader substituted a local font here..

 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Good FPGA tutorials
« Reply #11 on: April 04, 2013, 05:37:16 pm »
Give it another shot, it would show fine in Adobe but not in Firefox' shite built-in viewer.
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline Medo

  • Regular Contributor
  • *
  • Posts: 69
Re: Good FPGA tutorials
« Reply #12 on: April 05, 2013, 07:31:36 am »
Check Cornell ECE5760 lectures on YouTube:
 

Offline bradleytron

  • Regular Contributor
  • *
  • Posts: 74
  • Country: ca
Re: Good FPGA tutorials
« Reply #13 on: April 05, 2013, 07:54:09 am »
HERE:
FPGA design from scratch. Part 1
It covers RIGHT from the start and also covers WHY and how.....
http://svenand.blogdrive.com


Currently the guy is upto Part 93

and
http://www.fpgadeveloper.com

The first link seems to be broken.
 

Offline VanitarNordic

  • Frequent Contributor
  • **
  • Posts: 277
  • Country: 00
Re: Good FPGA tutorials
« Reply #14 on: April 05, 2013, 07:59:20 am »
HERE:
FPGA design from scratch. Part 1
It covers RIGHT from the start and also covers WHY and how.....
http://svenand.blogdrive.com


Currently the guy is upto Part 93

and
http://www.fpgadeveloper.com

The first link is broken.
 

Offline pyroesp

  • Regular Contributor
  • *
  • Posts: 180
  • Country: be
    • Nicolas Electronics
Re: Good FPGA tutorials
« Reply #15 on: April 05, 2013, 05:48:19 pm »
The first link seems to be broken.
The first link is broken.

Works fine on chrome...
 

Offline MacAttak

  • Supporter
  • ****
  • Posts: 683
  • Country: us
Re: Good FPGA tutorials
« Reply #16 on: April 05, 2013, 11:32:50 pm »
Refresh your browser if you get an error page the first time. Using Chrome on OS X and when I go to the page for the first time it gives an error. Refresh and everything's fine. Does it every time I go to that website after restarting my browser or computer.
 

Offline Hardcorefs

  • Regular Contributor
  • *
  • Posts: 81
Re: Good FPGA tutorials
« Reply #17 on: April 07, 2013, 04:27:05 am »
Damn looks like he has taken it down.......
 

Offline mrflibble

  • Super Contributor
  • ***
  • Posts: 2051
  • Country: nl
Re: Good FPGA tutorials
« Reply #18 on: April 07, 2013, 01:22:17 pm »
Damn looks like he has taken it down.......

Nope, it's there. Host response is just intermittent. In any event, you mean you don't have that site mirrored? O_o
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf