element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Blog Learning Vitis: 3 How to build an Example Application
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
FPGA requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: drozwood90
  • Date Created: 30 Apr 2020 3:19 PM Date Created
  • Views 1431 views
  • Likes 1 like
  • Comments 1 comment
  • ultrazed-ev
  • ultrazed
  • xilinx
  • vitis platform
  • ultrazed-eg-iocc
  • ultrazed-eg-pciec
  • vitis
Related
Recommended

Learning Vitis: 3 How to build an Example Application

drozwood90
drozwood90
30 Apr 2020

If you have not already checked out the previous blogs do so now!

Learning Vitis: 1 Setting up a Virtual Machine

Learning Vitis: 2 How to Download and "install" a pre-built platform

 

Once you have completed those, you are in a position to use the platforms in the platform repository!

 

We are going to pick up right where the "Download and "install" a pre-built platform" blog left off.  We not have our platform in a repository and we can access it!

image

So, what now?

Well, select the UltraZed-EG IOCC's platform and click next of course!

image

From here, we see a menu that asks about what Domain and what Sysroot Path we want.  Both are good as defaults!  If you want to know more about this, Domains are described in the SDSoC Technical Training Course.  While not the same tool, Vitis and SDSoC (as well as SDACCEL) all come from the same heritage so the terms mostly apply and are compatible.  Click Next!

image

From here, if you have NOT downloaded the Vitis IDE Examples, you typically will only see Empty and Vector Addition for templates.  If you have you will see MANY more.  To keep this simple for you to follow (this is a BLOG after all!), let's choose Vector Addition, then Finish.

image

Once Vitis is done scanning files, let's change the Active build configuration to "Hardware."  We have to do this because as of this post, we have not implemented the Emulation portions of the platforms.  This means you will see an error building after ~10 seconds of build time.  This is because the platform cannot provide the proper inputs for it's output!  If you look in the Avnet Vitis repository, the hooks are in place to provide this to the platform, but as of this time, the actual inputs are not available.

image

Now we can right click the Application and Build!

image

After some period of time (between the options that I have to build 45 minutes - 2 hours), you end up with an SDCARD folder that contains all of the files you need to copy to your SDCARD's FAT32 partition!

image

This is true for UltraZed-EG IOCC,UltraZed-EG PCIeCC, and UltraZed-EV.

You will also notice a rootfs.tar.gz file

image

For the Ultra96V2, you will need to extract the rootfs to the EXT4 partition of your SDCARD.  Instructions for this will be found in another Learning Vitis Blog!

 

While this is building, you can explore a bit.  Notice the [H] next to this function?

image

also notice that this is listed under the Hardware Functions?

image

There are many ways to decide which functions to accelerate.  You can KNOW, you can test and adjust, you can even perform a performance analysis and let the tool tell you what IT thinks is the most used function.  In our case, selecting the example defaulted this to hardware accelerated.

image

 

Look forward to my next blog, where I will show how to test the application!

 

Buy Ultra96V2Buy Ultra96V2
Buy Ultra96V2 I-gradeBuy Ultra96V2 I-grade
Buy Ultra96v2 4A Power SupplyBuy Ultra96v2 4A Power Supply
Buy Ultra96V2 J-TAG PodBuy Ultra96V2 J-TAG Pod
Buy UltraZed-EG Starter KitBuy UltraZed-EG Starter Kit
Buy UltraZed-EV Starter KitBuy UltraZed-EV Starter Kit
  • Sign in to reply
Parents
  • drozwood90
    drozwood90 over 4 years ago

    Hi all,

    I wanted to make it easier to find the various Vitis articles.  And while you can certainly just search, or use the above links, here is a nice easy list for you!

    Learning Vitis: 1 Setting up a Virtual Machine

    Learning Vitis: Build Environment Quickie 1 - See forever!

    Learning Vitis: 2 How to Download and "install" a pre-built platform

    Learning Vitis: Build Environment Quickie 2 - Wide Terminal?!

    Learning Vitis: 3 How to build an Example Application

    Learning Vitis: Build Environment Quickie 3 - A Tidy Shop is a Productive Shop

    Learning Vitis: 4 How to TEST an Example Application

    Learning Vitis: Build Environment Quickie 5 - Monitor the World?

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • drozwood90
    drozwood90 over 4 years ago

    Hi all,

    I wanted to make it easier to find the various Vitis articles.  And while you can certainly just search, or use the above links, here is a nice easy list for you!

    Learning Vitis: 1 Setting up a Virtual Machine

    Learning Vitis: Build Environment Quickie 1 - See forever!

    Learning Vitis: 2 How to Download and "install" a pre-built platform

    Learning Vitis: Build Environment Quickie 2 - Wide Terminal?!

    Learning Vitis: 3 How to build an Example Application

    Learning Vitis: Build Environment Quickie 3 - A Tidy Shop is a Productive Shop

    Learning Vitis: 4 How to TEST an Example Application

    Learning Vitis: Build Environment Quickie 5 - Monitor the World?

     

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube