This application uploads a FPGA image and then runs a test to verify it. To build a FPGA image use Intel Quartus Subscription edition and Alta Gate Supra software. Follow this tutorial to properly configure your building setup.
Applications are placed in system/fpga_la104 folder, in each application there are two folders: source holding the verilog source files and verify with C++ verification code which can be executed on PC/MAC with help of verilator. The same code runs on target machine (LA104) and is automatically executed when this loader finds the verification executable (it has the same name as FPGA image but with different extension).
Fibonacci counter example:
- Verilog source files: app.v, fibonacci.v
- Verification code: verify.cpp
- Built FPGA image and verification module system/apps/123_fpga/bin