hades.models.pic
Class PicEpromBreakPoints

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

public class PicEpromBreakPoints
extends java.lang.Object
implements PicMemory

PicEpromBreakPoints - 8192 breakpoint-conditions for PicRegBank


Field Summary
static int MEMSIZE
           
 int[] reg
           
 
Constructor Summary
PicEpromBreakPoints()
           
 
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 breakpoint condition: 0 = no breakpoint, any other = breakpoint
 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
Constructor Detail

PicEpromBreakPoints

public PicEpromBreakPoints()
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)
read breakpoint condition: 0 = no breakpoint, any other = breakpoint

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