FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-31-2009, 12:42 AM
alonzo
Guest
 
Posts: n/a
Default initialize BRAM contents

Hi all,
Is there a way to initialize BRAM contents (of memories created using
CoreGen) into a new bit file without having to recompile the whole
thing? I understand that was possible using data2mem with older
versions, e.g ISE 8.2. AR#18637 says it doesn't work for newer
versions. Does somebody know a work around?
Alonzo.
Reply With Quote
  #2 (permalink)  
Old 03-31-2009, 12:44 AM
LittleAlex
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

On Mar 30, 4:42 pm, alonzo <[email protected]> wrote:
> Hi all,
> Is there a way to initialize BRAM contents (of memories created using
> CoreGen) into a new bit file without having to recompile the whole
> thing? I understand that was possible using data2mem with older
> versions, e.g ISE 8.2. AR#18637 says it doesn't work for newer
> versions. Does somebody know a work around?
> Alonzo.


There are tools installed with the EDK that do that.

AL
Reply With Quote
  #3 (permalink)  
Old 03-31-2009, 01:05 AM
alonzo
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

On Mar 30, 4:44*pm, LittleAlex <[email protected]> wrote:
> On Mar 30, 4:42 pm, alonzo <[email protected]> wrote:
>
> > Hi all,
> > Is there a way to initialize BRAM contents (of memories created using
> > CoreGen) into a new bit file without having to recompile the whole
> > thing? I understand that was possible using data2mem with older
> > versions, e.g ISE 8.2. AR#18637 says it doesn't work for newer
> > versions. Does somebody know a work around?
> > Alonzo.

>
> There are tools installed with the EDK that do that.
>
> AL


Yes. I know about bitinit. But it is not transparent. It works with
cores that EDK provides and requires a MHS file. My project is a
simple ISE project that instantiate a couple BRAMs. I don't think it
would help. Do you know about any other tool?
alnz.
Reply With Quote
  #4 (permalink)  
Old 03-31-2009, 04:51 AM
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

On Mar 31, 3:05*am, alonzo <[email protected]> wrote:
> On Mar 30, 4:44*pm, LittleAlex <[email protected]> wrote:
>
> > On Mar 30, 4:42 pm, alonzo <[email protected]> wrote:

>
> > > Hi all,
> > > Is there a way to initialize BRAM contents (of memories created using
> > > CoreGen) into a new bit file without having to recompile the whole
> > > thing? I understand that was possible using data2mem with older
> > > versions, e.g ISE 8.2. AR#18637 says it doesn't work for newer
> > > versions. Does somebody know a work around?
> > > Alonzo.

>
> > There are tools installed with the EDK that do that.

>
> > AL

>
> Yes. I know about bitinit. But it is not transparent. It works with
> cores that EDK provides and requires a MHS file. My project is a
> simple ISE project that instantiate a couple BRAMs. I don't think it
> would help. Do you know about any other tool?
> alnz.


Xilinx AR's are really ROTFL stuff, from the AR you referred

Note: Using data2mem on CORE Generator memories in 9.1i or later works
only sporadically.

So Xilinx 9.1 and later are now "Sporadic software" !

ok, but that only relaced to coregen, and you have no need to used
coregen

just use the brams in ISE create a BMM file and use data2mem
it defenetly works in 10.1 too

http://www.xilinx.com/itp/xilinx10/b...cs/d2m/d2m.pdf

make BMM, use MEM file and all works
Antti






Reply With Quote
  #5 (permalink)  
Old 03-31-2009, 02:41 PM
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

Hi,

1- Hardware : Generate you bit file whatever how . --->
system_stub_download.bit
2- Software : Compile you application ---> application.elf
3- Use Data2me to put software into bitsream.
Example :
data2mem -bm "system/implementation/system_bd" -bt
"system_stub_download.bit" -bd "system\SDK_projects\application\Debug
\application.elf" tag microblaze_0 -o b system_bram_initialised.bit
Reply With Quote
  #6 (permalink)  
Old 03-31-2009, 04:22 PM
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

On Mar 31, 4:41*pm, [email protected] wrote:
> Hi,
>
> 1- Hardware : Generate you bit file whatever how . --->
> system_stub_download.bit
> 2- Software : Compile you application ---> application.elf
> 3- Use Data2me to put software into bitsream.
> Example :
> data2mem -bm "system/implementation/system_bd" -bt
> "system_stub_download.bit" -bd "system\SDK_projects\application\Debug
> \application.elf" tag microblaze_0 *-o b system_bram_initialised.bit


you did not read the OP, same as me.

he only concern is COREGEN related memories
not those made with EDK or hand crafted

there are no problems with EDK
there are no problems when memories are used with ISE (no EDK flow) as
long as they are not done with Coregen

as per Xilinx AR, ISE 8.1 was the last version of ISE that supported
coregen generated memories and data2mem

Antti





Reply With Quote
  #7 (permalink)  
Old 04-20-2009, 09:14 PM
alonzo
Guest
 
Posts: n/a
Default Re: initialize BRAM contents

On Mar 30, 8:51*pm, "[email protected]"
<[email protected]> wrote:
> On Mar 31, 3:05*am, alonzo <[email protected]> wrote:
>
>
>
> > On Mar 30, 4:44*pm, LittleAlex <[email protected]> wrote:

>
> > > On Mar 30, 4:42 pm, alonzo <[email protected]> wrote:

>
> > > > Hi all,
> > > > Is there a way to initialize BRAM contents (of memories created using
> > > > CoreGen) into a new bit file without having to recompile the whole
> > > > thing? I understand that was possible using data2mem with older
> > > > versions, e.g ISE 8.2. AR#18637 says it doesn't work for newer
> > > > versions. Does somebody know a work around?
> > > > Alonzo.

>
> > > There are tools installed with the EDK that do that.

>
> > > AL

>
> > Yes. I know about bitinit. But it is not transparent. It works with
> > cores that EDK provides and requires a MHS file. My project is a
> > simple ISE project that instantiate a couple BRAMs. I don't think it
> > would help. Do you know about any other tool?
> > alnz.

>
> Xilinx AR's are really ROTFL stuff, from the AR you referred
>
> Note: Using data2mem on CORE Generator memories in 9.1i or later works
> only sporadically.
>
> So Xilinx 9.1 and later are now "Sporadic software" !
>
> ok, but that only relaced to coregen, and you have no need to used
> coregen
>
> just use the brams in ISE create a BMM file and use data2mem
> it defenetly works in 10.1 too
>
> http://www.xilinx.com/itp/xilinx10/b...cs/d2m/d2m.pdf
>
> make BMM, use MEM file and all works
> Antti


Seems to work. Thank you.
alnz.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to see the contents of BRAM in simulator? aleksa FPGA 2 08-17-2008 09:31 PM
Adding a bram block to a user defined bram controller rajiv FPGA 0 07-09-2007 08:20 AM
how to initialize 2 BRAM (RAMB16_S18) Pasacco VHDL 5 01-09-2006 08:15 AM
Mark to initialize BRAM Marco FPGA 0 08-27-2005 07:23 PM
Xilinx EDK - Unable to initialize BRAM in Simulation swamy FPGA 5 11-22-2004 10:46 PM


All times are GMT +1. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved