Tom Simpson
Published © GPL3+

Create a custom Kria KV260 accelerated ML application

Learn how to create a custom Kria Vision AI Starter Kit (KV260) ML application with PL overlay.

IntermediateFull instructions provided3 hours7,086

Things used in this project

Hardware components

Kria KV260 Vision AI Starter Kit
AMD Kria KV260 Vision AI Starter Kit
×1
Kria KV260 Power Supply and Adapter
×1
Kria KV260 Basic Accessory Pack
×1
3D printed KV260 stand (optional)
×1

Software apps and online services

Vivado Design Suite
AMD Vivado Design Suite
2020.2.2
Vitis Unified Software Platform
AMD Vitis Unified Software Platform
2020.2.2
PetaLinux
AMD PetaLinux
2020.2.2

Story

Read more

Schematics

Face detection application

Application code for face detection & scripts to setup the media pipeline

Code

DPU-TRD connections

Plain text
# /*
# * Copyright 2019 Xilinx Inc.
# *
# * Licensed under the Apache License, Version 2.0 (the "License");
# * you may not use this file except in compliance with the License.
# * You may obtain a copy of the License at
# *
# *    http://www.apache.org/licenses/LICENSE-2.0
# *
# * Unless required by applicable law or agreed to in writing, software
# * distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
# */


[clock]

freqHz=300000000:DPUCZDX8G_1.aclk
freqHz=600000000:DPUCZDX8G_1.ap_clk_2
freqHz=300000000:resize_accel_1.ap_clk

[connectivity]

sp=DPUCZDX8G_1.M_AXI_GP0:HP1
sp=DPUCZDX8G_1.M_AXI_HP0:HP2
sp=DPUCZDX8G_1.M_AXI_HP2:HPC1

sp=resize_accel_1.m_axi_gmem1:HPC0
sp=resize_accel_1.m_axi_gmem2:HPC0


[advanced]
misc=:solution_name=link

[vivado]
#prop=run.impl_1.strategy=Performance_EarlyBlockPlacement
prop=run.impl_1.strategy=Performance_Explore

KV260 board files download script

Textile
#!/bin/bash

# KV260
cd $XILINX_VIVADO/data/boards/board_files
sudo rm -rf kv260
sudo mkdir -p kv260/1.1
sudo chown -hR $USER:$USER kv260
cd kv260/1.1
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/LICENSE
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/board.xml
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/changelog.txt
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/part0_pins.xml
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/preset_s4.xml
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/vsom_kit.jpg
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/kv260/1.1/xitem.json

# SOM-240
cd ../..
sudo rm -rf som240
sudo mkdir -p som240/1.1
sudo chown -hR $USER:$USER som240
cd som240/1.1
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/som240/1.1/LICENSE
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/som240/1.1/board.xml
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/som240/1.1/changelog.txt
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/som240/1.1/preset.xml
wget https://raw.githubusercontent.com/Xilinx/XilinxBoardStore/2020.2.2/boards/Xilinx/som240/1.1/xitem.json

Credits

Tom Simpson

Tom Simpson

5 projects • 67 followers
DSP & Machine Learning specialist at Avnet

Comments