v2025-07-15 or later
This tutorial offers step-by-step guidance covering the process from spike-based learning to FPGA prototyping.
An RTL simulator with mixed-language support (Not provided)
A Genesys2 FPGA board with an Olimex ARM-USB-TINY-H module (Not provided)
Any part starting with # should be replaced or modified according to your environment.
On Linux, use the bash shell for command-line operations.
Follow the two tutorials in the Prerequisites to install both the
Xarvis and RVX.
The directories cloned from npx-xarvis.git and npx-tutorials.git are called
#(xarvis dir) and #(tutorial dir),
respectively.
In this tutorial, we’ll use #(tutorial
dir)/platform/starc_neugemm as the platform directory, referred
to as #(platform
dir).
cmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)
cmd) make syn
cmd) source #(xarvis dir)/rvx_setup.sh
cmd) cd #(platform dir)/util/npx
cmd) make mnist_app
cmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)
cmd) make sim_rtl
cmd) cd sim_rtl
cmd) make test_app_npx.all
cmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)
cmd) make genesys2
cmd) cd imp_genesys2_YYYY-MM-DD
cmd) make imp
cmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)/imp_genesys2_YYYY-MM-DD
cmd) make program
cmd) make mcom
cmd) make test_app_npx.all