Skip to content

verific: add -set_relaxed_file_ext_modes option#5582

Open
dhvll wants to merge 3 commits intoYosysHQ:mainfrom
dhvll:verific-set_relaxed_file_ext_modes
Open

verific: add -set_relaxed_file_ext_modes option#5582
dhvll wants to merge 3 commits intoYosysHQ:mainfrom
dhvll:verific-set_relaxed_file_ext_modes

Conversation

@dhvll
Copy link

@dhvll dhvll commented Jan 3, 2026

This PR adds a verific -set_relaxed_file_ext_modes option that relaxes
Verific’s file extension to language mapping.

Silimate’s Yosys fork includes an option that configures Verific to treat a broader set of file extensions as SystemVerilog.

Upstreaming this option allows users to explicitly enable this relaxed behavior without changing default file handling semantics.

When specified, the option updates Verific’s file extension modes to associate several common extensions (e.g. .v, .vh, .sv, .svh) with SystemVerilog parsing. The change is guarded under VERIFIC_SYSTEMVERILOG_SUPPORT and does not alter behavior unless the option is used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant