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

SiFive HiFive Unleashed

U540
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 HiFive Unleashed 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 hifive_unleashed 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 hifive_unleashed 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 HiFive Unleashed 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 hifive_unleashed 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 hifive_unleashed 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 HiFive Unleashed 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 hifive_unleashed philosophers

Run in Colab

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

Colab

Run hifive_unleashed 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 HiFive Unleashed 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 hifive_unleashed 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 hifive_unleashed 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

The MicroPython demo is not supported in the Renode Zephyr dashboard on SiFive HiFive Unleashed 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 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


U540

u540

Device tree


Device tree

Hierarchical device data structure

Renode dts2repl

Converted device tree source into Renode .repl file

Specification


Frequency:

unknown

Flash:

unknown

RAM:

3840 KiB

ADDRESS SPACE PERIPHERAL TYPE DRIVER
0x00001000 - 0x00002000 modeselect memory SiFive modeselect0
0x00010000 - 0x00018000 maskrom memory SiFive maskrom0
0x01000000 - 0x01002000 dtim sram SiFive dtim0
0x01800000 - 0x01802000 itim0 memory SiFive itim0
0x01808000 - 0x0180f000 itim1 memory SiFive itim0
0x01810000 - 0x01817000 itim2 memory SiFive itim0
0x01818000 - 0x0181f000 itim3 memory SiFive itim0
0x01820000 - 0x01827000 itim4 memory SiFive itim0
0x02000000 - 0x02010000 clint timer driver SiFive clint0
0x08000000 - 0x0a000000 l2lim memory SiFive l2lim0
0x0c000000 - 0x10000000 plic interrupt-controller driver SiFive plic-1.0.0
0x10010000 - 0x10011000 uart0 serial driver SiFive uart0
0x10041000 - 0x10042000 spi1 spi driver SiFive spi0
0x10050000 - 0x10051000 spi2 spi driver SiFive spi0
0x10060000 - 0x10061000 gpio0 gpio driver SiFive gpio0
  • What is Renode
  • Market cases
  • News
  • Docs
  • Zephyr Dashboard
  • Antmicro
  • Renode
Copyright © 2021-2022 Antmicro
9c7587e9