sdsoc: session 4 - adiuvo...

25
SDSoC: Session 4 [email protected]

Upload: others

Post on 30-May-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 2: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Objective

Demonstrate how we can create our own platform

For fun we will look at MicroZed and Zed

Page 3: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest
Page 4: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest
Page 5: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest
Page 6: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest
Page 7: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest
Page 8: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Vivado Platform Creation

•Clocks

•Interrupts

•AXI Interconnects Define

•Validate the design

•Write out the DSA Write

•Validate the DSA Validate

Page 9: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Vivado is only one half

We need to also create the following as a minimum

FSBL

Boot and Bif Files

Linker Script

Page 10: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Use SDK to create necessary SW env

If we want to use Linux then we need to create a PetaLinux image too

Page 11: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Creating a new platform in SDSoC

Page 12: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Custom Platform creation

Page 13: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Defining the system configuration

Page 14: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Application settings

Page 15: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Linker script

Page 16: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

New Custom platform

Page 17: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Test the platform no acceleration

Page 18: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Test the Platform Acceleration

Page 19: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Working OK?

Page 20: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Extension for Image Processing

C video libraries— Available within the Vivado HLS tool header files

• hls_video.h library

• hls_opencv.h library

Enable migration of OpenCV designs for use with the Vivado HLS tool

Page 21: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

For function signatures and descriptions, see the HLS user guide

Video Library Supported Functions

1-

6

76075**slide

Page 22: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

HLS Sobel

Page 23: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

reVision

Page 24: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

reVISION

Page 25: SDSoC: Session 4 - ADIUVO Engineeringadiuvoengineering.com/wp-content/uploads/2018/06/session-4.pdf · Questions? New name a . Project to add 'P, 00 t. a ET ESE . Part a can Latest

Questions?