aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/ffmerge.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/ffmerge.cc')
-rw-r--r--kernel/ffmerge.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/ffmerge.cc b/kernel/ffmerge.cc
index 7d62a88cf..4ca5bcbb4 100644
--- a/kernel/ffmerge.cc
+++ b/kernel/ffmerge.cc
@@ -29,7 +29,7 @@ bool FfMergeHelper::is_output_unused(RTLIL::SigSpec sig) {
}
bool FfMergeHelper::find_output_ff(RTLIL::SigSpec sig, FfData &ff, pool<std::pair<Cell *, int>> &bits) {
- ff = FfData();
+ ff = FfData(module, initvals, NEW_ID);
sigmap->apply(sig);
bool found = false;