Skip to content

Commit

Permalink
[VTA] Fix an issue in updating uop_idx in the TensorGemm module (#4694)
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfu authored and tmoreau89 committed Jan 14, 2020
1 parent c69092a commit 5699637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vta/hardware/chisel/src/main/scala/core/TensorGemm.scala
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ class TensorGemm(debug: Boolean = false)(implicit p: Parameters)
(state === sExe &&
uop_idx === uop_end - 1.U)) {
uop_idx := dec.uop_begin
}.elsewhen(state === sExe) {
}.elsewhen(state === sExe && dec.uop_begin =/= uop_end) {
uop_idx := uop_idx + 1.U
}

Expand Down

0 comments on commit 5699637

Please sign in to comment.