Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
verilog: analysis: checkers: Add dff-name-style rule
dff-name-style-rule adds support for enforcing naming conventions for registers. It takes two parameters in the form of a comma separated list of suffixes that are allowed for the input and output ports. If a list is empty, it means that no checks will be performed in the respective field. In addition to checking suffixes, the rule also enforces that the base (or prefix) is shared between the input and output of the register. Furthermore, it also allows for numbered identifiers, where the number means the pipeline stage where the signal originates from. There are other two parameters meant to restrict the rule in some common corner-cases: 1. Common reset/flush blocks where default values might be assigned can be waived using their `if` condition 2. Variables on which we don't want the rule to act can be waived using a regular expression.
- Loading branch information