blob: caa70c5feac0f6d903edd6aa0b765a25a8677880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
{-|
Module : Verismith.Verilog.Distance
Description : Definition of the distance function for the abstract syntax tree.
Copyright : (c) 2020, Yann Herklotz
License : GPL-3
Maintainer : yann [at] yannherklotz [dot] com
Stability : experimental
Poratbility : POSIX
Define the distance function for the abstract syntax tree, so that different
Verilog files can be compared. This allows us to define a metric on how
different two pieces of Verilog are. Currently, differences in expressions are
ignored, as these are not that interesting.
-}
|