From ed42470d45ac7c12c0b8543b728b248525c7eb12 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Tue, 14 May 2024 16:02:33 -0700 Subject: [PATCH] Move ignore translate up here and update verificc --- frontends/verific/verific.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 6d9d1f2ee42..55b6d492040 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -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);