Skip to content

Commit

Permalink
Move ignore translate up here and update verificc
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed May 14, 2024
1 parent 81b542f commit ed42470
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontends/verific/verific.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3394,6 +3394,9 @@ struct VerificPass : public Pass {
unsigned verilog_mode = veri_file::SYSTEM_VERILOG;
const char* arg = args[argidx].c_str();

// Ignore translate_off statements
hdl_file_sort::SetIgnoreTranslateOff(0);

// 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);
Expand Down

0 comments on commit ed42470

Please sign in to comment.