Initialize extensions when verific pass is registered

This commit is contained in:
Miodrag Milanovic 2024-07-25 11:25:17 +02:00
parent 118b2829db
commit 9566709426
1 changed files with 5 additions and 0 deletions

View File

@ -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---|