01-01-2016 11:27 PM
In Vivado I want to initialize the Block RAM (Block RAM Generator 8.3 in BRAM Controller mode) before running simulation. However I cannot find information about how to do that. There are information about how to initialize BRAM in bitstream, but not in simulation. I also tried the write_mmi.tcl script but it requires me to "open an elaborated, synthesized or implemented design before executing this command," but I only want to run simulation. Please kindly help. Thanks.
01-03-2016 08:35 PM
When using IP integrator, the initialization in BRAM Controller Mode is done only through the MEM file. For more details, see “MEM Files” of the Data2MEM User Guide (UG658) http://www.xilinx.com/support/documentation/sw_manuals/xilinx14_7/data2mem.pdf
01-03-2016 10:07 PM
Thanks for the reply. I already checked that document before asking. A simpler question is: How can I assign a MEM file to a BRAM? The field to assign MEM file is grayed out in Block RAM Generator 8.3 (Vivado 2015.3):
Is there any TCL command to assign a MEM file to a BRAM? Or I'm completely wrong about how to use the MEM file? Thanks.
BTW, I just want to run behavior simulation.