Author Topic: Arachne-pnr: an open-source place and route tool for Lattice iCE40 FPGAs  (Read 4442 times)

0 Members and 1 Guest are viewing this topic.

Offline mian2zi3Topic starter

  • Contributor
  • Posts: 34
  • Country: us
I wrote an open-source place and route tool, arachne-pnr, for the Lattice iCE40LP/HX1K FPGA, building on the awesome work by Clifford Wolf and Mathias Lasser of the IceStorm project reverse engineering Lattice iCE40 FPGAs:

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

Support for the 8K is on the way.  Along with Yosys, the open synthesis suite, this gives a fully open-source Verilog-to-bistream FPGA development tool.

http://www.clifford.at/yosys/

The design is pretty straightforward.  It uses simulated annealing for placement and has a congestion-based multi-pass router with A* search.  The main missing feature is timing-driven routing, which I plan to add once IceStorm documents the chip timing.

I'd love to target other chips if anyone wants to reverse engineer them.  :-)

edit: typo.
« Last Edit: May 28, 2015, 07:29:19 am by mian2zi3 »
 

Offline clifford

  • Regular Contributor
  • *
  • Posts: 64
  • Country: at
    • www.clifford.at
I made a video demonstrating the flow:

 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 29472
  • Country: nl
    • NCT Developments
No VHDL support?
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline mian2zi3Topic starter

  • Contributor
  • Posts: 34
  • Country: us
No VHDL support?

Synthesis is done through Yosys.  I thought Clifford would chime in since he wrote that.  Yosys only has native Verilog support, but it does have support to read VHDL by calling through to vhdl2verilog.  I refer you to the documentation for the Yosys vhdl2verilog command:

http://www.clifford.at/yosys/cmd_vhdl2verilog.html

If someone wanted to contribute a native VHDL frontend, I'm sure he'd be thrilled.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8753
  • Country: us
    • SiliconValleyGarage
just out of curiosity : why ?  ( because we can, or, out of curiosity , are valid answers )
why go through all the trouble trying to roll your own synthesizer and mapper.

anyway, looks like lattice have sprouted a whole family of interesting devices. some in qfn some in 16 ball bga's with relatively large gate counts , at low prices ( atarting at 1.5$ per piece )  time ot take another look at these...
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf