Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

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

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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