From 95667094266e775c5b37b3ea075bdae421ca64ef Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 25 Jul 2024 11:25:17 +0200 Subject: [PATCH] Initialize extensions when verific pass is registered --- frontends/verific/verific.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontends/verific/verific.cc b/frontends/verific/verific.cc index 56e94489c..dd6b788d0 100644 --- a/frontends/verific/verific.cc +++ b/frontends/verific/verific.cc @@ -3006,6 +3006,11 @@ bool check_noverific_env() struct VerificPass : public Pass { VerificPass() : Pass("verific", "load Verilog and VHDL designs using Verific") { } + +#ifdef YOSYSHQ_VERIFIC_EXTENSIONS + void on_register() override { VerificExtensions::Reset(); } +#endif + void help() override { // |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|