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
|
@ -370,11 +370,9 @@ namespace RTLIL
|
|||
};
|
||||
|
||||
namespace ID {
|
||||
// defined in rtlil.cc, initialized in yosys.cc
|
||||
extern IdString A, B, Y;
|
||||
extern IdString keep;
|
||||
extern IdString whitebox;
|
||||
extern IdString blackbox;
|
||||
#define X(_id) extern IdString _id;
|
||||
#include "constids.inc"
|
||||
#undef X
|
||||
};
|
||||
|
||||
extern dict<std::string, std::string> constpad;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue