Skip to content

Non ANSI-C style input,output port declaration Verilog code linter issue #2429

@sscarfi

Description

@sscarfi

Describe the bug

When applying verible rule +port-name-suffix it seems that verible cannot detect missing _i, _o when using Non-ANSI style for module ports declaration.

Example:

module delay_dll_coarse (
    out,
    to_next,
    from_prev,
    in,
    select
);
  output out, to_next;
  input from_prev, in, select;

endmodule

Actual vs. expected behavior

The tool is not failing.

The correct behaviour would be to see that input/output ports are not following the verible rule +port-name-suffix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    style-linterVerilog style-linter issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions