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:
parent
95c31817dd
commit
3a8008132b
5 changed files with 294 additions and 172 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue