diff --git a/rtlrepair/preprocess.py b/rtlrepair/preprocess.py index 135731c..6a8e0a6 100644 --- a/rtlrepair/preprocess.py +++ b/rtlrepair/preprocess.py @@ -154,7 +154,7 @@ def assign_latch_signal(latch_warning: LintWarning): assert m is not None, latch_warning.msg signal_parts = m.group(1).split(".") ident = vast.Identifier(signal_parts[-1].strip()) - return vast.BlockingSubstitution(vast.Lvalue(ident), vast.Rvalue(vast.IntConst("'d0"))) + return vast.BlockingSubstitution(vast.Lvalue(ident), vast.Rvalue(vast.IntConst("'d1"))) class LintFixer(AstVisitor):