- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Any way to initialize on board BRAM?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-22-2012 11:06 PM
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?
Solved! Go to Solution.
Re: Any way to initialize on board BRAM?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 03:33 AM
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."
Re: Any way to initialize on board BRAM?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 04:12 AM
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
Re: Any way to initialize on board BRAM?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 08:04 AM
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
Re: Any way to initialize on board BRAM?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-23-2012 07:06 PM
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.











