tree: 651f913bd9abefb995d7ebafd1fa69e69c7abf50 [path history] [tgz]
  1. constraints/
  2. firmware/
  3. images/
  4. leorv32/
  5. mem_port_switch/
  6. soc/
  7. sram/
  8. svga/
  9. uart/
  10. util/
  11. wb_memory/
  12. LICENSE
  13. Makefile
  14. README.md
verilog/rtl/leorv-fpga/README.md

LeoRV32 FPGA

This repository contains FPGA examples for LeoRV32.

Setup

You need to have a RISC-V toolchain in your PATH variable.

Next, setup TOOLCHAIN_PREFIX accordingly, for example:

export TOOLCHAIN_PREFIX=riscv32-unknown-elf-

Supported Boards

- icebreaker
- ulx3s

Usage

First, export the board for which to generate the bitstream:

export BOARD=icebreaker

To run a simulation and view it:

make sim
make view

The following commands are used to synthesize the design, perform place and route and upload the design to the FPGA board.

make synth
make build
make upload

After that, the green LED on your iCEBreaker should blink (you may need to reset it first).