1
0

Don't ignore data value when writing MIPI

This commit is contained in:
Andrew Waterman 2016-01-12 16:23:06 -08:00
parent 7bf503a275
commit 00d17abd78

View File

@ -398,7 +398,7 @@ class CSRFile(implicit p: Parameters) extends CoreModule()(p)
reg_mip.msip := new_mip.msip
}
when (decoded_addr(CSRs.mipi)) {
reg_mip.msip := true
reg_mip.msip := wdata(0)
}
when (decoded_addr(CSRs.mie)) {
val new_mie = new MIP().fromBits(wdata)