mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-11 20:21:26 +00:00
Use well-known constants in ID macro and make the constant values known at compile time
This commit is contained in:
parent
3d14108a96
commit
23af52c3c8
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