dtzSiFive / circt-test-flake

Testing CIRCT on some simple inputs.
0 stars 0 forks source link

Better diff visualization #1

Open dtzSiFive opened 1 year ago

dtzSiFive commented 1 year ago

Consider replacing diffoscope with diff2html which seems to be much more readable and can operate on the diffs themselves (which are much much faster to generate than diffoscope html generation).

dtzSiFive commented 1 year ago

Example: https://diff2html.xyz/demo.html?matching=none&matchWordsThreshold=0.25&maxLineLengthHighlight=10000&diffStyle=word&renderNothingWhenEmpty=0&matchingMaxComparisons=2500&maxLineSizeInBlockForComparison=200&outputFormat=line-by-line&drawFileList=1&synchronisedScroll=1&highlight=1&fileListToggle=1&fileListStartVisible=0&highlightLanguages=[object%20Map]&smartSelection=1&fileContentToggle=1&stickyFileHeaders=1&diff=https://dtzsifive.github.io/circt-pp-results/results/diff/HwachaSequencer/HwachaSequencer.diff .

dtzSiFive commented 1 year ago

Additionally, consider using -split-verilog so each module gets its own file which makes comparing via diff (especially if interested in a particular module) much easier.