Sign In

Don't have a Xilinx account yet?

  • Choose to receive important news and product information
  • Gain access to special content
  • Personalize your web experience on Xilinx.com

Create Account

Username

Password

Forgot your password?
XClose Panel
Xilinx Home
Reply
Visitor
zohair01
Posts: 5
Registered: ‎02-28-2011
0
Accepted Solution

Any way to initialize on board BRAM?

I have BRAMs in my design. During simulation I used coe files to generate mif files to act as initialization for the RAMs. But is this possible during synthesis? Am I able to transmit memory information along with the bit file?

Expert Contributor
rcingham
Posts: 2,010
Registered: ‎09-09-2010
0

Re: Any way to initialize on board BRAM?

Which FPGA?
What version of tools?
Are you inferring the BRAM, or did you use the 'Block Memory Generator'?

------------------------------------------
"If it don't work in simulation, it won't work on the board."
Expert Contributor
eilert
Posts: 2,060
Registered: ‎08-14-2007
0

Re: Any way to initialize on board BRAM?

Hi,

basically yes.

Even after Place & Route you can change the BRAM initial values in the bitfile with the data2mem tool without needing to rerun the whole implementation.

Read the data2mem documentation for details.

 

Have a nice synthesis

   Eilert

Super Contributor
barryabrown
Posts: 142
Registered: ‎09-11-2007
0

Re: Any way to initialize on board BRAM?

You initialize the block ram in coregen with your coe file - the resulting ngc includes the initial values.  Since you have created a coe and generated a mif, you have probably done this already.

 

Barry

Visitor
zohair01
Posts: 5
Registered: ‎02-28-2011
0

Re: Any way to initialize on board BRAM?

I see. I was under the impression that since the mif file was generated, that it is only for simulation. OK. That makes sense. Thanks.