Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI assume you're generating the mem_init text file from some external program rather than generating it by hand? why cant you just have the same program/script generate the package for you instead, its not likely to be much more complicated.
On a side note - I can recreate your problem. If its initialised from a constant it generates the mif file properly. It wont work like you have it or if its the constant declaration that calls InitRamFromFile. I would raise this as a support case with altera. Another side note: any reason you're using VHDL '87 syntax for file IO rather than '93?