Is there a command-line function that can return the checksum of a .pof file?
I am trying to write some automation tooling that should be able to determine the checksum value of a POF file, preferably without connecting to a device.
The value I am trying to get returned is the one displayed in Quartus Programmer when the file is opened:
Screenshot highlighting the Checksum field
This does not appear to be the checksum of the POF file itself; I believe it is the checksum of the object data contained within that Quartus is reporting.
I have tried looking at the various utilities provided with Quartus Programmer. Unfortunately, I didn't have any luck finding a command that directly does this. I also couldn't find adequate documentation of the POF file format to help me understand how to write a utility to do it myself.
The only thing I did find was a TCL command for calculating checksums... It works when I call it using
quartus_sh --tcl_eval checksum <filename>. Unfortunately, it returns the checksum of the entire file rather than the one I'm looking for.