mirror of https://github.com/YosysHQ/yosys.git
dfflegalize: Gather init values from all wires.
Skipping non-selected wires is unsound in an obvious way.
This commit is contained in:
parent
eef0ec6aed
commit
240351c44e
|
@ -1296,7 +1296,7 @@ unrecognized:
|
|||
sigmap.set(module);
|
||||
initbits.clear();
|
||||
|
||||
for (auto wire : module->selected_wires())
|
||||
for (auto wire : module->wires())
|
||||
{
|
||||
if (wire->attributes.count(ID::init) == 0)
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue