mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Merge pull request #1858 from YosysHQ/eddie/fix1856
kernel: include "kernel/constids.inc"
This commit is contained in:
commit
371af7da38
6 changed files with 25 additions and 3 deletions
|
@ -42,7 +42,7 @@ int RTLIL::IdString::last_created_idx_ptr_;
|
|||
#endif
|
||||
|
||||
#define X(_id) IdString RTLIL::ID::_id;
|
||||
#include "constids.inc"
|
||||
#include "kernel/constids.inc"
|
||||
#undef X
|
||||
|
||||
dict<std::string, std::string> RTLIL::constpad;
|
||||
|
|
|
@ -377,7 +377,7 @@ namespace RTLIL
|
|||
|
||||
namespace ID {
|
||||
#define X(_id) extern IdString _id;
|
||||
#include "constids.inc"
|
||||
#include "kernel/constids.inc"
|
||||
#undef X
|
||||
};
|
||||
|
||||
|
|
|
@ -516,7 +516,7 @@ void yosys_setup()
|
|||
already_setup = true;
|
||||
|
||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
||||
#include "constids.inc"
|
||||
#include "kernel/constids.inc"
|
||||
#undef X
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue