提交 907bf7ec 编写于 作者: L LinJiawei

Regfile: convert diff test reg to ieee fmt

上级 1c0c19cd
...@@ -54,7 +54,11 @@ class Regfile ...@@ -54,7 +54,11 @@ class Regfile
) )
val debugArchReg = WireInit(VecInit(debugArchRat.zipWithIndex.map( val debugArchReg = WireInit(VecInit(debugArchRat.zipWithIndex.map(
x => if(hasZero && x._2==0) 0.U else mem(x._1) x => if(hasZero){
if(x._2 == 0) 0.U else mem(x._1)
} else {
ieee(mem(x._1))
}
))) )))
ExcitingUtils.addSource( ExcitingUtils.addSource(
debugArchReg, debugArchReg,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册