You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there are two sources of instability in the FPGA interchange capnp files:
strList order is unstable
Inconsistent compression output
This issue is to track adding logic to remove instability in the FPGA interchange capnp files. The goal is that the same data if canonical will generate the same file.
The strList order can be fixed by sorting the strList and re-numbering the ids. The inconsistent compression output can be solved by ensuring that the compress level between tools is consistent, and using a compression library that generates stable results.
The text was updated successfully, but these errors were encountered:
I don't think diffability is the major goal. More making sure that two files which have identical data contents will be identical.
IE If the diff tool returns that two files are identical, then the canonical storage version of the files should have identical checksums.
Agreed, I'll update the description.
litghost
changed the title
Need canonical storage solution to ensure binary diffablity
Need canonical storage solution to ensure binary consistency
Jan 21, 2021
kowalewskijan
pushed a commit
to antmicro/python-fpga-interchange
that referenced
this issue
Apr 26, 2021
Currently there are two sources of instability in the FPGA interchange capnp files:
This issue is to track adding logic to remove instability in the FPGA interchange capnp files. The goal is that the same data if canonical will generate the same file.
The strList order can be fixed by sorting the strList and re-numbering the ids. The inconsistent compression output can be solved by ensuring that the compress level between tools is consistent, and using a compression library that generates stable results.
The text was updated successfully, but these errors were encountered: