Forum Discussion
Altera_Forum
Honored Contributor
14 years agoEditing the .pof file is not recommended, and you won't get any help from Altera. Why are you putting a version number into the .pof? One reason is for external tools to look at, for example, when programming a device you may have something that looks for a version number inside the .pof. There are probably better ways of doing this(like just naming the .pof with a version number or putting it into a descriptive directory).
The second reason is to physically read the version number inside the FPGA, i.e. it would be stored in a memory/registers that your design can access. In an SOPC system there is a version component(I don't know the exact name) that allows you to create a new version every time it is created. I have also posted on this forum a way to create a file timestamp. Basically anytime you hit compile, a Tcl script is called that checks the time and writes that into a verilog file, that is then sourced by Quartus. You could also put a version number into it. I would recommend something like this instead of modifying the .pof.