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 |
---|---|
void |
addEntry(MmuBufferAccess bufferAccess,
EntryObject entry) |
java.math.BigInteger |
getAddress(MmuAddressInstance addrType) |
java.math.BigInteger |
getAddress(MmuBufferAccess bufferAccess) |
java.util.Map<MmuAddressInstance,java.math.BigInteger> |
getAddresses() |
java.util.Map<MmuBufferAccess,java.util.Map<java.math.BigInteger,EntryObject>> |
getEntries() |
java.util.Map<java.math.BigInteger,EntryObject> |
getEntries(MmuBufferAccess bufferAccess) |
MemoryAccessPath |
getPath() |
MemoryAccessType |
getType() |
void |
setAddress(MmuAddressInstance addrType,
java.math.BigInteger addrValue) |
void |
setAddress(MmuBufferAccess bufferAccess,
java.math.BigInteger addrValue) |
void |
setEntries(MmuBufferAccess bufferAccess,
java.util.Map<java.math.BigInteger,EntryObject> entries) |
java.lang.String |
toString() |
public AddressObject(MemoryAccess access)
public MemoryAccessType getType()
public MemoryAccessPath getPath()
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,java.util.Map<java.math.BigInteger,EntryObject>> getEntries()
public java.util.Map<java.math.BigInteger,EntryObject> getEntries(MmuBufferAccess bufferAccess)
public void setEntries(MmuBufferAccess bufferAccess, java.util.Map<java.math.BigInteger,EntryObject> entries)
public void addEntry(MmuBufferAccess bufferAccess, EntryObject entry)
public java.lang.String toString()
toString
in class java.lang.Object