Skip to content

Commit

Permalink
Merge pull request #451 from erlingrj/wrapsub_fix
Browse files Browse the repository at this point in the history
[util] Fix WrapSub typo
  • Loading branch information
jerryz123 committed Apr 1, 2020
2 parents 3ea630a + e7a7f74 commit 10eeee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/util/util.scala
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ object WrapSub
val b = Cat(0.U(1.W), amt.U)
Mux(value >= amt.U,
value - amt.U,
n.U - amt.U - value)
n.U - amt.U + value)
}
}
}
Expand Down

0 comments on commit 10eeee4

Please sign in to comment.