mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
formalff: Fix -ff2anyinit assertion error for fine FFs
This commit is contained in:
parent
ce708122a5
commit
551ca7f97f
1 changed files with 2 additions and 0 deletions
|
@ -529,12 +529,14 @@ struct FormalFfPass : public Pass {
|
|||
if ((int)bits.size() == ff.val_init.size()) {
|
||||
// This check is only to make the private names more helpful for debugging
|
||||
ff.is_anyinit = true;
|
||||
ff.is_fine = false;
|
||||
emit = true;
|
||||
break;
|
||||
}
|
||||
|
||||
auto slice = ff.slice(bits);
|
||||
slice.is_anyinit = is_anyinit;
|
||||
slice.is_fine = false;
|
||||
slice.emit();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue