mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
kernel: Use constids.inc for global/constant IdStrings
This commit is contained in:
parent
37f42fe102
commit
164dd0f6b2
4 changed files with 37 additions and 17 deletions
|
@ -41,12 +41,10 @@ int RTLIL::IdString::last_created_idx_[8];
|
|||
int RTLIL::IdString::last_created_idx_ptr_;
|
||||
#endif
|
||||
|
||||
IdString RTLIL::ID::A;
|
||||
IdString RTLIL::ID::B;
|
||||
IdString RTLIL::ID::Y;
|
||||
IdString RTLIL::ID::keep;
|
||||
IdString RTLIL::ID::whitebox;
|
||||
IdString RTLIL::ID::blackbox;
|
||||
#define X(_id) IdString RTLIL::ID::_id;
|
||||
#include "constids.inc"
|
||||
#undef X
|
||||
|
||||
dict<std::string, std::string> RTLIL::constpad;
|
||||
|
||||
RTLIL::Const::Const()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue