提交 c10dd331 编写于 作者: X Xuan Hu 提交者: bugGenerator

exu: fix debug isPerfCnt connection

* PerfCnt related inst run in csr should assign isPerfCnt as true
上级 cfbf6f34
...@@ -148,6 +148,7 @@ class ExeUnitImp( ...@@ -148,6 +148,7 @@ class ExeUnitImp(
// debug info // debug info
io.out.bits.debug := 0.U.asTypeOf(io.out.bits.debug) io.out.bits.debug := 0.U.asTypeOf(io.out.bits.debug)
io.out.bits.debug.isPerfCnt := funcUnits.map(_.io.csrio.map(_.isPerfCnt)).map(_.getOrElse(false.B)).reduce(_ || _)
io.out.bits.debugInfo := 0.U.asTypeOf(io.out.bits.debugInfo) io.out.bits.debugInfo := 0.U.asTypeOf(io.out.bits.debugInfo)
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册