cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ahmadian
Observer
Observer
5,302 Views
Registered: ‎05-03-2015

How does the synthesis tool deal with the INIT FILE set in the BRAM primitive/Macro attribute

Hello,

 

It's been a long time that I'm trying to find a way to initialize BRAM primitives by external MIF files, but I was not able to load the values in the bitstream (simulation works, but not further).

I already read AR#59795, in which the reason has been explained well. However, there is no explanation about the solution for a user who wants to load the primitive by the INIT_FILE.

 

How can I have a working real design, in which the BRAM is instantiated with the defined values by an external file?

 

Thanks,

Hamid

0 Kudos
3 Replies
balkris
Xilinx Employee
Xilinx Employee
5,291 Views
Registered: ‎08-01-2008

You just need to refer this document
https://www.xilinx.com/Attachment/Xilinx_Answer_46945_Data2Mem_Usage_and_Debugging_Guide.pdf
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos
ahmadian
Observer
Observer
5,290 Views
Registered: ‎05-03-2015

Thanks for the prompt reply, but isn't this documented outdated? I'm not able to run data2mem in Vivado 16.2.

0 Kudos
balkris
Xilinx Employee
Xilinx Employee
5,281 Views
Registered: ‎08-01-2008

check these ARs as well
https://www.xilinx.com/support/answers/63041.html
https://www.xilinx.com/support/answers/61387.html
https://www.xilinx.com/support/answers/66984.html
Thanks and Regards
Balkrishan
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
0 Kudos