--- Quote Start ---
Have a read of this document, page 13-13:
http://www.altera.co.uk/literature/hb/qts/qts_qii51007.pdf It explains how to write your VHDL code so that quartus can infer a rom without having to use the megawizard. This way you can use a custom initialisation function to populate the rom contents.
--- Quote End ---
Ok I think i understand what you mean. But when I will initiate the ROM with some sort of funktion, i will need to use some other program to do that, right?
--- Quote Start ---
If you prefer to use a RAM MegaFunction with an external initialization file, it's probably convenient to use a *.mif instead of *.hex file. It's formatted text and can be easily generated in a spreadsheet calculator.
--- Quote End ---
So say I use Excel to do my calculation and convert it to a *.mif file. How about the answers in the calculation? They are real numbers, will they automatic be converted?