cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
495 Views
Registered: ‎04-01-2018

Reading DDR from master peripheral

 

I want to read data from DDR from my master peripheral in a MicroBlaze system.

 

I sent a read request to DDR by modifying the USER_LOGIC.v file  generated by the XPS tool

 

I set  ip2bus_mstrd_req = 1;   ip2bus_mst_addr = address of DDR;   appropriate value for ip2bus_mst_be 

 

I could not read anything   i am getting

                          bus2ip_mstrd_src_ready_n = 1

why is this happening i wonder 

 

please someone help,  because of it all my project is stuck at this point

 

 

Thanks

 

 

0 Kudos
1 Reply
Highlighted
Scholar
Scholar
439 Views
Registered: ‎03-28-2016

Reading and writing to DDR is a fairly complicated process.  The AXI protocol must be closely followed in order to achieve a successful transfer.

 

I find it much easier to use the AXI infrastructure to do it for me.  Take a look at using one of the DMAs (SG-DMA, VDMA,...).  A second option is the AXI DataMover (https://www.xilinx.com/support/documentation/ip_documentation/axi_datamover/v5_1/pg022_axi_datamover.pdf).

 

Ted Booth | Tech. Lead FPGA Design Engineer | DesignLinx Solutions
https://www.designlinxhs.com
0 Kudos