Skip to content

IceStorm Synthesis Server (Node.js) and Command-Line Client (Python)

License

Notifications You must be signed in to change notification settings

silky/icestorm-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

icestorm-server

This is a fully open-source and self-hosted implementation of the WebFPGA interface and synthesis flow. The FPGA bitstream is generated on a remote server and returned to the client.

For more information about WebFPGA, check out https://webfpga.io.


Command-line Client

The command-line client is written in Python and transmits Verilog source files and an optional pinmap.pcf file to the backend. The backend responds with real-time logs and the final, compressed bitstream.

By default, it is configured to send jobs to ws://icestorm.webfpga.io:2019. You can change that by modifying the SERVER= string in synthesis.py.

$ cd client
$ pip install websocket-client
$ ./synthesis.py fpga_top blinky.v pinmap.pcf
$ webfpga flash bitstream.bin

Server

The server is written in Node.js and is a WebSocket wrapper around a Makefile that runs the IceStorm flow.

To get started, make sure you have IceStorm installed. (This includes yosys, etc...)

$ cd server
$ npm install
$ node app.js

Docker

Or... you can host icestorm-server via Docker. This is by far the easiest method to up and running. For example, if you are running MacOS, all you need is Python and Docker to get started with the WebFPGA Standalone Board. (That is, if you want to go the fully open-source and self-hosted route. Remember, you can always navigate to the official Web IDE (https://beta.webfpga.io) to get started without any install or software dependencies.)

$ docker run -it --rm -p 2019:2019 webfpga/icestorm-server:latest

About

IceStorm Synthesis Server (Node.js) and Command-Line Client (Python)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 50.8%
  • Coq 15.8%
  • Python 15.3%
  • Verilog 6.7%
  • TeX 4.7%
  • C 1.4%
  • Other 5.3%