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
MiniZed Hardware Design Data transfer from PL to PS DDR
  • 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
  • Replies 6 replies
  • Subscribers 323 subscribers
  • Views 1869 views
  • Users 0 members are here
  • zynq
  • ddr
  • dma
  • Datamover
Related

Data transfer from PL to PS DDR

Waqas
Waqas over 2 years ago

We are using MiniZed Hardware in our project. We want to move some data from PL side to PS DDR through the control of PL side. We are using AXI datamover IP to transfer data from PL to PS DDR. However, we are not able to see any data in PS DDR after PL has provided data on Streaming Interface of AXI datamover IP.

 Can anyone suggest solution to this problem??

  • Sign in to reply
  • Cancel

Top Replies

  • brianmckee
    brianmckee over 2 years ago +1
    On an Altera FPGA design I did a couple of years ago I needed to grab data from a table and load it into the PL from DRAM. I used a built in AXI interface soft macro and coded my own AXI master. Even though…
Parents
  • brianmckee
    brianmckee over 2 years ago

    On an Altera FPGA design I did a couple of years ago I needed to grab data from a table and load it into the PL from DRAM. I used a built in AXI interface soft macro and coded my own AXI master. Even though simulations worked using a model of the AXI Slave I found, it did not work in hardware.

    I found a better model of an AXI slave and utilized it for my SRAM model of the DDR. Then I debugged some of my AXI signal timing. There was an error, but even though the simulation worked after I fixed my bugs, the real hardware still did not.

    Then the FAE I worked with reminded me that there is a minimum burst length requirement for the DDR interface and the DDR AXI slave will ignore any reads that are too short. I can't remember the minimum, but you can probably find it in the ARM documentation for the CPU you are using.

    I added SRAM cache to my design and changed the burst to be sixteen 32 bit words and then the real hardware started working.

    I suggest you setup a test bench and make sure your timing is correct. If you used a soft macro that is known to work, and simulation works, try increasing your burst length.

    This is all I know about the voodoo of AXI DRAM interfaces.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • brianmckee
    brianmckee over 2 years ago

    On an Altera FPGA design I did a couple of years ago I needed to grab data from a table and load it into the PL from DRAM. I used a built in AXI interface soft macro and coded my own AXI master. Even though simulations worked using a model of the AXI Slave I found, it did not work in hardware.

    I found a better model of an AXI slave and utilized it for my SRAM model of the DDR. Then I debugged some of my AXI signal timing. There was an error, but even though the simulation worked after I fixed my bugs, the real hardware still did not.

    Then the FAE I worked with reminded me that there is a minimum burst length requirement for the DDR interface and the DDR AXI slave will ignore any reads that are too short. I can't remember the minimum, but you can probably find it in the ARM documentation for the CPU you are using.

    I added SRAM cache to my design and changed the burst to be sixteen 32 bit words and then the real hardware started working.

    I suggest you setup a test bench and make sure your timing is correct. If you used a soft macro that is known to work, and simulation works, try increasing your burst length.

    This is all I know about the voodoo of AXI DRAM interfaces.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
Children
  • Waqas
    Waqas over 2 years ago in reply to brianmckee

    We have observed that the following signal  (s_axis_s2mm_tready) provided by AXI-Datamover IP core becomes low, after we have provided 4bytes to the data mover core on its streaming interface. This signal does not become high again.

    Can anyone foresee some issue in our design

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • brianmckee
    brianmckee over 2 years ago in reply to Waqas

    Are you simulating your interfaces using models provided by Xilinx? That's where you should start.

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