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) |
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 java.lang.String toString()
toString
in class java.lang.Object