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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
MicroZed Hardware Design Creating a MIG Block for microZed-020
  • 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 Verified Answer
  • Replies 5 replies
  • Subscribers 342 subscribers
  • Views 704 views
  • Users 0 members are here
Related

Creating a MIG Block for microZed-020

bkamen
bkamen over 8 years ago

Another toss-up of this topic list or the Xilinx Tools list...

Has anyone created a MIG block to split off the 1G DDR3 from the PS for use by PL designs?

This is my first time running the MIG and I have questions like:

* Ok, we set the Controller Options memory type which is x16, but then there's a pull-down box asking for 8/16/32/64bit Data Width.

* AXI Parameters: Data Width: 32 or 64? Arbitration Scheme?

* Memory Options: Input Clock Period defaults to 11250pS. Should this be changed? What about any additional clocks? (and then the options below?)

* FPGA Options: ANything needing changing here? (I already have an XADC)

Extended FPGA Options: uZed020 says 40ohms?

Pin Selection: (ugh. Anyone got a UCF file they'd share?)

Etc...etc...

Thanks,

 -Ben


EDIT: now that I'm closely reading this.. I'm wondering if the MIG is only useful for memory attached to PL available pins (i.e. the MIG won't work for PS controller attached memory?)

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hi Ben,

    Please refer to these two forum posts.

    http://zedboard.org/content/easiest-way-access-pl-memory-ps-zynqzedboard

    https://forums.xilinx.com/t5/Zynq-All-Programmable-SoC/Bypassing-inbuilt-DDR-controller-in-Zynq-PS-to-access-external/td-p/509701

    You are correct in your thoughts, MIG is only useful for memory attached to PL pins.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bkamen
    0 bkamen over 8 years ago

    Hey Josh,

    Excellent! Thanks...

    Both of those definitively confirm what I was already thinking -- and also end up leaving another question for which I could use some advice.

    So I'm using a OnSemi VITA (and eventually Python) image sensor for which I'm creating an ROI cropping engine...

    I need buffer space for 2 frames @ 1,313,280bytes each. I'm looking at AXI based DMA to the PS and the memory attached to it.

    How hands-off or hands-on does the OS running on the PS need to be to let the FPGA do it's thing?

    Also, any pointers at good AXI-DMA examples for the uZed-020? There's some setup questions there that an example would be nice to have.


    thanks,

     -Ben

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bkamen
    0 bkamen over 8 years ago

    I might add, the last page/comment from Muzaffer of the Xilinx link is funny.. they point out what needs to be done -- but at really too high a level.

    "Just build yourself a car and some roads and get in and go"...

    Having fiddled with the DMA engine and the DDR controller in Vivado... There's a whole lot of options/questions that come up.

    Again -- an example for the uZed would be fabulous.

    Cheers,

     -Ben

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hi Bkamen,

    Try checking out lab 6 of our Developing Zynq Hardware Speedway. In that lab we showcase the use of a DMA engine which can be implemented on the MicroZed 7020.

    http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-hardware-vivado-20133-201441-20152-and-20162

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • bkamen
    0 bkamen over 8 years ago

    Hey Josh -- Thanks..

    I did check that out -- but actually found this a little more helpful with the initial setup (that part isn't too hard... but validation is a good thing..)

    http://www.fpgadeveloper.com/2014/08/using-the-axi-dma-in-vivado.html

    And also:

    https://www.xilinx.com/support/answers/57550.html

    And finally: for LInux (although a little old)

    https://forums.xilinx.com/t5/Embedded-Linux/AXI-DMA-with-Zynq-Running-Linux/m-p/522755/highlight/true#M10649

    Hopefully this is helpful for others...

      -Ben

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • 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