|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--byucc.jhdl.base.Nameable
|
+--byucc.jhdl.base.Node
|
+--byucc.jhdl.base.Cell
|
+--byucc.jhdl.base.CL
|
+--byucc.jhdl.base.ClockDriver
|
+--byucc.jhdl.base.DynamicClockDriver
Class used to create clock drivers. User's specify the schedule for the clock driver using a String of 1s and 0s.
| Constructor Summary | |
protected |
DynamicClockDriver(Node parent,
Wire clock_wire,
boolean rising,
java.lang.String name)
Main constructor for class. |
| Method Summary | |
java.lang.String |
getCellName()
The name of this cell |
protected int |
getScheduledValue(int schedule_index)
Returns the integer value for the ClockDriver for that time index of its schedule. |
Wire |
getWatchedWire()
Returns the watched wire of this dynamic driver |
boolean |
needsToBeAsynchronouslyScheduled()
Because this is currently a CL -- may change in the future (probably). |
protected boolean |
postorderCheck()
Used to check validity of this cell after recursing down. |
protected boolean |
preorderCheck()
These two functions exist to allow this cell not to be bothered by netlisting. |
void |
propagate()
Propagates the wire - this does nothing |
| Methods inherited from class byucc.jhdl.base.ClockDriver |
determineSchedule, getSchedule, portMayBeUndriven, toString |
| Methods inherited from class byucc.jhdl.base.CL |
defaultSimulationModelIsBehavioral, hasBeenTraced, hasBeenTraced, hasBehaviorInClockMethod, hasBehaviorInPropagateMethod, isAsynchronouslyScheduled, isAsynchronouslyScheduled, isReadyToBeAsynchronouslyScheduled |
| Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getDefaultClock, getInstanceName, getParent, getParentCell, getRelatives, getSystem, getWires, optimize, orphanAllowed, printAllChildren, printTree, removeSimulatorCallback, setDefaultClock |
| Methods inherited from class byucc.jhdl.base.Nameable |
caseSensitivity, caseSensitivity, disableNameClashChecking, getFullName, getFullNameNoTestBench, getHierNameNoTestBench, getInstanceNo, getInstanceNumber, getLeafName, getLeafName, getRelativeName, getUserName, getUserName, hasUserSpecifiedName, isDescendantOf, setInstanceNumber |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected DynamicClockDriver(Node parent,
Wire clock_wire,
boolean rising,
java.lang.String name)
parent - the parent of the clock driver.clock_wire - the wire to watchname - the name of the clock driver.| Method Detail |
public java.lang.String getCellName()
getCellName in class Cellbyucc.jhdl.base.CellCellInterfaceException - if cellname is not declared or declared incorrectly.protected int getScheduledValue(int schedule_index)
getScheduledValue in class ClockDriverschedule_index - indicates what point of the schedule you are interested in.protected boolean preorderCheck()
preorderCheck in class ClockDriverbyucc.jhdl.base.ClockDriverBuildException - if the clock schedule is invalid.Cell#checkAllNodes().protected boolean postorderCheck()
CellpostorderCheck in class Cellbyucc.jhdl.base.CellNode#checkAllNodes().public boolean needsToBeAsynchronouslyScheduled()
needsToBeAsynchronouslyScheduled in class ClockDriverpublic Wire getWatchedWire()
public void propagate()
propagate in class ClockDriver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||