FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits

Initialising SRAM

Altera_Forum
Honored Contributor II
940 Views

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 II
218 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
0 Kudos
Altera_Forum
Honored Contributor II
218 Views

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

0 Kudos
Reply