- Go to the aws-fpga folder
cd <the-path-of-aws-fpga-folder>
- Setup the software environment
source sdk_setup.sh
- Go to the hello-world example folder
cd hdk/cl/examples/cl_hello_world
- Export environment variable for the design
export CL_DIR=$PWD
- Go to the runtime folder
cd software/runtime
- Run
make all
- Run
sudo ./test_hello_world
- Look for
TEST PASSED
in the output of the program - This hello-world design uses a virtual dip switch that can be changed after programming the FPGA
- The virtual dip switch can be changed by
sudo fpga-set-virtual-dip-switch -S 0 -D 1111111111111111
- The virtual dip switch can be changed by