UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer p.anilraj93
Observer
273 Views
Registered: ‎01-10-2018

In Zynq ZC706 I am writing the data from the ethernet DMA into the Dual port Block ram ,That same block ram I am read/writing from PL also. I am not able to find when my block ram is getting full?

I am  new to Zynq platform.In my  Zynq ZC706 design  I am writing the data from the ethernet (GEM) peripheral DMA into the Dual port Block ramon PL side ,and to that  same block ram I am read/writing from PL also. I am not able to find when my block ram is getting full and my data is getting corrupt

can u suggest me any idea Wether to use fifo or AXI CDMA?blockram.PNG

0 Kudos
1 Reply
Xilinx Employee
Xilinx Employee
262 Views
Registered: ‎10-04-2016

Re: In Zynq ZC706 I am writing the data from the ethernet DMA into the Dual port Block ram ,That same block ram I am read/writing from PL also. I am not able to find when my block ram is getting full?

Hi @p.anilraj93,

I'm not sure what you mean by your Block RAM is getting "full." This is a memory mapped device, so it doesn't have a concept of full/empty like a FIFO. I would expect software to manage where the GEM Ethernet DMAs data and software should know how big that BRAM is as well as insure that it doesn't allow DMA to exceed the size of the BRAM.

Whether to use a FIFO or AXI CDMA depends on your application as they have very different purposes. Can you explain what problem you are trying to solve?

Generally, FIFOs are used when you have a mismatch in the data rate between a producer and a consumer. If you have a fast AXI master that can send a lot of data and a slow AXI slave that can't consume the data as quickly, you add a FIFO to hide the latency of the slave from the master.

An AXI CDMA performs memory to memory transfers. Examples of the transfers it performs are DRAM to DRAM or BRAM to DRAM. You need a processor to set up the transfer.

Regards,

Deanna

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos