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 Lab 09 - Finishing up the HW Series
  • 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: 4 Nov 2019 4:59 AM Date Created
  • Views 309 views
  • Likes 2 likes
  • Comments 0 comments
  • path ii programmable
  • xilinx
  • fpga
Related
Recommended

PIIP - HW Lab 09 - Finishing up the HW Series

aspork42
aspork42
4 Nov 2019

Today I finished up the Hardware series with Lab 09 - TCL Scripting

In this series, we are provided an Ultra96 board and a series of training modules focused around three areas - Hardware (the FPGA side), Software (the microprocessor side), and Petalinux (the OS side).

 

Lab 09 - TCL Scripting

This is a quick blog post since the lab was very quick. We simply open the project that we had going from Lab 08 and run a script. This script has been highly customized for this training to take the previous design and update it for the next set of lessons. it removes the  JTAG to AXI interface, adds a bunch of other AXI interfaces and IPs, and completes with exporting the hardware, running synthesis & implementation, and generating bit stream.

 

I did run into one (expected) problem since I was running out of the /home/james/ directory instead of the /home/training/ folder as per the instructions in lab 00.

image

 

I had some errors with the script then I remembered that I should have checked for this. I did a find/replace in the tcl script, but my project was already too buggered to recover. Thankfully, we are provided with the finished labs for each lesson so that we can easily start from a known good configuration. It is especially useful since there is so much that can go wrong with so many settings and sub-menus. If I missed some timing setting or PLL/clock domain and nothing worked, it would be much faster to start from a known good instead of troubleshooting (although I did try for a little while before throwing in the towel).

 

And the note below from the student lessons give me the go-ahead (in no uncertain terms) that the best course of action is remove & replace.

image

 

I'll skip a video for this blog post since it would just be me mumbling while the script runs, but here is the results based on the block design.

image

The extra components include an extra PWM controller, two UARTS, and some other things like connections to physical pins.

 

And with that, I'm off and running with the next section - Software!

 

- 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