Don't ignore data value when writing MIPI
This commit is contained in:
parent
7bf503a275
commit
00d17abd78
@ -398,7 +398,7 @@ class CSRFile(implicit p: Parameters) extends CoreModule()(p)
|
|||||||
reg_mip.msip := new_mip.msip
|
reg_mip.msip := new_mip.msip
|
||||||
}
|
}
|
||||||
when (decoded_addr(CSRs.mipi)) {
|
when (decoded_addr(CSRs.mipi)) {
|
||||||
reg_mip.msip := true
|
reg_mip.msip := wdata(0)
|
||||||
}
|
}
|
||||||
when (decoded_addr(CSRs.mie)) {
|
when (decoded_addr(CSRs.mie)) {
|
||||||
val new_mie = new MIP().fromBits(wdata)
|
val new_mie = new MIP().fromBits(wdata)
|
||||||
|
Loading…
Reference in New Issue
Block a user