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:
parent
48cb802599
commit
6725f2d646
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue