1 Star 0 Fork 5

杨晨 / SparkRoad-FPGA

forked from VeriMake / SparkRoad-FPGA 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

SparkRoad-FPGA

输入图片说明

The SparkRoad is a FPGA board with low cost per logic element and convenient USB bitstream programming capability. It is compatible with the micro:bit and is a perfect fit for breadboards. The heart of the SparkRoad board is a EG4S20NG88 FPGA from Anlogic.

Quickstart

git clone https://github.com/verimake-team/SparkRoad-FPGA.git
cd SparkRoad-FPGA

If you have compiled a complete toolchain for riscv Please skip the following commands.

build the toolchain on ubuntu 16.4:

For well-known reasons, we provide a mirror of toolchain for a pure rv32i here。

链接:https://pan.baidu.com/s/160Iu03p4NvlcNUw18_msDQ 
提取码:fv59 

Make sure the mirror above is in the directory /SparkRoad-FPGA.Then the following commands will build the RISC-V GNU toolchain and libraries for a pure RV32I target, and install it in /opt/riscv32i:

sudo mkdir /opt/riscv32i
sudo chown $USER /opt/riscv32i
make get-tools
sudo tar -zxvf riscv-gnu-toolchain-rv32i.tar.gz
sudo chown $USER riscv-gnu-toolchain-rv32i
cd riscv-gnu-toolchain-rv32i; mkdir build; cd build
../configure --with-arch=rv32i --prefix=/opt/riscv32i
make -j$(nproc)
cd ../../RISC-V/firmware
gcc -Wall rom2mif.c -o rom2mif
sudo mv rom2mif /opt/riscv32i/bin

export PATH

You can input the following at the end of profile use vi /etc/profile .

export PATH="$PATH:/opt/riscv32i/bin"

Then log out and reload your ubuntu.

build the toolchain on windows10:

Just install risc-v-toolchain.exe which provide by Anlogic. Then export PATH.

MIT License Copyright (c) 2019 Salieri Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

暂无描述 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/YCAXS/SparkRoad-FPGA.git
git@gitee.com:YCAXS/SparkRoad-FPGA.git
YCAXS
SparkRoad-FPGA
SparkRoad-FPGA
master

搜索帮助