hades.models.mips.mipsmemory
Class DataCache

java.lang.Object
  extended byhades.models.mips.mipsmemory.Cache
      extended byhades.models.mips.mipsmemory.DataCache
All Implemented Interfaces:
Memory, MipsMemory, Resetable

public class DataCache
extends Cache

Implementation of the data cache, non associative, line size of 1 word, variable cache size. No write instructions


Field Summary
 
Fields inherited from class hades.models.mips.mipsmemory.Cache
adrMask, burstAllowed, cacheSize, debug, hits, isolated, lowerMem, mem, misses, name, nextAdr, nextData, readAdr, readResult, readResultPresent, result, tag, tagMask, valid, waiting
 
Constructor Summary
DataCache(ResetHandler resetHandler, MipsMemory newLowerMem, int newCacheSize, java.lang.String newName, boolean newBurstAllowed)
           
 
Methods inherited from class hades.models.mips.mipsmemory.Cache
beginCycle, endCycle, finished, getBurstAllowed, getHit, getIsolated, getLog, getMemorySize, getName, getReadResult, getWordWidth, installEntryHandler, invalidate, por, read, readMemory, reset, setBurstAllowed, setEntry, setIsolated, setLog, setName, statistics, write, writeMemory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataCache

public DataCache(ResetHandler resetHandler,
                 MipsMemory newLowerMem,
                 int newCacheSize,
                 java.lang.String newName,
                 boolean newBurstAllowed)