Skip to content

Commit

Permalink
modify greaterthan
Browse files Browse the repository at this point in the history
  • Loading branch information
ckj119940887 committed Mar 4, 2025
1 parent 7f6472b commit d8af58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/src/main/scala/org/sireum/anvil/HwSynthesizer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ object TmpWireCount {
exprST = st"(${leftST.render} <= ${rightST.render}).asUInt"
}
case AST.IR.Exp.Binary.Op.Gt => {
exprST = st"(${leftST.render} < ${rightST.render}).asUInt"
exprST = st"(${leftST.render} > ${rightST.render}).asUInt"
}
case AST.IR.Exp.Binary.Op.Le => {
exprST = st"(${leftST.render} <= ${rightST.render}).asUInt"
Expand Down

0 comments on commit d8af58c

Please sign in to comment.