mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-24 14:53:42 +00:00
Read init from outputs
This commit is contained in:
parent
d969a9060e
commit
3d1185b835
1 changed files with 4 additions and 0 deletions
|
@ -927,6 +927,10 @@ void AigerReader::post_process()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log_debug(" -> %s\n", log_id(wire));
|
log_debug(" -> %s\n", log_id(wire));
|
||||||
|
int init;
|
||||||
|
mf >> init;
|
||||||
|
if (init < 2)
|
||||||
|
wire->attributes["\\init"] = init;
|
||||||
}
|
}
|
||||||
else if (type == "box") {
|
else if (type == "box") {
|
||||||
RTLIL::Cell* cell = module->cell(stringf("$__box%d__", variable));
|
RTLIL::Cell* cell = module->cell(stringf("$__box%d__", variable));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue