Forum Discussion
Altera_Forum
Honored Contributor
12 years agoTo bad file/textio doesn't work, maybe it will some day?
In meantime I created a workaround using textio for the simulation in parallel with a ram_init_file attribute pointing to exactly the same .hex file. Not my favorite solution, as my parser may do things differently than the Quartus II one. Anyway, this will do for now. Concerning the templates: I had a short look into the editor templates and they look to me exactly the same as the ones noted in AN qts_qii51007. None of them has an output enable as far as I can see (searching for the megaWizzard Inputs rden_a/b). I read that others had similar issues, too, but in conjunction with read-during-write the new values and two clocks. That's why I wonder whether rden_a/b can be added to an inferred memory somehow to match/replace the former megaWizzard generated instance.