FPGA AI Suite: SoC Design Example User Guide

ID 768979
Date 12/16/2024
Public
Document Table of Contents

3.6.4. Copying the Compiled Graphs to the SD card

To copy the required demonstration files to the /home/root/resnet-50-tf folder on the SD card:

  1. In the serial console, create directories to receive the model data and sample images:
    mkdir ~/resnet-50-tf
  2. On the development host, use the secure copy (scp) command to copy the data to the board:
    TARGET_IP=<Development Kit Hostname>.local
    TARGET=”root@$TARGET_IP:~/resnet-50-tf”
    demodir=$COREDLA_WORK/demo
    scp $demodir/*.bin $TARGET/.
    scp -r $demodir/sample_images/ $TARGET/.
    scp $COREDLA_ROOT/example_architectures/<architecture file> $TARGET/.
    scp $COREDLA_ROOT/build_os.txt $TARGET/../app/
    where <architecture file> is one of the following files, depending on your development kit:
    • Agilex™ 7 FPGA I-Series Transceiver-SoC Development Kit
      AGX7_Performance.arch
    • Arria® 10 SX SoC FPGA Development Kit
      A10_Performance.arch
  3. [Optional] In the serial console run the sync command to ensure that the data is flushed to disk.