提交 6f687286 编写于 作者: Fa_wang's avatar Fa_wang

FDivSqrt: fix killReg

上级 49444b11
...@@ -28,6 +28,7 @@ class FDivSqrt extends FPUSubModule { ...@@ -28,6 +28,7 @@ class FDivSqrt extends FPUSubModule {
when(divSqrtRawValid){ when(divSqrtRawValid){
when(kill || killReg){ when(kill || killReg){
state := s_idle state := s_idle
killReg := false.B
}.otherwise({ }.otherwise({
state := s_finish state := s_finish
}) })
...@@ -37,7 +38,6 @@ class FDivSqrt extends FPUSubModule { ...@@ -37,7 +38,6 @@ class FDivSqrt extends FPUSubModule {
} }
is(s_finish){ is(s_finish){
state := s_idle state := s_idle
killReg := false.B
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册