RISC-V eXpress CLI Manual for Linux/Windows
- FPGA Prototyping -

Kyuseung Han, Sukho Lee, Jae-Jin Lee
ETRI, Daejeon, South Korea

v2025-07-10 or later

Overview

This manual is intended for validating applications on an FPGA platform. The hardware platform verified through RTL simulation is automatically prototyped onto the predefined FPGA. Applications developed by the user are then validated on this FPGA prototype. The currently supported commercial boards are listed below.

Note that this process requires a license for AMD Vivado, which must be obtained separately.
Also, all boards must be connected to your computer using the Olimex ARM-USB-TINY-H module.

Prototyping Functionality

Creating a Prototyping Directory

Creating a Vivado Project

Generating an FPGA Bitstream

Cleaning All Vivado Results

cmd) cd #(fpga dir)
cmd) make clean

Validating Functionality

For the following functionalities, you must power on the FPGA board and connect it to your computer.

Programming the FPGA with the Generated Bitstream

Opening the Terminal to View printf Output

Command @ Linux

cmd) cd #(fpga dir)
cmd) make printf

Command @ Windows

Figure 1: Device Manager and PuTTY.
cmd) cd #(fpga dir)
cmd) make printf
> Device Manager and PuTTY will be launched.
inst) Check the USB Serial Port number in Device Manager.
> In Figure 1, the port number is COM8.
inst) On PuTTY, configure the settings as highlighted by the three red boxes in Figure 1.
> If you save the session, you can reuse these settings later.
inst) Open

Running an Application on the FPGA Prototype

Common

Running an Application

cmd) cd #(fpga dir)
cmd) make #(app name).run

Running an Application with a Rebuild

cmd) cd #(fpga dir)
cmd) make #(app name).rerun

Running an Application with Optimization

cmd) cd #(fpga dir)
cmd) make #(app name).opt

Running an Optimized Application with a Rebuild

cmd) cd #(fpga dir)
cmd) make #(app name).reopt

Running an Application with Profiling

cmd) cd #(fpga dir)
cmd) make #(app name).profile

Auxiliary Functionality

Open a Vivado Project

Displaying Available FPGA List

cmd) cd #(platform dir)
cmd) make fpga_list

Displaying Applications List

cmd) cd #(fpga dir)
cmd) make app_list

Deleting All Prototyping Directories

cmd) cd #(platform dir)
cmd) make clean_imp

Enabling Keyboard Input in Minicom

Figure 2: Minicom Setup.
cmd) sudo minicom -s
inst) Select “Serial port setup”.
inst) Configure the settings as shown in Figure 2.

Navigate