Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 658 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 658 Bytes

SystemVerilog Lexical Diff Tool

verible-verilog-diff compares two SystemVerilog source files and reports the first lexical difference. Equivalence is determined by the comparison --mode.

  • --mode=format Checks for equivalence of text ignoring whitespaces.
  • --mode=obfuscate Checks for equivalence including spaces, and verifies lengths of identifiers.

Equivalence analysis also looks inside macro definition bodies and macro call arguments, recursively.

Exit codes:

  • 0: files are equivalent
  • 1: files differ, or contain lexical errors
  • 2: error reading file