Skip to content

Need a flag to quiet syntax errors and do formatting for those files as well! #2439

@SunilSegu

Description

@SunilSegu

Hi,

I was integrating this verible tool in our flow for formatting especially for indentation! When I tried executing verible-verilog-format --inplace . I can see files which has syntax issues are not getting formatted and tool is firing syntax issues.

Can we have a flag to disable syntax issues and do regular formatting for them! I have tried to disable syntax error prints from verilog-format.cc by adding a quiet flag. By this tool stopped firing syntax issues but its not formatting it! Can you please check as its benifical for all sv coders whose code is not required for synthesies!

Example:
File which has this kind of format has syntax issues!

interface my_interface()

logic signal_1;
`ifdef DEFINED
logic signal_2;
`endif

endinterface

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions