mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-29 17:38:46 +00:00
Move init_share_dirname to after Python is initialized
This commit is contained in:
parent
48cb802599
commit
6725f2d646
1 changed files with 3 additions and 2 deletions
|
@ -548,8 +548,6 @@ void yosys_setup()
|
||||||
if(already_setup)
|
if(already_setup)
|
||||||
return;
|
return;
|
||||||
already_setup = true;
|
already_setup = true;
|
||||||
init_share_dirname();
|
|
||||||
init_abc_executable_name();
|
|
||||||
|
|
||||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
||||||
#include "kernel/constids.inc"
|
#include "kernel/constids.inc"
|
||||||
|
@ -567,6 +565,9 @@ void yosys_setup()
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
init_share_dirname();
|
||||||
|
init_abc_executable_name();
|
||||||
|
|
||||||
Pass::init_register();
|
Pass::init_register();
|
||||||
yosys_design = new RTLIL::Design;
|
yosys_design = new RTLIL::Design;
|
||||||
yosys_celltypes.setup();
|
yosys_celltypes.setup();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue