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
    About the element14 Community
  • 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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design MicroZed PS + PL with vivado 2013.4 and Linux command
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 5 replies
  • Subscribers 361 subscribers
  • Views 865 views
  • Users 0 members are here
Related

MicroZed PS + PL with vivado 2013.4 and Linux command

e14 Contributor
e14 Contributor over 12 years ago

Hi everybody.

I'm novice with ZYNQ SoC design. I bought a MicroZed board and I ran  01_MicroZed_Zynq_Intro_2013_2_01.pdf and Micro_zed_getting_started_v1.1.pdf tutorials. Everything was good (clear and simple).

Now I would like to generate a bitstream with PS + PL under Vivado
The idea is to implement a simple R/W register (32 bits) into PL. I would like to perform read/write on this register thanks to Linux command. Thus. I will be sure that PL is well configured.


Could you help me to do that ?
Which tools do I have to use ?
How to implement the register into PL into the Vivado project
How to connect PS to this register ?
Do I need any Linux driver to accees to the register via TeraTerm?


I know I have to convert bitstream.bit into bitstream.bit.bin as explained into xilinx AR# 46913 but I don't manage to do it.


I find this tuto MicroZed_Open_Source_Linux_In_System_QSPI_Programming_14_5_01-Tutorial but It seems to me that it needs ISE whereas I use Vivado 2013.4.

thanks very much.

best regards

Guillaume

  • Sign in to reply
  • Cancel
Parents
  • e14 Contributor
    0 e14 Contributor over 12 years ago

    Looking through the PG078 guide for it looks like AXI-4 lite mode should work as long as you make it 32 bits wide.  You should be able to read and write it the same way as any other perhiperals registers using mmap() technique.  Just be aware the AXI4-Lite r/w speed is quite slow compared to regular AXI4.  In a C program I was seeing about 20 MB/s.  In python is was much slower.

    Here's an article that's a bit more complicated and using the older tools, but you should be able to glean some insight from it.
    http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+PL+BRAM+Integration+with+PS

    J

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • e14 Contributor
    0 e14 Contributor over 12 years ago

    Looking through the PG078 guide for it looks like AXI-4 lite mode should work as long as you make it 32 bits wide.  You should be able to read and write it the same way as any other perhiperals registers using mmap() technique.  Just be aware the AXI4-Lite r/w speed is quite slow compared to regular AXI4.  In a C program I was seeing about 20 MB/s.  In python is was much slower.

    Here's an article that's a bit more complicated and using the older tools, but you should be able to glean some insight from it.
    http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+PL+BRAM+Integration+with+PS

    J

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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 © 2026 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.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube