cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kathir_252525
Observer
Observer
338 Views
Registered: ‎08-21-2019

USING TWO XDMA in SAME BLOCK DESIGN

HI,

I am using one microblze , 2 XDMA IP and 4 block Ram in same block design.

my target is i need to read data from Bram 0 and write to Bram 1 with XDMA

its quite urgent , plz help me on this.

Step 1:
XDMA_0 is End point (AXI_MM),

Step 2:
XDMA_1 is Root port of PCI Express Root complex.

Step 3:
Bram 0 is filled with data,
Bram 1 is empty
Bram 2 is having H2C descriptor details,
Bram 3 is having C2H descriptor details.

Step 4:
then in SDK i have used below sequence . "EP_DMA_LITE" = XDMA_0 base address

write32 (EP_DMA_LITE + 0X5080, 0xC4000000); // C2H descriptor base address (LSB 32bit)
write32 (EP_DMA_LITE + 0X5084, 0x00000000); // C2H descriptor base address (MSB 32bit)
write32 (EP_DMA_LITE + 0X5088, 0x00000003); // Data Length
write32 (EP_DMA_LITE + 0X1004, 0x00000001); // C2H start..

Step 5:
in testbench i connected both XDMA_0 and XDMA_1 TX, RX pins.. i am getting linkup..

Step 6:
in BD i marked yellow collor is XDMA_0, Pink is XDMA_1 and Grean is Brams

but as per design data moving is not working.. can someone help me.. i attached my BD.

Thanks
Kathir

BD1.JPG
BD2.JPG
BD3.JPG
0 Kudos
0 Replies