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
  • Challenges & Projects
  • Design Challenges
  • Path to Programmable
  • More
  • Cancel
Path to Programmable
Blog Week 3: Done!! Lab3 Lab4 and Lab5
  • 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: snidhi
  • Date Created: 23 Oct 2018 10:34 AM Date Created
  • Views 906 views
  • Likes 7 likes
  • Comments 5 comments
  • minized architecture
  • avnet minized
  • minized
Related
Recommended

Week 3: Done!! Lab3 Lab4 and Lab5

snidhi
snidhi
23 Oct 2018

In this week; I also completed Lab 3, Lab 4 and Lab 5. The objectives of these labs were also very well written and rather simple to follow. These labs are a continuation from previous labs which can be found here

 

  • Lab 3
  • Lab 4
  • Lab 5
  • Conclusion

 

Lab 3

 

Main Objectives of this blog

• Enable and map all default peripherals in IP Integrator

• Set the PS clocks for the PS peripherals and the PL

• Create and Run C programs

  • Peripheral Tests 
  • Memory Test

Exp 1: Enable and map all default peripherals in IP Integrator.

 

The peripherals were modified in the MIO configuration window. The MIO config can be done by re-customizing the ZYNQ7 processing system. The peripherals such as Quad SPI Flash, USB0, SD card/eMMC should be enabled.

 

image

 

Exp 2: Set the PS clocks for the PS peripherals and the PL

 

Here we checked out how the PS Clock Wizard works and the different clock settings for the IO Peripheral Clocks; PL Fabric Clocks and the Processor/Memory Clocks. Each IO peripheral such as QSPI, SDIO, Ethernet needs its own clock frequency and this this can be changed in this wizard. The Zynq PS has three PLLs – ARM, DDR, and I/O

image

image

 

Now in the previous labs; we added the different peripherals and here we run peripheral tests on this hardware. These peripherals QSPI, SDIO, Ethernet are compiled in hardware from the previous lab 4 and lab 5. Now this hardware is exported from Vivado into SDK and tested by creating new Xilinx C/C++ Application on top of the bsp (Board support package).

 

Memory testing of the MInized board

image

image

 

Peripherals testing of the MInized board

image

 

image

 

Looking deeply into the power usage and connections established in the Minized FPGA

 

The power consumption has increased a tiny bit from the previous projectimage

 

image

image

Floor planning of the chip

 

image

The connections on the FPGA

 

image

All the peripherals in the Zynq FPGA processing system

 

Lab 4

 

This lab is more focused on scripting and using scripts instead of the Vivado GUI to design the system. Tool Command Language (TCL) commands are important to understand as all Xilinx tools run TCL in the background system.

 

Lab 4 Objectives

• Open and close block designs using TCL

• Execute simple TCL commands to manipulate IP Integrator block designs

• Export a block design to a TCL file on disk

 

There is a long help menu to understand the scripting for Vivado. And the console is also very intuitive and help with commands completion.

 

image

image

image

image

project_setup.tcl script

 

Lab 5

 

In this lab, we expand the previous block design by extending the memory space with a PL-based Block RAM (BRAM). The BRAM is used to buffer data going between the PS and PL.

 

Lab 5 Objectives

• Add a BRAM from the IP Catalog

• Connect AXI peripherals to the Zynq PS.

 

The BRAM (Block RAM Controller) is available in the IP Catalog as the AXI BRAM Controller. The 64 bit data width is adjusted in the AXI BRAM Controller IP settings options. Then using the automation connection wizard the Zynq PS (processing_system7_0) block is connected to the BRAM.

 

image

The updated block diagram

 

image

Summary of the BRAM Memory

 

image

 

image

The new connections established between ZYNQ and BRAM

 

Conclusion

The labs are well written. And not so difficult to follow as well. I found the TCL scripting part really interesting and handy. as for the rest; one has to self-investigate deeply further to learn what Vivado has to offer.

  • Sign in to reply

Top Comments

  • Fred27
    Fred27 over 6 years ago +4
    Slow down! I can't keep up.
  • DAB
    DAB over 6 years ago +2
    I like the screen shots, but could you add some description as to what you were asked to do and how you found the tool to be capable of supporting the object? DAB
  • snidhi
    snidhi over 6 years ago in reply to DAB

    yes for sure image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • snidhi
    snidhi over 6 years ago in reply to Fred27

    yes, the videos they have on the internet portal for minized are pretty much the same.

     

    You can also follow the link here. MiniZed DDR Delay Values in Vivado Block Design

     

    They have written in much more detail with all the delay values that need to be entered in vivado. They are also there in the datasheet but well its too much to read.

     

    Cheers

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Fred27
    Fred27 over 6 years ago in reply to Fred27

    OK - I've caught up. The old Avnet Speedway course seems to still be in sync with the newer Path to Programmable so far.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 6 years ago

    I like the screen shots, but could you add some description as to what you were asked to do and how you found the tool to be capable of supporting the object?

     

    DAB

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Fred27
    Fred27 over 6 years ago

    Slow down! I can't keep up. image

    • Cancel
    • Vote Up +4 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