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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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 Project IceStorm: fully open-source FPGA tools for Lattice iCE40
  • 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
  • Replies 36 replies
  • Subscribers 558 subscribers
  • Views 17739 views
  • Users 0 members are here
  • floss
  • icestorm
  • fpga
  • ice40
  • yosys
Related

Project IceStorm: fully open-source FPGA tools for Lattice iCE40

johnbeetem
johnbeetem over 10 years ago

As some of you may have noticed, I've been obsessed for many decades with having open FPGA bitstream documentation so that people can write their own FPGA designs tools, especially FLOSS (Free-as-in-Liberty Open Source Software).

 

I recently found out about IceStorm, a project that has somehow reverse-engineered and documented the Lattice iCE40 FPGA.  They've actually put together a fully-open-source tool chain with Yosys for Verilog synthesis and Arachne_pnr for placement and routing.  I don't know how usable or robust the tools are.  I'm planning on taking a close look starting next month.

 

If you're interested, here's the IceStorm link, which has links to the other tools: Project IceStorm

Discussion of Yosys and the tools is at reddit: Yosys Open SYnthesis Suite

 

Update: Here are a couple of nice Hackaday items about IceStorm:

 

From 29 March 2015: Reverse Engineering Lattice’s iCE40 FPGA Bitstream | Hackaday

From 29 May 2015: An Open Source Toolchain For iCE40 FPGAs | Hackaday

 

Update 2: Here are some good IceStorm installation instructions: Projet IceStorm : le FPGA libéré ! | Front de Libération des FPGA.  They're in a combination of French and GNU/Linux.

 

Here's the Lattice IceStick directly supported by IceStorm: Lattice Semiconductor: ICE40HX1K-STICK-EVN iCEstick Evaluation Kit.  It's US$20.89 in the USA.

  • Sign in to reply
  • Cancel

Top Replies

  • johnbeetem
    johnbeetem over 9 years ago +2
    I found out from a friend about another iCE40 board: Olimex iCE40HX1K-EVB It's a tiny board (5x5 cm or 2"x2") with an iCE40HX1K-VQ100, 256K x 16 SRAM, 16 Mb serial flash, 2 buttons, 2 LEDs, oscillator…
  • diablero
    diablero over 9 years ago in reply to johnbeetem +2
    A new board. Does the World Need an FPGA Arduino? | Hackaday
  • michaelkellett
    michaelkellett over 9 years ago in reply to johnbeetem +2
    My thinking was that if you are going to buy a board you could expect it to be made on a production line and almost any would be able to place BGAs. You can use one of Lattice's sparsely pinned BGAs on…
  • diablero
    diablero over 9 years ago in reply to johnbeetem

    https://olimex.wordpress.com/2016/05/06/ice40hx1k-evb-open-source-hardware-fpga-board-designed-with-kicad-and-working-wi…

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Jan Cumps
    Jan Cumps over 9 years ago

    John,

     

    Here's Dave Vandenbout from Xess using the tools on a Raspberry Pi, I believe:

     

    You don't have permission to edit metadata of this video.
    Edit media
    x
    image
    Upload Preview
    image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 9 years ago in reply to Jan Cumps

    Jan Cumps wrote:

     

    Here's Dave Vandenbout from Xess using the tools on a Raspberry Pi, I believe...

    The IceStorm tools should run well on a RasPi 2 or 3.  They work very well on an ODROID-C1.

     

    Vendor FPGA tools require a fast x86 PC.  Most run on GNU/Linux, so that's some progress.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 9 years ago in reply to michaelkellett

    Just FYI:

     

    14 months on - now icestorm supports ice40(hx/lp)[1,4,8]k, in all packages, including the PLL's and embedded block srams.

    There's a timing analysis tool too, and one for replacing sram images within bitfiles without recompiling.

     

    All the tool install, compile and run happily on ARM SBC's in 32 and 64 bit flavours, and even in Mac OS X - AFAIK the only FPGA toolchain to work natively within those.

    (although you will want at least 512MiB ram to run the toolchain on 8k designs without dipping into swap).

     

    Given that the tools will run on a $5 RasPi Zero, and a fair few of the new development boards coming out support the RasPi's 40 pin connector, this makes it possible to have a low cost, embedded, and very high performance (due to the fpga logic) control system which can inexpensively be deployed whilst actually including all it's own documentation and locally hosted development tools.

     

    And that's an entirely new capability - and certainly a gain!

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Cancel
  • tobia
    tobia over 9 years ago

    Is there any full-featured student board for the ICE40 8k?

     

    I mean something with:

    • leds and buttons
    • 7 segment displays
    • VGA output
    • audio DAC and ADC
    • some external SRAM
    • maybe an alphanumeric LCD or an OLED
    • maybe HDMI output
    • tons of headers
    • the requisite USB and flash memory stuff
    • last but not least, a decent clock like 100 MHz, not the 12 MHz rubbish of the HX8K breakout board!

     

    With the advent and continued progress of project IceStorm, I'm sure a board like this would have an audience, even if it costs a lot (still, it had better not cost twice as much as an equivalent Altera or Xilinx board with the same I/O!)

     

    I can get the HX8K breakout board and connect some of that stuff myself (the leds, buttons, probably the LCD and VGA) but I'm not sure I can connect an external SRAM or a HDMI port without frying anything (not that the 12 MHz clock would allow be to do much of anything with the latter.)

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • michaelkellett
    michaelkellett over 9 years ago in reply to tobia

    You are not limited much by the 12MHz clock, the chip has PLLs so you can make faster clocks internally - but you would find getting timing closure hard on an HX40 at 100MHz.

    The ICE40 8k architecture is very limited - the lack of multipliers makes any audio signal processing very expensive in terms of gates used.

    Once you use fast clocks and add external memory and video interfaces the ultra low power advantage of the ICE40s isn't very relevant - you would find development much easier with a more powerful FPGA but you would need to use 'free' tools rather than open source.

    I have used ICE40s in several completed and current commercial projects and they are great in their niche. The IceStorm project doesn't support VHDL so I haven't looked at it further.

     

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • 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