hades.models.mips.mipsmemory
Class AdrTrans

java.lang.Object
  extended byhades.models.mips.mipsmemory.AdrTrans

public class AdrTrans
extends java.lang.Object

Static address translation needed for usage of MipsMemory


Field Summary
protected static int[] translation
           
 
Constructor Summary
AdrTrans()
           
 
Method Summary
static int physToWord(int adr)
           
static int virtToPhys(int adr)
           
static int virtToWord(int adr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

translation

protected static int[] translation
Constructor Detail

AdrTrans

public AdrTrans()
Method Detail

virtToPhys

public static int virtToPhys(int adr)

physToWord

public static int physToWord(int adr)

virtToWord

public static int virtToWord(int adr)