Commit 56996378 by Liangfu Chen Committed by Thierry Moreau

[VTA] Fix an issue in updating uop_idx in the TensorGemm module (#4694)

parent c69092ae
...@@ -280,7 +280,7 @@ class TensorGemm(debug: Boolean = false)(implicit p: Parameters) ...@@ -280,7 +280,7 @@ class TensorGemm(debug: Boolean = false)(implicit p: Parameters)
(state === sExe && (state === sExe &&
uop_idx === uop_end - 1.U)) { uop_idx === uop_end - 1.U)) {
uop_idx := dec.uop_begin uop_idx := dec.uop_begin
}.elsewhen(state === sExe) { }.elsewhen(state === sExe && dec.uop_begin =/= uop_end) {
uop_idx := uop_idx + 1.U uop_idx := uop_idx + 1.U
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment