|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Low level interface for memory access, implemented by the different caches and the interface to HADES. Only word accesses on word aligned addresses are allowed.
Method Summary | |
boolean |
beginCycle()
next cycle, perform access to lower layer if needed, wait returned |
void |
endCycle()
end of a cycle, all core actions are done, memory actions can complete |
boolean |
finished()
request end of read or write access |
boolean |
getHit(int adr)
Is data present at the specified address? |
java.lang.String |
getName()
get the name of this memory |
int |
getReadResult()
get the result of the last read operation |
void |
read(int adr,
boolean burst)
Drive busses for read access |
void |
setName(java.lang.String newName)
Set the name of this memory |
void |
write(int adr,
int data)
Drive busses for write access |
Methods inherited from interface hades.models.mips.memory.Memory |
getLog, getMemorySize, getWordWidth, installEntryHandler, readMemory, setEntry, setLog, writeMemory |
Method Detail |
public boolean beginCycle()
public void endCycle()
public boolean finished()
public boolean getHit(int adr)
public java.lang.String getName()
public void setName(java.lang.String newName)
public void write(int adr, int data)
public void read(int adr, boolean burst)
public int getReadResult()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |