v2025-12-06 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
A Genesys2 FPGA board connected to your computer - Manual
Any part starting with # should be replaced or modified according to your environment.
On Linux, use the bash shell for command-line operations.
On Windows, use the Windows Power 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_HOME} 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) source ${XARVIS_HOME}/rvx_setup.sh
cmd) cd #(platform dir)/util/npx
cmd) make setupcmd) cd #(platform dir)
cmd) make syncmd) cd #(platform dir)/util/npx
cmd) make mnist_appNot recommended because it takes a long time.
cmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)
cmd) make sim_rtl
cmd) cd sim_rtl
cmd) make test_npx_app.allcmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(platform dir)
cmd) make genesys2 // replace with your board name
cmd) cd imp_genesys2_YYYY-MM-DD // referred to as #(fpga dir)
cmd) make impcmd) source #(tutorial dir)/rvx_setup.sh
cmd) cd #(fpga dir)
cmd) make program
cmd) make printf
cmd) make test_npx_app.all