• Home
  • Boards
  • SoCs
  • SoC Components
Renode
  • Home
  • Boards
  • SoCs
  • Vendors
  • SoC Components
Board photo

SiFive HiFive1 Rev B

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 Rev B 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_revb 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_revb 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 Rev B 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_revb 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_revb 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 Rev B 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_revb 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_revb 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 Rev B 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_revb 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_revb 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 Rev B 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_revb 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_revb 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

Blinky


A basic sample that blinks an LED forever using the Zephyr GPIO API.

Run locally

You can run the Blinky demo on the SiFive HiFive1 Rev B 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_revb blinky

Run in Colab

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

Colab

Run hifive1_revb blinky demo in Google Colab.

UART output

Trace

Download

Build artifacts

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

SBOM data

Download Software Bill of Materials data for the Blinky demo

Robot Test Suite Log

See a Robot test results for the Blinky demo

Hello World (user)


A sample that prints “Hello World” to the console from a usermode thread.

Run locally

You can run the Hello World (user) demo on the SiFive HiFive1 Rev B 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_revb hello_world_user

Run in Colab

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

Colab

Run hifive1_revb hello_world_user demo in Google Colab.

UART output

Trace

Download

Build artifacts

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

SBOM data

Download Software Bill of Materials data for the Hello World (user) demo

Robot Test Suite Log

See a Robot test results for the Hello World (user) demo

Synchronization


A simple application that demonstrates kernel scheduling, communication, and timing. Two threads take turns printing “Hello World” synchronized by semaphores.

Run locally

You can run the Synchronization demo on the SiFive HiFive1 Rev B 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_revb synchronization

Run in Colab

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

Colab

Run hifive1_revb synchronization demo in Google Colab.

UART output

Download

Build artifacts

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

SBOM data

Download Software Bill of Materials data for the Synchronization demo

Robot Test Suite Log

See a Robot test results for the Synchronization demo

LZ4


This sample application compresses and decompresses a block of data with the LZ4 algorithm and verifies the result.

Run locally

The LZ4 demo is not supported in the Renode Zephyr dashboard on SiFive HiFive1 Rev B yet.

You can contact us by clicking the button below if you want to see it supported.

Contact us

Download

Build artifacts

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

SBOM data

Download Software Bill of Materials data for the LZ4 demo

Robot Test Suite Log

See a Robot test results for the LZ4 demo

Components


FE310

fe310

Similar boards


SiFive HiFive1

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