mirror of https://github.com/YosysHQ/yosys.git
kernel: include "kernel/constids.inc" instead of "constids.inc"
This commit is contained in:
parent
7f33d43e3b
commit
60ffc21e64
|
@ -42,7 +42,7 @@ int RTLIL::IdString::last_created_idx_ptr_;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define X(_id) IdString RTLIL::ID::_id;
|
#define X(_id) IdString RTLIL::ID::_id;
|
||||||
#include "constids.inc"
|
#include "kernel/constids.inc"
|
||||||
#undef X
|
#undef X
|
||||||
|
|
||||||
dict<std::string, std::string> RTLIL::constpad;
|
dict<std::string, std::string> RTLIL::constpad;
|
||||||
|
|
|
@ -377,7 +377,7 @@ namespace RTLIL
|
||||||
|
|
||||||
namespace ID {
|
namespace ID {
|
||||||
#define X(_id) extern IdString _id;
|
#define X(_id) extern IdString _id;
|
||||||
#include "constids.inc"
|
#include "kernel/constids.inc"
|
||||||
#undef X
|
#undef X
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -516,7 +516,7 @@ void yosys_setup()
|
||||||
already_setup = true;
|
already_setup = true;
|
||||||
|
|
||||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
||||||
#include "constids.inc"
|
#include "kernel/constids.inc"
|
||||||
#undef X
|
#undef X
|
||||||
|
|
||||||
#ifdef WITH_PYTHON
|
#ifdef WITH_PYTHON
|
||||||
|
|
Loading…
Reference in New Issue