Skip to main content

Official WebFPGA Command-line Utility

Project description

webfpga/cli

Python port of the WebFPGA CLI. As of right now, only bitstream flashing is supported.

Update

Bitstream downloading and compression is nearly supported! (9/8/2019)

Example

Use the Node.js utility to synthesize and create a bitstream. Then, use the Python utility to flash the device.

# Install the old Node.js utility to synthesize the HDL
$ npm install -g webfpga-cli
$ webfpga synth blinky.v
$ ls
bitstream.bin

# Fetch the new Python utility to flash your device
$ git clone https://github.com/webfpga/cli
$ cp cli/flash.py .
$ pip install pyusb
$ python flash.py bitstream.bin

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

webfpga-0.2.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

webfpga-0.2-py3-none-any.whl (2.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page