hades.models.mips.mipsmemory
Class InstrCache

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

public class InstrCache
extends Cache

Implementation of the instr 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
InstrCache(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

InstrCache

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