Skip to content

Commit

Permalink
Fix Yosys to allow SV again
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed May 9, 2024
1 parent 2a79db1 commit c7f6673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3397,6 +3397,7 @@ struct VerificPass : public Pass {
// Treat .v as SystemVerilog too (overriding default behavior to treat it as VERILOG_2000)
hdl_file_sort::RemoveFileExt(".v");
hdl_file_sort::AddFileExtMode(".v", veri_file::SYSTEM_VERILOG);
hdl_file_sort::AddFileExtMode(".sv", veri_file::SYSTEM_VERILOG);

// Select analyze function
auto analyze_function = (args[argidx] == "-auto_discover") ? hdl_file_sort::AnalyzeDiscoveredFiles : hdl_file_sort::AnalyzeSortedFiles;
Expand Down

0 comments on commit c7f6673

Please sign in to comment.