3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-19 12:23:39 +00:00

Create a default selection stack in RTLIL::Design::Design()

This commit is contained in:
Clifford Wolf 2014-09-02 22:49:24 +02:00
parent c38283dbd0
commit da360771a1
2 changed files with 1 additions and 2 deletions

View file

@ -74,9 +74,7 @@ int SIZE(RTLIL::Wire *wire)
void yosys_setup()
{
Pass::init_register();
yosys_design = new RTLIL::Design;
yosys_design->selection_stack.push_back(RTLIL::Selection());
log_push();
}