Bugfix in ice40_ffinit
This commit is contained in:
parent
ec93d258a4
commit
8bf452c364
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue