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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page