Forum Discussion
Altera_Forum
Honored Contributor
13 years agoAnnoyingly - Quartus will not initilise ROMs or RAMs from a text file using textio. You will need a wizard generated ROM with the correct .mif file.
But you can do it by infering a ROM (or register) from a constant that is defined in a package, and have TCL modify the package every time you recompile the project. Im not a TCL person but we have it working here for one of our projects. It means the software can easily probe the version register to make sure it's got the correct firmware.