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 FPGA - 03 - TCL introduction and BRAMs !
  • 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: nixiefairy
  • Date Created: 18 Jan 2019 12:34 PM Date Created
  • Views 747 views
  • Likes 3 likes
  • Comments 2 comments
  • path to programmable
  • minized
Related
Recommended

FPGA - 03 - TCL introduction and BRAMs !

nixiefairy
nixiefairy
18 Jan 2019

Hey everyone.,

 

ZynqHW_2017_4_lab_4_v11

 

So let's continue onward with setting up our basics for TCL.

After a brief read through the lab, I plan to use Vivado in tcl mode (non GUI mode). Let's see if we can change ports in a block diagram without seeing a block diagram [hehehe]. Below is a gallery of the output I got from the tcl console. Feel free to have a look at the solution code given at :my repo:

{gallery} Lab 4 slideshow

image

Where is the BD file located : block diagram

image

Opening project : Lab 4

image

Opening block diagram: Lab 4

image

IO ports list: Lab 4

image

A new Reset port attached: Lab 4

image

Validating block diagram and writing the tcl; file for it: Lab 4

image

Sourcing the new Project tcl file: Lab 4

image

Deleting the temp project created...sob: Lab 4

 

So that covers lab 4. It was a small sweet lab !

And onto the next lab, Lab 5!

ZynqHW_2017_4_lab_5_v12

 

The lab talks about using Block RAMs (BRAMs). They are memory units which can be used for varying purposes, from FIFOs to shift registers. One of the major uses is in the PL, where they are used as memory units for softcore microprocessors (like the MicroBlaze). The Block Memory Generator is an IP used to "optimize BRAM primitives". For  example, if we selected Simple Dual-Port RAM, we can save upto 50% of the BRAM resources. It does this through arranging the memory resources according to one of the three optimization algorithms present in it. The next issue we have to tackle, is connecting the BRAM to Zynq PS through an AXI interconnect.

The lab then continues about introducing a PL Clock to the design and a bit about the AXI interconnect. The final block diagram is given below :

  image

So that's it folks, loved how short and concise this lab was. This was the quality I was talking about in the earlier blog. Though would have loved to have a few sections removed from the manual.

Looking forward for the next lab! Until next time!!!

  • Sign in to reply

Top Comments

  • DAB
    DAB over 6 years ago +1
    Nice update. DAB
  • nixiefairy
    nixiefairy over 6 years ago in reply to DAB

    Thanks DAB !

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

    Nice update.

     

    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