RVX Tutorial: Hello

Kyuseung Han
ETRI, Daejeon, South Korea

v2025-07-10 or later

Overview

Prerequisite

Things to Know

Installing RVX (Cloning the Repository Included)

Install RVX by following the instructions in the installation manual, using the tutorial repository for cloning.

Understating SoCs

Typically, an SoC means a chip that integrates a small computer within itself.
Simply put, it is a chip that runs your computer program.
It is used in environments where a general-purpose computer cannot be employed because of its size and power constraints.
To achieve these advantages, both hardware and software for SoCs are co-designed from the outset, focusing on the execution of a limited set of application programs.

RVX is a CAD tool for developing both hardware and software for SoC design.
Its primary purpose is to run and accelerate C programs on hardware operating at around 100 MHz.
For this purpose, this tutorial demonstrates how to run the simplest ‘Hello, World’ C program on hardware.

Running the C Program Using RTL Simulation

cmd) cd #(cloned directory)
cmd) source ./rvx_setup.sh
cmd) cd ./platform/tip_hello
cmd) make clean
cmd) make syn
cmd) make sim_rtl
cmd) cd sim_rtl
cmd) make hello.all

Running the C Program Using FPGA Prototyping

cmd) cd #(cloned directory)
cmd) source ./rvx_setup.sh
cmd) cd ./platform/tip_hello
cmd) make clean
cmd) make syn
cmd) make arty-100t // or the FPGA board you have
cmd) cd imp_arty-100t_XXXX // referred to as #(fpga dir)
cmd) make imp
inst) Connect the FPGA board to your computer.
cmd) make program
cmd) make printf
cmd) make hello.all

Navigate