Constructor and Description |
---|
Set(int associativity,
PolicyId policyId,
Matcher<D,A> matcher)
Constructs a cache set of the given associativity.
|
Modifier and Type | Method and Description |
---|---|
D |
getData(A address)
Returns the data associated with the given address.
|
boolean |
isHit(A address)
Checks whether the given address causes a hit.
|
protected Buffer<D,A> |
newLine(Matcher<D,A> matcher) |
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.
|
D |
setData(A address,
D data)
Updates the data associated with the given address.
|
java.lang.String |
toString() |
public final boolean isHit(A address)
Buffer
public final D getData(A address)
Buffer
public final D setData(A address, D data)
Buffer
public 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)
Buffer
public java.lang.String toString()
toString
in class java.lang.Object