Giter Site home page Giter Site logo

rotationfpgakernels's Introduction

Rotation Kernel

Setup

Pre-requisites

  • Vitis 2023.1
  • (probably Ubuntu 22.04)
  • XRT library 2023.1
  • Xilinx u200 board Deployment Target Platform
  • Xilinx u200 board Development Target Platform
  • see this link to download the last three files

First time setup

  • mkdir build
  • cp Makefile build/
  • cp hlsProject/tb_data/tb_input_features_raw.dat build/inputs.dat

On every terminal

  • source {Vitis}/2023.1/settings64.sh
  • source /opt/xilinx/xrt/setup.sh

Every change

  • run make (or do step by step)
    • make host
    • make compile
    • make link
      • make clean deletes all compiled files
      • make all cleans all main files
  • run source export.sh to get XCL_EMULATION_MODE=(mode) (if EMU_MODE was changed)
  • run ./host.exe TrackClassification.xclbin

Settings to change when adjusting

  • in the Makefile you can edit various things to add/change
    • HLS_NAME changes name of kernel and output files
      • if changing, also have to change config.cfg file
    • PART should be set to the platform that you installed (from .deb/.rpm)
      • (currently only works for Data Center cards, not Embedded (requires --sysroot etc))
    • most important EMU_MODE whenever you want to change emulation/hw mode change this between
      • sw_emu, hw_emu, and hw
    • .
    • HOST_SRC to add/remove source files for host (.cpp files)
    • NN_SRC to add/remove source files for NN kernel (.cpp files)
    • ROTATION_SRC to add/remove source files for rotation kernel (.cpp files)

rotationfpgakernels's People

Contributors

dfurle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.