cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
7,979 Views
Registered: ‎10-10-2011

selective .COE initialization

Hi all,

 

I learnt that the BRAM coregen has the option of using the tandem initialization option using COE file and the default option. My question is, how do i specify the address locations which I want to be initialized by the coe file?This is particularly helpful in cases where you have very deep memories (16384 in my case), and you only want to initialize only a few locations using the coe file anddefault the rest of them to zero.

 

The format of the files does not explicitly specify the address. I am sure there should be a way other than writing a coe file with 16384 entries! :)

 

Thanks.

0 Kudos
1 Reply
Highlighted
Observer
Observer
7,971 Views
Registered: ‎10-10-2011

Re: selective .COE initialization

I tried it out, and i seemed logical to include all the locations serially starting from 0 to the last location you want to initialize using the coe file. Using "fill remaining locations by zero" options allows to avoid mentioning other unnecessary locations in the coe file.

Apparently, there isn't a way to specify address of the memory location. If there is, please let me know.

Thanks.
0 Kudos