add assertion to make sure SimpleHellaCacheIF doesn't get exception
This commit is contained in:
parent
4aef567a80
commit
f228309bd1
@ -1171,4 +1171,9 @@ class SimpleHellaCacheIF(implicit p: Parameters) extends Module
|
|||||||
}
|
}
|
||||||
|
|
||||||
io.requestor.resp := io.cache.resp
|
io.requestor.resp := io.cache.resp
|
||||||
|
|
||||||
|
assert(!Reg(next = io.cache.req.fire()) ||
|
||||||
|
!(io.cache.xcpt.ma.ld || io.cache.xcpt.ma.st ||
|
||||||
|
io.cache.xcpt.pf.ld || io.cache.xcpt.pf.st),
|
||||||
|
"SimpleHellaCacheIF exception")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user