Author Topic: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)  (Read 7943 times)

0 Members and 1 Guest are viewing this topic.

Offline olewalesTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: pl
Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« on: October 23, 2015, 04:33:56 pm »
I know there is a whole section on the forums dedicated to FPGAs but I reckon this is specifically a beginner issue.

 I want to introduce myself to programmable logic and hardware description languages. I have basic understanding of logic circuits concepts but no experience at all with VHDL or Verilog. Theoretically I could start learning using simulator but I know it won't be nearly as effective if I can't make some LED blink or observe signal waveforms on the scope. My initial research guided me towards Altera FPGAs because less features seems to be cut out of the free version of their software and programmer seems to be cheaper (even the Chinese knockoff of Xilinx platform cable costs about $30, compared to $5 for Altera's USB Blaster clone). I was initially aiming at Terasic DE0-nano development board but it is quite pricey in my country. Even not taking currency purchasing power into consideration its about $120 shipped. Yes, it has nice big FPGA on it I doubt I'll ever do very advanced stuff in it. I was thinking about applications similar to what Mike showed in his video.
(edit: I didn't know that pasting link to YT video automatically embeds it)

Also, I must admit that Quartus II feels a bit intimidating for a noob like me.

I started looking at Lattice MachXO2 Breakout Board that Mike recommended. Unfortunately farnell/Element14 does not seem to have it in their listings but even at my local, expensive distributor its less than half the price of DE0-nano. What also got my interest is ICE40HX1K-STICK-EVN "Icestick".
Is Lattice in general good choice for a beginner? I know their software is not nearly as advanced as Altera/Xilinx solutions but this may not be a bad thing actually. Will I be able to adapt other HDL tutorials to it relatively easy? (assuming I do my research of course). What about moving out of a devboard? I'd like to stick to manufacturer once I get myself familiar with it. Lattice seems to be more friendly for a hobbyist because of things like integrated oscillators, voltage regulators or flash memory in some of their parts. On the other hand xilinx/altera parts are generally more widely available. I also don't like that Lattice has entirely separate software suites for different product families. Not sure how big of a deal this would be.

Alternatively, if I decide to stick to Altera I might look into development boards straight from China. Something like this or this. Not sure about documentation but they seem to have lots of peripherals for a very reasonable price. What do you think?
 
« Last Edit: October 23, 2015, 04:36:48 pm by olewales »
 

Offline ganda

  • Newbie
  • Posts: 1
  • Country: id
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #1 on: November 28, 2015, 10:45:07 am »
Any particular reason? IMHO Xilinx for signal processing/rf stuff, the rest is Altera.
 

Offline autobot

  • Regular Contributor
  • *
  • Posts: 66
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #2 on: November 28, 2015, 12:50:10 pm »
Xilinx is going to release their new low-end fpga(artix-7) with free high-level fpga language, similar to c - for free(and the sw is availble for high-end chip ,for pay). Depending on your goals , it could save you lots of effort and time, so it could be worthwhile to wait.
 

Offline olewalesTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: pl
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #3 on: November 28, 2015, 01:32:08 pm »
Any particular reason? IMHO Xilinx for signal processing/rf stuff, the rest is Altera.
As I wrote I have no experience with either but my research showed that I might get more for my money going with Altera. For example SignalTap is free with Web edition of Quartus while ChipScope is a paid feature in Xilinx ecosystem

Xilinx is going to release their new low-end fpga(artix-7) with free high-level fpga language, similar to c - for free(and the sw is availble for high-end chip ,for pay). Depending on your goals , it could save you lots of effort and time, so it could be worthwhile to wait.
Honestly, new HDL "invented" by Xilinx does not sound very appealing. As a beginner I'd rather stick to industry standard VHDL or Verilog until I feel somewhat comfortable with fpgas

Anyway, I ended up ordering this board for about $25 (after discounts). I expect it to arrive soon (already showed up in my country in package tracking). Hopefully I will manage to get my head around it
 

Offline daybyter

  • Frequent Contributor
  • **
  • Posts: 397
  • Country: de
 

Offline olewalesTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: pl
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #5 on: November 29, 2015, 09:47:46 pm »
Won't comment more b/c you already bought one.
If you have any additional thoughts then go ahead. It may not help me but I can imagine other people having similar dilemma  ;)

But really, buying a board from the maker of the chip is always better -- you get OEM support and you often get integrated free JTAG, and you get 100% error free HW reference design.

Couldn't agree more, but in my case it was all about the cost. As far as I know Xilinx or Altera don't make "small" devboard under their own brand but for a basic board from Digilent in Poland I'd have to pay nearly twice it's value in USD

Besides, features that you don't need just waste money. If I were you, I would get a iCEStick instead. Lattice is not that bad at all. I'm working with iCE40HX8K, and I can tell you, at this density, it is really hard to beat.
I was thinking about it but since nobody answered my question for quite some time I decided to go with "safe" option. Altera seems to have good amount of documentation and examples and as a beginner I want to have access to as many of those as possible. Besides, the board that I ordered was actually very slightly CHEAPER than the price I'd have to pay for iCEStick (with shipping)
 

Offline mian2zi3

  • Contributor
  • Posts: 34
  • Country: us
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #6 on: November 30, 2015, 03:37:08 am »
There is another advantage of the Lattice iCEstick and iCE40 FPGAs.  If you're interested in not just using the FPGAs but studying the internal details of their architecture and hardware compilation process, the iCE40 FPGAs have been reverse engineered, the bitstream format is documented and there is a completely open-source Verilog development toolchain for them:

http://www.clifford.at/icestorm/
https://github.com/cseed/arachne-pnr
http://www.clifford.at/yosys/
 

Offline chickenHeadKnob

  • Super Contributor
  • ***
  • Posts: 1055
  • Country: ca
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #7 on: November 30, 2015, 05:35:21 am »

Anyway, I ended up ordering this board for about $25 (after discounts). I expect it to arrive soon (already showed up in my country in package tracking). Hopefully I will manage to get my head around it

the advertisement for this board reads:

   FPGA development board is no longer a dream!

blueeggCock wire technology will give the majority of more surprises!

--------------------------------
Oh-Oh, that does not sound promising!
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5550
  • Country: us
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #8 on: November 30, 2015, 06:42:58 pm »
Apart from the bad translations it seems like a neat board for just $25, it even comes with the USB blaster built in and seems to have enough documentation (but not sure if that's well translated or translated at all)

I'll be interested to hear from olewales once he gets the board some more details.
 

Offline John_ITIC

  • Frequent Contributor
  • **
  • Posts: 514
  • Country: us
  • ITIC Protocol Analyzers
    • International Test Instruments Corporation
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #9 on: November 30, 2015, 10:28:58 pm »
There's more to choosing FPGAs than the actual hardware. Altera's documentation is top of the line and one major reason I like to work with their devices. Also, many more use Altera than Lattice so much easier to get support online from people with similar issues.
Pocket-Sized USB 2.0 LS/FS/HS Protocol Analyzer Model 1480A with OTG decoding.
Pocket-sized PCI Express 1.1 Protocol Analyzer Model 2500A. 2.5 Gbps with x1, x2 and x4 lane widths.
https://www.internationaltestinstruments.com
 

Offline olewalesTopic starter

  • Regular Contributor
  • *
  • Posts: 75
  • Country: pl
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #10 on: January 10, 2016, 11:12:19 pm »
Ok, here is my quick followup. I received the board over a month ago and was hoping to write this post after having a good playaround with it but I was (as usual) overly optimistic about time I was able to invest in this so far and my ability to comprehend all those new concepts.

The board looks exactly like on photos provided by the seller. To my eye there is nothing wrong with components, soldering or the design. In fact, it seems to be high quality product overall. For example tracks between FPGA and SDRAM chip as well as some of the tracks connected to external IO pins are length-equalized. It's probably not strictly necessary in this case but they took the trouble to do it anyway. Acrylic cover on the top and brass standoffs for a feet are also a nice touch.

Board works. It comes pre-programmed with sample application that tests LEDs, LCD and apparently RAM and EEPROM. There is USB-Blaster on board. It needs manual driver installation (despite "driver installation" during Quartus setup) but works fine. I was able to run simple led blinking code on the board (upload to FPGA via JTAG only, did not test programming flash device yet) so it seems to do it's job.

Below are full contents of the disc that I was sent with the board. Well, minus Quartus 11 installer that was also there. It works fine with newest Quartus Prime 15.1
https://www.dropbox.com/sh/1aq76ha0vlxc65g/AAC0N3hEE9MP9ZV-8ELb2p7La?dl=0
As you can see, most docs (manual, HDL references, some datasheets) are in Chinese but that is not a deal breaker. Most importantly board schematics with pin assignments are available. There are also some sample projects in "Demonstration" directory. I suspect that "DEV_C0_MINI_TEST" contains sources for application that the board comes programmed with but I was not able to compile it. Apparently it needs licence for some proprietary IP in the design. 

Overall I am happy with my purchase. This little board seems to have everything I could wish for right now for a very competitive price. Hopefully I'll manage to get myself familiar with Altera tools so I can start learning about HDL design soon.
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5550
  • Country: us
Re: Cheap(er) introduction to FPGAs (aka. is Lattice any good?)
« Reply #11 on: January 11, 2016, 01:10:37 am »
Thanks for the update and the files :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf