hades.models.pic
Class PicRegBankBreakPoints

java.lang.Object
  extended byhades.models.pic.PicRegBankBreakPoints
All Implemented Interfaces:
PicMemory

public class PicRegBankBreakPoints
extends java.lang.Object
implements PicMemory

PicRegBankBreakPoints - 512 breakpoint-conditions for PicRegBank


Field Summary
static int MEMSIZE
           
 int[] reg
           
 PicRegBank regBank
           
 
Constructor Summary
PicRegBankBreakPoints(PicRegBank newRegBank)
           
 
Method Summary
 int getMemorySize()
          Capacity of the memory in words
 int getWordWidth()
          Witdh of one word in bits
 void por()
           
 int readMemory(int address)
          Read a word from the memory
 void reset()
           
 void writeMemory(int address, int word)
          Write a word into the memory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reg

public int[] reg

MEMSIZE

public static int MEMSIZE

regBank

public PicRegBank regBank
Constructor Detail

PicRegBankBreakPoints

public PicRegBankBreakPoints(PicRegBank newRegBank)
Method Detail

por

public void por()

reset

public void reset()

getWordWidth

public int getWordWidth()
Description copied from interface: PicMemory
Witdh of one word in bits

Specified by:
getWordWidth in interface PicMemory

getMemorySize

public int getMemorySize()
Description copied from interface: PicMemory
Capacity of the memory in words

Specified by:
getMemorySize in interface PicMemory

readMemory

public int readMemory(int address)
Description copied from interface: PicMemory
Read a word from the memory

Specified by:
readMemory in interface PicMemory

writeMemory

public void writeMemory(int address,
                        int word)
Description copied from interface: PicMemory
Write a word into the memory

Specified by:
writeMemory in interface PicMemory