cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Adventurer
Adventurer
3,688 Views
Registered: ‎05-03-2012

How to initial bram block?

Hi,

 

    I want to know whether EDK support to initial bram block's contents.

    

    just like that i can initial rom or ram by .coe file. I want to initial the bram block in an xps project. I don't want transfer data 

 

by RS232 or Ethernet.

 

    any one konws how to make it?

0 Kudos
Reply
4 Replies
Scholar
Scholar
3,677 Views
Registered: ‎08-14-2007

you can put the name of your MIF file you want to initialize your BRAM in the vhdl file in order EDK shynthesize the BRAM with that initial value, like this:

c_init_file_name => "rom32.mif"
0 Kudos
Reply
Adventurer
Adventurer
3,673 Views
Registered: ‎05-03-2012

where is the vhd code? you mean after the XPS generate the bram code, i change the vhd like this.and regenertae bitstream again?

0 Kudos
Reply
Scholar
Scholar
3,650 Views
Registered: ‎08-14-2007

you can make a BRAM from core generator and import in XPS , so after you create the BRAM in core generator you have the VHDL code
0 Kudos
Reply
Anonymous
Not applicable
3,640 Views

0 Kudos
Reply