Suppress Syntax issues and do regular formatting for sv files which has syntax issues!

15 views
Skip to first unread message

Sunil kumar Segu

unread,
Jul 21, 2025, 12:27:45 PM7/21/25
to Verible Users
Hi,

It would be better to give a flag such that verible-verilog-format does only indentation but doesnot checks for syntax! The thing is sv/uvm files have some coding styles that might not present in LRM and accepted by simulators! So, as a formatter primary usecase could be do only indentation rather checking the syntax!

So, it woud be help full to quiet the syntax issues and do formatting for those files! How much ever possible.

Thanks,
Sunil.

David Fang

unread,
Jul 21, 2025, 4:00:52 PM7/21/25
to Sunil kumar Segu, Verible Users
Acknowledged.  One limitation with the current formatter implementation is that it operates starting from a complete syntax tree (allowing for comments and directives).  To do what you suggest would require a significant re-design of the formatter to work based on lexical tokens without syntax.

--
You received this message because you are subscribed to the Google Groups "Verible Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to verible-user...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/verible-users/07e8fe5f-f714-4570-9833-331fb4573e3fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages