|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthades.models.pic.PicWordReg
PicWordReg - Combine some PicBitRegs. This class is the base class to all special function registers and is able to handle all different StdLogic1164-values.
Field Summary | |
protected int |
size
|
Constructor Summary | |
PicWordReg(PicBreakPoint newBp)
|
|
PicWordReg(PicBreakPoint newBp,
int bitSize)
|
Method Summary | |
boolean |
getBit(int selectedBit)
test a specified bit |
int |
getBreakPoint()
Get BreakPoint returns the value that has been set by setBreakPoint |
int |
getSize()
How many bits are accessable with read() and write() ? |
int |
getSizeAll()
How many bits are accessable with readAll() and writeAll() ? |
boolean |
isDirty()
|
void |
por()
Power-on-reset |
int |
read()
Read the normal content of the register |
int |
readAll()
Read the extended content of the register |
void |
reset()
Normal reset, often this will be the same as por() |
void |
resetDirtyFlag()
|
void |
setBit(int selectedBit,
boolean newValue)
set a specified bit |
void |
setBreakPoint(int value)
Set BreakPoint: value >= 0 : break if content equals value value = -1 : no breakpoint value = -2 : break if content has changed |
void |
setDirtyFlag(boolean b)
|
protected void |
testBreakPoint()
|
void |
write(int newValue)
write a new value into the register |
void |
writeAll(int newValue)
Write the extended content of the register |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int size
Constructor Detail |
public PicWordReg(PicBreakPoint newBp)
public PicWordReg(PicBreakPoint newBp, int bitSize)
Method Detail |
public int getSize()
PicReg
getSize
in interface PicReg
public int getSizeAll()
PicReg
getSizeAll
in interface PicReg
public boolean isDirty()
public void resetDirtyFlag()
public void setDirtyFlag(boolean b)
public void por()
PicReg
por
in interface PicReg
public void reset()
PicReg
reset
in interface PicReg
public int read()
PicReg
read
in interface PicReg
public int readAll()
PicReg
readAll
in interface PicReg
public void write(int newValue)
write
in interface PicReg
public void writeAll(int newValue)
PicReg
writeAll
in interface PicReg
public void setBit(int selectedBit, boolean newValue)
setBit
in interface PicReg
public boolean getBit(int selectedBit)
getBit
in interface PicReg
public void setBreakPoint(int value)
PicReg
setBreakPoint
in interface PicReg
public int getBreakPoint()
PicReg
getBreakPoint
in interface PicReg
protected void testBreakPoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |