Forum Discussion
Altera_Forum
Honored Contributor
13 years agoImplementing firmware version
I am trying to make a code that can store firmware versions from a .txt file, I tried doing it with a ROM initialized with a .mif file, but it's not working. I have a Cyclone III that sends that info...
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.