public interface BufferObserver
BufferObserver
interface is to provide information
on buffer state to engines that interact with MMU model.Modifier and Type | Method and Description |
---|---|
boolean |
isHit(ru.ispras.fortress.data.types.bitvector.BitVector address)
Checks whether the given address causes a hit.
|
ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,ru.ispras.fortress.data.types.bitvector.BitVector> |
seeData(ru.ispras.fortress.data.types.bitvector.BitVector index,
ru.ispras.fortress.data.types.bitvector.BitVector way)
Returns data and associated address without changing the state.
|
boolean isHit(ru.ispras.fortress.data.types.bitvector.BitVector address)
address
- Address to be checked.true
if the address causes a hit; false
otherwise.ru.ispras.fortress.util.Pair<ru.ispras.fortress.data.types.bitvector.BitVector,ru.ispras.fortress.data.types.bitvector.BitVector> seeData(ru.ispras.fortress.data.types.bitvector.BitVector index, ru.ispras.fortress.data.types.bitvector.BitVector way)
index
- Set index.way
- Line index.null
if it is not found.