• Home
  • Boards
  • SoCs
  • HW Blocks
Renode
  • Home
  • Boards
  • SoCs
  • Vendors
  • HW Blocks
Board photo

SiFive HiFive1

FE310
System on Chip
SiFive
Vendor

Supported software


Zephyr RTOS

Hello World


A simple sample that prints “Hello World” to the console.

Run locally

You can run the Hello World demo on the SiFive HiFive1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b hifive1 hello_world

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run hifive1 hello_world demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Hello World demo

SBOM data

Download Software Bill of Materials data for the Hello World demo

Robot Test Suite Log

See a Robot test results for the Hello World demo

Shell Module


This demo demonstrates the Zephyr shell submodule, which allows the user to use a console interface to control the operating system.

Run locally

You can run the Shell Module demo on the SiFive HiFive1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b hifive1 shell_module

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run hifive1 shell_module demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Shell Module demo

SBOM data

Download Software Bill of Materials data for the Shell Module demo

Robot Test Suite Log

See a Robot test results for the Shell Module demo

Philosophers


An implementation of a solution to the Dining Philosophers problem which demonstrates the usage of multiple preemptible and cooperative threads of differing priorities, as well as dynamic mutexes and thread sleeping.

Run locally

You can run the Philosophers demo on the SiFive HiFive1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b hifive1 philosophers

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run hifive1 philosophers demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the Philosophers demo

SBOM data

Download Software Bill of Materials data for the Philosophers demo

Robot Test Suite Log

See a Robot test results for the Philosophers demo

TensorFlow Lite Micro


This sample TensorFlow application replicates a sine wave and demonstrates the basics of using TensorFlow Lite Micro. The model included with the sample is trained to replicate a sine function and generates x values to print alongside the y values predicted by the model.

Run locally

You can run the TensorFlow Lite Micro demo on the SiFive HiFive1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b hifive1 tensorflow_lite_micro

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run hifive1 tensorflow_lite_micro demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the TensorFlow Lite Micro demo

SBOM data

Download Software Bill of Materials data for the TensorFlow Lite Micro demo

Robot Test Suite Log

See a Robot test results for the TensorFlow Lite Micro demo

MicroPython


This demo demonstrates the MicroPython Zephyr port by performing arithmetic operations, and by defining and calling simple functions.

Run locally

You can run the MicroPython demo on the SiFive HiFive1 board by following the instructions below. Assuming you have Python 3 and pip installed on your Linux machine, run the following commands to download Renode and the prebuilt binaries for this demo, and then run the simulation in Renode on your own machine:

pip3 install --user --upgrade git+https://github.com/antmicro/renode-run.git
renode-run demo -b hifive1 micropython

Run in Colab

You can run this demo instantly on a cloud server in Google Colab by clicking the button below.

Colab

Run hifive1 micropython demo in Google Colab.

UART output

Trace

Download

Build artifacts

Download binaries, Renode scripts and other artifacts for the MicroPython demo

SBOM data

Download Software Bill of Materials data for the MicroPython demo

Robot Test Suite Log

See a Robot test results for the MicroPython demo

Components


FE310

fe310

Similar boards


SiFive HiFive1 Rev B

fe310

Device tree


Device tree

Hierarchical device data structure

Renode dts2repl

Converted device tree source into Renode .repl file

Specification


Frequency:

320 MHz

Flash:

16384 KiB

RAM:

16 KiB

ADDRESS SPACE PERIPHERAL TYPE DRIVER
0x00000000 - 0x00001000 debug debug-controller SiFive debug-013
0x00001000 - 0x00002000 modeselect memory SiFive modeselect0
0x00003000 - 0x00004000 error-device misc SiFive error0
0x00004000 - 0x00005000 teststatus misc SiFive test0
0x00010000 - 0x00012000 maskrom memory SiFive maskrom0
0x02000000 - 0x02010000 clint timer driver SiFive clint0
0x08000000 - 0x08002000 itim memory SiFive itim0
0x0c000000 - 0x10000000 plic interrupt-controller driver SiFive plic-1.0.0
0x10000000 - 0x10000040 wdog0 watchdog driver SiFive wdt
0x10000040 - 0x10000a00 aon misc SiFive aon0
0x10008000 - 0x10009000 prci misc SiFive freedome300prci0
0x10010000 - 0x10013000 otp memory SiFive otp0
0x10012000 - 0x10013000 gpio0 gpio driver SiFive gpio0
0x10012038 - 0x10012040 pinctrl pinctrl driver SiFive pinctrl
0x10013000 - 0x10014000 uart0 serial driver SiFive uart0
0x10015000 - 0x10016000 pwm0 pwm driver SiFive pwm0
0x10024000 - 0x10025000 spi1 spi driver SiFive spi0
0x10025000 - 0x10026000 pwm1 pwm driver SiFive pwm0
0x10034000 - 0x10035000 spi2 spi driver SiFive spi0
0x10035000 - 0x10036000 pwm2 pwm driver SiFive pwm0
0x80000000 - 0x80004000 dtim sram SiFive dtim0
  • What is Renode
  • Market cases
  • News
  • Docs
  • Zephyr Dashboard
  • Antmicro
  • Renode
Copyright © 2021-2022 Antmicro
9c7587e9