tensor: Fix busy state

This commit is contained in:
Hansung Kim
2024-10-16 22:22:27 -07:00
parent 23edc34c7e
commit e1e3ac8274

View File

@@ -128,7 +128,13 @@ class TensorCoreDecoupled(
)
}
}
when(io.writeback.fire) {
// TODO: @perf: Instead of waiting until the last writeback, release busy as
// soon as the access frontend is complete so that there's a better chance to
// saturate the backend with back-to-back HGMMAs. This would require sending
// the 'wid' register to backend instead of having it shared with the
// frontend.
when(io.writeback.fire && io.writeback.bits.last) {
busy := false.B
}