Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
753 Views

Initialising SRAM

Hi, is there a way to initialise SRAM chip at programming time ? Just like in RAM\ROM megafunctions in quartus, using mif or hex files ? My board is DE2. Software Quartus II Web Edition. I don't want to use SOPC or NIOS, just simple pure vhdl. I know that i could write vhdl code to initialise it using case-when with values but compilation will last for a week then :)  

 

Thanks in advance 

Kvasir
0 Kudos
2 Replies
Altera_Forum
Honored Contributor I
31 Views

I don't see how the fpga can do any processing before it is configured and alive. 

But why do you need to initialise SRAM. if you need external lookup tables then you must use flash memory. 

 

If you mean vhdl code to initialise then you can write to SRAM
Altera_Forum
Honored Contributor I
31 Views

It was just hm.... to be sure :) After a little thinking session i realised that it is little stupid :) Thanks for assuring though :)