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
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Need to Build a Large FIFO on Zedboard
  • 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 6 replies
  • Subscribers 336 subscribers
  • Views 683 views
  • Users 0 members are here
Related

Need to Build a Large FIFO on Zedboard

Former Member
Former Member over 11 years ago

I am using the Zedboard and I am in the need of a large FIFO to buffer data in the PL to eventually move the data to the PS. Currently I am trying to populate a 32 bit wide with at least 500000 depth FIFO buffer but there isnt enough resources in the Zedboard. I am wondering what other possible solutions I have?

One thought was creating multiple FIFOs with diefferent resources (distirbuted ram, BRAM, and FIFO36 blocks) then route the data as each one gets filled up. It seems however that the FIFO36 and the BRAM options use similar resources so I still have a problem. When I try to run the distributed RAM option with huge depth IP doesnt seem to get generated when I start synthesis.

Another thought was using an expansion board. Are there any FMC or PMOD expansion boards that I could use to expand on the exisiting logic in the Zed board? Or can I use another zedboard or microzed to expand?

Any other ideas that might be useful?

  • Sign in to reply
  • Cancel
  • drozwood90
    0 drozwood90 over 11 years ago

    Hi,

    Have you considered using the AXI bus to just write directly into the DDR memory that is used by the PS?  You can configure the DMA controller to allow this access.  This is done using the AXI GP interfaces.  Then you only need to set an interrupt (AXI ability) to tell the PS when it needs to manipulate the data.

    --Dan

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to drozwood90

    Thanks zedman2000, that sounds like the most reasonable solution I've encountered so far. I was also looking into AXI virtual FIFO but it looks like more than I need. Nevertheless, with the DMA solution that you mentioned it seems like the DMA controller hooks up to AXI stream on the IP side (S2MM) and all the GPIO AXI that I could find support AXI-lite only. In addition, seems like theres more than one flavor of DMA controllers so Im not sure what the difference is between them all. Is there a specific DMA flavor that supports AXI lite on the IP side as well?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 11 years ago

    omh11,

    There is four PL DMAC (DMA Controller) in the Zynq.  It also has 4 PS interfaces for 8 concurrent links.

    There are also 8 interrupt lines.  You will have to write some DMAC code to make this work.  It is listed on User Guide 585 (UG585).

    •   AXI Central DMA (CDMA)  
          
      •     Memory-to-memory operations
      •  
    •   AXI DMA  
          
      •     High Bandwidth DMA
      •   
      •     Memory to/from AXI Stream-type  peripherals
      •  
    •   AXI DataMover  
          
      •     FIFO Memory Mapped to Streaming
      •   
      •     Streaming AXI interface alternative to traditional DMA, no Scatter Gather
      •  
    •   AXI Video DMA  
          
      •     Optimized for streaming video application to/from memory
      •  

    For you, you are probably looking at AXI Datamover or AXI Central DMA.  They can be found in the IP chooser in Vivado.  These DO use the High Performance ports.  The AXI GPIO pins are typically used for much slower things such as SPI/I2C/controlling BITS directly in the PL fabric.

    --Dan

     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to drozwood90

    Thanks for the help!!!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 11 years ago in reply to drozwood90

    Dan,

    Ever since your post I've been struggling with the Datamover and could not get it to work. Is there any good examples you can reference me to? especially for S2MM.

    Thanks!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • drozwood90
    0 drozwood90 over 11 years ago

    omh11,

     

    How about this from the Xilinx Intellectual Property site?

    "Xilinx provides the AXI Virtual FIFO Controller core to use external DRAM memory as multiple FIFO blocks."

    http://www.xilinx.com/products/intellectual-property/axi_virtual_fifo_controller.htm

     

    --Dan

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