Fix memory write enable in Decoder.scala
This commit is contained in:
parent
f6ac8ed72a
commit
ecbaa40d88
|
@ -58,5 +58,5 @@ class Decoder extends Module with HasInstrType {
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
io.out.info.inst := inst
|
io.out.info.inst := inst
|
||||||
io.out.info.mem_wreg := fuType === FuType.lsu && LSUOpType.isLoad(fuOpType)
|
io.out.info.mem_wreg := fuType === FuType.lsu && io.out.info.reg_wen
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue