3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-13 21:21:27 +00:00

Use well-known constants in ID macro and make the constant values known at compile time

This commit is contained in:
Robert O'Callahan 2025-09-06 00:28:52 +00:00 committed by Jannis Harder
parent 95c31817dd
commit 3a8008132b
5 changed files with 294 additions and 172 deletions

View file

@ -211,10 +211,6 @@ void yosys_setup()
init_share_dirname();
init_abc_executable_name();
#define X(_id) RTLIL::ID::_id = "\\" # _id;
#include "kernel/constids.inc"
#undef X
Pass::init_register();
yosys_design = new RTLIL::Design;
yosys_celltypes.setup();