public final class AddressObject
extends java.lang.Object
AddressObject
represents test data for an individual MemoryAccess
.
Test data include addresses (virtual, physical and intermediate ones), auxiliary attributes (cache policy, control bits, etc.), sequences of addresses to be accessed to prepare hit/miss situations, and sets of entries to be written into the buffers.
Constructor and Description |
---|
AddressObject(MemoryAccess access) |
Modifier and Type | Method and Description |
---|---|
MemoryAccess |
getAccess() |
java.math.BigInteger |
getAddress(MmuAddressInstance addrType) |
java.math.BigInteger |
getAddress(MmuBufferAccess bufferAccess) |
java.util.Map<MmuAddressInstance,java.math.BigInteger> |
getAddresses() |
java.util.Map<MmuBufferAccess,EntryObject> |
getEntries() |
EntryObject |
getEntry(MmuBufferAccess bufferAccess) |
void |
setAddress(MmuAddressInstance addrType,
java.math.BigInteger addrValue) |
void |
setAddress(MmuBufferAccess bufferAccess,
java.math.BigInteger addrValue) |
void |
setEntry(MmuBufferAccess bufferAccess,
EntryObject entry) |
java.lang.String |
toString() |
public AddressObject(MemoryAccess access)
public MemoryAccess getAccess()
public java.util.Map<MmuAddressInstance,java.math.BigInteger> getAddresses()
public java.math.BigInteger getAddress(MmuAddressInstance addrType)
public void setAddress(MmuAddressInstance addrType, java.math.BigInteger addrValue)
public java.math.BigInteger getAddress(MmuBufferAccess bufferAccess)
public void setAddress(MmuBufferAccess bufferAccess, java.math.BigInteger addrValue)
public java.util.Map<MmuBufferAccess,EntryObject> getEntries()
public EntryObject getEntry(MmuBufferAccess bufferAccess)
public void setEntry(MmuBufferAccess bufferAccess, EntryObject entry)
public java.lang.String toString()
toString
in class java.lang.Object