element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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
Path to Programmable 3
  • Challenges & Projects
  • Design Challenges
  • Path to Programmable 3
  • More
  • Cancel
Path to Programmable 3
Blog Exploring Xilinx Vitis | Zynq MPSoC - Blog 3
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Path to Programmable 3 to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: rahulkhanna
  • Date Created: 5 Sep 2023 6:56 PM Date Created
  • Views 1163 views
  • Likes 5 likes
  • Comments 0 comments
  • ultra96v2
  • design challenge
  • vivado
  • Ultra96-V2 Board
  • Path to Programmable III
  • Path to Programmable 3
  • Training blog
Related
Recommended

Exploring Xilinx Vitis | Zynq MPSoC - Blog 3

rahulkhanna
rahulkhanna
5 Sep 2023
Exploring Xilinx Vitis | Zynq MPSoC - Blog 3

In this blog post, we will set up the Vitis IDE, where we will walk through the process of creating a workspace, configuring a Platform project, and creating an Application project.

The final stage in the hardware export process within Vivado results in the creation of a file named "design1_wrapper.xsa." This file can be opened using a zip viewer and contains the following set of files:

Psu_init.c C code file defining all the register settings to properly initialize the ARM processing system. Used to create the First Stage Boot Loader (FSBL) executable.
Psu_init.h Header file used with ps7_init.c which is also used in the creation of the FSBL.
Fpsu_init.html Information file that describes how the ARM processing system is configured in this hardware platform and what all the register settings are. This is the best file for a software engineer to first examine as it is the ‘datasheet’ for the hardware platform.
psu_init.tcl This is the equivalent of ps7_init.c, but in TCL format. This is located in the Driver folder This file performs the ARM initialization when using Vitis in JTAG mode, such as when debugging.
psu_init_gpl.c Identical to ps7_init.c, with the exception of the header which highlights the GNU General Public License
psu_init_gpl.h Identical to ps7_init.h, with the exception of the header which highlights the GNU General Public License
drivers This folder contains TCL file for generating parameters for the custom IP driver
sysdef.xml System Definition XML, containing parameter definitions for each file contained within the archive
design_1.hwh Hardware Hand-off file
design_1 _bd.tcl TCL file to re-create the Zynq PS7 Block Design
design_1_wrapper.bit (<project>_wrapper.bit) This is the PL configuration bitstream. This file is used to configure the PL, which gives the PL its function and identity. ‘Z_system_wrapper’ is the name of the top-level HDL file that the hardware designer used.
design_1.mmi BRAM Memory Map Info file


Hardware System Block Diagram


image

Setting up a Platform project on Vitis

Launch the Vitis IDE and Create a "Vitis" folder while specifying the Workspace directory.

image

Create a new platform project by selecting File > New > Platform Project. Name the Platform as “Ultra96_V2_Platform” and click Next.

image

Click Browse and select the design_1_wrapper.xsa file located in the Vivado project and click Next. 

image

We have successfully created a platform project for the Ultra96 V2 hardware.

image

Setting up an Application project on Vitis

Double-click on "platform.spr" in the Project Explorer within the "Ultra96_V2_Platform" directory. Click on the Modify BSP option for "psu_cortex53." Choose the "standalone" option from the available selections. Configure the standard input (stdin) and standard output (stdout) to use psu_uart_1. Confirm your settings by clicking the "Ok" button.

image

Build the project with CTRL-B to prepare it for execution or deployment and identify any code errors.

{gallery}

image

image

The Standalone BSP can be constructed using components from the Xilinx software library collection, which includes:

• Libmetal – Libmetal Library
• Lwip202 -- An open source light-weight TCP/IP networking library
• openamp – OpenAmp Library
• xilffs – Generic Fat File System library
• xilflash – A library that provides read/write/erase/lock/unlock and device-specific functionalities for parallel flash devices
• xilisf – In-System-Flash library that supports the Xilinx In-System Flash hardware
• xilmfs – A Memory File system
• xilpm – Power Management API Library for Zynq
• xilrsa – Xilinx RSA library
• xilskey – Secure Key library

We've successfully configured the platform project for Ultra96 V2 hardware, and we're now prepared to build a new application project.

  • Sign in to reply
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