SiFive Freedom platform (https://github.com/sifive/freedom)
Go to file
2018-06-13 00:33:46 +02:00
bootrom Use correct frequency for the sd-spi interface 2018-05-19 19:04:56 +02:00
fpga-shells@b49f5cfa78 Pull in memory and terminal improvements 2018-05-14 20:09:55 +02:00
rocket-chip@8710fe9561 Properly set clock frequencies 2018-06-06 01:05:36 +02:00
sifive-blocks@88f1cbe420 Pull in memory and terminal improvements 2018-05-14 20:09:55 +02:00
src/main/scala Properly set clock frequencies 2018-06-06 01:05:36 +02:00
.gitignore Initial commit. 2016-11-29 05:23:11 -08:00
.gitmodules Point all submodules to tiband 2018-05-01 00:14:53 +02:00
build.sbt build.sbt: update to rocket's scala version 2018-03-22 18:10:19 -07:00
common.mk Rebuild when changing the bootloader 2018-06-13 00:33:46 +02:00
LICENSE Initial commit. 2016-11-29 05:23:11 -08:00
Makefile.e300artydevkit build: update all submodules to their current master 2018-02-25 10:33:25 -08:00
Makefile.u500ml507devkit Add makefile and config for the ml507 board 2018-04-11 20:09:05 +02:00
Makefile.u500vc707devkit build: update all submodules to their current master 2018-02-25 10:33:25 -08:00
Makefile.u500vc707iofpga iofpga: add a vc707 chiplink slave target 2018-03-22 20:37:50 -07:00
README.md U500 VC707 FPGA Dev Kit : update required Vivado version from 2016.1 to 2016.4 to fix synthesis bug effecting debug module 2018-04-06 10:54:03 -07:00

Freedom

This repository contains the RTL created by SiFive for its Freedom E300 and U500 platforms. The Freedom E310 Arty FPGA Dev Kit implements the Freedom E300 Platform and is designed to be mapped onto an Arty FPGA Evaluation Kit. The Freedom U500 VC707 FPGA Dev Kit implements the Freedom U500 Platform and is designed to be mapped onto a VC707 FPGA Evaluation Kit. Both systems boot autonomously and can be controlled via an external debugger.

Please read the section corresponding to the kit you are interested in for instructions on how to use this repo.

Software Requirement

To compile the bootloaders for both Freedom E300 Arty and U500 VC707 FPGA dev kits, the RISC-V software toolchain must be installed locally and set the $(RISCV) environment variable to point to the location of where the RISC-V toolchains are installed. You can build the toolchain from scratch or download the tools here: https://www.sifive.com/products/tools/

Freedom E300 Arty FPGA Dev Kit

The Freedom E300 Arty FPGA Dev Kit implements a Freedom E300 chip.

How to build

The Makefile corresponding to the Freedom E300 Arty FPGA Dev Kit is Makefile.e300artydevkit and it consists of two main targets:

  • verilog: to compile the Chisel source files and generate the Verilog files.
  • mcs: to create a Configuration Memory File (.mcs) that can be programmed onto an Arty FPGA board.

To execute these targets, you can run the following commands:

$ make -f Makefile.e300artydevkit verilog
$ make -f Makefile.e300artydevkit mcs

Note: This flow requires Vivado 2017.1. Old versions are known to fail.

These will place the files under builds/e300artydevkit/obj.

Note that in order to run the mcs target, you need to have the vivado executable on your PATH.

Bootrom

The default bootrom consists of a program that immediately jumps to address 0x20400000, which is 0x00400000 bytes into the SPI flash memory on the Arty board.

Using the generated MCS Image

For instructions for getting the generated image onto an FPGA and programming it with software using the Freedom E SDK, please see the Freedom E310 Arty FPGA Dev Kit Getting Started Guide.

Freedom U500 VC707 FPGA Dev Kit

The Freedom U500 VC707 FPGA Dev Kit implements the Freedom U500 platform.

How to build

The Makefile corresponding to the Freedom U500 VC707 FPGA Dev Kit is Makefile.u500vc707devkit and it consists of two main targets:

  • verilog: to compile the Chisel source files and generate the Verilog files.
  • mcs: to create a Configuration Memory File (.mcs) that can be programmed onto an VC707 FPGA board.

To execute these targets, you can run the following commands:

$ make -f Makefile.u500vc707devkit verilog
$ make -f Makefile.u500vc707devkit mcs

Note: This flow requires Vivado 2016.4. Newer versions are known to fail.

These will place the files under builds/u500vc707devkit/obj.

Note that in order to run the mcs target, you need to have the vivado executable on your PATH.

Bootrom

The default bootrom consists of a bootloader that loads a program off the SD card slot on the VC707 board.