Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
source /opt/Xilinx/SDx/2017.1/settings64.sh 

cd ~/scratch/examples/hello_world
# edit sdaccel.mk file to make XDEVICE=xilinx:kcu1500:4ddr-xpr:4.0

# compile host executable
make -f sdaccel.mk host


Compile and run on the actual hardwareCompile and run hardware emulation


Code Block
# compile hardware - this will take time!
make -f sdaccel.mk xbin_hw

...

Run example on FPGA

...



# setup environment
source /opt/Xilinx/kcu1500/xbinst/setup.sh

# run on FPGA
./host bin_vadd.xclbin



Code Block
make -f sdaccel.mk run_hw_em


and check performance results in sdaccel_profile_summary.html and sdaccel_profile_summary.csv files.

...