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
|
@ -515,12 +515,9 @@ void yosys_setup()
|
|||
return;
|
||||
already_setup = true;
|
||||
|
||||
RTLIL::ID::A = "\\A";
|
||||
RTLIL::ID::B = "\\B";
|
||||
RTLIL::ID::Y = "\\Y";
|
||||
RTLIL::ID::keep = "\\keep";
|
||||
RTLIL::ID::whitebox = "\\whitebox";
|
||||
RTLIL::ID::blackbox = "\\blackbox";
|
||||
#define X(_id) RTLIL::ID::_id = "\\" # _id;
|
||||
#include "constids.inc"
|
||||
#undef X
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
PyImport_AppendInittab((char*)"libyosys", INIT_MODULE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue