3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Move init_share_dirname to after Python is initialized

This commit is contained in:
Akash Levy 2024-10-10 13:34:39 -07:00
parent 48cb802599
commit 6725f2d646

View file

@ -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();