fix bug in WriteMaskedPutBlockRegression
This commit is contained in:
parent
bc39d52655
commit
1dac2930eb
@ -352,7 +352,7 @@ class WriteMaskedPutBlockRegression(implicit p: Parameters) extends Regression()
|
|||||||
io.finished := (state === s_done)
|
io.finished := (state === s_done)
|
||||||
|
|
||||||
val data_mismatch = io.mem.grant.fire() && io.mem.grant.bits.hasData() &&
|
val data_mismatch = io.mem.grant.fire() && io.mem.grant.bits.hasData() &&
|
||||||
state =/= UInt(0) && io.mem.grant.bits.data =/= get_data
|
stage =/= UInt(0) && io.mem.grant.bits.data =/= get_data
|
||||||
assert(!data_mismatch, "WriteMaskedPutBlockRegression: data does not match")
|
assert(!data_mismatch, "WriteMaskedPutBlockRegression: data does not match")
|
||||||
io.errored := data_mismatch
|
io.errored := data_mismatch
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user