Installation

Warning

The following instructions are a work-in-progress and may not be entirely up to date.

Torii-USB requires Python >= 3.10, and Yosys >= 0.30 except for 0.37 due to a Verilog backend bug. Torii-USB has been tested with CPython, but might possibly run under PyPy.

Torii-USB is built off of the Torii Hardware Definition Language, as such that is also required.

Installing Prerequisites

Prior to installing Torii-USB, you must install all of its prerequisites and requirements.

Installing Python

First off, install python and pip onto your system if the’re not there already.

Installing Yosys

Installing Torii

Next, install the latest stable version of Torii from PyPi.

Installing Torii-USB

The latest release of Torii-USB is recommended for any new projects planning to use Torii-USB. It provides the most up-to-date stable version of the API. However, if needed, you can also install a development snapshot to get access to the bleeding-edge, however the API may be unstable.

Latest release

Development snapshot

Editable development snapshot