|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by any clockable cell.
Method Summary | |
void |
clock()
Here is where the user implements the desired behavior. |
boolean |
isFallingEdgeTriggered()
Whether something is falling edge triggered. |
boolean |
isRisingEdgeTriggered()
Whether something is rising edge triggered. |
boolean |
needsToBeClocked()
If something needs to be clocked, it returns true. |
void |
reset()
When this method is called, the synchronous element must behave as would be expected when the reset pin of the hardware is pushed. |
boolean |
willUseHWUpdate()
Just calling this method on a Clockable cell will return a boolean value that indicates whether the cell will use HWUpdate or not. |
boolean |
willUseHWUpdate(boolean flag)
If the value for a Clockable will be read-back from the hardware, it does not need to be clocked (simulated). |
Method Detail |
public void clock()
public void reset()
public boolean needsToBeClocked()
public boolean willUseHWUpdate(boolean flag)
flag
- the new value of whether to use HWUpdate
public boolean willUseHWUpdate()
public boolean isRisingEdgeTriggered()
public boolean isFallingEdgeTriggered()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |