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](https://www.xilinx.com/products/boards-and-kits/arty.html). The Freedom
U500 VC707 FPGA Dev Kit implements the Freedom U500 Platform and is designed to
be mapped onto a [VC707 FPGA Evaluation
Kit](https://www.xilinx.com/products/boards-and-kits/ek-v7-vc707-g.html).
Both systems boot autonomously and can be controlled via an external debugger.
Run the following commands to clone the repository and get started:
```sh
$ git clone https://github.com/sifive/freedom.git
$ cd freedom
#Run this command to update subrepositories used by freedom
$ git submodule update --init --recursive
```
Next, 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/
After installing toolchain and vivado, you must set the environment variables.
If you have installed toolchain to
`/home/riscv/riscv64-elf-tc/bin/riscv64-unknown-elf-gcc`
then run the following command. Do not include /bin at the end of the string.
```sh
$ export RISCV=/home/riscv/riscv64-elf-tc
```
In order to run the `mcs` target in the next step, you need to have the `vivado`
executable on your `PATH`.
If vivado is installed to `/tools/Xilinx/Vivado/2016.4/bin`,
you can set the `PATH` with the following command.
```sh
$ export PATH=${PATH}:/tools/Xilinx/Vivado/2016.4/bin
```
Change the line above if the `vivado` is installed to
`/opt/Xilinx/Vivado/2016.4/bin` accordingly.
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:
```sh
$ 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`.
### 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](https://github.com/sifive/freedom-e-sdk), please see the [Freedom E310 Arty FPGA Dev Kit Getting Started Guide](https://www.sifive.com/documentation/freedom-soc/freedom-e300-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.vc707-u500devkit` 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:
```sh
$ make -f Makefile.vc707-u500devkit verilog
$ make -f Makefile.vc707-u500devkit mcs
```
Note: This flow requires Vivado 2016.4. Newer versions are known to fail.
These will place the files under `builds/vc707-u500devkit/obj`.
### Bootrom
The default bootrom consists of a bootloader that loads a program off the SD
card slot on the VC707 board.
### Linux boot Image
The bootable Linux image for vc707 is able to build from the link
[SD boot image](https://github.com/sifive/freedom-u-sdk).
没有合适的资源?快使用搜索试试~ 我知道了~
SiFive的Freedom平台源文件存储库Freedom.zip
共43个文件
h:13个
scala:8个
c:2个
1星 需积分: 13 13 下载量 145 浏览量
2019-07-19
05:37:23
上传
评论 1
收藏 47KB ZIP 举报
温馨提示
SiFive 的 Freedom 平台源文件存储库,包含由 SiFive 为其 Freedom E300 和 U500 平台创建的 RTL 。 Freedom E310 Arty FPGA 开发套件 Freedom E300 平台,旨在映射到 Arty FPGA 评估套件。 Freedom U500 VC707 FPGA 开发套件Freedom U500 平台,旨在映射到 VC707 FPGA 评估套件。 这两个系统自主地启动,并且可以通过外部调试器控制。Freedom E310(FE310)是Freedom Everywhere系列定制SoC的第一个成员。 FE310专为微控制器,嵌入式,物联网和可穿戴应用而设计,配有SiFive的E31 CPU Coreplex,一个高性能,32位RV32IMAC内核。 运行在320 MHz,FE310是市场上最快的微控制器之一。其他特性包括16KB L1指令缓存,16KB数据SRAM暂存器,硬件乘法/除法,调试模块,片上振荡器和PLL的灵活时钟生成以及各种外设,包括UART,QSPI,PWM和定时器 。 多电源域和低功耗待机模式确保了各种应用可以受益于FE310。FE310是业界首款开源RISC-V SoC。 SiFive已经向开源社区贡献了FE310 RTL代码。 这意味着你可以看到芯片里面什么,完全了解硬件的工作原理。RTL代码还使芯片设计人员能够在基本FE310之上定制自己的SoC。 对于没有芯片设计能力的系统架构师,开发人员或公司,SiFive的“芯片即服务”产品可以定制FE310以满足他们的独特需求。
资源推荐
资源详情
资源评论
收起资源包目录
freedom-master.zip (43个子文件)
freedom-master
.gitmodules 401B
Makefile.vcu118-iofpga 752B
Makefile.veraiofpga 834B
Makefile.vcu118-iofpga-nvdla 831B
common.mk 3KB
fpga-shells
Makefile.vcu118-u500devkit 947B
rocket-chip
bootrom
sdboot
linker
memory.lds 640B
sdboot.elf.lds 2KB
common.h 127B
kprintf.h 1KB
include
bits.h 915B
const.h 409B
platform.h 4KB
sections.h 380B
devices
clint.h 292B
uart.h 750B
spi.h 2KB
gpio.h 643B
plic.h 861B
smp.h 4KB
riscv_test_defaults.h 1KB
kprintf.c 1KB
head.S 366B
Makefile 1KB
sd.c 4KB
U540Config.dts 12KB
xip
xip.S 267B
Makefile 951B
LICENSE 11KB
src
main
scala
unleashed
vera
iofpga
FPGAChip.scala 11KB
DevKitConfigs.scala 2KB
IOFPGADesign.scala 9KB
DevKitFPGADesign.scala 5KB
everywhere
e300artydevkit
System.scala 2KB
Config.scala 2KB
Platform.scala 6KB
FPGAChip.scala 8KB
build.sbt 1KB
sifive-blocks
Makefile.vc707-u500devkit 942B
.gitignore 51B
Makefile.vc707-iofpga 748B
README.md 4KB
Makefile.e300artydevkit 880B
nvidia-dla-blocks
共 43 条
- 1
资源评论
- 超群天晴2022-11-21从github下载来骗分,还没下全
- borial2021-02-12从github下载来骗分,还没下全
weixin_39840387
- 粉丝: 780
- 资源: 3万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功