Skip to content

Latest commit

 

History

History
69 lines (52 loc) · 1.27 KB

ToolchainSetup.md

File metadata and controls

69 lines (52 loc) · 1.27 KB

Toolchain Setup notes

A quick guide on how to setup the open-source APIO tool-chain for the iCEbreaker FPGA board under Windows.

Installation and Build

Prerequisites

  • A working python3 environment.

Toolchain install

First, install the apio toolchain:

> pip install -U apio
> apio install --all

USB Drivers

With the board connected, the USB drivers can be installed. This will have to be redone if the board is connected to a different USB port.

> apio drivers --ftdi-enable

In the pop-up, find the board ('iCEBreaker (Interface 0)') and replace the driver with 'libusb' using the labeled button.

Once this is completed, reconnect the board.

Build and upload

To verify the verilog code:

> apio verify

To build:

> apio build

To verify, build, upload:

> apio upload

Analyze

To do a timing analysis:

> apio time

To get more information about the build (including FPGA usage):

> apio build -v

To start the simulation (requires a testbench):

> apio sim

New Project Setup

To initiate a new project in an directory:

> apio init --board iCEBreaker