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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 559 subscribers
  • Views 18700 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…
Parents
  • johnbeetem
    johnbeetem over 10 years ago

    I've got IceStorm running and my own examples working on an IceStick!

     

    I installed IceStorm and its companion tools using instructions from: Projet IceStorm : le FPGA libéré ! | Front de Libération des FPGA.  Its in a combination of French and GNU/Linux.

     

    Installing arachne-pnr was a pain since it's written in C++11, and the Ubuntu 12.04 I normally use has an older GCC.  Finding out how to update to 4.8.1 was an adventure, as usual.  Installing Yosys took over an hour on an ODROID-C1.  I guess I should be glad I could do it at all image

     

    The "rot" example -- which uses Yosys -- didn't work for me.  It compiled and loaded OK, but only set the LEDs to the initial pattern and didn't update it.  That's OK, because I really just need arachne-pnr and IceStorm for my work.  On the other hand, my own examples written in BLIF (Berkeley Logic Interchange Format) worked great once I figured out how to match LUT inputs I0-I3 to 16-bit truth tables.

     

    [Update 9 August 2015:  The "rot" example works with a newer version of arachne-pnr I downloaded 4 August 2015.]

     

    Arachne-pnr is very fast for my simple examples once it's loaded the IceStorm's iCE40-HX1K ASCII chip database, which is 7 MB.  The IceStorm tools are very fast.  An unmodified IceStick requires that IceStorm first programs the serial flash, so "iceprog" should be even faster if I have it download to FPGA configuration memory directly.  The HX1K binaries are only 32KB.

     

    [Update 9 August 2015:  Newer versions of arachne-pnr convert IceStorm database files from text to binary as part of the "make" process.  Loading the binary database is very fast.]

     

    My plan is to call Arachne-pnr and IceStorm from my XXICC project, using GCHD for synthesis.  This will make a nice companion to my Xilinx-based Flavia: the Free Logic Array.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • johnbeetem
    johnbeetem over 10 years ago in reply to johnbeetem

    johnbeetem wrote:

     

    The "rot" example -- which uses Yosys -- didn't work for me.  It compiled and loaded OK, but only set the LEDs to the initial pattern and didn't update it...

     

    Arachne-pnr is very fast for my simple examples once it's loaded the IceStorm's iCE40-HX1K ASCII chip database, which is 7 MB.

    Both of these problems have been fixed in a newer version of arachne-pnr I downloaded 4 August 2015.  The "rot" example now works.  Arachne-pnr now converts IceStorm database files from ASCII to binary as part of the "make" process.  Loading the binary database is very fast.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • johnbeetem
    johnbeetem over 10 years ago in reply to johnbeetem

    johnbeetem wrote:

     

    The "rot" example -- which uses Yosys -- didn't work for me.  It compiled and loaded OK, but only set the LEDs to the initial pattern and didn't update it...

     

    Arachne-pnr is very fast for my simple examples once it's loaded the IceStorm's iCE40-HX1K ASCII chip database, which is 7 MB.

    Both of these problems have been fixed in a newer version of arachne-pnr I downloaded 4 August 2015.  The "rot" example now works.  Arachne-pnr now converts IceStorm database files from ASCII to binary as part of the "make" process.  Loading the binary database is very fast.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
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