diff --git a/kernel/yosys.cc b/kernel/yosys.cc index af80d4cd4..529168552 100644 --- a/kernel/yosys.cc +++ b/kernel/yosys.cc @@ -548,8 +548,6 @@ void yosys_setup() if(already_setup) return; already_setup = true; - init_share_dirname(); - init_abc_executable_name(); #define X(_id) RTLIL::ID::_id = "\\" # _id; #include "kernel/constids.inc" @@ -567,6 +565,9 @@ void yosys_setup() } #endif + init_share_dirname(); + init_abc_executable_name(); + Pass::init_register(); yosys_design = new RTLIL::Design; yosys_celltypes.setup();