Skip to content

Feature request: more flexibility for IO naming #2490

@nexibard

Description

@nexibard

Summary

Current rule [style-port-name-suffix] is quite restrictive. Some coding rules guidelines are based on prefix rather than suffix, and it is not currently possible to check that with the available set of rules.

It would be nice to be able to check IO ports against a regexp instead of a fixed convention, as it is done with the rules [style-enum-name-style] and [style-interface-name-style] for instance.

Proposal

This could be achieved with a new port-name-style rule with a regexp parameter (as [style-port-name-suffix] implies a suffix).

Many thanks for your work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requeststyle-linterVerilog style-linter issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions