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 II Programmable
  • Challenges & Projects
  • Design Challenges
  • Path II Programmable
  • More
  • Cancel
Path II Programmable
Blog PIIP - HW Lesson 3, 4 and 5
  • 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: 29 Oct 2019 5:01 AM Date Created
  • Views 475 views
  • Likes 2 likes
  • Comments 0 comments
Related
Recommended

PIIP - HW Lesson 3, 4 and 5

aspork42
aspork42
29 Oct 2019

In this post, I will briefly cover the hardware labs 3, 4, and 5 for Path II Programmable.

 

Lab 3 - Memory and peripherals test

This lab walked through manually adding peripherals like SD interfaces, I2C, SPI, UART, GPIO, and Display Port. The training is really geared towards teaching an embedded engineer how to custom-tailor Vivado settings for a specific implementation of the MPSoC chip on a custom board. This means that we have to manually configure clock speeds for each peripheral and pin layouts. If it was assumed that we were just using the Ultra96, then we could import a pre-configured board design and this would all be done for us; but we wouldn't know how to do anything else or what is happening in the background.

 

Once everything was added, we export the design and go over to the SDK. From there, we create a new board support package, and run a test on the RAM. We create a second application and chose the pre-configured Memory Test application. I ran into a small problem the first time around as the new memory test was never running - SDK kept launching Hello World on the Ultra96. I quickly found out that there is a setting under Run As--> Run Configuration which chooses the specific application to run. Once that was updated, then the test ran without issues.

image

 

Lab 04 - TCL Scripting

This lab was all about the command line interface for Vivado. At first blush, this seemed a little unnecessary to me - Vivado has a great GUI and it is easy to navigate and find what I need. As I learned though, Vivado is really running TCL commands in the background for all the GUI interactions. Pressing a button just pushes a TCL command over and the program responds. So we can basically do everything from TCL that we can do in the GUI; and more - we can automate with scripts. We can export a script to re-create our entire project which can then be easily saved off to Source Control; then recalled later and regenerated; without the need to manage multiple files in a folder structure.

 

TCL Console in Vivado:

image

So I think that TCL makes sense to learn when working a lot in Vivado; and any time source control is needed. We learn that we can preform and action from the GUI, then just look in the TCL window to see what command was used, then apply this to a custom script. This is how I used to start with writing macros in Excel - hit 'record'; do the action; then stop and see what the command was.

 

Lab 05 - Adding PL Peripheral - Block Ram

In this lab, we add Block Ram to our design. This starts simple enough by using the IP Library via the "PLUS" icon ("+") in the diagram, and searching for "BRAM". We have to manually configure and check a few things for this, then Vivado takes care of the rest; including adding the AXI interface and interconnects.

 

The IP Repo is a very useful tool and will be covered in later lessons, and I hope to use some of it for the second half of this training.

 

Video update

Check this video for a walkthrough of these three lessons.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

- James

  • 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