mirror of https://github.com/YosysHQ/yosys.git
Bugfix in ice40_ffinit
This commit is contained in:
parent
ec93d258a4
commit
8bf452c364
|
@ -148,8 +148,8 @@ struct Ice40FfinitPass : public Pass {
|
|||
|
||||
for (int i = 0; i < GetSize(wirebits) && i < GetSize(initval); i++) {
|
||||
if (handled_initbits.count(wirebits[i]))
|
||||
wirebits[i] = State::Sx;
|
||||
else
|
||||
initval[i] = State::Sx;
|
||||
else if (initval[i] != State::Sx)
|
||||
remove_attribute = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue