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: 
Contributor
Contributor
6,171 Views
Registered: ‎06-15-2015

Writing data into block memory generator using AXI BRAM controller

Hello,

 

I am new to using AXI BRAM Controller IP in Vivado IDE. Can anyone please let me know how to write the data into the block memory using BRAM Controller.

Capture.JPG

 

I want to write the data using Xilinx SDK and I found one function in xbram_hw.h.
XBram_WriteReg(BaseAddress, RegOffset, Data). Can someone please shed more light on this.

Thanks!

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
6,158 Views
Registered: ‎08-02-2007

Re: Writing data into block memory generator using AXI BRAM controller

hi,

 

i am assuming that there is a processor connected to the S_AXI side of the AXI BRAM Controller such as Microblaze/Zynq.

 

In this case, you can use the SDK(Software Development Kit) to create a memory test as shown in the snapshot.

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
Capture.JPG
0 Kudos
Xilinx Employee
Xilinx Employee
6,133 Views
Registered: ‎08-02-2007

Re: Writing data into block memory generator using AXI BRAM controller

hi,

 

refer to this link. http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+-+Using+BRAM+for+Additional+On-Chip+Memory+Tech+Tip

 

this is having the Zynq processor talk to AXI BRAM Controller.

 

--hs

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------
0 Kudos
Contributor
Contributor
5,907 Views
Registered: ‎06-15-2015

Re: Writing data into block memory generator using AXI BRAM controller

Hi @htsvn,

 

Thank you for the help! I am able to write the data into the block memory using Xilinx SDK. Can you please let me know if it is possible to change the memory depth of the AXI BRAM Controller? Currently, it consists of 8192 addresses([12:0]).

 

Vinay

0 Kudos
Adventurer
Adventurer
3,659 Views
Registered: ‎03-20-2016

Re: Writing data into block memory generator using AXI BRAM controller

Hello vinay,

     I am doing the same thing please give me suggestions.

 

Thanks

Deepak

0 Kudos