GithubHelp home page GithubHelp logo

chienyulee / get_moving_with_alveo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xilinx/get_moving_with_alveo

0.0 0.0 0.0 1.53 MB

For publishing the source for UG1352 "Get Moving with Alveo"

CMake 5.81% Makefile 1.52% C++ 92.66%

get_moving_with_alveo's Introduction

UG1352: Get Moving with Alveo

This repository contains the source files for the exercises in UG1352: Get Moving With Alveo.

This repository majes use of Git submodules to pull in other repositories such as the Vitis Vision hardware accelerated library. To properly clone this repository be sure to include the --recurse-submodules command line switch.

git clone --recurse-submodules https://github.com/Xilinx/Get_Moving_With_Alveo.git

This repository includes both hardware and software sources.

This repository has been validated against the Vitis Unified Development Environment release 2019.2 and has been hardware-validated against the following platforms:

Alveo Card Platform XRT
U200 xilinx_u200_xdma_201830_2 2.3.1302
U250 xilinx_u250_xdma_201830_2 2.3.1302

Building the Hardware Design

All hardware sources for this design are under the hw_src directory and can be built by running make. Before doing so, edit config.mk or override these values on the command line to point to your particular system:

# Options for TARGET: sw_emu, hw_emu and hw
TARGET ?= hw
# Options for DEVICE: u200, u250. Default platform is XDMA, defined by PLATFORM
DEVICE ?= u250
# If other some specific platforms needs to be used, provide platform path directly
PLATFORM ?= xilinx_$(DEVICE)_xdma_201830_2
# If your platform is not in the standard install area edit this line
PLATFORM_REPO_PATH ?= /opt/xilinx/platforms/

Then build the platform:

cd hw_src
make

Building the Software Design

All software for these references is built using CMake. For some examples we rely on external libraries, in particular OpenCV and OpenMP. If these libraries are not present on your system the dependent examples will not be built.

From the root directory of this archive, to build the software:

mkdir build
cd build

cmake ..

make -j

NOTE: This should be done after building hardware so that the .xclbin file exists

To run any of the resulting examples, execute them directly as per UG1352: Get Moving With Alveo. Note that some examples, specifically #7 and #8, require additional command line arguments. Running these examples with no command line arguments will print a help message with further instructions.

./00_load_kernels

get_moving_with_alveo's People

Contributors

rwarmstr avatar imrickysu 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.