16
SiFive Core IP FPGA Eval Kit User Guide v3p0
6.3.1
Setting Up Freedom-E-SDK
Prerequisites
To use this SDK, you will need the following software available on your machine:
GNU Make
Git
Toolchain Prerequisites
To build examples and programs, you will need the following software installed on your machine:
• RISC-V GNU Toolchain
• RISC-V OpenOCD (for use with development board and FPGA targets)
Pre-built versions of these softwares can be found on the SiFive Website.
https://www.sifive.com/boards
The pre-built tools have been carefully packaged to support both RISCV 32bit & 64bit ISAs and
work on Linux, macOS, and Windows hosts.
Download the toolchain your platform, and unpack it to your desired location. Then, use the
RISCV PATH and RISCV OPENOCD PATH variables when using the tools. For example,
> cp openocd-<date>-<platform>.tar.gz /my/desired/location/
> cp riscv64-unknown-elf-gcc-<date>-<platform>.tar.gz /my/desired/location
> cd /my/desired/location
> tar -xvf openocd-<date>-<platform>.tar.gz
> tar -xvf riscv64-unknown-elf-gcc-<date>-<platform>.tar.gz
> export RISCV_OPENOCD_PATH=/my/desired/location/openocd
> export RISCV_PATH=/my/desired/location/riscv64-unknown-elf-gcc-<date>-<version>
6.3.2
Cloning the Repository
The Freedom-E-SDK repository can be cloned by running the following commands:
> git clone --recursive https://github.com/sifive/freedom-e-sdk.git
> cd freedom-e-sdk
The recursive option is required to clone the git submodules included in the repository. If at first
you omit the recursive option, you can achieve the same effect by updating submodules using the
command:
> git submodule update --init --recursive
Содержание E2* Core IP Series
Страница 1: ...SiFive Core IP FPGA Eval Kit User Guide v3p0 SiFive Inc ...
Страница 2: ...2 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 4: ...ii SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 8: ...vi SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 10: ...2 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 16: ...8 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 28: ...20 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 30: ...22 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 7 1 E2 Core IP FPGA Eval Kit Block Diagram ...
Страница 34: ...26 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 8 1 E3 S5 Core IP FPGA Eval Kit Block Diagram ...
Страница 38: ...30 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 9 1 E7 S7 Core IP FPGA Eval Kit Block Diagram ...