Skip to content

Commit

Permalink
preprocess: assign 1 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ekiwi committed Oct 25, 2023
1 parent 92745d6 commit 7f2b71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtlrepair/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7f2b71f

Please sign in to comment.