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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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
  • Challenges & Projects
  • Design Challenges
  • Path to Programmable
  • More
  • Cancel
Path to Programmable
Blog Path to Programmable - SW Lab 3
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: aspork42
  • Date Created: 31 Dec 2018 5:24 PM Date Created
  • Views 652 views
  • Likes 3 likes
  • Comments 1 comment
  • path to programmable
  • xilinx
  • fpga
  • vivado
  • minized
  • sdk
Related
Recommended

Path to Programmable - SW Lab 3

aspork42
aspork42
31 Dec 2018

Lab 3 - Board Support Package

Welcome back everyone - hope you all have a great new year! This lab goes into much more detail about what the Board Support Package (BSP) is and does when it comes to the software SDK. For me, this cleared up a lot of questions I had regarding it and why we have to generate it from the HDL (Hardware description) that Vivado outputs. Read on to find out more!

 

About:

Through Avnet, Xilinx and Element14, a training program to learn about the Zynq 7000 platform which is System On Chip combining an FPGA with an ARM processor. This comes to the students as complete development board packed with goodies like a wireless chip from MuRata (BT/BTLE/WIFI), 8GB Flash memory, onboard RAM, USB to JTAG (JTAG programmable over USB), Arduino-style headers (3.3V compatible only), Microphone, Bi-Color LED, and two additional expansion ports.

 

See all blog posts for this training here.

 

Importing HDL and generating BSP

The HDL file is generated from Vivado and describes the 'hardware' that is included in a project. This means things like a UART, BRAM, Flash, SPI, and any custom IP like the aforementioned PWM controller. The HDL file is literally just 'describing' the hardware. So it will list things like memory addresses, what the physical pin layouts are, what clocks and timing setups are used. It is up to the BSP to tie these physical descriptions with specific drivers and libraries to make them work together. Once the BSP is created, the software developer will have everything that they require to start developing the actual software.

 

BSP hardware components and associated drivers to be included:

image

 

 

 

Once the BSP is created, we can examine the system.mss file which describes the BSP. This file shows all the relevant info for the BSP; and even includes links to example code for each of the individual drivers that are used.

image

 

In the lesson, we click on "Import Examples" for the ps7_gpio_0 and pull in example code for reading GPIO inputs and writing an LED on and off based on that input.

 

We also are shown that the Project Explorer is showing us what is physically located in our workspace on the hard drive of the computer. So if we ever need a back door into the file structure; it is all present in this location.

image

 

It is noted that these four files are removed & re-created every time a new BSP is generated. This means that we should never edit them directly as they will be blown away. If changes are required; it could mean re-generating the HDL from Vivado or re-importing individual libraries as required.

 

That's it for this lab! In the next lab we will crate "our own" code (following the instructions) and add some example code. And after that, we can connect the board and test things IRL!

 

Until next time,

- James

  • Sign in to reply

Top Comments

  • DAB
    DAB over 6 years ago +1
    Nice update James. Since the files are overwritten, you can always move them to a different folder if you want to keep past versions. DAB
  • DAB
    DAB over 6 years ago

    Nice update James.

     

    Since the files are overwritten, you can always move them to a different folder if you want to keep past versions.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
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